

/* ===============================
   GF整体アカデミー LP Style
   Theme: 赤系 
   =============================== */

/* ===============================
   基本設定
   =============================== */
:root {
  --main-red: #c9171f;
  --accent-red: #e63946;
  --light-pink: #fff6f6;
  --text-color: #222;
  --bg-color: #ffffff;
  --sub-bg: #fff0f0;
  --shadow: rgba(0, 0, 0, 0.1);
  --btn-radius: 6px;
  --primary-blue: rgba(25, 25, 112, 0.8);
  --primary-white: #ffffff;
  --contentWidth: 91.4%;
    /*===(343/375)===*/
  --contentPadding: 4.2%;
    /*===(16/375)===*/
}

html {
  font-size: 62.5%;
}

body {
  font-family: "Noto Sans JP", sans-serif;
  color: var(--text-color);
  background-color: var(--bg-color);
  line-height: 1.8;
  font-style: normal;
  font-weight: 500;
  text-align: center;
  margin: 0 auto;
}

/* ヘッダー全体を中央に配置 */

h1 {
    font-size: 2.4rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.4rem;
}

p {
    font-size: 1.4rem;
}

img {
    max-width: 100%;
    height: auto;
}

strong {
  color: var(--accent-red);
}

.btn--entry{
  align-items: center;
  background: linear-gradient(to bottom, #f24a4a, #c9171f);
  color: var(--primary-white);
  padding: 1em 2.2em;
  box-shadow: 0 4px 10px var(--shadow);
}

.btn--entry:hover {
  background: var(--accent-red);
  transform: translateY(-3px);
}

.btn--entry-1 {
  align-items: center;
  background: linear-gradient(to bottom, #f9e79f, #f1c40f); /* ゴールド調 */
  color: #333; /* 黒文字で読みやすく */
  padding: 1em 2.2em;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  border: none;
  border-radius: 8px;
  font-weight: bold;
  transition: all 0.3s ease;
}

.btn--entry-1:hover {
  background: linear-gradient(to bottom, #f4d03f, #d4ac0d); /* 濃いめの金色に */
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}


.btn--tokuten {
  background-color: var(--light-pink);
  border: 2px solid var(--main-red);
  color: var(--main-red);
  padding: 1em 2em;
  width: 360px;
}

.btn--tokuten:hover {
  background-color: var(--main-red);
  color: var(--primary-white);
}

/* 固定ボタン全体 */
.btn__G {
  position: fixed;
  bottom: 20px;            /* 画面下から20px */
  right: 20px;             /* 画面右から20px */
  display: flex;
  flex-direction: column;  /* 縦並び */
  z-index: 1000;           /* 常に最前面 */
}

/* 各ボタン設定 */
.btn__G .btn {
    display: flex;                     /* フレックス配置に変更 */
    justify-content: center;           /* 横中央 */
    align-items: center;               /* 縦中央 */
    width: 240px;
    height: 56px;
    font-size: 1.6rem;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    line-height: 1.4;  
}


/* ホバー時の軽い浮き上がり */
.btn__G .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

/* スマホサイズ調整 */
@media screen and (max-width: 768px) {
  .btn__G {
    right: 10px;
    bottom: 10px;
  }

  .btn__G .btn {
    width: 180px;
    height: 44px;
    line-height: 44px;
    font-size: 1.4rem;
  }
}

section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  height: auto;
}


.topic__before1 {
  color: var(--accent-red);
  font-family: "Pinyon Script";
  font-style: normal;
  font-size: 2.0rem;
  letter-spacing: 3px;
  display: block;
}

.topic__before2 {
  display: inline-block;
  color: var(--accent-red);
  font-style: italic;
  font-size: 2.7rem;
  letter-spacing: 0.05px;
  margin-bottom: 18px;
  font-weight: 500;
}

.topic__before2::after {
  content: '';
  display: block;
  width: 250px;
  height: 2px;
  background: var(--accent-red);
  margin: 8px auto 0;
}

 .topic__title {
  margin-bottom: 18px;
} 

.mainCaption__txt {
  margin-top: 1em;
  line-height: 1.9;
}



/* common pc */
@media screen and (min-width:769px) {
 /* PC用 */
    section {
        padding: 24px 0; 
        margin-top: 24px;
    }

    h1 {
        font-size: 3.2rem;
    }
    
    h2 {
        font-size: 2.4rem;
    }
    
    h3 {
        font-size: 2rem;
    }
    
    p {
        font-size: 1.6rem;
    }  


.u-red {
  color: var(--main-red);
  font-weight: bold;
}

.btn {
  margin: 0 auto;
  width: 500px;
  height: 70px;
  font-size: 2.2rem;
  margin-top: 64px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-weight: bold;
  text-decoration: none;
  border-radius: var(--btn-radius);
  transition: 0.3s ease;
}

}

.header {
    padding: 0 0 0 4.2%;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header__topic a,
.nav__topic a {
    display:inline-block;
    max-width: 80px;
}

 /* .navの初期表示 */
.nav {
    background-color: var(--primary-white,0.8);
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    transform: translateX(-100%);
    transition: transform 0.4s;
}


.nav__header {
    padding: 0 0 0 4.2%;
    background-color: var(--primary-white);
    height: 84px;
    display: flex;
    justify-content: space-between;
    align-items: center;
 } 

.nav__list {
    margin-top: 64px;
}

.nav__item  {
    font-size: 2.4rem;
    line-height: 1; /* 24px */
    margin-top: 48px;
    display: flex;
    align-items: center;
}

.nav__item::before {
    content: '';
    display: inline-block;
    width: 2px;
    height: 2px;
    margin-right: 16px;
    margin-left: 16px;
    background-color: var(--text-color);
}


/* .nav.active表示 */

.nav.active {
    transform: translateX(0);
}

.header__btn,.nav__btn {
    display: flex;
    justify-content: center;   /* 中央寄せ */
    align-items: center;  
    width: 64px;
    height: 64px;
    padding: 10px;
}

/* .header pc */
@media screen and (min-width:1060px) {
    .header {
        height: 100px;
        margin: 0 auto;
        padding: 20px 60px;
    }

    .header__topic {
        font-size: 3rem;
    }

    .header__topic span {
        font-size: 1.2rem;
        line-height: 1.3;
        letter-spacing: 0.2em;
        margin: 0 0 0 28px;
    }

    .nav__header {
        display: none;
    }

    .nav {
        background: transparent;
        width: auto;
        height: auto;
        padding: 0;
        position: static;
        transform: translate(0);
    }

    .nav__list {
        margin-top: 0;
        display: flex;
        align-items: center;
    }

    .nav__item {
        margin:0 0 0 32px;
        /* ↑→↓← */
        text-align: center;
        line-height: 1.3;
        font-size: 1.6rem;
    }

    .nav__item::before{
        /* 白い棒 */
        display: none;   
    }   

  
    .header__btn {
        display: none;
    }

}


/* ===============================
   メインビジュアル（背景スライド付き）
   =============================== */
.article__header {
  position: relative;
  width: 100%;
  height: 60vh; /* 可変対応（スマホでもきれい） */
  min-height: 400px;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  animation: image_anime 30s ease infinite;
  background-attachment: scroll; /* Chrome対策 */
  margin: 0;
  padding: 0;
  overflow: hidden;
}

/* 背景アニメーション */
@keyframes image_anime {
  0%   { background-image: url(../images/mainVisual/main1.png); }
  25%  { background-image: url(../images/mainVisual/main2.png); }
  50%  { background-image: url(../images/mainVisual/main3.png); }
  75%  { background-image: url(../images/mainVisual/main4.png); }
  100% { background-image: url(../images/mainVisual/main5.png); }
}

/* 文字コンテナ */
.mainVisual {
  position: relative;
  width: 100%;
  height: 70vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

/* 横幅いっぱいに白背景を広げる */
.mainVisual__title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;                      /* ← 横いっぱいに */
  max-width: none;                  /* ← 幅制限解除 */
  background-color: rgba(255, 255, 255, 0.7);
  padding: 30px 0;                  /* 上下に余白、左右はなしでフル幅に */
  border-radius: 0;                 /* 両端を角丸にしない */
  backdrop-filter: blur(3px);
  font-size: 2.0rem;
  line-height: 1.6;
  color: #222;
}

/* テキストだけ中央に寄せる */
.mainVisual__title p,
.mainVisual__title h2 {
  margin: 0 auto;
  width: 90%;
  max-width: 800px;                 
}

@media screen and (min-width: 769px) {
  .mainVisual__title {
    padding: 40px 0;
    background-color: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(4px);
     font-size: 2.4rem;
  }
}




/* ===============================
   About セクション
   =============================== */
.about {
  text-align: center;
  /* border-radius: 12px;
  padding: 60px 20px; */
}

/* =========================
   Difference セクション
========================= */


/* サブキャプションがある場合（任意） */
.difference .mainCaption__txt{
  text-align: center;
  margin: 10px 0 26px;
  color: #666;
  letter-spacing: .06em;
}

/* =========================
   各ブロック
========================= */
.difference__item{
  background: #fff;
  border-radius: 16px;
  padding: 14px;
  margin: 0 auto 34px;
}

/* 画像：角丸＋影（スクショっぽく） */
.difference__img{
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(0,0,0,0.12);
}

.difference__imgitem{
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* テキスト（画像の下） */
.difference__txt-G{
  padding: 18px 8px 0;
}

/* 01:〜 の赤見出し */
.difference__txt-title{
  margin: 14px 0 10px;
  color: #c9171f;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: .02em;
  position: relative;
  padding-bottom: 10px;
  font-size: 2.6rem;
}

/* 見出しの下に細い赤ライン */
.difference__txt-title::after{
  content:"";
  display:block;
  width: 230px;
  height: 1px;
  background: rgba(201,23,31,0.55);
  margin-top: 10px;
}

/* 本文 */
.difference__txt{
  margin: 0;
  color: #444;
  font-size: 14px;
  line-height: 1.9;
  letter-spacing: .02em;
}


/* ===============================
   PR セクション
   =============================== */
.pr {
  /* height: 600px; */
  display: flex;
  flex-direction: column;        
  justify-content: center;
  align-items: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-image: url(../images/orien.jpeg);
  text-align: center;
  padding: 60px 20px;
  min-height: 700px;
}

.pr__content { 
  color: var(--main-red);
  text-decoration: underline;
  font-weight: 700;
  background-color: rgba(224, 221, 221, 0.3);  /* 半透明の黄色 */
  box-shadow: 8px 8px 4px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(2px);            /* 背景をぼかす */
  border-radius: 10px;
  padding: 40px 60px;
  max-width: 700px;
}



/* .pr pc */
 @media screen and (max-width:769px) {

    .pr__main {
        font-size: 3.2rem;

    }
    
}
/* ===============================
   特典セクション全体
================================ */
.benefit{
  padding: 50px 0;
  padding-bottom: 84px;
  background: #faf8f3; /* うっすら生成り */
}

.benefit__list{
  display: flex;
  gap: 22px;
  align-items: stretch;
  justify-content: center;
}

/* ===============================
   カード本体
================================ */
.benefit__item{
  position: relative;
  width: min(300px, 100%);
  background: #fff;
  border: 2px solid #d8c79a; /* ゴールドベージュ枠 */
  border-radius: 10px;
  padding: 28px 20px 70px;
  text-align: center;
  overflow: hidden;
  box-shadow:
    0 12px 30px rgba(0,0,0,0.06),
    0 2px 4px rgba(0,0,0,0.05);
}

/* 上品な光沢ライン */
.benefit__item::before{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(255,255,255,0.4) 0%,
    rgba(255,255,255,0) 40%
  );
  pointer-events: none;
}

/* ===============================
   テキスト
================================ */
.benefit__txt-G p{
  margin: 0;
  color: #5a4a2f; /* 深めのブラウン */
  line-height: 1.5;
  font-size: 15px;
}

.benefit__txt-G h3{
  margin: 12px 0 8px;
  font-weight: 700;
  color: #b38a2e; /* ゴールド系文字 */
  font-size: 42px;
  line-height: 1.15;
  letter-spacing: .02em;
}

/* 長文見出しは少し小さく */
.benefit__item:nth-child(2) .benefit__txt-G h3,
.benefit__item:nth-child(3) .benefit__txt-G h3{
  font-size: 22px;
  color: #4a3d27;
  line-height: 1.35;
}

/* ===============================
   ゴールドリボン
================================ */

.benefit__logo-G{
  position: absolute;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  
  background: linear-gradient(
    180deg,
    #f4e2a0 0%,
    #e3c76b 50%,
    #caa243 100%
  );

  color: #3f2f12;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: .08em;
  text-align: center;

  padding: 10px 36px;
  min-width: 170px;
  border-radius: 2px;

  box-shadow: 0 4px 0 #b8913b;
}


.benefit__logo-G::before{
  left: -12px;
  border-right: 12px solid #caa243;
}

.benefit__logo-G::after{
  right: -12px;
  border-left: 12px solid #caa243;
}
.benefit__logo-G{
  position: absolute;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  padding: 10px 34px;
  min-width: 170px;
  text-align: center;
  font-weight: 700;
  color: #4a3d27;
  border-radius: 4px;

  /* 金グラデーション */
  background: linear-gradient(
    180deg,
    #f5e3a1 0%,
    #e0c36d 40%,
    #caa243 60%,
    #f2dd93 100%
  );

  box-shadow:
    0 6px 0 #b8913b,
    0 8px 16px rgba(0,0,0,0.15);
}



/* ===============================
   スマホ対応
================================ */
@media (max-width: 768px){
  .benefit__list{
    flex-direction: column;
    align-items: center;
    gap: 18px;
  }

  .benefit__item{
    width: 100%;
    max-width: 420px;
  }

  .benefit__txt-G h3{
    font-size: 36px;
  }
}




/* ===============================
   Teacher セクション
   =============================== */

.teacher {
  background-color: #fff6f6; /* 柔らかい印象に */
  padding: 60px 20px;
  text-align: center;
  padding-bottom: 64px;
  max-width: 800px;
}

.teacher__item {
  display: flex;
  flex-direction: column;
  padding: var(--contentPadding);
  flex-direction:column; /* スマホでは縦並び */
  align-items: center;
  justify-content: center;
  margin-bottom: 48px;
  gap: 24px;
  text-align: center;
}

.teacher__img {
  align-items: center;
  width: 100%;
  max-width: 340px; 
  aspect-ratio: 3 / 4; /* 比率固定（縦長） */
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.teacher__img img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* 枠内に収めてトリミング */
}


.teacher__txt-G  {
  color: var(--main-red);
  font-size: 2rem;
  margin-bottom: 0.3em;
}

.teacher__txt-G p {
  font-size: 1.6rem;
  line-height: 1.8;
  color: #333;
}

/* --- PC横並び --- */
@media screen and (min-width: 769px) {
  .teacher {
  max-width: 1280px;
}

  .teacher__item {
    display: flex;
    flex-direction: row; /* 横並び */
    justify-content: center;
    align-items: flex-start;
    text-align: left;
    gap: 60px;
  }

  .teacher__item:nth-child(even) {
    flex-direction: row-reverse; /* 交互レイアウト */
  }

  .teacher__img {
    max-width: 400px;
  }

  .teacher__txt-G {
    flex: 1;
  }
}

/* ===============================
   Curriculum セクション
   =============================== */
.curriculum {
  border-radius: 12px;
  padding: var(--contentPadding);
}

.curriculum-topic__txt {
  margin-bottom: 24px;
  max-width: var(--contentWidth);
}

.curriculum__txt-G h2 {
  color: var(--main-red);
}


.curriculum__txt-G h3 {
  margin-top: 24px;
}

.curriculum__info {
  margin-top: 16px;
  font-size: 1.6rem;
}

.PR__title {
  font-weight: bold;
  max-width: var(--contentWidth);
  margin: 0 auto;
  margin-top: 48px;
  font-size: 2.7rem;
}



/* ===============================
   comparison セクション
   =============================== */


.comparison {
  max-width:var(--contentWidth); /* セクション全体の横幅を指定 */
  margin: 0 auto; /* 中央寄せ */
  text-align: center;
  padding: 40px 20px;
}

.comparison__title {
  /* font-size: 1.6rem; */
  font-weight: bold;
  margin-bottom: 16px;
}

.underline__img img {
  width: 350px; /* 下線画像のサイズを調整（または100%でもOK） */
  height: auto;
  margin-bottom: 32px;
}

.comparison__table {
  width: 100%; /* セクション幅いっぱいに広げる */
  border-collapse: collapse;
  margin: 0 auto;
  text-align: left;
  font-size: 1.3rem;
}

.comparison__table th,
.comparison__table td {
  border: 1px solid #ccc;
  padding: 16px;
  vertical-align: top;
}

.header-academy {
  background-color: #f7f7f7;
  text-align: center;
  font-weight: bold;
   font-size: 1.8rem;
}

.Category {
  background-color: #fafafa;
  width: 20%;
  font-size: 1.8rem;
}

.highlight {
  color: #d60000;
  font-weight: bold;
}

@media screen and (min-width: 769px) {
  .curriculum {
  font-size: 3.2rem;
}
  .comparison__table {
  font-size: 1.6rem;
}
}


/* ===============================
   faq セクション
   =============================== */
.quetion {
  margin-bottom: 48px;
}

.faq-item {
  display: inline-block;
  border-bottom: 1px solid #ddd;
  padding: 16px 0;
  text-align: center;
}

.faq-q {
  font-weight: bold;
  font-size: 1.3rem;
  color: #333;
  cursor: pointer;
  position: relative;
  padding-right: 24px;
  transition: color 0.3s ease;
}

.faq-q::after {
  content: '＋';
  position: absolute;
  right: 0;
  top: 0;
  color: var(--main-red, #c0392b);
  font-weight: bold;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-q::after {
  content: '－';
}

.faq-q:hover {
  color: var(--main-red, #c0392b);
}

.faq-a {
  font-size: 1.3rem;
  display: none;
  margin-top: 8px;
  line-height: 1.6;
  color: #555;
}

.faq-item.active .faq-a {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media screen and (min-width: 769px) {
  .faq-q,.faq-a {
  font-size: 1.6rem;
}
}

/* ===============================
   Footer
   =============================== */
.footer {
  background-color: var(--main-red);
  color: #fff;
  text-align: center;
  padding-top: 4.8rem;
  padding-bottom: 4.8rem;
}

.footer__logo-btn img {
  width: 60px;
  margin: 0 auto 1rem;
}

.footer__general {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 1rem;
}

.footer__link a {
  color: #fff;
  text-decoration: none;
}

.footer__link a:hover {
  text-decoration: underline;
}

.footer__copylight {
  font-size: 1.0rem;
  opacity: 0.8;
}

@media screen and (min-width: 769px) {
  .footer__link {
  font-size: 1.3rem;
}
}


/* --------------------------------
   背景バグ防止：全体適用
-------------------------------- */
@supports (-webkit-touch-callout: none) {
  .pr, .article__header {
    background-attachment: scroll !important;
  }
}