@charset "UTF-8";
/* ----------------------------------------------------
  Reset / Normalize
---------------------------------------------------- */
* {
 margin: 0;
 padding: 0;
 box-sizing: border-box;
}

html {
 font-size: 62.5%; /* 16px → 10px換算 */
 scroll-behavior: smooth;
}

body {
 font-family: "Noto Sans JP", sans-serif;
 font-size: 1.6rem;
 line-height: 1.8;
 color: #1a1a1a;
 background: #fff;
}

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

ul, ol {
 list-style: none;
}

a {
 color: inherit;
 text-decoration: none;
}

/* ----------------------------------------------------
  Layout Utilities
---------------------------------------------------- */
.container {
 width: min(1200px, 80%);
 margin: 0 auto;
}

section {
    padding-bottom: 6%;
}

.section-title {
 font-size: 2.4rem;
 font-weight: 700;
 text-align: center;
 margin-bottom: 40px;
}
.flexbox{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
header{
    padding: 0.5% 0;
}
header h1{
    font-size: 1.1rem;
    min-width: 55%;
}
header h1 img{
    display: inline-block;
    margin-right: 3%;
    max-width: 150px;
    object-fit: contain;
}
header h1 a{display: block;}
.header_cta{
    margin-left: auto;
    font-weight: 700;
}
.header_cta a{
    display: inline-block;
    min-width: 230px;
    text-align: center;
    border-radius: 6px;
    color: #fff;
    padding: 4% 3%;
}
.header_cta a:hover{
    opacity: 0.6;
    transition: 0.5s;
}
.header_cta a.btn_entry{
    position: relative;
    background: #f59d35;
}
.header_cta a.btn_entry:after {
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 6px 0 6px 8px;
    border-color: transparent transparent transparent #fff;
    position: absolute;
    top: 0;
    right: 4%;
    bottom: 0;
    margin: auto;
}
.header_cta a.btn_line{
    position: relative;
    background: #f5d835;
    color: #004a96;
    margin-left: 2%;
}
.header_cta a.btn_line:after {
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 6px 0 6px 8px;
    border-color: transparent transparent transparent #1a50a0;
    position: absolute;
    top: 0;
    right: 4%;
    bottom: 0;
    margin: auto;
}
/* ============================
KV
============================ */
.kv{
    background-image: url(../images/bg_mv.png);
    background-repeat: no-repeat;
    background-size: cover;
    padding-bottom: 0;
}
.kv img{
    max-width: 75%;
    margin: 0 auto;
    padding-top: 5%;
}
.lead_ttl {
    position: relative;
    background: #004a96;
    padding: 2% 0;
    text-align: center;
    color: #fff;
    letter-spacing: 0.04em;
}

.lead_ttl::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 0;
    border-top: 38px solid #004a96;
    border-right: 38px solid transparent;
    border-left: 38px solid transparent;
    border-bottom: 0px solid transparent;
    transform: translateX(-50%) translateY(100%);
}
.lead_ttl span{
    text-decoration: underline;
    text-decoration-color: #fce10c;
    text-decoration-thickness: 3px;
}
.lead ul{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 5%;
}
.lead ul li{
    width: calc(91% / 3);

}
.cta {
    padding: 0;
}
.cta h2{
    text-align: center;
    font-size: 3rem;
    color: #004a96;
    margin-bottom: 2%;
}
.main_cta{
    width: 90%;
    margin: 0 auto;
    margin-bottom: 5%;
}
.main_cta a{
    display: inline-block;
    width: 60%;
    text-align: center;
    border-radius: 6px;
    color: #fff;
    padding: 1.5% 2%;
    font-size: 2.4rem;
    font-weight: 700
}
.main_cta a:hover{
    opacity: 0.6;
    transition: 0.5s;
}
.main_cta a.btn_entry{
    position: relative;
    background: #f59d35;
}
.main_cta a.btn_entry:after {
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 6px 0 6px 8px;
    border-color: transparent transparent transparent #fff;
    position: absolute;
    top: 0;
    right: 4%;
    bottom: 0;
    margin: auto;
}
.main_cta a.btn_line{
    position: relative;
    background: #f5d835;
    color: #004a96;
    margin-left: 2%;
}
.main_cta a.btn_line:after {
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 6px 0 6px 8px;
    border-color: transparent transparent transparent #1a50a0;
    position: absolute;
    top: 0;
    right: 4%;
    bottom: 0;
    margin: auto;
}
.cp img{
    max-width: 80%;
    margin: 0 auto;
}
/* -------------------------
授業申し込み追加分
-------------------------- */
.add_cta{
    width: 90%;
    margin: 0 auto;
    margin-bottom: 5%;
}
.add_cta a{
    display: inline-block;
    width: 60%;
    text-align: center;
    border-radius: 6px;
    color: #fff;
    padding: 1.5% 2%;
    font-size: 2.4rem;
    font-weight: 700
}
.add_cta a:hover{
    opacity: 0.6;
    transition: 0.5s;
}
.add_cta a.btn_class{
    position: relative;
    background: #cae3f5;
    color: #004a96;
    margin: 0 auto
}
.add_cta a.btn_class:after {
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 6px 0 6px 8px;
    border-color: transparent transparent transparent #1a50a0;
    position: absolute;
    top: 0;
    right: 4%;
    bottom: 0;
    margin: auto;
}
/* -------------------------
   見出し部分
-------------------------- */
.curriculum{
background: repeating-linear-gradient(-45deg, #e6f1fb 0, #e6f1fb 3px, #ffffff 2px, #ffffff 7px);
}
.touki_curriculum{
    padding-top: 6%;
}

.curriculum-header {
  text-align: center;
  margin-bottom: 30px;
}

.curriculum-header .title {
    width: min(1000px, 80%);
    font-size: 24px;
    font-weight: bold;
    border: 2px solid #004a96;
    padding: 12px 20px;
    display: inline-block;
    border-radius: 10px;
    color: #004a96;
    background-color: #fff;
}

.sub-text {
  display: block;
  font-size: 1.3rem;
}

.desc {
  margin-top: 10px;
  font-size: 1.3rem;
  color: #004a96;
}

/* -------------------------
   タブボタン
-------------------------- */
.tab-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 25px;
}

.tab-button {
    width: calc(100% / 3);
    background: #0b63c5;
    color: #fff;
    padding: 12px 20px;
    border: #0b63c5 2px solid;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.3s;
}

.tab-button.active {
    background: #ffffff;
    color: #004a96;
    border: #004a96 2px solid;
    box-sizing: border-box;
}

/* -------------------------
   タブ内容
-------------------------- */
.tab-content {
    display: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.tab-content.active {
  display: block;
  opacity: 1;
}
/* -------------------------
   ボックスデザイン
-------------------------- */
.box {
    border: 2px solid #0b63c5;
    border-radius: 12px;
    padding: 0 0 4% 0;
    margin-bottom: 25px;
    text-align: center;
    background: #fff;
}
.box img{
    max-width: 90%;
    margin: 0 auto;
    padding-top: 5%;
}
.course-title,
.fee-title {
  font-size: 20px;
  color: #0b63c5;
  margin-bottom: 25px;
}

.course-inner {
  font-size: 16px;
  color: #333;
}
/*----------------------------------------------------
Feature section
---------------------------------------------------- */
.feature {
 padding: 60px 0;
 background: #fff;
}
h2.doublebox {
    width: 50%;
    margin: 0 auto;
}
.feature__inner {
 width: min(1200px, 90%);
 margin: 0 auto;
 display: flex;
 flex-direction: column;
 gap: 80px;
margin-top: 5%;
font-size: 1.4rem;
}

.feature-item {
 display: flex;
 gap: 40px;
}

/* 画像 → テキストの順を逆にする */
.feature-item--reverse {
 flex-direction: row-reverse;
}

/* 画像ブロック */
.feature-item__media {
 position: relative;
 flex: 1 1 50%;
}

/* テキスト */
.feature-item__content {
 flex: 1 1 50%;
}

.feature-item__title {
font-size: 1.8rem;
 font-weight: 700;
 margin-bottom: 20px;
 color:  #004a96;
}

.feature-item__content p + p {
 margin-top: 12px;
}
/*----------------------------------------------------
guarantee
---------------------------------------------------- */
.guarantee{
    border: #004a96 3px solid;
    border-radius: 6px;
    padding: 4%;
    margin-bottom: 6%;
}
.guarantee h2{
    background: #004a96;
    width: 50%;
    margin: 0 auto;
    text-align: center;
    color: white;
    padding: 1% 0;
    margin-bottom: 4%;
}
.guarantee h2 span{
    color: #f5d835;
}
.guarantee_inner_box{
    background: #e2edf5;
    border-radius: 30px 0 0 0;
    padding: 3%;
    box-sizing: border-box;
    width: 48%;
    font-size: 1.4rem;
}
.guarantee_inner_box img{
    display: block;
    margin: 0 auto;
}
.guarantee h3{
    text-align: center;
    color: #004a96;
    margin: 10px 0 10px 0;
}
.caption_box{
    font-size: 1rem;
    font-weight: bold;
    margin-top: 3%;
}
.caption_box ul{
    padding-left: 1em;
}
.caption_box ul li{
    list-style-type: decimal;
}
/*----------------------------------------------------
achievements
---------------------------------------------------- */
.achievements{
    background: repeating-linear-gradient(-45deg, #e6f1fb 0, #e6f1fb 3px, #ffffff 2px, #ffffff 7px);
padding: 6% 0;
}
.achievements_inner{
    background: #fff;
    border: #004a96 3px solid;
    border-radius: 6px;
    padding: 4% 3%;
    margin-top: 4%;
}
.achievements_inner_box{
    width: calc(89% / 3);
    font-size: 1.3rem;
}
.achievements_inner_box h3{
    text-align: center;
    color: #004a96;
    font-size: 1.4rem;
    font-weight: 700;
    margin: 5% 0 2%;
}
/*----------------------------------------------------
flow
---------------------------------------------------- */
.flow{
    padding: 6% 0;
}
.flow h2{
    margin-bottom: 5%;
}
.flow p{
    text-align: right;
    font-size: 1.1rem;
}

.flow-list {
    list-style: none;
    margin: 0;
    padding: 0;
    color: #0b5fa8;
    font-weight: bold;
}

.flow-list li {
    background: #dcecf8;
    padding: 24px 28px;
    margin-bottom: 20px;
    position: relative;
}

/* ▼ 下向き三角（背景と連動） */
.flow-list li::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50px; /* お好みで調整可 */
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-top: 12px solid #dcecf8;
}
.flow-list li:last-child::after {
  display: none;
}
/* ▼ これが1行レイアウト */
.flow-row {
    display: flex;
    align-items: center;
    gap: 1em;
    white-space: nowrap; /* ← 1行に固定（折り返したいなら消す） */
    font-size: 1.4rem;
}

/* ▼ 各テキスト */
.flow-label {
    display: inline-block;
    min-width: 70px;
    padding-left: 1%;
}

.flow-title {
    display: inline-block;
    min-width: 20%;
}

/* ▼ スマホで折り返したい場合はここを調整 */
@media (max-width: 600px) {
    .flow-row {
        white-space: normal; /* ← スマホで折り返しOKにする */
        flex-wrap: wrap;
        gap: 0.5em;
    }
}
/*----------------------------------------------------
faq
---------------------------------------------------- */
.faq{
    background: #e2edf5;
    padding: 6% 0;
    margin-bottom: 6%;
}
.faq_inner{
    background: #fff;
    font-size: 1.4rem;
    padding: 4% 8%;
    margin-top: 4%;
}
.faq-list {
    border-top: 1px solid #ccc;
}
.faq-item {
    border-bottom: 1px solid #ccc;
}
.faq-question {
    width: 100%;
    padding: 20px 0;
    background: none;
    border: none;
    outline: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    text-align: left;
}
.faq-q-icon {
    color: #0071c5;
    font-weight: bold;
    margin-right: 10px;
    flex-shrink: 0;
    }
.faq-arrow {
    width: 14px;
    height: 14px;
    border-right: 2px solid #333;
    border-bottom: 2px solid #333;
    transform: rotate(45deg);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}
.faq-item.open .faq-arrow {
    transform: rotate(-135deg);
}

.faq-answer {
    overflow: hidden;
    height: 0;
    transition: height 0.35s ease;
    text-indent: -1em;
  padding-left: 1em;
}
.faq-answer-inner {
    padding: 0 0 20px 0;
  /* 必要に応じてフォントサイズ・色指定など */
}
.faq-a-icon {
    color: #e60033;
    font-weight: bold;
    margin-right: 10px;
}
/* -------------------------
footer
-------------------------- */
.footer {
}
.footer__line{
    border-top: #004a96 1px solid;
    width: min(1000px, 80%);
}
.footer__inner {
width: min(700px, 90%);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-end; 
    flex-wrap: wrap;
    gap: 40px;
    padding-top: 3%;
    font-size: 1.3rem;
}

.footer__title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1%;
}

.footer__contact li,
.footer__company ul li {
  line-height: 1.8;
}

.footer__company-title {
  font-weight: 700;
  margin: 20px 0 8px;
}

/* 電話番号はリンクなので色を固定 */
.footer__contact a {
  color: #333;
  text-decoration: none;
}

.footer__contact a:hover {
  text-decoration: underline;
}

/* ============================
   SNSアイコン部分
============================ */
.footer__sns {
  display: flex;
  align-items: baseline; /* ← これで文字の下端に沿う！ */
  gap: 20px;
}


.footer__sns-item img {
    max-width: 100%;
    height: 32px;
    display: block;
    transition: opacity .2s;
}

.footer__sns-item:hover img {
  opacity: 0.7;
}

/* ============================
   Responsive
============================ */
@media (max-width: 768px) {
    .footer__inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .footer__sns {
        margin-top: 20px;
    }
}
.copy{
    text-align: center;
    background: #004a96;
    color: #fff;
    font-size: 1rem;
    padding: 15px 0;
    margin-top: 3%;
}
/* ============================
お問い合わせフォーム ※formの中身は/mailform/css内
============================ */
.contact_kv{
    background-image: url(../images/bg_contents.png);
    background-size: cover;
    background-repeat: no-repeat;
    padding: 10% 0;
}
.contact_kv h2{
    text-align: center;
    color: #004a96;
}

/* ============================
SP対応
============================ */
/* PCでは非表示 */
.pc {
    display: block;
}
.sp {
    display: none;
}

/* SPで切り替え（〜768pxあたり） */
@media screen and (max-width: 768px) {
    .pc {
        display: none;
    }
    .sp {
        display: block;
    }
}
    
/* まずPC（初期状態）は非表示 */
.bottom_cta {
    display: none;
}

/* SPで表示（768px以下） */
@media screen and (max-width: 768px) {
    .bottom_cta {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        padding: 8px 12px;
        display: flex; /* ← SPで表示される */
        gap: 10px;
        background: rgba(255, 255, 255, 0.85);
        backdrop-filter: blur(10px);
        z-index: 9999;
        box-shadow: 0 -2px 6px rgba(0,0,0,0.08);
    }

    /* ボタン共通 */
    .bottom_cta a {
        flex: 1;
        text-align: center;
        padding: 13px 0;
        border-radius: 10px;
        font-weight: 700;
        font-size: 15px;
        color: #fff;
        display: block;
    }

    .bottom_cta a.btn_entry {
        background: #f59d35;
    }

    .bottom_cta a.btn_line {
        background: #f5d835;
        color: #004a96;
        margin-left: 2%;
    }
}
@media screen and (max-width: 768px) {
    body {
        padding-bottom: 70px;
    }
    .container{
        width: 90%;
    }
    header h1 img{
        width: 38%;
    }
    .header_cta {
        display: none;
    }

        /* ボトム固定CTA */
    .bottom_cta {
        display: flex;
    }

    /* ボタン共通 */
    .bottom_cta a {
        flex: 1;
        text-align: center;
        padding: 13px 0;
        border-radius: 10px;
        font-weight: 700;
        font-size: 15px;
        color: #fff;
        display: block;
    }
    .bottom_cta a.btn_entry{
        position: relative;
        background: #f59d35;
    }
    .bottom_cta a.btn_line{
        position: relative;
        background: #f5d835;
        color: #004a96;
        margin-left: 2%;
    }
    .lead_ttl{
        font-size: 1.2rem;        
    }
    .lead_ttl::after{
        border-top: 20px solid #1A50A0;
        border-right: 20px solid transparent;
        border-left: 20px solid transparent;
        bottom: 2px;
    }
    .cta h2{
        font-size: 1.8rem;
    }
    .main_cta{
        width: 100%;
    }
    .main_cta a{
        font-size: 1.3rem;
    }
    /*授業を申し込むを追加する場合*/
    .add_cta a{
        font-size: 1.3rem;
    }    
    .cp img{
       max-width: 100%;
    }
    .curriculum-header .title{
        font-size: 1.8rem;
        width: 90%;
    }
    .desc{
        text-align: left;
    }
    .tab-button{
        padding: 2%;
        font-size: 1.3rem;
    }
    h2.doublebox{
        width: 90%;
    }
    .feature-item{
        display: block;
    }
    .feature-item__title{
        margin: 5% 0 3%;
        text-align: center;
    }
    .feature__inner{
        gap: 20px;
    }
    .guarantee h2{
        width: 100%;
        font-size: 1.5rem;
    }
    .guarantee_inner .flexbox{
        display: block;
    }
    .guarantee_inner_box{
        width: 100%;
        margin: 9% 0;
        padding: 5%;
    }
    .guarantee_inner_box:last-child{
        margin-bottom: 0;
    }
    .achievements_inner{
        display: block;
    }
    .achievements_inner_box{
        width: 90%;
        margin: 0 auto;
    }
    .achievements_inner_box img{
        width: 80%;
        margin: 0 auto;
    }
    .flow p{
        text-align: center;
        font-size: 1rem;
    }

}