@charset "UTF-8";
/*
    Template: swell
    Theme Name: イナズマWeb テーマ02
    Theme URI: https://www.wisesips.com/
    Description: イナズマWeb専用のカスタムテーマです。
    Version: 1.0.0
    Author: 有限会社ワイズシップス
    Author URI: https://www.wisesips.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/




/* 全体 */
.post_content>* {
    margin-bottom: 0;
}

.post_content a {
    transition: 0.4s;
}

.post_content p {
    line-height: 30px;
    font-weight: 500;
}

.l-header__inner,
.l-fixHeader__inner {
    max-width: 100%;
}

/* .l-container {
  max-width: none;
  } */

.l-content {
    margin: 0 auto;
}

.l-content p {
    line-height: 28px;
    letter-spacing: 0.3px;
    margin-bottom: 10px;
}

.c-pageTitle__subTitle {
    display: none;
}

.l-topTitleArea .l-topTitleArea__body h1 {
    display: flex;
    flex-direction: column;
    text-align: center;
    font-size: 30px;
    font-family: "Yu Mincho", "游明朝", serif;
}

.l-topTitleArea .l-topTitleArea__body h1 .c-pageTitle__subTitle {
    margin: auto;
    font-style: normal;
    opacity: 1;
}

.l-topTitleArea .l-topTitleArea__body h1 {
    /* font-family: "Cardo", serif; */
}

.l-topTitleArea .l-topTitleArea__body h1 .c-pageTitle__subTitle {
    font-family: "Yu Mincho", "游明朝", serif;
}

.header-menu-btn span {
    font-size: 1.0vw;
}

img {
    pointer-events: none;
}

.swell-block-fullWide+.swell-block-fullWide {
    margin-top: 0;
}

.top #content {
    padding-top: 0;
}

.more_btn a {
    padding: 15px;
}

.blog .l-content,
.single-post .l-content,
.archive .l-content {
    padding-bottom: 5em !important;
}

@media not all and (min-width: 960px) {
    .l-topTitleArea .l-topTitleArea__body h1 {
        font-size: 25px;
    }
}

.quill-content p {
    margin-bottom: 0;
}


:root {
    /* メインカラー系 */
    --color_main: #b1903a;
    --color_main_thin: #5a7ba0;
    --color_main_dark: #00264a;
    --color_main_hover: #b1903a;

    /* テキスト・リンク・見出しなど */
    --color_text: #333333;
    --color_link: #006cb7;
    --color_htag: #b1903a;

    /* 背景・グラデーション */
    --color_bg: #ffffff;
    --color_gradient1: #003b6f;
    --color_gradient2: #006cb7;

    /* チェックリスト・アイコンカラー系 */
    --color_list_check: #006cb7;
    --color_list_num: #003b6f;
    --color_list_good: #003b6f;
    --color_list_triangle: #003b6f;
    --color_list_bad: #003b6f;

    /* グラデボタン */
    --the-btn-color: #3d9fd9;
    --the-btn-color2: #b1903a;
    --the-btn-bg: linear-gradient(100deg, var(--the-btn-color) 0%, var(--the-btn-color2) 100%);

    /* FAQ */
    --color_faq_q: #006cb7;
    --color_faq_a: #006cb7;

    /* ヘッダー・フッター */
    --color_header_bg: #ffffff;
    --color_header_text: #333;
    --color_footer_text: #fff;
}


/* SWELLブロックボタン共通 */
.swell-block-button .swell-block-button__link {
    border-radius: 4px;
    padding: 0.8em 2em;
    display: inline-block;
    /* transition: background-color 0.3s; */
    text-decoration: none;
    padding: 1em 2em;
}

/* ホバー時 */
.swell-block-button__link:hover {
    background-color: var(--color_main_hover);
    color: #fff;
}

/* リストスタイルの背景を白に固定 */
.is-style-border_sm,
.is-style-border_md,
.is-style-border_lg {
    background-color: #fff;
}

/* ヘッダー */
.c-gnav {
    padding-top: 20px;
    padding-bottom: 20px;
}

.c-gnav>.menu-item {
    transition: 0.4s;
}

.c-gnav>.menu-item:hover {
    color: #e5c56f;
}

.c-gnav>.menu-item>a {
    /* padding: 24px 12px; */
    padding: 0 12px;
}

.c-gnav>.menu-item>a .ttl {
    display: block;
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 1px;
    font-family: "Noto Serif JP", serif;
}

.c-gnav a::after {
    height: 1px;
}

.l-fixHeader::before {
    opacity: 0.9;
}

/* .p-mainVisual__inner img {
  object-position: bottom;
} */


/* 共通 */
.l-content p {
    line-height: 1.9em;
}



/* 調整しやすい色（落ち着いたゴールド） */
:root {
    --gold-1: #b1903a;
    /* ベース */
    --gold-2: #9a7b2f;
    /* 濃いめ（ホバー時） */
    --gold-1-weak: rgba(177, 144, 58, .35);
    /* 薄い下線用 */
    --text: #333333;
    --bg: #FDFBF7;
    /* ページのベース背景想定 */
}

/* ベース */
.more-btn-01 {
    --underline-h: 1px;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: var(--text);
    text-decoration: none;
    line-height: 1;
    padding: 8px 2px;
    /* テキスト下線が見えるよう最小の上下だけ */
    position: relative;
    transition: color .25s ease;
}

/* テキスト下線：常時うすい線＋ホバーで濃い線が左→右に伸びる */
.more-btn-01 .more-text {
    position: relative;
    padding-bottom: 6px;
    font-size: 18px;
    color: #a28029;
}

.more-btn-01 .more-text::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: var(--underline-h);
    background-color: var(--gold-1-weak);
    /* 常時うすい線 */
}

.more-btn-01 .more-text::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: var(--underline-h);
    background-color: var(--gold-1);
    /* 走る濃い線 */
    transition: width .45s ease;
}

.more-btn-01:hover .more-text::after {
    width: 100%;
}

/* 右側の丸アイコン（枠は細め、角丸＝円のみ） */
.more-btn-01 .more-icon {
    width: 36px;
    height: 36px;
    border: 1px solid var(--gold-1);
    border-radius: 50%;
    display: inline-grid;
    place-items: center;
    color: var(--gold-1);
    /* SVGのstroke色 */
    background: transparent;
    transition: background-color .25s ease, color .25s ease, border-color .25s ease, transform .25s ease;
}

/* ホバー演出：丸が色付き→矢印が白／少しだけ動く */
.more-btn-01:hover .more-icon {
    background: var(--gold-2);
    color: #fff;
    /* SVGが白に */
    border-color: var(--gold-2);
    transform: translateX(2px);
    /* ほんの少しだけ動く */
}

/* アクセシビリティ：キーボードフォーカス */
.more-btn-01:focus-visible {
    outline: 2px solid var(--gold-1);
    outline-offset: 3px;
}

/* 動きを抑えたい環境 */
@media (prefers-reduced-motion: reduce) {

    .more-btn-01 *,
    .more-btn-01 {
        transition: none !important;
    }
}




/* 
=====================================
  トップページ
=====================================
*/

/* メインビジュアル */
.mv-text-01 .mv-text-maintext {
    font-size: 30px;
    line-height: 1.5em;
    text-align: center;
    font-family: "Noto Serif JP", serif;
    font-weight: bold;
    margin-bottom: 0;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.mv-text-01 .mv-text-subtext {
    font-size: 20px;
}


.mv-text-01 {
    max-width: 800px;
}

/* メインテキスト帯 */
/* .mv-text-maintext {
    position: relative;
    display: inline-block;
    padding: 12px 20px;
    font-size: 28px;
    font-weight: 600;
    line-height: 1.4;
    color: #234478;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.8s ease 0.5s, transform 0.8s ease 0.5s;
    z-index: 1;
} */

.mv-text-maintext::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgb(255 255 255 / 80%);
    backdrop-filter: blur(3px);
    transform: scaleY(0);
    transform-origin: bottom center;
    transition: transform 1.4s cubic-bezier(.22, .61, .36, 1) 0s;
    /* ← delayを0s */
    z-index: -1;
}

/* サブテキスト帯 */
.mv-text-subtext {
    position: relative;
    display: inline-block;
    margin-top: 12px;
    padding: 8px 16px;
    font-size: 18px;
    line-height: 1.6;
    color: #234478;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.8s ease 1.1s, transform 0.8s ease 1.1s;
    z-index: 1;
}

.mv-text-subtext::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgb(255 255 255 / 80%);
    backdrop-filter: blur(3px);
    transform: scaleY(0);
    transform-origin: bottom center;
    transition: transform 1.4s cubic-bezier(.22, .61, .36, 1) 0s;
    /* ← delayを0s */
    z-index: -1;
}

/* アニメーションON時 */
.mv-text-01.is-on .mv-text-maintext::before,
.mv-text-01.is-on .mv-text-subtext::before {
    transform: scaleY(1);
}

.mv-text-01.is-on .mv-text-maintext,
.mv-text-01.is-on .mv-text-subtext {
    opacity: 1;
    transform: translateY(0);
}

/* SP調整 */
@media (max-width: 640px) {
    .mv-text-maintext {
        font-size: 22px;
        padding: 10px 16px;
    }

    .mv-text-subtext {
        font-size: 16px;
        padding: 6px 12px;
    }
}

@media (max-width: 959px) {
    /* .mv-text-01 p {
        font-size: 17px;
        line-height: 1.6em;
    } */

    .mv-text-01 .mv-text-maintext {
        font-size: 22px;
        line-height: 1.6em;
        padding: 10px 0;
    }

    .mv-text-01 .mv-text-subtext {
        font-size: 13px;
        line-height: 1.6em;
    }
}

.top-content {
    padding-top: 7em !important;
}

h2,
h3 {
    /* font-family: "Yu Mincho", "游明朝", serif; */
}

.top-content h2,
.subpage-content h2 {
    font-size: 25px;
    line-height: 1.6em;
    /* color: var(--color_main) !important; */
    /* text-align: center; */
}

.top-content .ttl-jp,
.subpage-content .ttl-jp,
.contact-area .ttl-jp {
    font-size: 25px;
    margin-top: 0;
    text-align: left;
    margin-bottom: 1em !important;
}

/* .top-content .ttl-en {
    font-size: 88px;
    opacity: 0.08;
    z-index: 2;
    position: absolute;
    top: -70px;
    left: 50%;
    transform: translateX(-50%);
    line-height: 88px;
    font-weight: 100;
    background: linear-gradient(#143881 0%, #2f5fa2 50%, #4a7dbc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    white-space: nowrap;
} */

.top-content .ttl-en,
.subpage-content .ttl-en,
.contact-area .ttl-en {

    font-weight: 500;
    letter-spacing: 0.03em;
    white-space: nowrap;
    margin-bottom: 0;
    /* text-align: center; */
    font-family: "Cormorant", serif;
}

.top-about .ttl-en {
    font-size: 80px;
    background: linear-gradient(#9a7b2f 0%, #b1903a 50%, #e6c766 100%);
    /* background: linear-gradient(90deg, #9a7b2f 0%, #b1903a 20%, #e6c766 40%, #b1903a 60%, #9a7b2f 80%); */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.top-service .ttl-en,
.top-news .ttl-en,
.contact-area .ttl-en {
    font-size: 60px;
    background: linear-gradient(#9a7b2f 0%, #b1903a 50%, #e6c766 100%);
    /* background: linear-gradient(90deg, #9a7b2f 0%, #b1903a 20%, #e6c766 40%, #b1903a 60%, #9a7b2f 80%); */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: left;
    line-height: 1;
    margin-bottom: 1.5em;
    font-weight: 500;
}

.top-news .ttl-en {
    margin-bottom: 10px;
}


.top-service .ttl-jp {
    font-weight: 500;
    letter-spacing: 0.05em;
    white-space: nowrap;
    margin-bottom: 0;
    font-family: "Cormorant", serif;
    font-size: 25px;
    position: relative;
    /* 下線を置くために必要 */
    line-height: 1;
    margin-bottom: 1em;
}

.top-service .ttl-jp::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    /* テキストからの距離を調整 */
    width: 100%;
    height: 1.3px;
    /* 下線の太さ */
    background: linear-gradient(90deg,
            #9a7b2f 0%,
            #b1903a 20%,
            #e6c766 40%,
            #b1903a 60%,
            #9a7b2f 80%);
}

.top-service-column .ttl-jp {
    font-size: 20px;
    margin-top: 20px;
}


@media (max-width: 959px) {
    .top-content {
        padding-top: 5em !important;
    }

    .top-content h2 {
        font-size: 25px;
        margin-bottom: 30px;
    }

    .top-content h3 {
        font-size: 20px;
        margin-bottom: 25px;
    }

    .top-content .ttl-en {
        font-size: 40px;
        width: 100%;
        text-align: center;
        top: -60px;
    }

    .subpage-content h2 {
        margin-bottom: 30px;
    }

    .subpage-content h3 {
        font-size: 20px;
    }
}


/* content */
.ttl_en {
    font-family: "Cardo", serif;
    font-size: 50px;
    font-weight: bold;
    letter-spacing: 0.05rem;
    background: linear-gradient(90deg, #2C6E49 0%, #4CAF50 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.ttl-jp {
    font-size: 25px;
    font-weight: bold;
    line-height: 1.5;
    font-family: "Noto Serif JP", serif;
}

.lower_ttl {
    font-size: 50px;
    font-weight: bold;
    margin-bottom: 10px;
    line-height: 50px !important;
}

.lower_ttl.ttl_jp {
    font-size: 25px;
    font-weight: bold;
    line-height: 1.5;
    margin-top: 0;
    margin-bottom: 60px;
}

@media (max-width: 959px) {
    .top_about_inner .about_inner_title {
        width: 100%;
    }

    .top_about_inner .about_inner_text {
        width: 100%;
    }

    .service_ttl_num {
        font-size: 46px;
        line-height: 46px;
        padding-right: 20px;
    }

    .service_ttl_text {
        margin-top: 0 !important;
        font-size: 25px !important;
    }

    .contact_area .ttl_en {
        font-size: 55px;
    }

    .lower_ttl.ttl_en {
        line-height: 1.2;
    }

    .lower_ttl.ttl_jp {
        margin-bottom: 25px;
    }
}

/* animation */
@-webkit-keyframes passing_bg_bar {
    0% {
        left: 0;
        right: auto;
        width: 0;
    }

    50% {
        left: 0;
        right: auto;
        width: 100%;
    }

    51% {
        left: auto;
        right: 0;
        width: 100%;
    }

    100% {
        left: auto;
        right: 0;
        width: 0;
    }
}

@keyframes passing_bg_bar {
    0% {
        left: 0;
        width: 0;
    }

    50% {
        left: 0;
        width: 100%;
    }

    51% {
        left: 0;
        width: 100%;
    }

    100% {
        left: 100%;
        width: 0;
    }
}

@-webkit-keyframes passing_ttl_txt {
    0% {
        opacity: 0;
    }

    50% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes passing_ttl_txt {
    0% {
        opacity: 0;
    }

    50% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.passing_bg .passing_bg_box {
    display: block;
}

.passing_bg .passing_bg_bar {
    position: relative;
    display: inline-block;
    -webkit-transform: translate3d(0, 0, 0);
    -ms-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}

.passing_bg .passing_bg_bar:before {
    content: '';
    display: inline-block;
    width: 0;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1;
    background: var(--color_main) !important;
}

.passing_bg .passing_ttl_txt {
    opacity: 0;
    -webkit-transform: translate3d(0, 0, 0);
    -ms-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}

.passing_bg.move .passing_bg_bar:before {
    -webkit-animation: passing_bg_bar 1s ease 0s 1 normal forwards;
    animation: passing_bg_bar 1s ease 0s 1 normal forwards;
}

.passing_bg.move .passing_ttl_txt {
    -webkit-animation: passing_ttl_txt 0s ease .5s 1 normal forwards;
    animation: passing_ttl_txt 0s ease .5s 1 normal forwards;
}

.passing_bg .ttl_en {
    font-size: 70px;
    font-weight: bold;
    line-height: 1;
}

.passing_bg .ttl_jp {
    font-size: 25px;
    font-weight: bold;
    line-height: 1.5;
}

@media (max-width: 959px) {
    .passing_bg .ttl_en {
        font-size: 55px;
        font-weight: bold;
        line-height: 1;
    }

    .passing_bg .ttl_jp {
        font-size: 25px;
        font-weight: bold;
        line-height: 1.5;
    }
}

/* About */
.top-about p {
    text-align: left;
}

.top-about .ttl-jp,
.top-about .ttl-en {
    text-align: left;
}

/* 右カラムの中身を右端へ寄せる＆はみ出しOKに */
.top-about .top_about_img {
    display: flex;
    overflow: visible;
}

/* 画像を「右カラムの左端 → 画面右端」まで広げる */
.top-about .top_about_img img {
    display: block;
    width: 50vw;
    height: 500px;
    object-fit: cover;
    max-width: none !important;
}

/* カラム間のgapや内側paddingがある場合は軽く詰める（任意） */
.top-about .swell-block-columns__inner {
    gap: 0;
    justify-content: space-between;
    /* 必要に応じて 0〜16px などに */
}

@media (max-width: 959px) {
    .top-about h2 {
        font-size: 22px !important;
    }

    .top-about p {
        text-align: left;
    }

    .top-about .ttl-jp,
    .top-about .ttl-en {
        text-align: center;
    }

    .top-about .top_about_img {
        margin-top: 3em;
    }

    .top-about .top_about_img img {
        width: 100%;
        height: auto;
    }
}

/* トップ サービス */
.top-service {
    border-top: 1px solid #e1e1e1;
    border-bottom: 1px solid #e1e1e1;
}

.top-service .swell-block-columns__inner {
    justify-content: space-between;
}

.top-service img {
    height: 500px;
    object-fit: cover;
}

.top-service .top-service-column img {
    object-fit: cover;
    height: 270px;
    margin-bottom: 0;
}

.top-service .business-heading-en {
    font-family: "Cormorant", serif;
    font-size: 16px;
    color: #b1903a;
    letter-spacing: 0.08em;
    margin-bottom: 0.3em;
    display: block;
}

/* カード全体 */

.top-service-wrap {
    position: relative;
    z-index: 0;
    margin-top: 100px;
    /* 丸120pxの半分=60px + 影の余白で70px目安 */
}

.service-item {
    background: #fff;
    border-radius: 12px;
    padding: 0 30px 30px !important;
    position: relative;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    margin: 40px 0;
}

/* アイコンラッパーを丸背景にする */
.icon-wrap {
    width: 120px;
    height: 120px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);

    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
}

/* アイコン画像 */
.icon-wrap p {
    display: flex;
    justify-content: center;
    align-items: center;
}

.icon-wrap img {
    width: 70%;
    /* アイコンの大きさ調整 */
    height: auto;
    object-fit: contain;
    border-radius: 0;
    /* 角を残す */
    background: none;
    padding: 0;
}

/* 見出し */
.service-item h3 {
    margin-top: 80px;
    margin-bottom: 25px;
    font-size: 1.3rem;
    font-weight: 600;
}

/* 本文 */
.service-item .paragraph {
    font-size: 0.95rem;
    margin-top: 10px;
    line-height: 1.7;
    text-align: left;
}

.service_ttl_wrap {
    display: flex;
    align-items: flex-end;
    border-bottom: 1px solid var(--color_main);
    padding-bottom: 8px;
    font-family: "Yu Mincho", "游明朝", serif;
}

.service_ttl_num {
    font-size: 60px;
    font-weight: bold;
    padding-right: 27px;
    font-style: italic;
    color: var(--color_main);
    line-height: 60px;
}

.service_ttl_text {
    margin-top: 0;
    font-size: 30px !important;
}

#service {
    --bg: #ffffff;
    --fg: #333;
    /* デフォルトは他の要素用 */
    background: var(--bg);
    transition: background-color 0.8s ease-in-out;
    position: relative;
    /* 擬似要素配置のため */
    overflow: hidden;
    /* 背景はみ出し防止 */
}

/* グラデ背景レイヤー（初期は非表示） */
#service::before {
    content: "";
    position: absolute;
    inset: 0;
    /* 好みで調整：角度・色・割合 */
    background: linear-gradient(135deg, #4a7bb8 0%, #5fa6d8 50%, #a6d4f5 100%);
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    pointer-events: none;
    z-index: 0;
}

/* 背景が切り替わったとき → グラデをふわっと表示 */
#service.active::before {
    opacity: 1;
}

/* 中のコンテンツは前面に */
#service>* {
    position: relative;
    z-index: 1;
}

#service .service-ttl-en {
    color: #143881;
    /* 固定の初期色 */
    transition: color 0.8s ease-in-out;
    font-size: 25px;
    font-weight: 500;
    white-space: nowrap;
    margin-bottom: 0;
    text-align: center;
    font-family: "Hind Madurai", sans-serif;
}

#service.active .service-ttl-en {
    color: #ffffff;
}

#service .ttl-jp,
#service .top_service_intro {
    color: var(--fg);
    transition: color 0.8s ease-in-out;
}

#service.active {
    --bg: #3a89b6;
    /* グラデの下地になる色（見切れ対策） */
    --fg: #ffffff;
}

/* ボタン */
#service .top-service-btn .swell-block-button__link {
    background: #3a89b6;
    color: #fff;
    transition: background-color 0.5s ease, color 0.5s ease;
}

#service.active .top-service-btn .swell-block-button__link {
    background: #ffffff;
    color: #067abc !important;
}



/* .top-service {
    background-color: #ffffff;
    background-size: 15px 15px;
    background-image: radial-gradient(#ededed 1px, transparent 1px);
    background-image: radial-gradient(#eef4fa 1.5px, transparent 1.5px);
} */

@media (max-width: 959px) {
    .top-service p {
        text-align: left;
    }

    .service-item-wrap .swell-block-linkList {
        display: flex;
        flex-direction: column;
        --the-gap: 0.8em .75em !important;
    }

    .service-item-wrap .swell-block-linkList__item {
        width: 90% !important;
        font-size: 17px;
    }

    #service .service-ttl-en {
        font-size: 20px;
    }

    .top-service-wrap {
        margin-top: 80px;
    }

    .icon-wrap {
        width: 100px;
        height: 100px;
        top: -55px;
    }

    .top-service-wrap .service-item:nth-child(2),
    .top-service-wrap .service-item:nth-child(3) {
        margin-top: 4em;
    }

    .service-item h3 {
        margin-top: 65px;
    }

    .top-service .wp-block-spacer {
        margin-bottom: 0;
    }
}


/* company */
.company-table tr:first-child th,
.company-table tr:first-child td {
    border-top: none;
}

.company-table th {
    border-bottom: 1px solid #b1903a;
    color: #333;
    padding: 23px 8px;
}

.company-table td {
    padding: 23px 0px 23px 20px;
}

@media (min-width: 600px) {
    .company-table th {
        width: 200px !important;
    }
}

@media (max-width: 959px) {
    .company-table th {
        width: 200px;
        padding: 25px 0px 10px 10px;
    }

    .company-table td {
        padding: 20px 0px 20px 10px;
    }

    .company-table.wp-block-table {
        --table-border: none;
    }
}

/* staff */
.staff_text_wrap>p:nth-child(1) {
    margin-bottom: 3px;
}

.staff_text_wrap .staff {
    font-weight: 600;
    font-size: 25px;
    border-bottom: 1px solid var(--color_main);
    margin-bottom: 30px;
}

.staff_text_wrap .staff span {
    font-size: 16px;
    font-weight: 500;
    padding-left: 15px;
}

@media (max-width: 959px) {
    .staff_text_wrap>p:nth-child(1) {
        margin-top: 15px !important;
    }

    .staff_text_wrap>p:nth-child(3) {
        margin-top: 30px;
    }

    .staff_text_wrap .staff span {
        font-size: 12px;
        font-weight: 500;
        padding-left: 10px;
    }
}

.subpage-content.access {
    background-color: #ffffff;
    /* デフォルト：白 */
}

.subpage-content.access.has-client {
    background-color: #F9F7F2;
    /* 主なお取引先がある場合は色あり */
}

.subpage-content.access h2 {
    margin-top: 0 !important;
}




/* トップページ お知らせ一覧 */
/* .top-news .swell-block-fullWide__inner.l-article {
    border-radius: 8px;
    background: #ffffff;
    padding: 3rem 4rem;
} */

.p-postList__item .p-postList__body {
    display: flex;
    align-items: center;
    width: 100%;
}

.p-postList__item .p-postList__meta {
    display: contents;
}

.p-postList__item .p-postList__times {
    color: #252525;
    width: 10%;
    justify-content: center;
}

.p-postList__item .p-postList__cat {
    display: inline-block;
    width: 120px;
    padding: 4px 8px;
    text-align: center;
    white-space: nowrap;
    /* 折り返さない */
    box-sizing: border-box;
}

.p-postList__item .p-postList__title {
    width: 80%;
    font-weight: 500;
}

.post_content h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 100%;
    height: 1.3px;
    background: linear-gradient(90deg, #9a7b2f 0%, #b1903a 20%, #e6c766 40%, #b1903a 60%, #9a7b2f 80%);
}


/* 日付とカテゴリーのアイコン非表示 */
.p-postList__item time.c-postTimes__posted.icon-posted::before,
.p-postList__item span.p-postList__cat.icon-folder::before {
    display: none;
}

.p-postList__item .p-postList__cat,
.p-postList__item time.c-postTimes__posted {
    font-size: 14px;
}

.p-postList__item .p-postList__link:hover {
    background-color: #fff;
    color: #a28029;
}

.p-postList__item .p-postList__cat {
    color: #a28029;
    border: 1px solid #a28029;
    background-color: #fff;
    margin-right: 20px;
    opacity: 1;
}

.-type-simple .p-postList__link {
    transition: .1s linear;
}

/* 詳細ページ 見出し下のカテゴリー非表示 */
.p-articleFoot {
    display: none;
}

/* 詳細ページ 見出し下のカテゴリー */
.p-articleMetas .c-categoryList::before {
    display: none;
}

.p-articleMetas .c-categoryList a {
    font-size: 13px;
    color: #a28029;
    border: 1px solid #a28029;
    background-color: #fff;
}

.c-tabList {
    justify-content: flex-start;
}

.is-style-balloon>.c-tabList .c-tabList__button:hover,
.is-style-balloon>.c-tabList .c-tabList__button[aria-selected=true] {
    background-color: #a28029;
}

.is-style-balloon>.c-tabList .c-tabList__button:before {
    border-top: 8px solid #3e8ac1;
}

@media (max-width: 959px) {
    .top-news .ttl-jp {
        text-align: center;
    }

    .p-postList__item .p-postList__body {
        flex-direction: column;
    }

    .p-postList__item .p-postList__meta {
        display: flex;
        width: 100%;
    }

    .p-postList__item .p-postList__times {
        width: 25%;
        justify-content: left;
    }

    .p-postList__item .p-postList__cat {
        width: 36%;
        text-align: center;
        padding: 4px;
    }

    .p-postList__item .p-postList__title {
        width: 100%;
        margin-top: 5px;
    }

    .top-news .swell-block-fullWide__inner.l-article {
        padding: 3rem 0.5rem;
        margin: 0 15px;
    }
}

@media (min-width: 960px) {
    [data-width-pc="25"]>.c-tabList {
        --the-tab-flex_wrap: wrap;
        --the-tab-flex: 0 0 16%;
    }
}



/* Contact */
.contact-area .l-article {
    background-color: rgb(255 255 255 / 90%);
    padding: 50px 50px;
}

.contact-area {
    padding-top: 150px !important;
    z-index: 0;
}

.contact-area .ttl-en {
    text-align: center;
    margin-bottom: 10px;
}

.contact-area .ttl-jp {
    margin-bottom: 30px;
    text-align: center;
}

.contact-area p {
    text-align: center;
}

.contact-area .swell-block-columns__inner {
    justify-content: center;
}

.contact-area .contact-btn a {
    padding: 15px;
    font-weight: bold;
}

.contact-area .l-article a {
    padding: 15px;
}

@media not all and (min-width: 960px) {
    .contact-area {
        padding-top: 80px !important;
    }

    .contact-area .l-article {
        padding: 40px 20px;
        margin: 10px;
    }

    .contact-area .contact-btn {
        --the-width: 80% !important;
    }

    .contact-area .contact-btn a {
        font-size: 16px;
    }

    .contact-area .ttl-en {
        font-size: 50px;
        font-weight: bold;
        line-height: 1;
        top: -40px;
    }

    .contact-area .ttl-jp {
        font-size: 25px;
        font-weight: bold;
        line-height: 1.5;
    }

    .top-content.contact-area .contact-btn.tel-btn {
        margin-bottom: 15px !important;
    }
}

/* フッター */
.w-beforeFooter {
    margin: 0;
}

.l-footer__nav {
    gap: 1em;
    padding: 1em 0 4em;
}

.l-footer__nav a {
    border-right: none;
}

.l-footer__nav li:first-child a {
    border-left: none;
}

.l-footer__nav>li>a {
    font-weight: 700;
    font-size: 14px;
}

.l-footer__nav .sub-menu {
    margin-top: 0.25em;
    display: grid;
    gap: 0.15em;
}

.l-footer__nav .sub-menu>li {
    margin-left: 0.75em;
}

.l-footer__nav .sub-menu>li a {
    padding: 0 0.75em;
    position: relative;
    font-size: 13px;
}

.l-footer__nav .sub-menu>li a::before {
    content: "";
    width: 5px;
    height: 1px;
    background-color: var(--color_footer_text);
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.l-footer a {
    border-bottom: none;
}

.footer-text p {
    font-size: 14px;
}

@media screen and (max-width: 767px) {
    .l-footer__nav {
        gap: 0.5em;
        flex-direction: column;
    }

    .l-footer__nav>li:nth-of-type(n + 2) {
        padding-bottom: 0.5em;
    }

    .l-footer__nav>li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.25);
    }

    .l-footer__nav>li>a {
        font-size: 13px;
    }

    .l-footer__nav .sub-menu {
        margin-top: 0.2em;
        gap: 0.5em;
    }

    .l-footer__nav .sub-menu>li a {
        font-size: 12px;
    }
}




/* 下層ページ */
.subpage-content.service-menu {
    justify-content: space-around;
    padding: 20px 0;
    font-weight: bold;
}

.subpage-content.service-menu .swell-block-linkList__link svg {
    transform: rotate(90deg);
}

.subpage-content.service ul li:not(:last-child) {
    padding-bottom: 5px;
}

.subpage-content.service-02 .price-list {
    width: 80%;
}

@media not all and (min-width: 960px) {
    .subpage-content.service h3 {
        margin-bottom: 20px;
    }

    .subpage-content.service-menu li {
        width: 48% !important;
        padding-bottom: 10px;
    }

    .subpage-content.service-menu li a {
        border-bottom: 1px solid #92a7bd;
    }

    .subpage-content.service-02 .price-list {
        width: 100%;
    }
}


/* リストブロック */
.wp-block-group.has-border.-border02.is-style-bg_grid,
.wp-block-group.is-style-big_icon_good,
.wp-block-group.is-style-big_icon_point {
    background-color: #fff;
}







/* 
=====================================
  お問い合わせページ
=====================================
*/
/* contact form */
.contact_form_wrap {
    margin: auto;
}

.contact_form_inner div {
    display: flex;
    border-top: 1px solid #ebebeb;
}

.contact_form_inner dt,
.contact_form_inner dd {
    padding: 25px 15px;
}

.contact_form_inner dt {
    width: 25%;
}

.contact_form_inner dt p {
    font-weight: bold;
}

.contact_form_inner dd p select,
.contact_form_inner dd p option {
    font-weight: 500;
}

.contact_form_inner .zip-code-wrap {
    display: flex;
    align-items: center;
}

.contact_form_inner dd .wpcf7-list-item:not(:last-child) {
    padding-bottom: 5px;
}

.contact_form_confirmation {
    margin: 70px 0 24px;
    text-align: center;
}

.contact_form_confirmation .wpcf7-list-item-label {
    border-bottom: 2px solid red;
}

.contact_form_btn_send {
    margin: 70px 0 24px;
    padding: 0 15px;
    text-align: center;
}

.contact_form_btn_send input {
    background: #414141;
    color: #fff;
    font-weight: bold;
    width: 140px;
    padding: 10px;
    border: none;
}

.contact_form_btn_send {
    padding: 0 15px;
    text-align: center;
}

.contact_form_btn_send input,
.contact_form_btn_send button {
    background: #414141;
    color: #fff;
    font-weight: bold;
    width: 140px;
    padding: 10px;
    border: none;
    cursor: pointer;
}

.contact_form_btn_send button:hover {
    background: #666;
}

.wpcf7-spinner {
    display: none;
}

.wpcf7 form.sent .wpcf7-response-output {
    border-color: #0d73c0;
    font-size: 20px;
    font-weight: bold;
    padding: 20px;
    text-align: center;
}

.wpcf7 form.invalid .wpcf7-response-output {
    border-color: #e41212;
    font-size: 20px;
    font-weight: bold;
    padding: 20px;
    text-align: center;
    color: #e41212;
}

.wpcf7 form .acceptance-privacy-policy {
    background-color: #efefef;
    padding: 30px;
}

.wpcf7-not-valid-tip {
    color: red;
    font-weight: 500;
}

.contact-recapcha {
    font-size: 13px;
    color: #6e6e6e;
    margin-top: 80px;
}

/* === モーダルの背景（非表示＆中央配置）=== */
#confirm-modal {
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    overflow: auto;
    margin-top: 30px;
    padding: 20px;
    z-index: 99999 !important;
    transform: none !important;
    top: 0;
    left: 0;


}

/* === モーダル本体のボックス === */
.modal-box {
    background: #fff;
    width: 90%;
    max-width: 600px;
    padding: 20px;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    margin: auto;
    max-height: 70vh;
    /* ← モーダル内に収まるよう制限 */
    overflow-y: auto;
    /* ← 内容が長くなったときにスクロール */
}

/* === モーダル見出し === */
.modal-heading {
    background: #0066cc;
    color: #fff;
    padding: 10px;
    margin: -20px -20px 20px;
    font-size: 18px;
}

/* === ボタンエリア中央寄せ＆横並び === */
#confirm-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

/* === ボタン共通スタイル === */
#confirm-buttons button {
    font-size: 16px;
    font-weight: bold;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
    transition: background 0.3s ease, transform 0.2s ease;
}

#back-btn {
    background: #ccc;
    color: #333;
}

#back-btn:hover {
    background: #bbb;
    transform: translateY(-1px);
}

#final-submit-btn {
    background: #0066cc;
    color: #fff;
}

#final-submit-btn:hover {
    background: #005bb5;
    transform: translateY(-1px);
}

.message .inquiry-details {
    width: 100%;
}

@media (max-width: 960px) {
    .contact_form_wrap {
        width: 100%;
    }

    .contact_form_inner div {
        flex-direction: column;
    }

    .contact_form_inner dt {
        width: 100%;
        padding: 15px 0;
    }

    .contact_form_inner dd {
        padding: 0 0 15px;
    }

    .contact_form_inner dd .wpcf7-text {
        width: 100%;
    }

    .contact_form_inner>div:nth-child(6)>dd>p>span>textarea {
        width: 100%;
    }

    .contact_form_inner textarea.message-area {
        width: 100%;
    }

    .wpcf7 form .acceptance-privacy-policy {
        padding: 20px;
        font-size: 14px;
    }

    .wpcf7-list-item {
        font-size: 14px;
    }
}

.grecaptcha-badge {
    visibility: hidden;
}




.subpage-content .ttl-en {
    font-size: 60px;
    background: linear-gradient(#9a7b2f 0%, #b1903a 50%, #e6c766 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
    line-height: 1.3;
    margin-bottom: 10px;
    font-weight: 500;
}

.subpage-content .ttl-jp {
    text-align: center;
    font-size: 25px;
    margin-bottom: 3em !important;
}


@media (max-width: 959px) {
    .subpage-content .ttl-en {
        font-size: 40px;
    }

    .subpage-content .ttl-jp {
        margin-bottom: 2em !important;
    }

}



/* === 会社概要 === */
.company-statement img {
    display: block;
    margin: 0 auto 3em;
    width: 100%;
    max-width: 850px;
}

.company-statement .quill-content p {
    font-size: 25px;
    text-align: center;
}

.company-logo-concept img {
    display: block;
    margin: 0 auto 3em;
    width: 100%;
    max-width: 450px;
}

.company-logo-concept .quill-content p {
    text-align: center;
}

@media (max-width: 959px) {
    .company-statement .quill-content p {
        font-size: 18px;
    }

    .company-logo-concept .quill-content p {
        text-align: left;
    }
}


/* ====== 不動産買取再販事業について ====== */
@media (max-width: 959px) {
    .purchase-resale .ttl-en {
        font-size: 26px;
    }
}

.subpage-content.process img {
    width: auto;
    max-height: 140px;
}

@media (max-width: 959px) {
    .subpage-content.process img {
        width: 100%;
        max-height: none;
    }
}


/* ====== 買取再販の流れ ====== */
:root {
    --flow-bg: #fff;
    --flow-bg-agency: #ffffff;
    --flow-text: #333;
    --flow-accent: #a28029;
    /* 矢印と番号の色 */
    --flow-border: #a28029;
}

/* ====== 買取再販の流れ（矢印をボックス右に） ====== */
.flow {
    display: flex;
    flex-wrap: wrap;
    /* 折り返しを許可 */
    align-items: center;
    gap: 14px;
    counter-reset: step;
}

/* 各ステップ */
.flow-step {
    position: relative;
    min-width: 180px;
    padding: 16px 18px 16px 58px;
    background: var(--flow-bg);
    border: 1px solid var(--flow-border);
    border-radius: 12px;
    color: var(--flow-text);
    font-weight: 600;
    white-space: nowrap;
}

/* 数字丸（枠線だけ） */
.flow-step::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid var(--flow-accent);
    background: transparent;
    color: var(--flow-accent);
    font-size: 14px;
    font-weight: 700;
    line-height: 26px;
    text-align: center;
}

/* 矢印を右側に付与 */
.flow-step::after {
    content: "";
    position: absolute;
    right: -18px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    width: 10px;
    height: 10px;
    border-top: 3px solid var(--flow-accent);
    border-right: 3px solid var(--flow-accent);
}

/* 最後のステップは矢印を消す */
.flow-step:last-child::after {
    display: none;
}

/* 仲介会社だけ薄色 */
.flow-step.is-agency {
    background: var(--flow-bg-agency);
    font-weight: bold;
}

/* スマホ：縦並びで矢印を下に変更 */
@media (max-width: 768px) {
    .flow {
        flex-direction: column;
        gap: 10px;
    }

    .flow-step::after {
        right: 50%;
        top: auto;
        bottom: -18px;
        transform: translateX(50%) rotate(135deg);
    }
}



/* ====== トップページの英語見出しアニメーション ====== */
/* 初期：右側を隠しておく（アニメは未再生） */
.top-content .ttl-en {
    /* display や text-align は触らない → 既存レイアウトのまま */
    clip-path: inset(0 100% 0 0);
    will-change: clip-path;
}

/* セクションが表示されたら .is-in が .top-content に付く → 子の .ttl-en を再生 */
.top-content.is-in .ttl-en {
    animation: ttlReveal 1.8s linear forwards;
}

/* 左→右に“その場で”見えていく */
@keyframes ttlReveal {
    to {
        clip-path: inset(0 0 0 0);
    }
}

/* アニメを好まないユーザー配慮 */
@media (prefers-reduced-motion: reduce) {

    .top-content .ttl-en,
    .top-content.is-in .ttl-en {
        animation: none !important;
        clip-path: inset(0 0 0 0);
    }
}



/* ====== プライバシーポリシー ====== */
.privacy-policy h3 {
    margin-bottom: 1.3em;
}

.privacy-policy h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 100%;
    height: 1.3px;
    background: linear-gradient(90deg, #9a7b2f 0%, #b1903a 20%, #e6c766 40%, #b1903a 60%, #9a7b2f 80%);
}