@charset "UTF-8";

body {
  font-family: "Noto Sans JP", sans-serif;
}
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* header -------------------------------------------------- */

.l-header {
  height: 80px;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  width: 100%;
  background-color: #fff;
}

/* 中身 */
.l-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
}

/* ロゴ */
.header-logo img {
  display: block;
  width: auto;
}

/* CTA */
.header-cta {
  display: flex;
  gap: 8px;
}

.header-cta__btn img {
  display: block;
  height: 48px;
  width: auto;
}

/* SP */
@media (max-width: 767px) {
  .l-header {
    height: 71px;
  }
  .l-header__inner {
    padding: 8px 12px;
    gap: 10px;
  }

  .header-logo img {
    height: 50px;
  }

  .header-cta__btn img {
    height: 50px;
  }
}

/* Main -------------------------------------------------- */

/* hero 背景（PC） */
.p-hero {
  background-image: url("../img/bg01.webp");
  background-color: #D7E0F5;
  background-repeat: no-repeat;
  background-position: center top;
  background-size: 1920px auto;
}

/* コンテナ */
.p-hero__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 158px 20px 78px;
  display: flex;
  gap: 48px;
}

/* 左 */

.p-hero__left img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* 右 */
.p-hero__right {
  display: flex;
  align-items: center;
  padding-top: 64px;
  position: relative;
  z-index: 2;
}

/* 案内枠 */
.p-hero__info {
  position: relative;
  width: 557px;
}

.p-hero__info-bg img {
  display: block;
  width: 100%;
  height: auto;
}

/* ボタン */
.p-hero__btn {
  position: absolute;
  left: 50%;
  bottom: 40px;
  transform: translateX(-50%);
  width: 479px;
}

.p-hero__btn img {
  display: block;
  margin: 0 auto;
}

/* SP用ビジュアルはPCでは非表示 */
.p-hero__visual-sp img{
  display: none;
}

/* PCのみ（1025px以上） */
@media (min-width: 1025px) {
  .p-hero__inner {
    height: 692px;
  }

  .p-hero__left {
    position: absolute;
    transform: translate(-40px, 0px);
  }

  .p-hero__right {
    position: relative;
    transform: translate(650px, 90px);
  }
}

@media (max-width: 767px) {

  /* SPでは hero背景を使わない */
  .p-hero {
    padding-top: 64px;
    background-image: none;
  }

  .p-hero__inner {
    position: relative;
    aspect-ratio: 750 / 900;
    flex-direction: column;
    padding: 0;
  }

  /* SPメインビジュアル */
  .p-hero__visual-sp img {
    width: 100%;
    height: auto;
    display: block;
  }

  /* 左は非表示 */
  .p-hero__left {
    display: none;
    position: initial;
    transform: initial;
  }

  /* 案内枠 */
  .p-hero__info {
    position: relative;
    width: 100%;
    max-width: 596px;
    margin: 0 auto;
  }

  /* 案内枠 背景画像 */
  .p-hero__info-bg {
    display: block;
    width: 100%;
    height: auto;
  }

  /* CTA */
  .p-hero__btn {
    position: absolute;
    left: 50%;
    bottom: 36px;
    transform: translateX(-50%);
    width: calc(100% - 32px);
  }

  .p-hero__btn img {
    width: 100%;
    max-width: 320px;
    height: auto;
    margin: 0 auto;
  }

  /* hero内での位置 */
  .p-hero__right {
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    z-index: 2;
    padding-top: 0;
  }
}

/* 画像だけのセクション */
.p-section-image__inner {
  max-width: 1440px;
  margin: 0 auto;
}

.p-section-image {
  width: 100%;
}

/* picture / img 共通 */
.p-section-image picture,
.p-section-image img {
  display: block;
  height: auto;
  margin: auto;
}

.p-sec03 {
  background: url(../img/bg02.webp) left top repeat;
}
.p-sec04 {
  background: url(../img/bg03.webp) left top repeat;
}
.p-sec05 {
  background: url(../img/bg04.webp) left top repeat;
}
.p-sec06 {
  background-color: #022099;
}

/* 資格試験お申込み */
.p-entry {
  padding: 80px 0;
  text-align: center;
}

.p-entry__inner {
  max-width: 1440px;
  margin: 0 auto;
}

/* 見出し画像 */
.p-entry__title img {
  display: block;
  margin: 0 auto 16px;
  max-width: 100%;
  height: auto;
}

/* テキスト */
.p-entry__text {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 48px;
  color: #595F6B;
}

/* ボタンエリア */
.p-entry__buttons {
  display: flex;
  justify-content: center;
  gap: 32px;
  padding: 0 20px;
}

/* ボタン */
.p-entry__btn img {
  display: block;
  width: 100%;
  max-width: 320px;
  height: auto;
}

/* ======================
    SP
====================== */
@media (max-width: 767px) {
  .p-entry {
    padding: 64px 15px;
  }

  .p-entry__text {
    font-size: 14px;
    margin-bottom: 28px;
    text-align: left;
  }

  .p-entry__buttons {
    flex-direction: column;
    align-items: center;
    gap: 24px;
    padding: 0;
  }
}
/* タブレット幅用（1024px以下かつ768px以上） */
@media (min-width: 768px) and (max-width: 1024px) {
  .p-hero__inner {
    flex-direction: column;
    align-items: center;
    padding: 80px 20px 50px;
  }
  .p-hero {
    background-size: cover;
  }
  .p-hero__info {
    width: 700px;
  }
  .p-hero__right {
    padding-top: 0;
    transform: inherit;
  }
  .p-hero__left {
    position: initial;
    transform: initial;
  }
}
/* Footer -------------------------------------------------- */

.l-footer {
  background-color: #F1F1F4;
}

.l-footer__inner {
  padding: 48px 20px;
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

/* ロゴ */
.l-footer__logo img {
  display: block;
  width: 314px;
  height: auto;
}

/* テキスト */
.l-footer__info {
  font-size: 13px;
  line-height: 1.7;
  text-align: left;
}

.l-footer__info p {
  margin: 0;
}

.l-footer__info a {
  color: inherit;
  text-decoration: none;
}

/* ======================
    SP
====================== */

@media (max-width: 767px) {

  .l-footer__inner {
    padding: 48px 15px;
    flex-direction: column;
    text-align: center;
    gap: 32px;
  }

  .l-footer__logo img {
    width: 660px;
    max-width: 100%;
  }
}

/* コピーライト */
.l-footer__copyright {
  font-size: 10px;
  text-align: center;
  color: #fff;
  background-color: #121212;
  padding: 9px;
}

/* ======================
    SP
====================== */

@media (max-width: 767px) {
  .l-footer__copyright {
    padding: 9px;
  }
}






























