@charset "utf-8";

html {
    scroll-padding-top: 80px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: "Noto Sans JP", sans-serif;
    color: #333333;
    overflow-x: hidden;
    font-weight: 400;
}

/* コンテンツ幅 */
.inner {
    width: 90%;
    max-width: 1199px;
    margin: 0 auto;
}

/* 横並び */
.flex-box {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

a {
    text-decoration: none;
}

p {
    font-size: 16px;
    line-height: 32px;
    font-weight: 500;
}

.bold {
    font-weight: 700;
}

.medium {
    font-weight: 500;
}

h2 {
    font-size: 36px;
    font-weight: 700;
    color: #002266;
    margin-bottom: 20px;
}

.h2__24 {
    font-size: 24px;
    font-weight: 500;
    color: #002266;
    margin-bottom: 40px;
}

.h2-sub {
    font-size: 20px;
    font-weight: 700;
    color: #BF343F;
    line-height: 1.5;
}

.center {
    text-align: center;
}

/* ボタン */
.btn-gray {
    position: relative;
    font-size: 24px;
    font-weight: 500;
    color: #002266;
    background-color: #F2F2F2;
    border: #002266 solid 1px;
    border-left: 6px solid #002266;
    width: 388px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: color 0.3s ease, border-color 0.3s ease;
    margin: 0 auto;
}

.btn-gray::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: #FDA61A;
    z-index: 0;
    transition: width 0.5s ease;
}

.btn-gray:hover::before {
    width: 100%;
}

.btn-gray span {
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

.btn-gray:hover span {
    color: #fff;
}

.btn-gray:hover {
    border-color: #FDA61A;
    border-left: 6px solid #FDA61A;
    color: #fff;
}

.btn-gray::after {
    content: "〉";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 10px;
}


/*------------- ヘッダー --------------*/

.header {
    background-color: #002266;
    position: fixed;
    left: 0;
    width: 100%;
    z-index: 100000;
    overflow: visible;
    top: -100px;
    transition: top 0.4s ease;
}

.header.show {
    top: 0;
}

.header-inner {
    padding-left: 20px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* ロゴ */
.header-logo__link {
    display: block;
    width: 573px;
    height: 34.6px;
    background: url('../img/logo.svg') no-repeat center center;
    background-size: contain;
    text-decoration: none;
    position: relative;
}

.header-logo__link .logo-text {
    position: absolute;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    white-space: nowrap;
}

/* PCグロナビ */
.global-nav {
    display: flex;
    column-gap: 10vw;
}

.global-nav__ul {
    display: flex;
    align-items: center;
    gap: 30px;
}

.global-nav__icon {
    display: flex;
}

.nav-li {
    font-size: 18px;
    font-weight: 500;
    line-height: 21px;
    text-align: center;
}

.nav-li a {
    color: #fff;
}

.nav-li a:hover {
    color: #FDA61A;
}

/* アイコンリンク */
.global-nav__icon li a img {
    width: 85px;
    height: 80px;
}

.global-nav__line img,
.global-nav__contact img {
    transition: 0.5s;
}

.global-nav__line:hover img {
    content: url('../img/icon-line__hover.svg');
}

.global-nav__contact:hover img {
    content: url('../img/icon-contact__hover.svg');
}

/* ハンバーガー非表示 */
.mobile-navv__icon {
    display: none;
}

/* モバイルナビ（初期非表示） */
.mobile-nav {
    display: none;
}

.global-nav__large {
    width: 126px;
    height: 116px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.global-nav__large a {
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    padding-top: 10px;
}

.global-nav__link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #333;
    gap: 6px;
}

.global-nav__link span {
    font-size: 17px;
    font-weight: 700;
}

.global-nav__large__contact {
    background-color: #8DFF50;
    border-bottom: 4px solid transparent;
    transition: border-bottom 0.3s ease;
}

.global-nav__large__contact:hover {
    border-bottom: 4px solid #1C5845;
}

.global-nav__large__tel {
    background-color: #1C5845;
    border-bottom: 4px solid transparent;
    transition: border-bottom 0.3s ease;
}

.global-nav__large__tel:hover {
    border-bottom: 4px solid #8DFF50;
}

.global-nav__large__tel a {
    color: #fff;
}


/*------------- アクセス --------------*/
.access {
    padding: 120px 0 125px 0;
    position: relative;
}

.access .inner {
    align-items: flex-start;
    justify-content: flex-start;
    column-gap: 60px;
}

.access iframe {
    width: 650px;
    height: 450px;
}

.access-text {
    width: fit-content;
}

.access-dl dt {
    font-size: 18px;
    font-weight: 500;
    color: #002266;
    margin-bottom: 5px;
}

.access-dl dd {
    line-height: 24px;
    margin-bottom: 20px;
}

.access-dl dd:last-child {
    margin-bottom: 0;
}

.access-dl dd a {
    color: #222222;
}


/*------------- フッター --------------*/

.footer {
    background-color: #FCF9F6;
    width: 100%;
}

.footer .inner {
    padding: 35px 0 30px 0;
}

.footer-logo {
    width: 290px;
    height: auto;
}

.footer-address {
    font-size: 16px;
    color: #002266;
    margin-top: 3px;
}

/* フッターナビ */
.footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.footer-nav div {
    margin-right: 25px;
}

.footer-nav div:last-child {
    margin-right: 0;
}

.footer-nav li {
    margin-bottom: 10px;
}

.footer-nav li a {
    font-size: 16px;
    font-weight: 500;
    color: #002266;
}

.footer-nav li a:hover {
    color: #FDA61A;
}

/* SNSリンク */
.footer-sns {
    display: flex;
    align-items: center;
}

.footer-sns__facebook img,
.footer-sns__instagram img,
.footer-sns__youtube {
    transition: 0.3s;
}

.footer-sns a {
    margin-right: 10px;
}

.footer-sns a:last-child {
    margin-right: 0;
}

.footer-sns__facebook:hover img {
    content: url('../img/icon-facebook__blue.svg');
}

.footer-sns__instagram:hover img {
    content: url('../img/icon-instagram__orange.svg');
}

.footer-sns__youtube:hover img {
    content: url('../img/icon-youtube__red.svg');
}

.footer-copy {
    font-size: 16px;
    font-weight: 500;
    color: #fff;
    background-color: #222222;
    width: 100%;
    padding: 5px 0;
    text-align: center;
}

/* バナー */
.footer-banner {
    margin-top: 20px;
    display: flex;
    column-gap: 10px;
}

.footer-banner a {
    display: block;
}

.footer-link__hikiya img {
    width: 108px;
    height: auto;
}

.footer-link__tochigi img {
    width: 228px;
    height: auto;
}

/* 簡単お見積り */
.float-btn__quotation a {
    font-size: 24px;
    font-weight: 500;
    position: fixed;
    bottom: 4%;
    right: 0;
    background-color: #002266;
    writing-mode: vertical-rl;
    text-orientation: upright;
    padding: 28px 12px 22px 12px;
    color: #fff;
    z-index: 9999;
}

.float-btn__quotation a::before {
    content: url(../img/icon-calculator.svg);
    margin-bottom: 10px;
}

.float-btn__quotation a:hover {
    background-color: #FDA61A;
}

/* トップへ戻るボタン */
.float-btn__top a {
    background-color: #002266;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    position: fixed;
    bottom: 8%;
    right: 10%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.float-btn__top a img {
    width: 50%;
    height: auto;
}

.float-btn__top a:hover {
    background-color: #FDA61A;
}

/* 固定ボタン */
.fixed-btn__sp {
    display: none;
}


/*------------- トップ --------------*/

/*---- トップムービー ----*/
.top-movie {
    width: 100%;
    height: auto;
    max-height: 73vh;
    display: block;
    object-fit: cover;
    position: relative;
}

.pattern {
    width: 100%;
    height: 100%;
    background-image: url(../img/overlay.png);
    position: absolute;
    top: 0;
    left: 0;
    z-index: 99;
    pointer-events: none;
    /* パターンがリンクや操作を邪魔しないように追加 */
}

/* ロゴ */
.first-logo {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9998;
    display: flex;
    align-items: center;
    padding: 0 20px;
    height: 80px;
    opacity: 1;
    transition: opacity .25s ease;
}

/* ヘッダーが表示されたらロゴを消す（クリックも無効化） */
.header-visible .first-logo {
    opacity: 0;
    pointer-events: none;
}

/* 下層ページ用ヘッダー調整 */
body:not(.home) .header {
    top: 0;
    opacity: 1;
    transition: none !important;
}

/* 動画連動アニメーション コンテナ */
.mv-animation-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 150;
    pointer-events: none;
    /* 動画上のテキスト等を触れなくして背後の操作を阻害しない */
    overflow: hidden;
}

.mv-animation {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    width: max-content;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    will-change: opacity;
    /* transformのアニメーションがない場合はopacityのみでOK */
}

.mv-animation--hidden {
    opacity: 0;
    visibility: hidden;
}

/* ロゴアニメーション */
.mv-animation--logo img {
    width: clamp(120px, 10.35vw + 81.28px, 280px);
    height: auto;
    display: block;
}

.mv-animation--logo.mv-animation--fade-in {
    animation: logoFadeIn 0.5s ease forwards;
}

.mv-animation--logo.mv-animation--active {
    opacity: 1;
}

.mv-animation--logo.mv-animation--fade-out {
    animation: logoFadeOut 0.5s ease forwards;
}

/* テキストレイアウト調整 */
.mv-animation--text {
    white-space: nowrap;
}

.mv-animation--text1 {
    text-align: right;
    /* left:50%等の指定はtransformで中央配置されているため不要な場合が多いですが、念のためtext-alignのみ残します */
}

.mv-animation--text2 br {
    display: none;
}

.mv-animation--text2 .text2-line1 {
    display: block;
    text-align: left;
}

.mv-animation--text2 .text2-line2 {
    display: block;
    text-align: center;
}

.mv-animation--text2 .text2-line3 {
    display: block;
    text-align: right;
}

.mv-animation--text3 {
    text-align: right;
}

/* テキストスタイル */
.mv-animation--text p {
    font-size: clamp(50px, 7.12vw + 23.30px, 100px);
    font-weight: 400;
    color: #fff;
    line-height: 1.4;
    text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.8), 1px 1px 3px rgba(0, 0, 0, 0.9);
    white-space: normal;
    font-family: "Noto Serif JP", serif;
    letter-spacing: 0.03em;
    font-feature-settings: "palt" 1;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.mv-animation--text2 p {
    font-size: clamp(32px, 5.05vw + 13.07px, 100px);
}

.mv-animation--text3 p {
    font-size: clamp(34px, 6.21vw + 10.70px, 110px);
}

/* テキストアニメーション制御 */
.mv-animation--text.mv-animation--fade-in {
    animation: textFadeIn 0.5s ease forwards;
}

.mv-animation--text.mv-animation--active {
    opacity: 1;
}

.mv-animation--text.mv-animation--fade-out {
    animation: textFadeOut 0.5s ease forwards;
}

/* キーフレーム定義 */
/* ロゴとテキストで動きが同じ（フェードのみ）であれば共通化できます */
@keyframes logoFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes logoFadeOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

@keyframes textFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes textFadeOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

.scroll-down {
    background-image: url(../img/scroll-down.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    width: fit-content;
    height: 84px;
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    display: flex;
    align-items: center;
}

.scroll-down p {
    color: #000000;
}

.top-movie__contact {
    font-weight: 700;
    position: absolute;
    bottom: 6%;
    right: 30px;
    z-index: 100;
}

.top-movie__contact-katamuki {
    font-size: 22px;
    background-color: #002266;
    width: 274px;
    height: 44px;
    border-radius: 22px;
    text-align: center;
    line-height: 43px;
    color: #fff;
    margin: 0 auto 22px auto;
    position: relative;
}

.top-movie__contact-katamuki::after {
    content: "";
    position: absolute;
    bottom: -16px;
    left: 16%;
    transform: translateX(-50%);
    border-width: 17px 14px 0 0px;
    border-style: solid;
    border-color: #002266 transparent transparent transparent;
}

.top-movie__contact a {
    font-size: 28px;
    color: #fff;
    background-color: #ED9200;
    width: 469px;
    height: 90px;
    border-radius: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.top-movie__contact a::before {
    content: "";
    background-image: url(../img/house-katamuki.png);
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    top: -68px;
    left: 0;
    width: 91px;
    height: 89px;
}

.top-movie__contact a:hover {
    background-color: #B57001;
}

.nenkan-soudan {
    position: absolute;
    right: 30px;
    top: 4%;
    z-index: 100;
    width: 200px;
    height: auto;
}


/*---- こんなお悩みありませんか？ ----*/
.top-worries {
    background-color: #EBF2FF;
    padding: 15px 0 40px 0;
}

.top-worries h2 {
    font-size: 50px;
    position: relative;
    width: fit-content;
    margin: 0 auto 20px auto;
    padding: 0 35px;
}

.top-worries h2::before {
    position: absolute;
    content: url(../img/worries-h2__left.svg);
    top: 55%;
    transform: translateY(-50%);
    left: 0;
}

.top-worries h2::after {
    position: absolute;
    content: url(../img/worries-h2__right.svg);
    top: 55%;
    transform: translateY(-50%);
    right: 0;
}

.worries-item p {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
    background-color: #fff;
    border-radius: 53px;
    position: relative;
    padding: 12px 30px;
    width: fit-content;
    margin-bottom: 16px;
}

.worries-item p::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -15px;
    transform: translateX(-50%);
    border-width: 15px 11px 0 11px;
    border-style: solid;
    border-color: #fff transparent transparent transparent;
}

.worries-item p span {
    color: #BF343F;
}

.worries-item {
    width: fit-content;
}

.worries-item img {
    display: block;
    margin: 0 auto;
}

.worries-container__1 {
    display: flex;
    justify-content: center;
    column-gap: 25px;
    margin-bottom: 30px;
}

.worries-container__2 {
    display: flex;
    justify-content: center;
    column-gap: 50px;
}

.down-arrow {
    display: block;
    margin: 10px auto 20px auto;
}

/* ショート動画 */
.worries-youtube h3 {
    font-size: 25px;
    font-weight: 700;
    color: #002266;
    margin-bottom: 15px;
}

.worries-youtube a {
    width: fit-content;
    display: block;
    margin: 0 auto;
}

.worries-youtube p {
    line-height: 24px;
    margin-top: 25px;
}

.top-future {
    background-color: #EBF2FF;
    padding: 50px 0 80px 0;
    position: relative;
}


/*---- 私たちにお任せください！ ----*/
.top-omakase {
    background-color: #F2F2F2;
    padding: 70px 0 80px 0;

    background-image: url(../img/omakase-back.png);
    background-position: right bottom;
    background-repeat: no-repeat;
    background-size: auto 100%;
}

.top-omakase p {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.7;
}

.top-omakase p span {
    color: #BF343F;
}


/*---- スライダー ----*/
.slider {
    width: 100%;
    overflow: hidden;
}

.slider-track {
    display: flex;
    white-space: nowrap;
}

.slider-track img {
    width: 448px;
    height: 280px;
    flex-shrink: 0;
}

/*---- STRENGTH ----*/
.top-strength {
    padding: 95px 0;
    position: relative;
}

.strength-container {
    align-items: flex-start;
    margin-bottom: 30px;
}

.strength-text {
    width: 60%;
}

.strength-container img {
    width: 30%;
    height: auto;
    box-shadow: 13px 13px 0 #EBF2FF;
}

/*---- お客様の声 ----*/
.top-voice {
    background-color: #EBF2FF;
    padding: 85px 0 120px 0;
    position: relative;
}

.top-voice p {
    text-align: center;
}

/* ul */
.top-voice__list {
    display: flex;
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 30px 0;
    flex-wrap: wrap;
    justify-content: center;
}

.top-voice__list .no-posts {
    width: 100%;
    text-align: center;
    font-size: 18px;
    font-weight: 500;
    color: #002266;
    padding: 40px 0;
}

.top-voice__item {
    width: 23%;
    text-align: center;
}

.top-voice__item a {
    display: block;
}

.top-voice__item img {
    width: 100%;
    aspect-ratio: 1.21 / 1;
    object-fit: cover;
    object-position: center;
    display: block;
    margin: 0 auto 10px;
}

.top-voice__item a:hover img {
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.top-voice__title {
    font-size: 16px;
    font-weight: 500;
    color: #222222;
    margin: 0;
}

/*---- 安心の解決事例紹介 ----*/
.top-cases {
    padding: 85px 0 120px 0;
    position: relative;
}

.top-cases p {
    text-align: center;
}

/* ul */
.top-works__list {
    display: flex;
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 30px 0;
    justify-content: center;
    flex-wrap: wrap;
}

.top-works__list .no-posts {
    width: 100%;
    text-align: center;
    font-size: 18px;
    font-weight: 500;
    color: #002266;
    padding: 40px 0;
}

.top-works__item {
    width: 23%;
    text-align: center;
}

.top-works__item a {
    display: block;
}

/* 画像を比率1.21:1でトリミング表示 */
.top-works__item img {
    width: 100%;
    aspect-ratio: 1.21 / 1;
    object-fit: cover;
    object-position: center;
    display: block;
    margin: 0 auto 10px;
}

.top-works__item a:hover img {
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.top-works__title {
    font-size: 16px;
    font-weight: 500;
    color: #222222;
    margin: 0;
}

/* お知らせ */
.top-news {
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    margin: 130px auto 0 auto;
}

.top-news h2 {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 0;
}

.top-news h2 {
    display: inline-block;
    vertical-align: middle;
    padding: 0 50px;
}

.top-news .divider {
    display: inline-block;
    width: 1px;
    height: 120px;
    background-color: #002266;
    vertical-align: middle;
    margin-right: 10px;
}

/* ul */
.news-list {
    display: inline-block;
    vertical-align: middle;
    margin-left: 15px;
}

.news-list__sp {
    display: none;
}

.news-list li {
    margin-bottom: 15px;
    display: flex;
    column-gap: 20px;
}

.news-list li:last-child {
    margin-bottom: 0;
}

.news-date {
    font-size: 18px;
}

/* NEW */
.new-mark {
    font-size: 16px;
    font-weight: 500;
    color: #fff;
    width: 78px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #BF343F;
}

.new-mark:empty {
    background-color: transparent;
}

.news-title {
    font-size: 16px;
    font-weight: 500;
    color: #222222;
}

.news-title:hover {
    color: #002266;
}

/* 一覧へ */
.news-btn a {
    display: flex;
    align-items: center;
    column-gap: 10px;
    color: #002266;
    font-size: 18px;
    font-weight: 500;
    text-decoration: none;
    margin-top: 90px;
    margin-left: 100px;
    transition: color 0.3s;
}

.news-btn a img {
    margin-top: 3px;
    transition: opacity 0.3s;
}

.news-btn a:hover {
    color: #FDA61A;
}

.news-btn a:hover img {
    content: url('../img/to-list__triangle__hover.svg');
}


/*---- ご相談から安心できるサービス ----*/
.top-service {
    padding: 105px 0 125px 0;
    position: relative;
    background: url(../img/top-service__back.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.top-service .h2-sub {
    background-color: #fff;
    width: fit-content;
    padding: 2px 20px;
    margin-bottom: 15px;
}

.service-container {
    align-items: flex-start;
}

.service-text {
    width: 60%;
    color: #fff;
}

.top-service h2 {
    color: #fff;
}

.service-container img {
    width: 30%;
    box-shadow: 13px 13px 0 #fff;
}

/* リンク */
.service-link a {
    display: block;
    width: 24.5%;
    margin: 75px auto 60px auto;
}

.service-link {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.service-link a img {
    width: 100%;
    height: auto;
    transition: opacity 0.3s ease;
}

.service-link__under:hover img {
    content: url("../img/service-link__under__hover.jpg");
}

.service-link__press:hover img {
    content: url("../img/service-link__press__hover.jpg");
}

.service-link__yakueki:hover img {
    content: url("../img/service-link__yakueki__hover.jpg");
}

.service-link__foundation:hover img {
    content: url("../img/service-link__foundation__hover.jpg");
}

/*---- はじめての方へ。安心のための第一歩を。 ----*/
.top-guest {
    padding: 125px 0 120px 0;
    position: relative;
    background: url(../img/top-guest__back.png);
    background-position: right bottom;
    background-repeat: no-repeat;
    background-size: auto 100%;
}

.guest-container {
    align-items: center;
    margin-top: 60px;
}

.guest-container p {
    width: 56%;
}

.guest-container a {
    margin-bottom: 20px;
}

.guest-container a:last-child {
    margin-bottom: 0;
}


/*---- 小さな不安も、まずはお気軽にご相談ください。 ----*/
.top-contact {
    background: url(../img/top-contact-back.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 120px 0 150px 0;
    position: relative;
}

.top-contact h2,
.top-contact p {
    color: #fff;
}

.top-contact__text {
    text-align: center;
    position: relative;
    width: fit-content;
    margin: 0 auto;
}

.top-contact__text::after {
    position: absolute;
    content: "";
    background: url(../img/house-katamuki.png);
    width: 91px;
    height: 89px;
    background-size: contain;
    top: -5px;
    right: -95px;
}

.top-contact__text span {
    font-size: 25px;
    font-weight: 700;
}

/* リンク */
.contact-link a {
    display: block;
    width: 32%;
    margin: 60px auto 0 auto;
}

.contact-link {
    display: flex;
    justify-content: space-between;
}

.contact-link a img {
    width: 100%;
    height: auto;
    transition: opacity 0.3s ease;
}

.contact-link__form:hover img {
    content: url("../img/contact-link__form__hover.jpg");
}

.contact-link__tel:hover img {
    content: url("../img/contact-link__tel__hover.jpg");
}

.contact-link__line:hover img {
    content: url("../img/contact-link__line__hover.jpg");
}

.contact-link__sp {
    display: none;
}


/*------------- 下層ヘッダー --------------*/
.lower-header {
    width: 100%;
    height: 254px;
    color: #fff;
    margin-top: 80px;
}

/* 背景画像 */
.wrapper-reason .lower-header {
    background: url(../img/lower-header__reason.jpg) no-repeat center / cover;
}

.wrapper-service .lower-header {
    background: url(../img/lower-header__service.jpg) no-repeat center / cover;
}

.wrapper-flow .lower-header {
    background: url(../img/lower-header__flow.jpg) no-repeat center / cover;
}

.wrapper-fqq .lower-header {
    background: url(../img/lower-header__faq.jpg) no-repeat center / cover;
}

.wrapper-contact .lower-header {
    background: url(../img/lower-header__contact.jpg) no-repeat center / cover;
}

.wrapper-policy .lower-header {
    background: url(../img/lower-header__policy.jpg) no-repeat center / cover;
}

.wrapper-single__works .lower-header,
.wrapper-works .lower-header {
    background: url(../img/lower-header__works.jpg) no-repeat center / cover;
}

.wrapper-single__voice .lower-header,
.wrapper-voice .lower-header {
    background: url(../img/lower-header__voice.jpg) no-repeat center / cover;
}

.wrapper-single__news .lower-header,
.wrapper-news .lower-header {
    background: url(../img/lower-header__news.jpg) no-repeat center / cover;
}

.lower-header__note {
    font-size: 13px;
    text-align: right;
    padding: 15px 8px 0 0;
}

.lower-header__title {
    font-size: 42px;
    font-weight: 500;
    margin-top: 40px;
}

/* パンくず */
.breadcrumb {
    font-size: 16px;
    font-weight: 300;
}

.breadcrumb__list {
    list-style: none;
    display: flex;
    gap: 3px;
    align-items: center;
    margin-top: 10px;
}

.breadcrumb__item {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

.breadcrumb__item+.breadcrumb__item::before {
    content: "〉";
    margin: 0 8px;
    color: #191A1A;
    font-size: 16px;
    font-weight: 500;
}

.breadcrumb__item a {
    color: #222222;
}

.lower-mv img {
    width: 100%;
    height: auto;
    margin: 40px auto 0 auto;
}


/*------------- 投稿一覧ページ --------------*/

.post-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    column-gap: 1.333%;
    row-gap: 25px;
}

.post-list__item {
    width: 32%;
    transition: transform 0.3s;
}

.post-list__title {
    font-size: 16px;
    font-weight: 500;
    color: #222222;
    margin-top: 10px;
    margin-bottom: 0;
}

.post-list__date {
    font-size: 14px;
    font-weight: 500;
    color: #222222;
}

.post-list__thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 1.37 / 1;
    overflow: hidden;
}

.post-list__thumb img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
}

/* ホバー */
.post-list__item:hover .post-list__thumb img {
    opacity: 0.7;
}

.post-list__item:hover .post-list__title {
    color: #002266;
}

/* ページネーション */
.pagination {
    text-align: center;
    margin: 40px 0;
}

.pagination ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: inline-flex;
    gap: 10px;
}

.pagination li {
    display: inline-block;
}

.pagination a,
.pagination span {
    display: inline-block;
    font-size: 18px;
    font-weight: 500;
    border: 1px solid #002266;
    text-decoration: none;
    color: #002266;
    text-align: center;
    border-radius: 10px;
    transition: background-color 0.3s;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pagination a:hover {
    background-color: #FDA61A;
    color: #002266;
}

.pagination .current {
    background-color: #002266;
    color: #fff;
    pointer-events: none;
    /* 現在ページはクリック不可 */
}

/* 投稿がないときの中央寄せ */
.post-list__no {
    width: 100%;
    text-align: center;
    padding: 40px 0;
    font-size: 20px;
    font-weight: 500;
    color: #002266;
}

/* お知らせ、お客様の声 */
.wrapper-news main,
.wrapper-voice main {
    margin-top: 150px;
}

.wrapper-news .post-list__title,
.wrapper-voice .post-list__title {
    margin-top: 0;
}

/* 施行事例 */
.wrapper-works main .inner {
    display: flex;
    justify-content: space-between;
    column-gap: 10px;
}

.post-list {
    width: 100%;
    margin-top: 55px;
}

/* 人気記事 */
.popular-works h2 {
    font-size: 24px;
    font-weight: 500;
}

.popular-works__ul {
    border-top: 1px solid #707070;
    border-bottom: 1px solid #707070;
    width: 274px;
}

.popular-works__ul li a {
    color: #222222;
}

.popular-works__ul li {
    border-bottom: 1px solid #707070;
    padding: 15px 0 18px 0;
}

.popular-works__ul li:last-child {
    border-bottom: none;
}

.popular-works__ul li a:hover {
    color: #002266;
}

/* 月を選択 */
.works-archive-month {
    margin-top: 30px;
}

.works-archive-month h2 {
    font-size: 24px;
    font-weight: 500;
}

.custom-select-wrapper {
    position: relative;
    width: 274px;
}

.custom-select-wrapper select {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid #707070;
    border-radius: 5px;
    font-size: 16px;
    color: #222222;
    background-color: #fff;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    cursor: pointer;
}

.custom-select-wrapper .custom-arrow {
    position: absolute;
    top: 50%;
    right: 15px;
    width: 16.3px;
    height: 6.27px;
    background-image: url('../img/icon-archive_month.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transform: translateY(-50%);
    pointer-events: none;
}

/* カテゴリボタン */
.works-category-buttons {
    margin: 100px 0 60px 0;
}

.works-category-buttons .inner {
    display: flex;
    column-gap: 20px;
}

.works-category-buttons a {
    display: inline-block;
    width: 145px;
    padding: 8px 0;
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    color: #002266;
    border: 1px solid #002266;
    border-radius: 10px;
    transition: all 0.3s ease;
    display: block;
}

.works-category-buttons a:hover,
.works-category-buttons a.active {
    background-color: #002266;
    color: #fff;
}


/*------------- 投稿記事ページ --------------*/

.inner-single {
    width: 90%;
    max-width: 997px;
    margin: 0 auto;
}

.single-main {
    margin: 30px auto 80px auto;
}

.single-blog__title {
    font-size: 24px;
    font-weight: 700;
    color: #002266;
    border-bottom: #222222 1px solid;
    width: 100%;
    padding-bottom: 10px;
    line-height: 1.5;
}

.post-meta {
    font-size: 14px;
    line-height: 1;
    margin: 10px 0 50px 0;
    font-family: "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro", "Noto Sans JP", sans-serif;
}

/* アイキャッチ */
.post-thumbnail {
    text-align: center;
    margin-bottom: 60px;
}

.post-thumbnail img {
    max-width: 795px;
    height: auto;
    display: inline-block;
}

.single-content h2,
.single-content h3,
.single-content h4,
.single-content h5 {
    font-weight: 800 !important;
    color: #002266;
    line-height: 1.5;
}

.single-content h2 {
    font-size: 27px;
    margin: 30px 0 20px 0;
}

.single-content h3 {
    font-size: 23px;
    margin: 25px 0 20px 0;
}

.single-content h4 {
    font-size: 20px;
    margin: 20px 0 15px 0;
}

.single-content ul li {
    line-height: 30px;
}

.single-content .wp-block-image {
    margin-top: 1em;
    margin-bottom: 1em;
}

/* ボタン */
.single-content .wp-block-button__link {
    background-color: #f3981d;
    border-radius: 10px;
    margin: 20px auto 25px auto;
    font-size: 1.5em;
}

/* 記事の筆者 */
.single-profile__inner {
    width: 900px;
    margin: 0 auto;
}

.single-profile h2 {
    font-size: 21px;
    font-weight: 700;
    color: #002266;
}

.single-profile__container {
    border: 1px solid #707070;
    padding: 20px 24px;
    box-sizing: border-box;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin: 0 auto;
}

.single-profile__container img {
    width: 28%;
    height: auto;
}

.single-profile__name {
    font-size: 18px;
    font-weight: 700;
    color: #002266;
    border-bottom: 1px solid #707070;
    width: 100%;
    padding-bottom: 10px;
    margin-bottom: 10px;
}

.single-profile__text {
    width: 68%;
}

/* 一覧に戻る */
.single-back {
    font-size: 21px;
    font-weight: 500;
    color: #002266;
    display: block;
    width: fit-content;
    margin: 50px auto 0 auto;
}

.single-back:hover {
    color: #FDA61A;
}

/* 関連記事 */
.single-related {
    margin: 120px auto 125px auto;
}

.related-posts {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3.33%;
}

.related-post {
    width: 30%;
    box-sizing: border-box;
}

.related-post__image-wrapper {
    width: 100%;
    position: relative;
    padding-top: calc(100% / 1.37);
    overflow: hidden;
    margin-bottom: 7px;
}

.related-post__image-wrapper img.related-post__thumbnail {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    max-width: 100%;
    max-height: 100%;
}

.related-post__date {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 5px;
    color: #222222;
}

.related-post__title {
    font-size: 16px;
    font-weight: 500;
    color: #222222;
}

/* ホバー時 */
.related-post:hover .related-post__image-wrapper img {
    opacity: 0.7;
}

.related-post:hover .related-post__title,
.related-post:hover .related-post__date {
    color: #002266;
}


/*------------- 選ばれる理由 --------------*/
.five-promises {
    padding: 45px 0 95px 0;
}

/* リンク */
.five-promises-links {
    display: flex;
    justify-content: space-between;
    width: 80%;
    max-width: 820px;
    margin: 30px auto 0 auto;
}

.five-promises-links a {
    display: block;
    width: 19%;
}

.five-promises-links a img {
    transition: 0.5s ease;
    width: 100%;
    height: auto;
}

.link-community:hover img {
    content: url("../img/link-community__hover.png");
}

.link-price:hover img {
    content: url("../img/link-price__hover.png");
}

.link-polite:hover img {
    content: url("../img/link-polite__hover.png");
}

.link-technology:hover img {
    content: url("../img/link-technology__hover.png");
}

.link-guarantee:hover img {
    content: url("../img/link-guarantee__hover.png");
}

/*---- 5つのお約束 ----*/
.five-promises-text {
    text-align: center;
    margin-top: 80px;
}

/*---- 地域密着 ----*/
.community {
    background-color: #EBF2FF;
    padding: 120px 0 125px 0;
}

.area-container {
    position: relative;
}

.area-container::before {
    content: "";
    position: absolute;
    z-index: 1;
    bottom: -15%;
    right: 0;
    width: 19vw;
    height: 21.5vw;
    background: url(../img/community-map.png) no-repeat center/contain;
}

.community-container {
    align-items: center;
}

.community-text {
    width: 51%;
}

.community-container img {
    width: 35%;
    height: auto;
}

/* 対応エリア */
.community h3 {
    font-size: 24px;
    line-height: 1;
    font-weight: 500;
    background-color: #002266;
    color: #fff;
    width: 160px;
    text-align: center;
    padding: 10px 0;
}

/* アコーディオン */
.service-area__dl {
    width: 995px;
    margin: 30px 0 20px 0;
}

.service-area__dl dt {
    font-size: 21px;
    font-weight: 500;
    cursor: pointer;
    color: #002266;
    margin-bottom: 10px;
    width: fit-content;
}

.service-area__dl dd {
    font-size: 16px;
    line-height: 32px;
    border-top: none;
    display: none;
    margin-bottom: 20px;
}

/* セクション */
.reason-section {
    padding: 120px 0 125px 0;
}

.reason-container {
    align-items: center;
}

.reason-container img {
    width: 40%;
    height: auto;
}

.reason-container-img__sp {
    display: none;
}

.reason-text {
    width: 48%;
}

.polite,
.guarantee {
    background-color: #EBF2FF;
}

/* 工事後もずっと安心。10年間の品質保証とアフターフォロー */
.guarantee .reason-text {
    width: 58%;
}

.guarantee .reason-container {
    margin-bottom: 20px;
}

.guarantee-dl {
    background-color: #fff;
    padding: 15px 30px 17px 20px;
    margin-top: 12px;
}

.guarantee-dl dt {
    font-size: 18px;
    font-weight: 500;
    color: #002266;
    margin-bottom: 10px;
}

.guarantee-dl dd {
    margin-bottom: 10px;
    position: relative;
    padding-left: 18px;
}

.guarantee-dl dd::before {
    content: "●";
    position: absolute;
    top: 0;
    left: 0;
}

.guarantee-dl dd:last-child {
    margin-bottom: 0;
}

.hover-img img {
    display: block;
    transition: opacity 0.3s ease;
}

/* 会社概要リンク */
.btn-company {
    display: block;
    width: 600px;
    margin: 40px auto 0 auto;
}

.btn-company img {
    width: 100%;
    height: auto;
}

.btn-company:hover img {
    content: url('../img/btn-company__hover.jpg');
}


/*------------- サービス・料金案内 --------------*/
.wrapper-service h2 {
    margin-bottom: 60px;
}

.professional-request {
    margin: 65px auto 60px auto;
}

.professional-request__container {
    align-items: center;
}

.professional-request__text {
    width: 49%;
}

.professional-request__container img {
    width: 49%;
    height: auto;
}

/* リンク */
.professional-request-links {
    display: flex;
    justify-content: space-between;
    width: 796px;
    margin: 60px auto 0 auto;
}

.professional-request-links a {
    display: block;
    width: 19%;
}

.professional-request-links a img {
    width: 100%;
    height: auto;
}

.link-katamuki:hover img {
    content: url("../img/link-katamuki__hover.png");
}

.link-chinka:hover img {
    content: url("../img/link-chinka__hover.png");
}

.link-jiban:hover img {
    content: url("../img/link-jiban__hover.png");
}

.link-others:hover img {
    content: url("../img/link-others__hover.png");
}

/*---- 家の傾き修正 ----*/
.service-katamuki {
    background-color: #EBF2FF;
    padding: 120px 0 150px 0;
}

.service-katamuki__container {
    align-items: flex-start;
    margin-bottom: 120px;
}

.service-katamuki__container:last-child {
    margin-bottom: 0;
}

.service-katamuki__text {
    width: 49%;
}

.wrapper-service h3 {
    font-size: 24px;
    font-weight: 500;
    color: #002266;
    margin-bottom: 10px;
}

.wrapper-service h3 span {
    font-size: 16px;
    font-weight: 500;
    color: #002266;
    display: block;
}

.service-katamuki__img {
    width: 49%;
    height: 27vw;
    position: relative;
}

.service-katamuki__img img {
    width: 80%;
    height: auto;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.75);
}

.service-katamuki__img__1 {
    position: absolute;
    top: 0;
    left: 0;
}

.service-katamuki__img__2 {
    position: absolute;
    bottom: 0;
    right: 0;
}

.service-katamuki__dl {
    margin-bottom: 30px;
}

.service-katamuki__dl dt {
    font-size: 16px;
    font-weight: 500;
    color: #002266;
    margin-bottom: 5px;
}

.service-katamuki__dl dd {
    font-size: 16px;
    line-height: 1.7;
}

.service-katamuki__dl ol,
.service-katamuki__dl ul {
    margin-top: 5px;
}

.service-katamuki__dl ol li,
.service-katamuki__dl ul li {
    margin-bottom: 5px;
}

.service-katamuki__dl ol li:last-child,
.service-katamuki__dl ul li:last-child {
    margin-bottom: 0;
}

.service-katamuki__dl ul li::before {
    content: "⚫︎";
}

/*---- 沈下修正・地盤改良 ----*/
.service-chinka {
    margin: 125px auto 120px auto;
}

.service-chinka__container {
    align-items: flex-start;
    margin: 30px auto;
}

.service-chinka__text {
    width: 58%;
}

.service-chinka__container img {
    width: 42%;
    height: auto;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.75);
}

.service-chinka__container__dl dt {
    font-size: 16px;
    font-weight: 500;
    color: #002266;
    margin-bottom: 5px;
}

.service-chinka__container__dl dd {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 30px;
}

.service-chinka__container__dl dd:last-child {
    margin-bottom: 0;
}

/* テーブル */
.custom-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 16px;
    text-align: left;
    border: 3px solid #002266;
    margin: 20px auto 30px auto;
}

.custom-table th,
.custom-table td {
    font-size: 16px;
    border: 1px solid #002266;
    padding: 17px 35px;
    vertical-align: middle;
    color: #002266;
    font-weight: 500;
}

.custom-table thead th {
    background-color: #EBF2FF;
    font-weight: bold;
    color: #002266;
    border-bottom: 3px solid #002266;
}

/*---- 地盤調査 ----*/
.service-jiban {
    padding: 120px 0;
    background-color: #EBF2FF;
}

.service-jiban__container {
    align-items: flex-start;
    margin: 30px auto 0 auto;
}

.service-jiban__container h3:nth-child(2) {
    margin-top: 30px;
}

.service-jiban__text {
    width: 58%;
}

.service-jiban__container img {
    width: 42%;
    height: auto;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.75);
}

.service-jiban__example {
    margin: 30px auto;
}

.service-jiban__ul li::before {
    content: "⚫︎";
    position: absolute;
    top: 0;
    left: 0;
}

.service-jiban__ul li {
    margin-bottom: 5px;
    padding-left: 15px;
    position: relative;
}

/*---- その他工事もお気軽にご相談ください! ----*/
.service-others {
    margin: 125px auto;
}

.service-others p {
    width: fit-content;
    margin: 0 auto;
}


/*------------- ご依頼の流れ --------------*/

.flow-introduction {
    margin: 60px auto 120px auto;
}

.flow-introduction__container {
    align-items: center;
}

.flow-introduction__text {
    width: 60%;
}

.flow-introduction__container img {
    width: 35%;
    height: auto;
}

/*---- ご依頼の流れ（フロー） ----*/
.request-flow h2 {
    margin-bottom: 85px;
}

.request-flow__item {
    align-items: flex-start;
    margin-bottom: 80px;
}

.request-flow__text {
    width: 60%;
}

.request-flow__text p span {
    font-weight: 700;
}

.request-flow__item img {
    width: 35%;
    height: auto;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.75);
}

.request-flow__item h3 {
    font-size: 24px;
    font-weight: 500;
    background-color: #002266;
    color: #fff;
    padding: 10px 20px 10px 10px;

    display: inline-block;
    clip-path: polygon(0 0,
            100% 0,
            95% 100%,
            0% 100%);
    width: 80%;
    margin-bottom: 20px;
}

.request-flow__item h3 span {
    border-right: 1px solid #fff;
    padding-right: 10px;
    margin-right: 10px;
}

.flow-summary {
    margin: 120px auto;
}


/*------------- よくあるご質問（FAQ） --------------*/
.faq-introduction {
    margin: 60px auto 120px auto;
}

.faq-introduction__container {
    align-items: center;
}

.faq-introduction__text {
    width: 60%;
}

.faq-introduction__container img {
    width: 35%;
    height: auto;
}

.faq-contents h2 {
    margin-bottom: 50px;
}

/* アコーディオン */
.faq-accordion {
    font-size: 18px;
    color: #002266;
    border: 1px solid #002266;
    border-radius: 15px;
    padding: 20px 25px;
    margin-bottom: 30px;
}

.faq-accordion:last-child {
    margin-bottom: 0;
}

.faq-accordion dt {
    cursor: pointer;
    font-weight: bold;
    position: relative;
    padding-left: 65px;
}

.faq-accordion dt::before {
    content: url(../img/icon-faq__q.svg);
    position: absolute;
    top: 0;
    left: 0;
    padding-right: 12px;
    border-right: 1px solid #002266;
}

.faq-accordion dt::after {
    content: '＋';
    position: absolute;
    right: 16px;
    font-size: 18px;
    transition: transform 0.3s;
}

.faq-accordion.active dt::after {
    content: '×';
}

.faq-accordion dd {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    position: relative;
    border-top: 1px solid #002266;
    opacity: 0;
    transition: max-height 0.3s ease, padding 0.3s ease, opacity 0.3s ease;
    padding-left: 68px;
}

.faq-accordion dd::before {
    content: url(../img/icon-faq__a.svg);
    position: absolute;
    top: 20px;
    left: 0;
}

.faq-accordion.active dd {
    max-height: 200px;
    opacity: 1;
    padding-top: 20px;
    margin-top: 20px;
}

.faq-summary {
    margin: 120px auto;
}


/*------------- お問い合わせ --------------*/
.contact-introduction {
    margin: 40px auto;
}

.contact-item {
    background-color: #EBF2FF;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    padding: 60px 85px;
    box-sizing: border-box;
    height: fit-content;
}

.contact-item__form,
.contact-main__right {
    width: 49%;
}

.contact-main section h2 {
    font-size: 32px;
    text-align: center;
}

/*---- フォームでのご相談 ----*/
.contact-item__form p.medium {
    margin-bottom: 20px;
}

.contact-form-7__wrapper {
    margin: 20px auto 0 auto;
    border-top: 1px solid #707070;
    padding-top: 20px;
}

.note-required {
    color: #BF343F;
}

/* フォーム */
.form-contact dl dt p {
    font-size: 18px;
    font-weight: 500;
    color: #002266;
}

.required {
    color: #BF343F;
    margin-left: 3px;
}

/* チェックボックス */
.form-contact .wpcf7-list-item {
    display: block;
    margin: 0;
    font-size: 16px;
    font-weight: 400;
}

/* dl全体 */
.form-contact dl {
    margin-bottom: 16px;
}

/* dt（項目名） */
.form-contact dt {
    font-weight: 700;
    margin-bottom: 10px;
}

/* テキスト入力・電話・メール・住所など */
.form-contact .form_txt {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #707070;
    border-radius: 5px;
    box-sizing: border-box;
    font-size: 16px;
}

/* テキストエリア */
.form-contact .form_txtarea {
    width: 100%;
    min-height: 150px;
    padding: 10px 15px 12px 15px;
    border: 1px solid #707070;
    border-radius: 5px;
    box-sizing: border-box;
    font-size: 16px;
    resize: vertical;
}

/* チェックボックス縦並び */
.checkbox-vertical span.wpcf7-list-item {
    margin-bottom: 5px;
    color: #222;
}

/* 住所の郵便番号と住所を横並び */
.form-contact dl dd {
    margin: 5px 0;
}

/* 郵便番号と住所を横並びにするラッパーがない場合、ddをflexに */
.form-contact dl dd:first-child {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* 築年数も横並び */
.form-contact .form_txt_building {
    width: 70px;
    margin: 0 8px;
}

/* 郵便番号幅調整 */
.form-contact .form_txt_zip {
    width: 160px;
    margin-left: 8px;
}

/* 住所は残り幅を使用 */
.form-contact .form_txt_address {
    flex: 1;
}

.form-dd_txt p {
    font-size: 21px !important;
    font-weight: 500;
    color: #002266;
}

/* プライバシーポリシー */
.privacy-doi {
    font-size: 18px;
    font-weight: 500;
    width: fit-content;
    margin: 0 auto;
}

.privacy-doi a {
    color: #002266;
    margin-right: 10px;
}

#doi .doi-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 10px;
}

/* 送信ボタン */
.send_btn {
    background-color: #002266;
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    border: none;
    border-radius: 10px;
    width: 217px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    cursor: pointer;
}

.send_btn:hover {
    background-color: #FDA61A;
}

.form-contact__summary {
    font-size: 16px;
}

/*---- お電話でのご相談 ----*/
.contact-item__tel {
    margin-bottom: 15px;
}

.contact-tel__number {
    background-color: #fff;
    border-radius: 10px;
    padding: 20px 20px;
    text-align: center;
    margin-bottom: 10px;
}

.contact-tel__number a {
    font-size: 36px;
    font-weight: 700;
    color: #FDA61A;
    display: flex;
    align-items: center;
    column-gap: 20px;
    line-height: 1;
    justify-content: center;
    margin-bottom: 8px;
}

.contact-tel__number a img {
    margin-top: 5px;
}

/*---- LINEでのご相談 ----*/
.contact-item__line {
    padding: 40px 85px 60px 85px !important;
    margin-bottom: 15px;
}

.contact-item__line .flex-box {
    align-items: flex-start;
}

.contact-line__text {
    width: 58%;
}

.contact-line__text .medium {
    line-height: 28px;
    margin-bottom: 15px;
}

.contact-item__line .flex-box img {
    width: 35%;
    height: auto;
}

/*---- 代表取締役の五月女が責任を持って対応します。 ----*/
.contact-daihyou {
    padding: 40px 85px 60px 85px !important;
}

.contact-daihyou h2 {
    font-size: 24px !important;
}

.contact-daihyou img {
    width: 290px;
    height: auto;
    margin: 0 auto 25px auto;
    display: block;
}

.contact-daihyou__name {
    font-size: 18px;
    font-weight: 500;
}


/*------------- プライバシーポリシー --------------*/
.wrapper-policy main {
    margin: 40px auto 80px auto;
}

.wrapper-policy main h2 {
    margin-bottom: 40px;
}

.privacy-policy__dl {
    margin: 40px auto;
}

.privacy-policy__dl dt {
    font-size: 24px;
    font-weight: 700;
    color: #002266;
    margin-bottom: 10px;
}

.privacy-policy__dl dd {
    font-size: 16px;
    line-height: 32px;
    margin-bottom: 30px;
}

.privacy-policy__dl dd a {
    color: #222222;
}

.privacy-policy__dl dd:last-child {
    margin-bottom: 0;
}

.date-enactment {
    text-align: right;
}


/*------------- サンクスページ --------------*/
.wrapper-thanks main {
    margin-top: 100px;
}

.wrapper-thanks main img {
    display: block;
    width: 346px;
    height: auto;
    margin: 40px auto;
}

.thanks-links {
    margin: 40px auto 110px auto;
}

.thanks-dl {
    display: flex;
    justify-content: space-between;
    text-align: center;
    margin: 45px auto 95px auto;
}

.thanks-dl div {
    width: 32%;
}

.thanks-dl dt {
    font-size: 16px;
    line-height: 21px;
    margin-bottom: 10px;
}

.thanks-dl dd {
    width: 100%;
    height: 100px;
    background-color: #002266;
    font-size: 24px;
    font-weight: 700;
    position: relative;
    transition: background-color 0.3s ease;
}

.thanks-dl dd:hover {
    background-color: #FDA61A;
}

.thanks-dl dd::before {
    content: "";
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 2px solid #fff;
    pointer-events: none;
    box-sizing: border-box;
}

.thanks-dl dd a {
    color: #fff;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.thanks-dl dd a img {
    margin-right: 7px;
}

.btn-blue {
    display: block;
    width: 100%;
    max-width: 590px;
    height: 100px;
    background-color: #002266;
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    position: relative;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin: 0 auto;
}

.btn-blue::before {
    content: "";
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 2px solid #fff;
    pointer-events: none;
    box-sizing: border-box;
}

.btn-blue:hover {
    background-color: #FDA61A;
}


/*------------- 404 --------------*/
.wrapper-404 main {
    margin: 140px auto 160px auto;
}

.wrapper-404 main p {
    margin: 50px auto 70px auto;
}