@charset "UTF-8";

/* * Base Styles 
    */
:root {
    --color-primary: #0a1c4b; /* ネイビー */
    --color-accent: #fcd638;  /* イエロー */
    --color-text: #333333;
    --color-white: #ffffff;
    --font-base: "Noto Sans JP", sans-serif;
    --width-pc: 1000px; /* コンテンツ幅 */
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-base);
    color: var(--color-text);
    line-height: 1.6;
    background-color: var(--color-white);
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}

.container {
    width: 100%;
    max-width: var(--width-pc);
    margin: 0 auto;
    padding: 0 20px;
}

/* * Header 
    */
.header {
    background-color: var(--color-primary);
    padding: 15px 0;
    position: relative;
    z-index: 10;
}

.header__logo {
    color: var(--color-white);
    font-weight: 900;
    font-size: 24px;
    letter-spacing: 0.05em;
}

.header__logo span {
    color: var(--color-accent);
}

/* * First View (FV)
    */
.fv {
    position: relative;
    background-color: var(--color-accent); /* ベース背景黄色 */
    overflow: hidden;
    padding-bottom: 60px; /* スマホ画像の下部余白 */
}

/* 背景の斜め白背景を作成 */
.fv::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 85%; /* PCでの白背景の高さ */
    background-color: var(--color-white);
    /* 斜めのカッティング */
    clip-path: polygon(0 0, 100% 0, 100% 30%, 0 100%);
    z-index: 1;
}

.fv__inner {
    position: relative;
    z-index: 2; /* 背景より手前に */
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 60px;
    padding-bottom: 40px;
}

.fv__content {
    width: 80%;
}

.fv__image {
    width: 30%;
    text-align: center;
}

/* スマホモックアップの影とスタイル */
.fv__mockup {
    width: 280px; /* 画像サイズに合わせて調整 */
    max-width: 100%;
    display: inline-block;
}

/* キャッチコピー */
.fv__title {
    font-size: 60px;
    font-weight: 900;
    color: var(--color-primary);
    margin-bottom: 30px;
    line-height: 1.4;
}

.fv__text {
    font-size: 24px;
    margin-bottom: 40px;
    font-weight: 500;
}

/* CTA Button */
.btn {
    display: inline-block;
    background-color: var(--color-primary);
    color: var(--color-white);
    font-weight: 700;
    font-size: 32px;
    padding: 15px 40px;
    transition: opacity 0.3s;
    border: 1px solid var(--color-primary);
    text-align: center;
}

.btn:hover {
    opacity: 0.9;
}

.btn::before {
    content: "▶";
    margin-right: 10px;
    font-size: 0.8em;
}

.fv__note {
    display: block;
    margin-top: 10px;
    font-size: 14px;
    color: #555;
}

/* * Section: Reason 
    */
.section-reason {
    padding: 80px 0;
    background-color: var(--color-white);
    text-align: center;
}

.heading-primary {
    font-size: 32px;
    color: var(--color-primary);
    font-weight: 900;
    margin-bottom: 15px;
}

.section-lead {
    font-size: 16px;
    margin-bottom: 60px;
    color: #555;
}

.card-list {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.card {
    background: #fff;
    padding: 30px 20px;
    width: 32%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-radius: 4px; /* 少し角丸 */
    text-align: center;
}

.card__icon {
    width: 80px;
    height: 80px;
    background-color: #f0f4f8; /* 薄いグレーブルー */
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: #555; /* アイコン画像がない場合の文字色 */
}

/* 各カードのアイコン色調整（画像から推測） */
.card:nth-child(1) .card__icon { color: #5b9bd5; background-color: #e6f0fa; }
.card:nth-child(2) .card__icon { color: #dcb326; background-color: #fcf8e0; }
.card:nth-child(3) .card__icon { color: #d65b89; background-color: #fae6ed; }

.card__title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    border-bottom: 2px solid transparent; /* デザイン調整用 */
}

.card__text {
    font-size: 14px;
    text-align: left;
    color: #444;
    line-height: 1.8;
}

/* * Bottom Area 
    */
.bottom-cta {
    padding: 60px 0 80px;
    text-align: center;
}

.bottom-message {
    font-size: 28px;
    color: var(--color-primary);
    font-weight: 700;
    margin-bottom: 40px;
    letter-spacing: 0.05em;
}

/* * Footer 
    */
.footer {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 40px 0 20px;
    text-align: center;
}

.footer__title {
    font-weight: 700;
    margin-bottom: 20px;
    font-size: 18px;
}

.footer__links {
    display: flex;
    justify-content: center;
    gap: 30px;
    font-size: 14px;
    margin-bottom: 40px;
}

.footer__links a:hover {
    text-decoration: underline;
}

/* * Responsive Styles (SP) 
    */
@media screen and (max-width: 768px) {
    :root {
        --width-pc: 100%;
    }

    .container {
        width: 100%;
        padding: 0 20px;
    }

    /* Header SP */
    .header {
        padding: 10px 0;
    }
    .header__logo {
        font-size: 20px;
        padding-left: 20px; /* コンテナ外の場合の調整 */
    }

    /* FV SP */
    .fv {
        /* position: absoluteに対応するために下部に余白を確保 */
        padding-bottom: 0px; 
        background-color: var(--color-accent);
    }

    /* SP版の背景斜め設定 */
    .fv::before {
        height: 60%; /* 白背景の比率変更 */
        clip-path: polygon(0 0, 100% 0, 100% 60%, 0 100%); /* 角度調整 */
    }

    .fv__inner {
        display: block; /* Flex解除 */
        padding-top: 40px;
        padding-bottom: 0;
        /* containerのpaddingと合わせる */
    }

    .fv__content {
        width: 100%;
        margin-bottom: 0;
        position: relative;
        z-index: 5; /* 画像より手前にテキストを表示 */
    }

    .fv__image {
        /* 絶対配置に変更 */
        position: absolute;
        bottom: -20px;
        right: 0;
        width: auto; /* 幅指定を解除 */
        z-index: 10;
        text-align: right;
        padding-right: 10px; /* 右端に少し余白 */
    }
    
    .fv__mockup {
        width: 100px; /* SP用にサイズ調整 */
    }

    .fv__title {
        font-size: 28px; /* フォントサイズ調整 */
        margin-bottom: 20px;
        br {
            display: inline; /* SPでは改行を消す、または調整 */
        }
    }
    
    .fv__text {
        font-size: 12px;
        margin-bottom: 30px;
        line-height: 1.8;
    }
    
    .btn {
        width: auto; /* 全幅解除 */
        display: inline-block;
        padding: 12px 25px;
        font-size: 14px;
    }

    .fv__note {
        font-size: 10px;
        margin-bottom: 20px; /* 下部余白 */
    }

    /* Reason Section SP */
    .section-reason {
        padding: 50px 0;
    }
    
    .heading-primary {
        font-size: 24px;
    }

    .card-list {
        flex-direction: column;
        gap: 20px;
    }

    .card {
        width: 100%;
    }

    /* Bottom SP */
    .bottom-message {
        font-size: 20px;
        line-height: 1.5;
    }
    
    .bottom-cta {
        padding: 40px 20px 60px;
    }

    /* Footer SP */
    .footer__links {
        flex-direction: row; 
        flex-wrap: wrap;
        gap: 15px 20px;
    }
}