@charset "UTF-8";

/* 共通部分
------------------------------- */
html, body {
    margin: 0;
    padding: 0;
    font-family:'Noto Sans JP', 'Helvetica', 'Arial', sans-serif;
    font-weight: 400;
    color: #333;
    line-height: 1.8;
    background-color: #fcfcfc;
    font-size: 16px;
    overflow-x: hidden;
}


a {
    text-decoration: none;
}

p {
    margin-bottom: 22px;
}

img {
    max-width: 100%;
}

.wrapper {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 4%;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    clip: rect(0,0,0,0);
    overflow: hidden;
}

h2 {
    font-size: 27px;
    font-weight: 600;
    line-height: 35px;
    color: #333;
    margin: 0; /* UAスタイルのmarginも上書き */
    text-align: center;
}

h3 {
    color: #60889A;
    padding-bottom: 22px;
    font-size: 19px;
    line-height: 23px;
}

.sp-br {
  display: none; /* PCでは改行を消す */
}

.section-title {
    font-size: 27px;
    line-height: 35px;
    font-weight: 600;
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {      /*　区切り線　*/
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 850px;              /* 線の長さ（調整可） */
    height: 3px;              /* 線の太さ */
    background-color: #60889A;
    border-radius: 2px;
}

/* テキスト装飾 */
.pink {
    color: #D97184;
}

.yellow {
    color: #FFD877;
}

.underline {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}

.marker {
    background: linear-gradient(transparent 10%, #F8DF95 10%);
}

.bold {
    font-weight: 700;
}

.red {
    color: #B51700;
}

.blue {
    color: #60889A;
}

.font-size-18 {
    font-size: 18px;
}

.font-size-21 {
    font-size: 21px;
}

.font-size-23 {
    font-size: 23px;
}

.font-size-25 {
    font-size: 25px;
}

.font-size-30 {
    font-size: 30px;
}

.font-size-41 {
    font-size: 41px;
}

/* hero
------------------------------- */
.fv-pc {
    width: 100%;
    height: auto;
    display: block; /* 余白防止 */
    margin-bottom: 40px;
}

.fv-sp {
    display: none;
}


/* mistakes
------------------------------- */
.mistakes {
    display: flex;
    flex-direction: column;
    gap: 35px;
    padding-bottom: 30px;
}

.mistake {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 7px;
}

.mistake-img {
    flex: 0 0 35%;
}

.mistake-text {
    flex: 0 0 65%;
}

/* 画像は自動リサイズ */
.mistake-img img {
    width: 100%;
    height: auto;
    display: block;
    }

/* 偶数番目だけ左右反転 */
.mistake:nth-child(even) {
    flex-direction: row-reverse;
}


/* bridge
------------------------------- */

.bridge-heading {
    background: #262626 url("../images/bridge-heading.png") center/cover no-repeat;
    text-align: center;
    padding: 30px 20px;
}

.bridge-heading h2 {
    color: #fff;
    text-shadow: 0px 0px 15px rgba(0, 0, 0, 1), 0px 0px 15px rgba(0, 0, 0, 1);
    line-height: 26px;
}

.bridge-body {
    background: linear-gradient(
        to top right,
        #FFFFE0 0%,
        #ffffee 50%,
        #ffffff 100%
    );
    text-align: center;
    padding: 25px 0px 3px 0px;
}

.bridge-body-black {
    font-size: 27px;
    color: #333;
    text-shadow:
    -2px -2px 0 #fff,
    2px -2px 0 #fff,
    -2px  2px 0 #fff,
    2px  2px 0 #fff;
}

.bridge-body-pink {
    line-height: 35px;
    font-size: 27px;
    color: #D97184;
    text-shadow:
    -2px -2px 0 #fff,
    2px -2px 0 #fff,
    -2px  2px 0 #fff,
    2px  2px 0 #fff;
}

.bridge-body img {
    width: 213px;
    padding-bottom: 20px;
}

/* service-form
------------------------------- */
.service-form {
    background-image: url(../images/service-bg.png);
    background-repeat: no-repeat;
    background-size: 184%;
    background-position: center top; /* ← 上側を多めに表示 */
    background-color: #E8C2A9;
    padding: 0 4% 70px;

}

.service img {
    width: 700px;
    display: block;
    margin: 0 auto;
    padding: 35px 0;
}

.form-card {
    margin: 0 auto;
    max-width: 680px;
    background-color: #DCDFE1;
    border-width: 5px;
    border-style: solid;
    border-color: rgb(128, 128, 128);
    border-radius: 15px;
    padding: 10px 20px 0;
}

.form-control {
    width: 100%;
    padding: 8px 16px;
    margin: 20px 0;  
    font-size: 16px;
    border: 1px solid #ced4da;
    border-radius: 6px;
    box-sizing: border-box;
    transition: border-color .15s 
        ease-in-out, box-shadow .15s 
        ease-in-out;
    background-color: #fff;
}

.form-control:focus {
    border-color: #80BDFF;
    box-shadow: 0 0 10px rgba(128, 189, 255, 0.4);
    outline: none;
}

.form-control::placeholder {
    color: #999;
}

/* .btn {
    display: block;
    width: 100%;
    padding: 14px;
    font-size: 18px;
    font-weight: bold;
    background-color: #FFDD00;
    color: #3D3D3D;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-bottom: 20px;
    }

.btn:hover {
    background-color: #43a047;
} */

.cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-direction: row; /* アイコンを右側に */
    background-color: #FFD700; /* 黄色 */
    border: 2px solid #3D3D3D; /* 黒い枠線 */
    border-radius: 10px;
    padding: 18px 24px;
    cursor: pointer;
    width: 100%;
    max-width: 597px;
    margin: 0 auto;
    transition: background-color 0.3s;
    animation: pulse 2s infinite ease-in-out;
    margin-bottom: 20px;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05); /* 5%拡大 */
    }
    100% {
        transform: scale(1);
    }
}

.cta-btn:hover {
  background-color: #ffea75; /* ホバー時に少し明るく */
}

.cta-text {
    color: #3D3D3D;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.4;
    text-align: center;
}

.cta-main {
    font-size: 20px;
    font-weight: 700;
}

.cta-sub {
    font-size: 14px;
    font-weight: 400;
    text-align: center;
}

.fa-caret-square-right {
    font-size: 20px;
    line-height: 1;
    padding-left: 10px;
}

.annotation1 {
    padding: 10px 15px;
    background-color: #fff;
    font-size: 12px;
    margin-bottom: 15px;
}

.annotation1 p {
    margin-bottom: 0px;
}

.annotation2 {
    text-align: center;
    font-size: 11px;
    line-height: 13px;
}

/* language
------------------------------- */
.language {
    background: #8EB8CC;
}

.language .wrapper {
    padding: 30px 4% 70px;
}
.section-icon {
    width: 100px;
    display: block;
    margin: 25px auto 20px;
}

.lang-heading {
    color: #fff;
    text-shadow: 0px 0px 15px rgba(0, 0, 0, 1), 0px 0px 15px rgba(0, 0, 0, 1)
}

.divider {
    width: 100px;
    height: 1px;
    background: #fff;
    border: none;
    margin: 30px auto;
}

.language-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 24px;
}

/* 各アイテム（言語＋動画） */
.lang-item {
    background: #8EB8CC;
    text-align: center;
}

.language-grid .lang-item:last-child {
  grid-column: 1 / -1;     /* 横幅を2カラム分使う */
  justify-self: center;    /* 中央寄せ */
  width: 50%;              /* （任意）中央にしたい幅を調整 */
}

.lang-name {
    font-weight: 700;
    font-size: 18px;
    color: #fff;
    margin-bottom: 10px;
}

.video-wrap iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    border: none;
    }


/* voice
------------------------------- */
.voice {
    background-image: url('../images/voice-bg.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    color: #333;
}

.voice-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 4%;
}


.voice-h2 {
    padding: 50px 0;
}

.voice-h3 {
    font-size: 15px;
}

.voice-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px 40px;
    padding-bottom: 50px;
}

.voice-item {
    display: block; 
    position: relative;
}

.voice-img {
    float: left;
    width: 120px;
    height: 120px;
    margin: 0 7px 10px 0;
}

.voice-content::after {
    content: "";
    display: block;
    clear: both;
}

.voice-name {
    font-size: 13px;
    margin-bottom: 0px;
    text-align: right;
}

.voice-text {
    font-size: 13px;
    margin-bottom: 8px;
}

/* target
------------------------------- */
.target {
    background-image: url('../images/target-bg.png');
    background-size: cover;
    background-position: top;
    position: relative;
    padding: 50px 4%;
}

.card {
    max-width: 800px;
    background-color: #fff;
    padding: 30px 60px;
    margin: 50px auto 0px auto;
    border-radius: 10px;
}

.fa-check-square {
    color: #B51700;
    font-size: 20px;
    padding-right: 10px;
}

.card-divider {
    width: 100%;
    color:#999;
}

.card h2{
    font-size: 29px;
    line-height: 37px;
    font-weight: 900;
    margin-bottom: 30px;
}

.target-list {
    padding: 30px 50px;
}

.target-list li {
    padding-bottom: 20px;
    list-style: none;
}

.target-content {
    padding: 30px 0;
}

.target-content p {
    text-align: center;
    margin-bottom: 0px;
}

.arrow {
    text-align: center;
    padding-top: 20px;
}

.fa-arrow-down {
    color: #60889A;
    font-weight: 900;
    padding-right: 30px;
}

/* teacher
------------------------------- */
.teacher {
    background-color: #D3D3D3;
    background-image: url(../images/teacher-bg.png);
    background-repeat: no-repeat;
    padding: 50px 4%;
}

.teacher img {
    width: 100%;
}

.teacher-content {
    display: flex;
    gap: 10px;
    padding-top: 20px;
}

.teacher-text {
    font-family: 'Noto Serif', serif;

}

.teacher-company {
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 0px;
}

.teacher-name {
    font-weight: 700;
    font-size: 22px;
}

/* footer
------------------------------- */
.footer {
    text-align: center;
    padding: 30px 0;
    background-color: #fff;
    font-size: 13px;
}

.footer a {
    display: inline-block;
    margin-right: 5px;
    color: #007BFF;
    text-decoration: none;
}

.footer a:not(:last-of-type)::after {
    content: "|";
    margin-left: 5px;
    color: #999; /* 線の色（調整可） */
}

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

.footer p {
    color: #212529;
    font-size: 13px;
    margin-bottom: 0;
}


/* レスポンシブ対応
------------------------------- */

@media (max-width: 940px) and (min-width: 551px) {
    .voice-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .voice-item {
        display: flex;
        align-items: flex-start;
        gap: 16px;
    }

    .voice-img {
        float: none;
        display: block;
        margin: 0;
        width: 200px;
        height: 200px;
    }

    .voice-content {
        flex: 1;
    }

    .voice-item::after {
        content: "";
        display: table;
        clear: both;
    }
}

@media (max-width: 720px) {
    .fv-pc {
        display: none;
    }

    .fv-sp {
        display: block;
        width: 100%;
        height: auto;
        margin-bottom: 40px;
    }

    .section-title, .bridge-body h3, .bridge-heading h2 {
        font-size: 22px;
    }

    .sp-br {
        display: inline; /* SPでは改行を有効化 */
    }

    .mistake {
        flex-direction: column;
    }
    .mistake:nth-child(even) {
        flex-direction: column; /* スマホでは全部縦並び */
    }

    .mistake-img img {
        aspect-ratio: 2.5 / 1; /* 横長に変更 */
        object-fit: cover;
        object-position: center 43%;
    }

    .mistake-text h3 {
        text-align: center;
        order: 1;
    }

    .mistake-img {
        order: 2;
    }

    .mistake-text p {
        order: 3;
    }

    .mistake:not(:last-child) {
        position: relative;
        padding-bottom: 60px;
        margin-bottom: 15px;
    }

    .mistake:not(:last-child)::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 150px;         /* 線の長さをここで調整 */
        height: 1px;          /* 線の太さ */
        background-color: #333;
    }

    .service img {
    width: 100%;
    }

    .lang-heading {
        font-size: 20px;
        line-height: 26px;
    }

    .language-grid {
        grid-template-columns: 1fr;
    }

    .language-grid .lang-item:last-child {
        grid-column: auto;   /* 通常配置に戻す */
        justify-self: auto;  /* 左寄せなどに戻す */
        width: 100%;         /* 幅も戻す */
    }

    .small {
        font-size: 16px;
    }

    .voice-h2 {
        font-size: 20px;
        line-height: 26px;
    }

    .target-list {
    padding: 30px 0px;
    }

    .card {
        padding: 30px;
    }

    .card h2{
    font-size: 22px;
    }

    .font-size-21 {
        font-size: 16px;
    }

    .font-size-23 {
        font-size: 18px;
    }

    .font-size-25 {
        font-size: 18px;
    }

    .font-size-30 {
        font-size: 20px;
    }

    .teacher-content {
        flex-direction: column;
    }

    .teacher-company, .teacher-name {
        text-align: center;
    }

    .teacher img {
        width: 70%;
        display: block;
        margin: 0 auto;
    } 

}

@media (max-width: 550px) {

    .voice-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    /* block に戻して float を効かせる */
    .voice-item {
        display: block;
    }

    .voice-img {
        float: left;
        width: 150px;
        height: 150px;
        margin: 0 12px 8px 0;
    }

    .voice-item::after {
        content: "";
        display: table;
        clear: both;
    }

    .voice-item:nth-child(even) .voice-img {
        float: right;
        margin: 0 0 10px 10px;
    }

    .cta-main {
        font-size: 16px;
        font-weight: 700;
    }

}
