@charset "UTF-8";
/* CSS Document */
/*-------------------------------------------------------------------------------------
PC用レイアウト（768px以上スクリーン）
----------------------------------------------------------------------------------------*/
/*--------------------------------------------------
共通設定(PC)
-----------------------------------------------------*/
/*body全体の初期スタイル調整*/
body {
  font-size: 62.5%; /*emの計算をしやすくするための定番設定*/
  font-family: YuGothic, "Yu Gothic medium", "Hiragino Sans", Meiryo, "sans-serif";
  font-weight: normal;
  color: #000;
}
/*リンク文字の設定*/
a {
  text-decoration: underline;
}
a:link, a:visited {
  color: #39f;
}
a:hover, a:active {
  color: #f60;
}
/*ブラウザのCSSをリセット*/
p {
  margin: 0 !important;
  padding: 0 !important;
}
/*セクションエリアの共通設定*/
section {
  clear: both;
  overflow: auto;
}
/*--------------------------------------------------
見出しタグ設定（PC）
-----------------------------------------------------*/
h2 {
  margin: 0.5em 0em;
  font-size: 2em;
  font-weight: bold;
  text-align: center;
}
.heading-wrapper {
  text-align: center;
  margin: 1em auto;
}

.h2-header {
  display: inline-block;
  position: relative;
  color: #333;
  font-size: 2em;
  line-height: 1;
  z-index: 1;
  margin: 1em 0;
}

.h2-header::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  transform: translate(-50%, -60%) rotate(45deg);
  z-index: -1;
  width: 3.5em;
  height: 3.5em;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #ffe9b2, #bfa45e);
}

.h2-header .sub-label {
  display: block;
  font-size: 0.5em;
  margin-top: 0.2em;
  letter-spacing: 0.1em;
}

h3 {
  margin: 0.5em 0em;
  padding: 0.3em 0.6em;
  font-size: 1.6em;
  font-weight: bold;
}

/*--------------------------------------------------
全体レイアウト／背景設定（PC）
-----------------------------------------------------*/
/*全体エリア（全体背景を設定するにはここ）*/
.main {
  background-color: #f2f2f2;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}
/*記事(ボディ)エリア*/
.article {
  background-color: #fff;
  border-left: 1px solid #ccc;
  border-right: 1px solid #ccc;
  font-size: 1.6em; /*=16px*/
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* ← 影を追加 */
}
/*記事(ボディ)エリアの行間*/
.article p {
  line-height: 1.6;
}
/*カラム全体の幅を変更する*/
.article, .top_image_in {
  width: 900px;
  margin: 0 auto; /*真ん中に要素を置きたいときに使う*/
}

/* スマホのみ改行用 */
.sp-br {
  display: none;
}
/*--------------------------------------------------
上部固定ヘッダー設定
--------------------------------------------------*/
/*上部固定ヘッダー全体*/

.header {
  position: sticky;
  position: -webkit-sticky;
  top: 0;
  z-index: 5000;
  border-bottom: 1px solid #ccc;
  overflow: auto;
  background-image: url("../images/header_bg.webp");
}

/*ヘッダー内部をカラム幅にする*/
.header_inr {
  max-width: 950px;
  margin: 0 auto;
  overflow: hidden;
}
/*ヘッダーのロゴ*/
.header_logo {
  width: 45%;
  float: left;
  margin: 0em;
  padding: 1.5em 0 .5em;
}
/*ヘッダーの問い合わせボタン*/
.header_mail {
  width: 40%;
  float: right;
  margin: 0.8em 0em 0em;
  padding: .5em;
}
/*ヘッダー内の画像が常に幅100%になるように*/
.header_logo img, .header_mail img, .header_tel img {
  width: 100%;
}

/*--------------------------------------------------
ファーストビュー設定
-----------------------------------------------------*/

  /* PCの画像表示 */
  .fv_pc {
    display: block;
  }
  /* スマホ画像は非表示 */
  .fv_sp {
    display: none;
  }

/*--------------------------------------------------
CTAエリア
-----------------------------------------------------*/
.area_cta {
  background-image: url('../images/cta_bg.webp'); 
  padding: 1em 3em;
}
.area_cta_inr {
  background-color: #fff;
  padding: 1em 2em;
  overflow: auto;
}
.area_cta_inr_left {
  float: left;
  width: 45%;
}
.area_cta_inr_right {
  float: right;
  width: 52%;
  padding: .5em 0 0;
}

/* ＣＴＡへのスクロール用 */
html {
  scroll-behavior: smooth;
}


/* ホバー効果 */
.area_cta_inr_left a img,
.area_cta_inr_right a img {
  transition: all 0.3s ease;
}

.area_cta_inr_left a:hover img,
.area_cta_inr_right a:hover img {
  transform: scale(1.05);
  opacity: 0.9;
}

.gold_line {
  height: 1px;
  background-color: #a6883d; /* gold */
  width: 100%;
}

/*--------------------------------------------------
sectionの設定
-----------------------------------------------------*/

/*--------------------------------------------------
合格実績の設定
-----------------------------------------------------*/
.section_gokaku {
  padding: 3em 1.5em;
  background: url("../images/gokaku-bg.webp");
  background-attachment: fixed;
  background-size: cover;
  background-repeat: no-repeat;
 }


.gokaku-box {
  background: white;
  background: rgba(255, 255, 255, 0.9);
  border: 5px solid #a6883d;
  box-sizing: border-box;
  max-width: 900px;
  margin: 0 auto;
  padding-bottom: 1em;
  position: relative;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.gokaku-img {
  margin-top: -30px; /* 上に飛び出す */
}


/*--------------------------------------------------
悩みの設定
-----------------------------------------------------*/
.section_issues {
  background-color: #e6e6e6;
}

.box-issues {
  margin: 0 auto;
}

.visual-box {
  position: relative;
  width: 100%;
  text-align: center;
}

.bg-image {
  width: 100%;
  display: block;
}

.headline-overlay {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  z-index: 2;
}

.headline-img {
  width: 100%;
  height: auto;
  margin-top: 2em;
}

.animate-fade-slide {
  opacity: 0;
  transform: translateY(-30px);
  animation: fadeSlideDown 1s ease-out forwards;
  animation-delay: 0.5s;
}

@keyframes fadeSlideDown {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/*--------------------------------------------------
光陰塾なら　の設定
-----------------------------------------------------*/
.section_koinjyuku {
  background: url("../images/koinjyuku_bg.webp") no-repeat center top;
  background-size: cover;
  padding: 0 0em 3em;
  text-align: center;
}

.section_koinjyuku .headline-img {
  width: 90%;
  max-width: 600px;
  margin: 0 auto 2em;
  display: block;
}

.section_koinjyuku .result-message span {
  color: #000;
  font-weight: bold;
}

.section_koinjyuku img {
  width: 40%;
  height: auto;
  margin: 2em auto;
}


/*--------------------------------------------------
解決の設定　４つの理由
-----------------------------------------------------*/
.section_kaiketsu {
  background: #fdfbf7;
  padding-bottom: 1em;
}


.section_kaiketsu .headline-img {
  width: 90%;
  margin: 2em auto;
  display: block;
  }

  .kaiketsu-list {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1.5em;
    margin: 1em;
  }
  .kaiketsu-box {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid #a6883d;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  padding: 1em;
  margin-bottom: 1em;
  border-radius: 8px;
  width: 48%; /* 2列に並べるため */
}

.kaiketsu-img {
  margin: 1em 0;
}

.result-message {
  text-align: center;
  font-size: 1.1em;
  margin: 1em auto;
}

.result-message span {
  color: #a6883d;
  font-weight: bold;
}


/*--------------------------------------------------
６つの学習方法　
-----------------------------------------------------*/
.section_method {
  background: linear-gradient(to bottom, #0a0a0a, #1a1a1a);
  padding: 1em 0em 3em;
}

.section_method .headline-img {
  width: 90%;
  margin: 2em auto;
  display: block;
  }

.method-text-box {
  margin: 0;
  color: #fff;
  position: relative;
  background-image: url("../images/method_header-img.webp");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  padding: 2em 0 2em 2em;
  z-index: 1;
  filter: saturate(60%);
}


/* 単語帳の装飾 */
.card-category {
  position: relative;
  display: block;
  width: max-content;
  padding: 0em 2em;
  color: #000;
  background: #FFF;
  font-size: 1.2em;
  margin: 1.5em auto;

}

/* 三角：やや小さめ（高さ28px × 横25px） */
.card-category::before {
  content: '';
  position: absolute;
  top: 0;
  left: -15px;
  width: 0;
  height: 0;
  border-top: 14px solid transparent;
  border-bottom: 15px solid transparent;
  border-right: 15px solid #FFF;
  
}

/* 丸：三角中央に表示（位置手動で調整） */
.card-category::after {
  content: '';
  position: absolute;
  top: 14px; /* 三角の高さと合わせる */
  left: 5px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #000;
  transform: translateY(-50%);
}

.wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: auto;
  margin: 0 2em;
}


.container {
  display: flex;
  flex: 1 1 45%;
  min-width: 300px;
  max-width: 500px;
  background: #FFF;
  padding: 1em 0.5em;
  box-sizing: border-box;
  
}

.img1 {
  flex: 0 0 100px;
}

.img1 img {
  width: 95%;
  height: auto;
}

.img2-text {
  flex: 1;
  margin-left: 15px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.img2 {
  margin-bottom: 10px;
}

.img2 img {
  width: 100%;
  height: auto;
}


/*--------------------------------------------------
比較表　設定
-----------------------------------------------------*/
.section_compare {
  background-color: #FFFEF0;
  padding: 1.5em 3em;
}

.table-wrap {
  overflow-x: auto;
  margin-top: 1em;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  text-align: center;
  min-width: 600px;
}

.compare-table th,
.compare-table td {
  border: 1px solid #ccc;
  padding: 1em;
  vertical-align: middle;
}

.compare-table thead th {
  background-color: #333;
  color: #fff;
}

.compare-table tbody th {
  background-color: #bfa45e;
  color: #fff;
  text-align: center;
}

.compare-table .note {
  font-size: 0.85em;
}

/* 光陰塾の列（2列目）を装飾 */
/* 共通：縦の赤枠（左右）だけ表示 */
.compare-table th:nth-child(2),
.compare-table td:nth-child(2) {
  border-left: 3px solid #c1272d;
  border-right: 3px solid #c1272d;
  font-weight: bold;
}

/* 上枠：1段目のセルのみ */
.compare-table thead th:nth-child(2) {
  border-top: 3px solid #c1272d;
}

/* 下枠：tbody の最終行のセルのみ */
.compare-table tbody tr:last-child td:nth-child(2) {
  border-bottom: 3px solid #c1272d;
}

/* スクロール */
.scroll-hint {
  display: none;
  text-align: center;
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 0.5em;
  animation: fadeMove 2s infinite;
}

.scroll-hint img {
  width: 24px;
  height: auto;
  margin-left: 8px;
  vertical-align: middle;
  opacity: 0.6;
}

/* ゆるく動かすアニメーション */
@keyframes fadeMove {
  0% { opacity: 0.3; transform: translateX(0); }
  50% { opacity: 1; transform: translateX(5px); }
  100% { opacity: 0.3; transform: translateX(0); }
}


/*--------------------------------------------------
コース　設定
-----------------------------------------------------*/
.section_course {
  background-color: #FFFEF0;
  padding: 1.5em 3em;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.course-card {
  border: 1px solid #ccc;
  width: 100%;
  max-width: 320px;
  background: #fff;
  position: relative;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.course-card.recommended {
  border: 2px solid #c1272d;
}

.course-header {
  position: absolute;
  top: -10px;
  left: -10px;
  background: #c1272d;
  color: #fff;
  padding: 0.3em 0.8em;
  font-size: 0.9rem;
  font-weight: bold;
  border-radius: 4px;
}

.course-header.invisible {
  visibility: hidden;
}

.course-features {
  list-style: none;
  padding-left: 0;
  background-color: #FFFEF0;
  padding: 1em;
}
.course-features li {
  position: relative;
  padding-left: 1.5em;
  margin-bottom: 0.8em;
}

.course-features li::before {
  content: '✔';
  color: green;
  font-weight: bold;
  position: absolute;
  left: 0;
}

.course-title {
  text-align: center;
}

.course-image img {
  width: 100%;
  height: auto;
 }

.course-box{
  padding: 1em;
}
.course-description {
  margin: 1em;
  text-align: left;
}

.course-price {
  text-align: right;
  font-size: 2rem;
  font-weight: bold;
  margin-top: 1em;
  color: #c1272d;
}

.course-price  span{
  font-size: small;
  color: #666;
}

.course-note {
  font-size: 0.85rem;
  color: #666;
  margin-top: 2em;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}


/*--------------------------------------------------
Voice設定
-----------------------------------------------------*/
.voice-section {
  margin: 2em auto;
  padding: 0 1em;
}

.voice-block {
  display: flex;
  align-items: center;
  gap: 2em;
  margin: 1em 2em 2em;
  padding: 1em;
  flex-direction: row;
  border: #bfa45e 2px solid;
  position: relative; 
}

.voice-block.reverse {
  flex-direction: row-reverse;
}

.voice-content {
  flex: 1;
}

.voice-image {
  position: relative;
}
.voice-image img{
  width: 200px;
}

.voice-label {
  position: absolute;
  top: -16px;
  left: -16px;
  background: #bfa45d;
  color: #fff;
  font-weight: bold;
  font-size: 0.85rem;
  padding: 0.3em 0.7em;
  border-radius: 4px;
  z-index: 1;
}

.voice-label span {
  font-size: 1.2rem;
  font-weight: bold;
  margin-left: 0.3em;
}

.voice-heading {
  font-size: 1.1rem;
}

.voice-tags {
  margin-bottom: 1em;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em;
}

.voice-tag {
  background: #fffeff;
  color: #bfa45d;
  font-size: 0.85rem;
  padding: 0.3em 0.7em;
  border-radius: 1em;
  border: 1px solid #bfa45d;
}

/* スマホ対応 */
@media screen and (max-width: 768px) {
  .voice-block,
  .voice-block.reverse {
    flex-direction: column;
    text-align: center;
  }

  .voice-image img {
    margin-bottom: 1em;
  }

  .voice-content {
    text-align: left;
  }
}

/*--------------------------------------------------
講師紹介の設定
-----------------------------------------------------*/

.teacher-section {
  padding: 2em 1em;
  background: #fdfbf7;
  text-align: center;
}
/* ボタン全体の装飾 */
.swiper-button-prev,
.swiper-button-next {
  position: relative;
  color: #bfa45d !important;
  width: 30px !important;
  height: 30px !important;
  z-index: 10;
  top: 50%;
  transform: translateY(-50%);
}

/* グレーの円背景（::before） */
.swiper-button-prev::before,
.swiper-button-next::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 48px;
  height: 48px;
  background-color: #eee;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  z-index: -1; /* ← 背面に配置 */
}
/* 矢印アイコン自体 */
.swiper-button-prev::after,
.swiper-button-next::after {
  font-size: 20px !important;
  color: #bfa45d !important;
}

/* カード　装飾　*/
.teacher-swiper {
  min-height: 400px; /* 高さがゼロになるのを防ぐ */
}

.swiper-wrapper {
  display: flex;
  align-items: stretch;
}

.swiper-slide {
  display: flex;
  height: auto;
}

.teacher-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: auto;
  min-height: 500px;
  max-width: 400px;
  margin: 0 auto;
  background: #fff;
  border-radius: 1em;
  padding: 1.5em;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.teacher-card img {
  width: 160px;
  height: auto;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto .5em;
}

.teacher-name {
  font-size: 1.1rem;
  margin-bottom: 0.5em;
}

.teacher-name span {
  display: block;
  font-size: 0.85rem;
  color: #888;
}

.teacher-bio {
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 0.8em;
  text-align: left;
}

.teacher-msg {
  font-weight: bold;
  font-style: italic;
  color: #bfa45d;
}


/* 強制的にページネーションにマージンを追加して位置を下げる */
.swiper-pagination {
  margin-top: 30px !important;
  position: relative !important;
}

/* ３種類の文字高さを合わせる */
.teacher-name {
  height: 3em;
  overflow: hidden;
}
.teacher-bio {
  height: 5em;
  overflow: hidden;
}
.teacher-msg {
  height: 3em;
  overflow: hidden;
}

/*--------------------------------------------------
お申し込みの流れ　設定
-----------------------------------------------------*/
.application-flow {
  padding: 2em 1em;
  background: #faf9f5;
}

.flow-steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1em;
  margin-top: 2em;
}

.flow-step {
  background: #fff;
  padding: 1em;
  border-radius: 1em;
  width: 250px;
  height: auto;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.flow-step h3 {
  font-size: 1.1em;
  font-weight: bold;
  color: #bfa45d;
}
.step-number{
    padding: 3px 6px;
    background-color: #bfa45d!important;
    color: #ffffff;
    font-size: small;
    font-weight: bold;
    margin: 0 .5em .5em 0;
}

.flow-step img {
  width: 80%;
  display: block;
  margin: 0 auto;
}

.flow-arrow {
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #bfa45d;
}



/*--------------------------------------------------
よくある質問
-----------------------------------------------------*/
.faq-section {
  padding: 3em 1em;
}

.faq-list {
  margin-top: 2em;
  padding: 1em 2em;
}
.faq-item {
  margin-bottom: 2em;
  width: 100%;
}
.faq-question {
  background: #bfa45d;
  color: #fff;
  font-weight: bold;
  font-size: 1.1em;
  padding: .5em 1.5em; 
  margin-bottom: 1em;
  width: 100%;
  display: block;
  box-sizing: border-box;
}
.faq-answer {
  padding: .5em 1.5em; 
  margin-bottom: 1.5em;
  border-radius: 6px;
  width: 100%;
  display: block;
  box-sizing: border-box;
}

.q-label {
  font-weight: bold;
  font-size: 1.3em;
  margin-right: 0.4em;
}

.a-label {
  font-weight: bold;
  font-size: 1.3em;
  margin-right: 0.4em;
}
.toggle-faq-btn {
  background: #bfa45d;
  color: #fff;
  font-weight: bold;
  border: none;
  padding: 0.6em 1.5em;
  font-size: 0.95rem;
  cursor: pointer;
  display: block;
  margin: 2em auto;
}
.faq-hidden {
  display: none;
}
.faq-hidden.open {
  display: block;
}

/*--------------------------------------------------
bg
-----------------------------------------------------*/
  .parallax-section {
    background-image: url("../images/bg_parallax.jpg");
    background-attachment: fixed;
    background-size: cover;
    background-repeat: no-repeat;
    height: 200px; /* 必要に応じて調整 */
    filter: saturate(80%); /* 彩度を40%に下げる（0%でモノクロ） */
  }
  
/*--------------------------------------------------
会社情報セクション
--------------------------------------------------*/
.company-section {
  padding: 3em 1em;
}

/* 理念テキスト */
.company-content {
  margin: 2em auto;
  padding: 1.5em 2em;
  text-align: center;
}

/* 左右レイアウト本体 */
.company-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 2em;
  align-items: stretch;
  justify-content: space-between;
}

.company-left,
.company-right {
  flex: 1;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* 左側 */
.company-left {
  background-color: #fffaee;
  padding: 0 2em;
}

.company-info dt {
  font-weight: bold;
  font-size: 1em;
}

.company-info dd {
  font-size: 1em;
  margin: 0.3em 0 1em;
}

.company-info dt:first-of-type {
  border-bottom: 1px solid #333; /* 下線の色と太さを調整 */
  padding-bottom: 0.5em;
  margin-bottom: 1em;
}
/* 右側：画像レイアウト */
.student-img {
  width: 100%;
  height: auto;
  margin-bottom: 1em;
}

.image-row {
  display: flex;
  gap: 1em;
  flex-wrap: nowrap; /* 念のため明示 */
}

.image-row img {
  width: calc(50% - 0.5em);
  height: auto;

}

.captioned-image {
  position: relative;
  width: calc(50% - 0.5em);
  overflow: hidden; /* キャプションはみ出し防止 */
}

.captioned-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover; /* 過剰な縦長化を防ぐ */

}

.caption {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background-color: rgba(0, 0, 0, 0.6); /* 黒の半透明 */
  color: #fff;
  font-size: 0.75em;
  padding: 0.3em 0.6em;
  border-radius: 4px;
  z-index: 2;
  pointer-events: none;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .company-inner {
    flex-direction: column-reverse;
    align-items: center;
    text-align: center;
  }

  .company-left,
  .company-right {
    width: 100%;
  }

  .company-content {
    padding: 1em;
  }

}


/*--------------------------------------------------
フッター部分
-----------------------------------------------------*/
.footer {
  background-image: url("../images/header_bg.webp");
  padding: 2em 0em;
  text-align: center;
  font-size: 1.4em;
  color: #fff;
}
.footer a {
  color: #fff;
}


/*--------------------------------------------------
特定商取引法に基づく表記
-----------------------------------------------------*/
section.tokushoho {
  padding: 2em;
}
dl.tokushoho-list dt {
  font-weight: bold;
  margin-top: 1.5em;
}
dl.tokushoho-list dd {
  margin: 0.3em 0 1em 1.5em;
}
@media screen and (max-width: 768px) {
  section.tokushoho {
    width: 90%;
    padding: 1.5em;
  }
}

