@charset "utf-8";

/*
Theme Name: soui-wood-works
Theme URI: 
Description: SOUI WOODWORKS - オーダー家具+インテリア+カフェ
Version: 1.0.0
Author: SOUI WOODWORKS - オーダー家具+インテリア+カフェ
Author URI: https://soui-w.com/
*/

:root {
    --primary-color: #00205B;
    --primary-white: #ffffff;
    --secondary: #EAE9EE;
    --accent-red: #C90000;
    --font-main: 'Noto Sans JP', "游ゴシック", YuGothic, "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", "メイリオ", "Meiryo", sans-serif;
	--container-width: 100%;
}

* {
    box-sizing: border-box;
    line-height: 2.1;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-main);
    color: var(--primary-color);
    line-height: 1.6;
    background-color: var(--primary-white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.bg_gray {
    background-color: var(--secondary);
}
.section-tit img {
    height: 45px;
    display: inline-block;
}
.bold {
    font-weight: bold;
}
.text_l {
    font-size: 40px;
}
.text_m {
    font-size: 18px;
}
@media screen and (min-width: 769px) {
    .text_m {
        font-size: 22px;
    }
}
.text_s {
    font-size: 15px;
}
@media screen and (min-width: 769px) {
    .text_s {
        font-size: 16px;
    }
}
@media screen and (max-width: 769px) {
    .sp_br {
        display: block;
    }
}
.mb-80 {
    margin-bottom: 40px;
}
@media screen and (min-width: 769px) {
    .mb-80 {
        margin-bottom: 80px;
    }
}
.js-fade {
    opacity: 0;
    transform: translateY(20px); /* 以前の10pxより少し動かすと視認性が上がります */
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    transition-delay: 0.1s; /* 少し遅延させると滑らかに見えます */
}

.js-fade.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ローディング */
html.hide-loader .custom-loader {
    display: none !important;
}

.custom-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #00205b;
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

.loader-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('./image/common/bg_load.png'); 
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
}

.loader-logo {
    width: 110px;
    height: 110px;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 2;
    position: relative;
}

/* フェードイン発火用のクラス */
.loader-bg-image.is-active,
.loader-logo.is-active {
    opacity: 1;
}


/* TOPページ */
#fv {
    width: 100%;
    margin-bottom: 10px;
    position: relative;
}

#fv .fv-copy {
    width: 190px;
    height: auto;
    top: 80px;
    left: 28px;
    position: absolute;
    z-index: 50;
}

#fv .fv-image-col {
    width: 100%!important;
    overflow: hidden;
    height: auto;
    padding-top: 60px;
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
}

#fv .fv-image-col .fv-image {
    width: 150px;
    margin-left: 4px;
    margin-bottom: 4px;
}

#fv .fv-copy {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

#fv .fv-image-col .fv-image {
    opacity: 0;
    transform: translateX(10px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

#fv .fv-copy.is-visible,
#fv .fv-image-col .fv-image.is-visible {
    opacity: 1;
    transform: translate(0, 0);
}

@media screen and (min-width: 769px) {
    #fv {
        width: auto;
        min-width: 1000px;
        padding-left: 180px;
    }
    #fv .fv-copy {
        width: 370px;
        top: 48px;
        left: 100px;
    }
    #fv .fv-image-col {
        padding-top: 0;
        justify-content: left;
        flex-wrap: nowrap;
    }
    #fv .fv-image-col .fv-image {
        width: 265px;
        margin-top: 160px;
    }
    #fv .fv-copy {
    transform: translateY(20px);
    }
    #fv .fv-image-col .fv-image {
    transform: translateX(60px);
    }
}

#mov {
    width: 100%;
    overflow: hidden;
    position: relative;
}
#mov .mov-container {
    width: 100%;
    position: relative;
    padding-top: 77.77%;
}
.video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.video-poster {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}
.video-wrapper iframe {
position: absolute;
    top: 50%;
    left: 50%;
    width: 140%; 
    height: 140%;
    transform: translate(-50%, -50%);
    z-index: 2;
    pointer-events: none;
}
.video-poster {
    object-fit: cover;
    z-index: 1;
}
.video-wrapper iframe {
    z-index: 2;
    background: transparent;
    pointer-events: none;
}
.separator {
    width: 100%;
    position: absolute;
    bottom: -1px;
    line-height: 0;
    z-index: 10;
}
@media screen and (max-width: 768px) {
    #mov .mov-container {
        min-width: auto;
        padding-top: 100%;
        height: 100%;
    }
    .video-wrapper iframe {
        width: 180%;
        height: 120%;
    }
}

section#about {
    padding-top: 100px;
}
#about .about-layout {
    width: 90%;
    margin: 24px auto 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    align-content: center;
}
#about .about-image {
    width: 102px;
    margin: 0 auto;
}
#about .about-text-col {
    margin: 55px auto 0;
}
#about .about-text-col p {
    line-height: 2.1;
    margin-bottom: 20px;
}
#about .about-text-col .link-btn {
    text-align: center;
}
#about .about-text-col .link-btn a {
    position: relative;
    border-radius: 9999px;
    background: var(--primary-color);
    color: var(--primary-white);
    padding: 14px 24px;
    cursor: pointer;
}
.link-btn .arrow img {
    width: 25px;
    height: auto;
    display: inline-block;
    transition: transform 0.3s ease;
    vertical-align: middle;
    margin-top: -3px;
}
.link-btn a:hover {
    text-decoration: none;
}
.link-btn a:hover .arrow img {
    transform: translateX(5px);
}
@media screen and (min-width: 769px) {
    #about .about-layout {
        max-width: 830px;
        margin: 52px auto 0;
        flex-wrap: nowrap;
        align-content: top;
    }
    #about .about-image {
        width: 206px;
        margin: 0 40px auto 160px;
    }
    #about .about-text-col {
        width: 410px;
        margin: 0 auto;
    }
    #about .about-text-col p {
        margin-bottom:40px;
    }
    #about .about-text-col .link-btn {
        text-align: right;
    }
}

section#topics {
    padding: 100px 0;
    overflow: hidden;
}
.mySwiper .swiper-slide {
    height: auto;
}
.swiper-slide {
    padding-top: 44px;
    transition: transform 0.3s;
    height: auto;
    display: flex;
    flex-direction: column;
}
/* PC：中央を目立たせる場合はここを調整 */
.swiper-slide-active {
    z-index: 2;
}
.post-thumb,
.works-item .post-thumb {
    width: 100%;
    aspect-ratio: 1 / 1;
    position: relative;
    overflow: hidden;
    margin-bottom: 10px;
}
.post-thumb img,
.works-item .post-thumb img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.post-meta {
    padding-top: 15px;
}
.date {
    font-size: 16px;
    padding-bottom: 15px;
    font-weight: bold;
}
.post-meta .title {
    font-size: 16px;
    margin: 0;
    font-weight: bold;
}
.slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 46px;
    margin-top: 30px;
}
.custom-arrow::after {
    display: none;
}
.custom-arrow {
    position: static!important;
    width: 52px;  /* 円のサイズ */
    height: 52px;
    border: 2px solid var(--primary-color);
    border-radius: 50%; /* 正円にする */
    position: absolute; /* Swiperのデフォルト位置を維持 */
    z-index: 10;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 25px auto; /* 矢印の横幅を25pxに固定 */
    cursor: pointer;
    margin: 0;
    flex-shrink: 0;
    transition: transform 0.3s ease; 
}
.next-arrow {
    background-image: url('./image/common/ico_arrow_blue.svg');
}
.prev-arrow {
    background-image: url('./image/common/ico_arrow_blue.svg');
    transform: rotate(180deg); 
}
.custom-arrow:hover {
    transform: translateX(3px); 
}
.prev-arrow:hover {
    transform: rotate(180deg) translateX(3px);
}
@media screen and (max-width: 768px) {
    .custom-arrow {
        display: none;
    }
}

section#works {
    padding: 100px 0;
    background-color: var(--primary-white);
}
.works-layout {
    width: 90%;
    margin: 0 auto;
    padding-top: 50px;
}
.works-text-col {
    line-height: 2.1;
    padding-bottom: 50px;
}
.works-image {
    padding-bottom: 16px;
}
#works .link-btn {
    padding-top: 50px;
    text-align: center;
}
#works .link-btn a {
    position: relative;
    border-radius: 9999px;
    background: var(--primary-color);
    color: var(--primary-white);
    padding: 14px 24px;
}

section#how-to-order {
    padding: 100px 0;
    background-color: var(--primary-color);
    background: url('./image/common/bg_load.png') center center no-repeat;
    background-size: cover;
    -webkit-background-size: cover;
}
.how-layout {
    width: 90%;
    margin: 0 auto;
    padding-top: 50px;
}
.how-text-col {
    line-height: 2.1;
    padding-bottom: 50px;
    color: var(--primary-white);
}
.how-image {
    padding-bottom: 16px;
}
section#how-to-order .link-btn {
    padding-top: 50px;
    text-align: center;
}
section#how-to-order .link-btn a {
    position: relative;
    border-radius: 9999px;
    background: var(--primary-white);
    color: var(--primary-color);
    padding: 14px 24px;
}
@media screen and (min-width: 768px) {
    .pc_flex {
        display: flex;
    }
    #works {
        width: 50%;
    }
    .works-image-col {
        display: flex;
        justify-content: space-between;
    }
    .works-image {
        width: 49%;
    }
    #how-to-order {
        width: 50%;
    }
    .how-image-col {
        display: flex;
        justify-content: space-between;
    }
    .how-image {
        width: 49%;
    }
}

section#service {
    position: relative;
    width: 100%;
    overflow: hidden;
}
section#service .service-container {
    position: relative;
    width: 100%;
    min-height: 500px;
}
.service-wrapper {
    position: relative;
    width: 100%;
    height: 100%; /* 親要素の高さに合わせて調整 */
    overflow: hidden;
}
.service-poster {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.service-poster.bg-pc-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    z-index: 1;
}
.service-poster.is-active {
    opacity: 1;
    z-index: 2;
}
@media screen and (min-width: 769px) {
    .bg-sp-default {
        display: none !important;
    }
    .service-wrapper {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 1;
    }
    .service-poster:not(.bg-sp-default) {
        position: absolute;
        top: 0;
        left: 0;
        opacity: 0;
        transition: opacity 0.6s ease;
    }
    .service-poster.is-active {
        opacity: 1;
        z-index: 2;
    }
}
@media screen and (max-width: 768px) {
    .service-poster:not(.bg-sp-default) {
        display: none !important;
    }
    .bg-sp-default {
        position: relative;
        display: block !important;
        opacity: 1 !important;
        width: 100%;
        height: 100%;
    }
    .service-wrapper {
        position: absolute;
    }
}
.service-layout {
    position: relative;
    z-index: 10;
    padding: 118px 0 100px 0;
    pointer-events: none;
}
.service-layout .section-tit {
    padding-bottom: 50px;
    position: relative;
    z-index: 3;
}
.service-layout-col {
    width: 90%;
    margin: 0 auto;
    padding-top: 50px;
    line-height: 2.1;
    color: var(--primary-white);
}
.service-list {
    width: 277px;
    margin: 0 auto;
}
.service-list li {
    width: 100%;
    position: relative;
}
.service-list li a {
    display: block;
    margin-bottom: 14px;
    pointer-events: auto;
}
.service-btn .arrow {
    margin-top: -13px;
    position: absolute;
    top: 50%;
    right: 30px;
}
.service-btn .arrow img {
    width: 25px;
    height: auto;
    display: inline-block;
    transition: transform 0.3s ease;
    vertical-align: middle;
    margin-top: -6px;
    line-height: 0;
}
.service-poster {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}
.service-btn a:hover .arrow img {
    transform: translateX(3px);
}
.service-btn img {
    transition: opacity 0.2s ease;
}
@media screen and (min-width: 768px) {
    .service-layout {
        padding: 118px 0 250px 0;
        display: flex;
    }
    .service-layout-col {
        width: 50%;
    }
    .service-text-col {
        width: 90%;
        margin: 0 auto;
    }
}

section#tasunuts {
    padding-top: 100px;
}
.tasunuts-tit {
    width: 134px;
    margin: 0 auto 80px;
}
#tasunuts .text_m {
    text-align: center;
    padding-bottom: 50px;
}
.tasunuts-layout {
    width: 100%;
    margin: 0 auto;
    padding-bottom: 86px;
}
.tasunuts-text-col,
.tasunuts-map-col {
    width: 90%;
    margin: 0 auto;
    padding-top: 50px;
}
.tasunuts-btn-col {
    width: 90%;
    margin: 0 auto;
    padding-top: 30px;
}
#tasunuts .link-btn {
    margin-top: 10px;
    text-align: center;
}
#tasunuts .text_s a,
#tasunuts .text_s a:visited {
    text-decoration: underline;
}
#tasunuts .text_s a:visited {
    color: var(--primary-color);
}
#tasunuts .link-btn.text_s a {
    position: relative;
    border-radius: 9999px;
    background: var(--primary-color);
    color: var(--primary-white);
    padding: 14px 24px;
    cursor: pointer;
    text-decoration: none;
}
#tasunuts .link-btn.text_s a:hover {
    color: var(--primary-white);
}
@media screen and (min-width: 768px) {
    .tasunuts-layout {
        max-width: 1000px;
        padding: 80px 0 50px 0;
        display: flex;
        justify-content: space-between;
        align-content: flex-start;
        flex-wrap: wrap;
    }
    .tasunuts-layout-col {
        width: 50%;
        max-width: 450px;
        padding-bottom: 100px;
    }
    .tasunuts-text-col,
    .tasunuts-map-col {
        padding-top: 0;
    }
    .tasunuts-btn-col {
        width: 90%;
        margin: 0 auto;
    }
    #tasunuts .link-btn {
        text-align: left;
    }
}

/* page.php */
.site-main article {
    padding-bottom: 100px;
}
.page-entry-header {
    color: var(--primary-color);
    padding: 50px 0 0;
    text-align: center;
}
.site-main #service .page-entry-header {
    color: var(--primary-color);
    padding: 50px 0;
}
.page-title {
    font-size: 45px;
    line-height: 2.1;
}
.page-title img {
    width: auto;
    height: 45px;
    display: block;
    margin: 0 auto;
}

/* ブロックエディターの中身（.entry-content）の制御 */
/* --- コンテンツの基本幅（何も選ばない時 = 1000px） --- */
/*.entry-content > *:not(.alignwide):not(.alignfull)*/
main.site-main article .inner {
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 50px;
    width: 90%;
}
main.site-main article#service header .inner,
main.site-main article#works header .inner {
    margin-bottom: 0;
}
 
/* --- 「幅広」を選択した時 (1200px) --- */
main.site-main .entry-content > .alignwide,
main.site-main .inner.alignwide {
    max-width: 1200px !important;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}
main.site-main #works .inner.alignwide {
    width: 90%;
}

/* --- 「全幅」を選択した時 (100%) --- */
main.site-main .entry-content > .alignfull {
    max-width: 100% !important;
    width: 100% !important;
    margin-left: 0;
    margin-right: 0;
}

/* --- PC表示時の微調整 (769px以上) --- */
@media screen and (min-width: 769px) {
    /* PCでは 90% という制限を解除して数値（1000/1200）を優先 */
    .entry-content > *:not(.alignwide):not(.alignfull),
    .entry-content > .alignwide {
        width: 100%; 
    }
}

/* --- ブロックパターン用共通スタイル --- */
.custom-flex-container,
.flex-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.custom-flex-container .flex-item {
    width: 100%;             /* 基本はスマホで1カラム */
    box-sizing: border-box;
}

/* --- PC表示時のカラム制御 --- */
@media screen and (min-width: 769px) {
    /* 2カラム用 */
    .custom-flex-container.col-2 .flex-item,
    .flex-container.col-2 .flex-item {
        width: calc(50% - 10px); /* 左右余白20pxの半分を引く */
        max-width: 450px;        /* 広がりすぎ防止 */
    }

    /* 3カラム用 */
    .custom-flex-container.col-3 .flex-item,
    .flex-container.col-3 .flex-item {
        width: calc(33.333% - 14px); /* 余白分を考慮した幅 */
        max-width: 274px;
    }
}

main.site-main .message-title {
    text-align: center;
    padding-bottom: 30px;
    font-family: 'DIN Condensed', 'Oswald', 'Noto Sans JP', "游ゴシック体", "Yu Gothic", "YuGothic", "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", "メイリオ", "Meiryo", sans-serif;
}
main.site-main article#service .message-title,
main.site-main article#works .message-title {
    padding-bottom: 0;
    line-height: 1.0;
}

main.site-main .message-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: left;
}
.about-page .map iframe {
    width: 90vw;
}
@media screen and (min-width: 769px) {
    .about-page .map iframe {
        width: 100%;
    }
}
.about-page .sns-box {
    padding-top: 34px;
}
.about-page .link-btn {
    margin-top: 10px;
    text-align: left;
}
.about-page .link-btn.text_s a,
.about-page .link-btn.text_s a:visited,
.footer-links a,
.footer-links a:visited {
    text-decoration: underline;
}
.about-page .link-btn.text_s a,
.footer-links a {
    position: relative;
    border-radius: 9999px;
    background: var(--primary-color);
    color: var(--primary-white);
    padding: 14px 24px;
    cursor: pointer;
    text-decoration: none;
}
.about-page .link-btn.text_s a:hover,
.footer-links a:hover {
    color: var(--primary-white);
}
.footer-links {
    padding-top: 120px;
}
main.site-main #how-to-order .footer-links {
    padding-top: 0;
}
.footer-links .link-btn {
    text-align: center;
    margin-top: 10px;
}
.footer-links .link-btn a {
    min-width: 170px;
    margin: 0 auto;
}
.link-btn .arrow_back img {
    transform: rotate(180deg); 
}
.link-btn a:hover .arrow_back img {
    transform: rotate(180deg) translateX(5px);
}

main.site-main #how-to-order,
main.site-main #works {
    width: 100%;
}
main.site-main .how-message {
    margin-bottom: 100px;
}
main.site-main .step-item {
    gap: 90px;
    margin-bottom: 60px;
}
main.site-main .step-header {
    display: flex;
    margin-bottom: 30px;
}
main.site-main .step-tit {
    margin-left: 30px;
    position: relative;
    border-radius: 9999px;
    border: solid 2px var(--primary-color);
    padding: 0 10px;
}
main.site-main #how-to-order .footer-links .link-btn {
    text-align: center;
    margin-bottom: 30px;
}
main.site-main .footer-links .flex-container {
    justify-content: center!important;
}
main.site-main .footer-links .flex-container .link-btn-item .text_s {
    text-align: center;
}

/* works */
.works-filter {
    margin: 40px auto;
}
.filter-list {
    display: flex;
    flex-wrap: wrap; /* スマホ用 */
    justify-content: flex-start;
    gap: 20px 15px;
    list-style: none;
    padding: 0;
    width: 90%;
    margin: 0;
}
.filter-list li {
    display: flex;
    align-items: center;
    gap: 8px;
}
.filter-label {
    font-family: 'DIN Condensed', 'Oswald', 'Noto Sans JP', "游ゴシック体", "Yu Gothic", "YuGothic", "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", "メイリオ", "Meiryo", sans-serif;
    font-size: 18px;
    font-weight: bold;
    color: #00205b;
}
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 34px;
    height: 18px;
}
.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;}
.slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: #ccc;
    transition: .3s;
    border-radius: 18px;
}
.slider:before {
    position: absolute;
    content: "";
    height: 14px;
    width: 14px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    transition: .3s;
    border-radius: 50%;
}
input:checked + .slider {
    background-color: #00205b;
}
input:checked + .slider:before {
    transform: translateX(16px);
}
@media screen and (max-width: 768px) {
    .filter-list {
        display: grid;
        grid-template-columns: 1fr 1fr; 
        gap: 10px 0;
        list-style: none;
        padding: 0;
        margin: 0 auto;
        width: 100%;
    }
    .filter-list li {
        display: flex;
        align-items: center;
        justify-content: flex-start;
    }
    .filter-label {
        display: inline-block;
        flex-basis: 50px; 
        flex-shrink: 0;
        font-size: 13px;
        white-space: nowrap;
    }
    .filter-list li:first-child {
        grid-column: 1 / 3;
        margin-bottom: 10px;
    }
}
@media screen and (min-width: 769px) {
    .filter-list {
        flex-wrap: nowrap;
        max-width: 1200px;
        margin: 0;
        justify-content: flex-start;
    }
}
.works-grid .inner.alignwide {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0;
}
.works-item {
    width: calc(50% - 10px); /* スマホ2カラム */
}
.works-item a {
    display: block;
    text-decoration: none;
}
.works-title {
    margin-top: 10px;
    font-size: 16px;
    color: #00205B;
    font-weight: bold;
    line-height: 1.4;
    transition: opacity 0.3s;
}
.works-item a:hover,
.works-item a:hover .works-title {
    opacity: 0.7;
}
/* スマホ表示で文字が大きすぎる場合の微調整（必要に応じて） */
@media screen and (max-width: 768px) {
    .works-grid .inner.alignwide {
        gap: 0 20px;
    }
    .works-item .works-title {
        font-size: 14px;
    }
}
@media screen and (min-width: 769px) {
    .works-item {
        width: calc(33.33% - 14px); /* PC3カラム */
        max-width: 325px;
    }
}
@media screen and (max-width: 769px) {
    .product-info {
        padding-bottom: 50px;
    }
}

.coming-soon {
    width: 100%;
    text-align: center;
    padding: 100px 0;
    font-size: 24px;
    font-family: 'DIN Condensed', 'Oswald', 'Noto Sans JP', "游ゴシック体", "Yu Gothic", "YuGothic", "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", "メイリオ", "Meiryo", sans-serif;
    color: var(--primary-color);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.works-slider {
    width: 100%;
    height: 300px;
}
.works-slider .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}
.info {
    margin-top: 36px;
}
.slider-controls {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    height: 54px;
    flex-shrink: 0;
}
.works-slider-area .slider-controls {
    justify-content: space-between;
}
.custom-prev, .custom-next {
    position: static !important;
    width: 54px !important;
    height: 20px !important;
    border: solid 2px #00205B;
    border-radius: 9999px;
    background-color: #fff;
    margin: 0 !important;
    cursor: pointer;
    display: flex !important;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
.custom-prev::after, .custom-next::after {
    display: none;
}
.custom-prev img, .custom-next img {
    width: 15px;
    transition: transform 0.3s ease;
}
.custom-prev img {
    transform: rotate(180deg);
}
.custom-prev:hover img { transform: rotate(180deg) translateX(3px); }
.custom-next:hover img { transform: translateX(3px); }
.custom-prev:hover, .custom-next:hover { opacity: 0.7; }
.custom-dots {
    position: static !important;
    width: auto !important;
    display: flex;
    gap: 15px;
}
.custom-dots .swiper-pagination-bullet {
    width: 20px !important;
    height: 20px !important;
    border: solid 2px #00205B !important;
    background-color: #fff !important;
    opacity: 1 !important;
    margin: 0 !important;
}
.custom-dots .swiper-pagination-bullet-active {
    background-color: #00205B !important;
}
@media screen and (min-width: 769px) {
    .works-flex-container {
        display: flex;
        justify-content: space-between;
        align-items: stretch;
        width: 100%;
        max-width: 1200px;
        margin: 0 auto 80px;
    }
    .works-slider-area {
        width: 800px;
        flex-shrink: 0;
        display: block !important;
    }
    .works-slider {
        width: 100%;
        height: 548px;
    }
    .info {
        width: 360px;
        position: relative;
        overflow-y: auto;
        word-break: break-all;
        padding-right: 15px;
        display: block !important;
        height: 622px;
    }
    .info::-webkit-scrollbar {
        width: 4px;
    }
    .info::-webkit-scrollbar-thumb {
        background: #00205B;
    }
}

/* スマホ表示の際は2カラムコンテナの影響を最小限にする */
@media screen and (max-width: 768px) {
    .works-flex-container {
        display: block;
    }
    .info {
        max-height: none;
        overflow-y: visible;
    }
}
/* contact */
/* =========================================================
   CONTACT FORM CUSTOM DESIGN
========================================================= */

/* --- ラベル共通装飾 --- */
/* 1. フォームの各項目名（大見出し）としてのラベルのみに適用 */
/* CF7の標準的な構造 [p > label] に限定します */
.wpcf7-form p > label {
    display: block;
    font-weight: bold;
    color: #00205B;
    margin-bottom: 20px;
    /* デフォルトでは下線なし（お名前、メールなど） */
    font-size: 18px; 
}

/* 2. 特定の4項目（相談種類、検討状況、予算、時期）の見出しラベルのみ下線を引く */
/* data-name属性を持つ要素の「直前」にあるlabel、または特定の親を持つlabelを狙います */
[data-name="radio-type"] > label,
[data-name="radio-situation"] > label,
[data-name="radio-budget"] > label,
[data-name="radio-time"] > label,
.wpcf7-form p:has([data-name="radio-type"]) > label,
.wpcf7-form p:has([data-name="radio-situation"]) > label,
.wpcf7-form p:has([data-name="radio-budget"]) > label,
.wpcf7-form p:has([data-name="radio-time"]) > label {
    font-size: 22px !important;
    width: 100%;
    border-bottom: solid 3px #00205B !important;
    padding-bottom: 17px !important;
    margin-bottom: 28px !important;
}

/* その他のラベル（お名前以降など） */
.wpcf7-form p label {
    margin-bottom: 20px;
}

/* ラジオボタンの中にある label や span に下線が継承されないように強制的に打ち消す */
.wpcf7-list-item label,
.wpcf7-list-item-label {
    font-size: 18px !important;
    font-weight: normal !important; /* 選択肢は通常の太さに */
}

/* 必須チップ */
.required {
    display: inline-block;
    margin-left: 11px;
    padding: 7px 10px;
    background-color: #C90000;
    color: #fff;
    font-size: 14px; /* ラベルサイズに合わせ調整 */
    border-radius: 7px;
    font-weight: normal;
    line-height: 1;
    border-bottom: none !important; /* 必須チップ自体に下線が出ないよう防御 */
}

/* --- ラジオボタン装飾：ボックスボタンデザイン（ご相談の種類） --- */
[data-name="radio-type"] .wpcf7-list-item {
    margin: 0;
    display: block;
}

[data-name="radio-type"] .wpcf7-radio {
    display: grid;
    gap: 20px 44px;
    grid-template-columns: repeat(3, 1fr); /* PC 3カラム */
}

[data-name="radio-type"] input[type="radio"] {
    display: none;
}

[data-name="radio-type"] .wpcf7-list-item-label {
    display: block;
    width: 100%;
    padding: 19px;
    border: solid 1px #00205B;
    background-color: #fff;
    font-size: 18px;
    cursor: pointer;
    text-align: left;
    transition: background 0.3s;
}

[data-name="radio-type"] input:checked + .wpcf7-list-item-label {
    background-color: #00205B;
    color: #fff;
}

.wpcf7-radio:not([data-name="radio-type"] .wpcf7-radio) {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 30px;
}

.wpcf7-radio:not([data-name="radio-type"] .wpcf7-radio) .wpcf7-list-item {
    font-size: 18px;
}

/* --- Input / Textarea 要素 --- */
.wpcf7-form p {
    margin-bottom: 28px;
}

.wpcf7-form p:has(.wpcf7-text),
.wpcf7-form p:has(.wpcf7-email),
.wpcf7-form p:has(.wpcf7-textarea),
.wpcf7-form p:has(.wpcf7-date) {
    margin-bottom: 28px;
}

.wpcf7-text,
.wpcf7-email,
.wpcf7-textarea,
.wpcf7-date {
    width: 100%;
    border: solid 1px #707070;
    background-color: #F1F1F1;
    padding: 15px;
    box-sizing: border-box;
}

.wpcf7-textarea {
    max-width: 100%;
    min-width: 100%;
    height: 240px;
    margin-bottom: 100px; /* textareaの下を100pxあける */
}

/* フォーム内の label 直後の br を非表示にする */
.wpcf7-form p label + br {
    display: none;
}

/* もし上記で消えない場合、p タグ内の全ての br を消してマージンで調整 */
.wpcf7-form p br {
    display: none;
}

/* --- プライバシーポリシー --- */
.contact-tit {
    padding-top: 100px;
    font-size: 22px;
    font-weight: bold;
}
.privacy-col {
    height: 400px;
    overflow-y: scroll;
    border: 1px solid #707070;
    padding: 20px;
    background: #fff;
    margin-bottom: 30px;
}

.privacy-col p {
    margin-bottom: 0;
    font-size: 15px;
}

.privacy-col p.privacy-tit {
    margin-top: 20px;
    font-size: 18px;
}
/* =========================================================
   ACCEPTANCE CHECKBOX (PRIVACY POLICY)
========================================================= */

/* チェックボックスを包むスパンの調整 */
.wpcf7-list-item {
    margin: 0;
}

.wpcf7-acceptance {
    display: block;
    margin-top: 20px;
}

/* ラベル全体のスタイル */
.wpcf7-acceptance .wpcf7-list-item label {
    display: flex;
    align-items: center;
    cursor: pointer;
    border-bottom: none !important; /* 下線を完全に消す */
    padding-bottom: 0 !important;
}

/* デフォルトのチェックボックスを隠す */
.wpcf7-acceptance input[type="checkbox"] {
    display: none;
}

/* カスタムチェックボックスの枠（擬似要素で作成） */
.wpcf7-acceptance .wpcf7-list-item-label::before {
    content: "";
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-right: 12px;
    border: solid 1px #707070;
    border-radius: 4px;
    background-color: #fff;
    vertical-align: middle;
    transition: all 0.2s;
    flex-shrink: 0;
}

/* チェックが入った時の背景色とチェックマーク */
.wpcf7-acceptance input[type="checkbox"]:checked + .wpcf7-list-item-label::before {
    background-color: #00205B; /* ブランドカラー */
    border-color: #00205B;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E");
    background-size: 80%;
    background-repeat: no-repeat;
    background-position: center;
}

/* 同意テキストのフォントサイズ */
.wpcf7-acceptance .wpcf7-list-item-label {
    font-size: 16px !important;
    font-weight: normal !important;
    color: #00205B;
    border-bottom: none !important;
    line-height: 1.5;
}
/* --- レスポンシブ (スマホ) --- */
@media screen and (max-width: 768px) {
    /* ご相談の種類を1カラムに */
    [data-name="radio-type"] .wpcf7-radio {
        grid-template-columns: 1fr;
        gap: 20px 0;
    }

    /* その他のラジオボタンを縦並びに */
    .wpcf7-radio:not([data-name="radio-type"] .wpcf7-radio) {
        flex-direction: column;
        gap: 15px 0;
    }
}
/* =========================================================
   CUSTOM RADIO BUTTON (STANDARD)
========================================================= */

/* デフォルトの丸い選択肢を隠す */
.wpcf7-radio:not([data-name="radio-type"] .wpcf7-radio) input[type="radio"] {
    display: none;
}

/* ラベルの構造を整える */
.wpcf7-radio:not([data-name="radio-type"] .wpcf7-radio) .wpcf7-list-item label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
}

/* 外側の円（20px / solid 1px #707070） */
.wpcf7-radio:not([data-name="radio-type"] .wpcf7-radio) .wpcf7-list-item-label::before {
    content: "";
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-right: 12px;
    border: solid 1px #707070;
    border-radius: 50%; /* 丸にする */
    background-color: #fff;
    vertical-align: middle;
    box-sizing: border-box;
    flex-shrink: 0;
    position: relative;
    transition: all 0.2s;
}

/* 選択時のデザイン（ブランドカラー #00205B） */
.wpcf7-radio:not([data-name="radio-type"] .wpcf7-radio) input[type="radio"]:checked + .wpcf7-list-item-label::before {
    border-color: #00205B;
}

/* 選択時に中に入れる小さな丸（ブランドカラー） */
.wpcf7-radio:not([data-name="radio-type"] .wpcf7-radio) input[type="radio"]:checked + .wpcf7-list-item-label::after {
    content: "";
    display: block;
    width: 10px; /* 中の丸のサイズ */
    height: 10px;
    background-color: #00205B;
    border-radius: 50%;
    position: absolute;
    left: 5px; /* (外枠20px - 内枠10px) / 2 */
    top: 54%;
    transform: translateY(-50%);
    z-index: 1;
}

/* ラジオボタンの親要素に position: relative が必要 */
.wpcf7-radio:not([data-name="radio-type"] .wpcf7-radio) .wpcf7-list-item-label {
    position: relative;
}
[data-name="radio-type"] .wpcf7-list-item-label {
    white-space: pre-wrap; 
    line-height: 1.4;
}
/* =========================================================
   CONTACT SUBMIT BUTTON
========================================================= */

/* 送信ボタンのコンテナ（中央寄せ） */
.contact-box .wpcf7-submit-wrapper {
    text-align: center;
    margin-top: 60px;
}

/* ボタン本体の基本スタイル */
.submit-btn-wrap {
    text-align: center;
    width: 100%;
}
.wpcf7-submit {
    display: block;
    appearance: none;
    -webkit-appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 170px;
    height: 52px;
    background-color: #00205B;
    color: #fff;
    font-size: 15px;
    font-weight: bold;
    border: none;
    border-radius: 9999px;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    padding-right: 40px; /* 矢印用のスペース */
}

/* 矢印アイコン（ico_arrow_white.svg）を背景として挿入 */
.wpcf7-submit {
    background-image: url("./image/common/ico_arrow_white.svg"); /* パスは環境に合わせて調整 */
    background-repeat: no-repeat;
    background-size: 25px;
    background-position: calc(100% - 30px) center;
}

/* Hover 時の挙動：背景画像（矢印）を右に3pxスライド */
.wpcf7-submit:not(:disabled):hover {
    opacity: 0.8;
    background-position: calc(100% - 25px) center;
}

/* Disabled 状態（プライバシーポリシー未チェック時） */
.wpcf7-submit:disabled {
    background-color: #ccc !important;
    cursor: not-allowed;
    opacity: 1;
}

/* CF7 固有のスピナー（ぐるぐる）の位置調整 */
.wpcf7-spinner {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
}

.grecaptcha-badge { 
   visibility: hidden; 
}

/* =========================================
   拡大ポップアップ（モーダル）設定
========================================= */
.js-zoom-img {
    cursor: zoom-in;
}
.custom-modal {
    position: fixed;
    z-index: 9999; /* ヘッダーなどより確実に上に表示させる */
    left: 0;
    top: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.85); /* 85%の黒背景 */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.custom-modal.is-show {
    opacity: 1;
    visibility: visible;
}
.custom-modal .modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 90%;  /* 画面幅の90%までに収める */
    max-height: 90vh; /* 画面高の90%までに収める */
    object-fit: contain; /* アスペクト比を維持 */
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}
.custom-modal .modal-close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: #fff;
    font-size: 50px;
    font-weight: 300;
    cursor: pointer;
    transition: color 0.3s;
    line-height: 1;
}
.custom-modal .modal-close:hover {
    color: #999;
}

/* スマホ表示時の微調整 */
@media screen and (max-width: 768px) {
    .custom-modal .modal-close {
        top: 10px;
        right: 20px;
        font-size: 40px;
    }
}