@charset "UTF-8";

/*メインビジュアル*/
.s_mv {
    width: 100%;
    height: 300px;
    background: url(../image/top/top_mv_2.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    position: relative;
    /* スマホなどで幅が狭まった時、アスペクト比を維持して縮小させる */
    /* 例：PCで横1200px / 縦300px なら 「4 / 1」 */
    aspect-ratio: 4 / 1;
}

.s_mv_inner {
    color: #fff;
    position: absolute;
    top: 32%;
    right: 5%;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.s_mv_title {
    display: block;
    font-size: clamp(1.5rem, 0.786rem + 3.57vw, 4rem);
    font-family: var(--font3);
    font-weight: 500;
    text-align: right;
}

.breadcrumb ul {
    display: flex;
    color: #555;
    font-size: 0.8125rem;
    font-weight: 400;
    padding: 4px 30px;
}

.breadcrumb li {
    margin-right: 8px;
    display: flex;
    align-items: center;
}

.breadcrumb li a {
    background-color: transparent;
    text-decoration: none;
    color: inherit;
}

.breadcrumb li+li::before {
    content: "";
    display: block;
    width: 0.5em;
    height: 0.5em;
    border-right: 1px solid #555;
    border-bottom: 1px solid #555;
    transform: rotate(-45deg);
    margin-right: 10px;
}

.b_title {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 90%;
    margin: 80px auto;
    font-size: clamp(2.5rem, 2.173rem + 1.63vw, 3.5rem);
    font-weight: 600;
    color: #2574EB;
    line-height: 1em;
    letter-spacing: -0.05rem;
}

.b_title span {
    background: linear-gradient(135deg, #0FC9F7, #2574EB);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    font-size: 1.5rem;
    font-weight: 500;
    font-family: var(--font3);
    margin-bottom: 8px;
}


/* 準備中です */
.later {
    background: #2574EB;
    color: #fff;
    font-weight: 600;
    padding: 50px 30px;
    border-radius: 8px;
    margin: 120px 35px;
}

.later_title {
    font-size: clamp(1.5rem, 1.339rem + 0.73vw, 2rem);
    font-weight: 600;
    text-align: center;
    margin-bottom: 20px;
}

.later_text {
    font-size: clamp(0.938rem, 0.877rem + 0.28vw, 1.125rem);
    font-weight: 500;
    text-align: center;
}

/* 準備中です ここまで */

.section_title {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 54px 8px 24px 0;
    border-left: 5px solid #2574EB;
    padding-left: 8px;
    line-height: 1.5;
    letter-spacing: -0.08rem;
}

.section_title span {
    font-size: 1.875rem;
    line-height: 1;
}

.description_top {
    text-align: center;
    margin-bottom: 80px;
    font-size: 1.12rem;
    font-weight: 500;
}

.design_section_inner {
    border-top: 1px solid #9b9b9b;
    padding-top: 20px;
    width: 100%;
    max-width: 1360px;
    margin: 0 auto;
}


.template_item {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 24px;
}

.template_item img {
    width: 100%;
    max-width: 320px;
    height: auto;
    margin-bottom: 30px;
}

.template_box {
    flex: 1;
}

.template_item_text {
    font-size: 1.125rem;
    font-weight: 700;

}

.template_item_text_s {
    font-size: 1rem;
    margin: 4px 0 8px;
    font-weight: 500;
    border-bottom: 1px solid #9b9b9b;
    padding-bottom: 12px;
}

.template_benefits {
    font-size: 0.975rem;
    margin: 12px 0;
}

.template_benefits span {
    font-size: 1.125rem;
    font-weight: 700;
}

.template_price {
    font-size: 0.975rem;
}

.template_price span {
    font-size: 1.125rem;
    font-weight: 700;
}

.template_price_big {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 12px;
}

.template_price_big span {
    font-size: 1.25rem;
    font-weight: 600;
    margin-left: 4px;
}

.design_btn {
    padding-bottom: 40px;
}

.design_btn_title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.design_btn ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
}

.design_btn ul li a {
    display: block;
    background: #2574EB;
    color: #fff;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 26px;
}

.design_section {
    padding-bottom: 160px;
}

.design_section_content {
    margin-bottom: 100px;
}

.design_title {
    font-size: 2rem;
    font-weight: 600;
    padding-bottom: 24px;
    margin: 0 auto;
    text-align: center;
}

.design_text_box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

.design_item_title {
    text-align: center;
    font-size: 1.125rem;
    font-weight: 600;
    background-color: #2574EB;
    border-radius: 40px;
    color: #fff;
    width: 100%;
    max-width: 248px;
    margin: 0 auto 20px;
    padding: 8px 0;
}

.design_item_text {
    font-size: 0.9375rem;
    font-weight: 600;
    margin-bottom: 30px;
    color: #2574EB;
}

/* --- 拡大表示用の共通スクリーン（1つだけ用意） --- */
/* モーダル内のコンテンツを縦に並べる */
.modal_content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    /* 画像とテキストの間の距離 */
}

#modal_overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    /* 背景を暗く */
    display: none;
    /* 通常は非表示 */
    z-index: 2000;
    justify-content: center;
    align-items: center;
    cursor: zoom-out;
    /* クリックで閉じれる合図 */
}

#modal_overlay img {
    max-width: 90vw;
    max-height: 75vh;
    /* テキストの場所を確保するため少し小さめに */
    object-fit: contain;
}

/* 拡大時のテキストのデザイン（お好みで調整してください） */
#modal_overlay .d_code {
    background: #fff;
    padding: 1px 8px;
    font-size: 0.875rem;
    border-radius: 4px;
}

/* --- コンテナ: 200枚を綺麗に並べる --- */
.design_item_inner {
    max-width: 1360px;
    margin: 0 auto 100px;
    padding: 0 40px;
    display: grid;
    /* 1つあたり最小100px幅。画面幅に合わせて自動で列数が増減します */
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    /* 縦の隙間を40px、横を20pxに設定 */
    gap: 40px 20px;
}

/* 各アイテムの枠 */
.design_item {
    display: flex;
    justify-content: center;
}

/* カードの中身（画像とテキスト） */
.card {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

/* サムネイル画像の設定 */
.card img {
    width: 100%;
    max-width: 88px;
    /* 以前のデザインに合わせたサイズ */
    height: auto;
    cursor: zoom-in;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.07);
    transition: transform 0.2s ease;
}

.card img:hover {
    transform: scale(1.05);
    /* 少し浮き上がる演出 */
}

/* 商品コードなどのテキスト */
.d_code {
    margin-top: 8px;
    font-size: 0.75rem;
    background-color: #fff;
    border: 1px solid #cacaca;
    padding: 1px 4px;
    white-space: nowrap;
    /* 折り返し防止 */
}

.d_code span {
    font-size: 0.75rem;
    font-weight: 500;
    color: #D63447;
    margin-right: 4px;
}




/* スマホ用レスポンシブ（文字サイズ調整） */
@media (max-width: 768px) {
    .s_mv {
        height: auto;
    }

    .template_item {
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        gap: 24px;
        margin-bottom: 30px;
    }

    .template_item img {
        width: 100%;
        max-width: 400px;
        height: auto;
        margin-bottom: 30px;
    }

    .design_section {
        padding-bottom: 60px;
    }

}

@media (max-width: 580px) {
    .b_title {
        font-size: 35px;
        font-weight: 600;
    }

    .design_btn ul li a {
        font-size: 0.875rem;
        font-weight: 500;
        padding: 4px 10px;
        border-radius: 26px;
    }

    .design_btn ul {
        gap: 20px;
    }
}