@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.3
*/


/* ==================================================
   整理メモ
   - 2026-04-28 第2段階整理版
   - 表示崩れがなかった第1段階版をベースに、明確な重複指定を統合
   - 効き順が重要な後追い調整は必要最小限のみ残置
   - !important指定・スマホFVなど、崩れやすい箇所は削除せず保持
================================================== */

/* ==================================================
   目次
   01. 共通初期設定
   02. 上部バー・共通ヘッダー
   03. 施工事例一覧・施工事例詳細
   04. 固定ページ共通
   05. トップページ
   06. 事業案内ページ
   07. 代表についてページ
   08. FAQページ
   09. お問い合わせページ
   10. プライバシーポリシー
   11. フッター調整
   12. 追加調整・上書き指定
================================================== */

/* ==================================================
   共通初期設定
================================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: #1F2933;
    background: #FFFFFF;
    font-family: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Noto Serif JP", serif;
    line-height: 1.8;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}

a {
    color: inherit;
}

button,
input,
textarea,
select {
    font: inherit;
}

.site-main {
    overflow: hidden;
}

/* ==================================================
   02. 上部バー
================================================== */
.top-bar {
  width: 100%;
  background: #f5f5f5;
}

.top-bar-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 5px 10px;
  font-size: 12px;
}

/* ==================================================
   02. 共通ヘッダー
================================================== */

.site-header {
  width: 100%;
  border-bottom: 1px solid #E5E7EB;
  background: #FFFFFF;
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-logo {
  font-size: 19px;
  line-height: 1.5;
  font-weight: 700;
}

.site-logo a {
  color: #0B274A;
  text-decoration: none;
  font-weight: 700;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-nav ul {
  display: flex;
  gap: 15px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.header-nav li {
  padding: 5px 10px;
}

.header-nav li:hover {
  opacity: 0.7;
}

.header-nav a {
  color: #0B274A;
  text-decoration: none;
  font-weight: 600;
}

.header-contact {
  margin-left: 10px;
  text-align: right;
}

.header-contact .tel {
  font-weight: bold;
  color: #0B274A;
  white-space: nowrap;
}

.header-contact .time {
  font-size: 12px;
}

.header-contact-button {
  display: inline-block;
  margin-top: 4px;
  padding: 7px 14px;
  background: #0B274A;
  color: #FFFFFF;
  font-size: 13px;
  line-height: 1;
  text-decoration: none;
  border-radius: 4px;
}

/* 共通ヘッダー：Cocoonデフォルトヘッダー非表示 */
.header-container {
  display: none;
}

/* 共通ヘッダー：スマホ */

@media screen and (max-width: 768px) {
  .site-header {
    padding: 12px 16px;
  }

  .header-inner {
    display: block;
  }

  .site-logo {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 10px;
    white-space: nowrap;
  }

  .header-right {
    display: block;
  }

  .header-nav {
    display: block;
    margin-top: 10px;
  }

  .header-nav ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
    padding: 0;
    margin: 0;
    list-style: none;
  }

  .header-nav li {
    margin: 0;
    padding: 0;
  }

  .header-nav a {
    display: block;
    padding: 7px 6px;
    font-size: 12px;
    line-height: 1.2;
    text-align: center;
    white-space: nowrap;
    border: 1px solid #E5E7EB;
    border-radius: 4px;
    color: #0B274A;
    text-decoration: none;
  }

  .header-contact {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: 0;
    text-align: left;
  }

  .header-contact .tel {
    font-size: 14px;
    line-height: 1.2;
    white-space: nowrap;
  }

  .header-contact .time {
    display: none;
  }

  .header-contact-button {
    display: inline-block;
    margin-top: 0;
    padding: 8px 12px;
    font-size: 13px;
    line-height: 1;
    white-space: nowrap;
  }
}



/* ==================================================
   03. 施工事例一覧
================================================== */
.works-archive {
    max-width: 1120px;
    margin: 0 auto;
    padding: 72px 24px 96px;
    color: #1F2933;
}

.works-archive__header {
    text-align: center;
    margin-bottom: 40px;
}

.works-archive__label {
    margin: 0 0 8px;
    font-size: 13px;
    letter-spacing: 0.12em;
    color: #A87935;
}

.works-archive__title {
    margin: 0 0 16px;
    font-size: 32px;
    line-height: 1.4;
    color: #0B274A;
}

.works-archive__lead {
    margin: 0;
    font-size: 15px;
    line-height: 1.9;
}

.works-archive__category {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 40px;
}

.works-archive__category-link {
    display: inline-block;
    padding: 8px 18px;
    border: 1px solid #D6DADF;
    border-radius: 999px;
    font-size: 14px;
    line-height: 1.4;
    text-decoration: none;
    color: #12345A;
    background: #FFFFFF;
}

.works-archive__category-link.is-current {
    color: #FFFFFF;
    background: #0B274A;
    border-color: #0B274A;
}

.works-card-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.works-card {
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 10px;
    overflow: hidden;
}

.works-card__link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.works-card__image {
    width: 100%;
    aspect-ratio: 4 / 3;
    background: #F7F4EF;
    overflow: hidden;
}

.works-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.works-card__noimage {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    font-size: 13px;
    color: #7B8794;
}

.works-card__body {
    padding: 18px 18px 22px;
}

.works-card__category {
    display: inline-block;
    margin-bottom: 10px;
    padding: 4px 10px;
    font-size: 12px;
    line-height: 1.4;
    color: #A87935;
    background: #F7F4EF;
}

.works-card__title {
    margin: 0;
    font-size: 17px;
    line-height: 1.7;
    color: #0B274A;
}

.works-archive__empty {
    text-align: center;
    font-size: 15px;
}

@media screen and (max-width: 900px) {
    .works-card-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 640px) {
    .works-archive {
        padding: 48px 18px 72px;
    }

    .works-archive__title {
        font-size: 26px;
    }

    .works-card-list {
        grid-template-columns: 1fr;
    }
}

/* 施工事例カード：追加情報 */
.works-card__area {
    margin: 10px 0 0;
    font-size: 13px;
    line-height: 1.6;
    color: #6B7280;
}

.works-card__summary {
    margin: 12px 0 0;
    font-size: 14px;
    line-height: 1.8;
    color: #1F2933;
}

.works-card__meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid #E5E7EB;
}

.works-card__meta-item {
    margin: 0;
    font-size: 13px;
    line-height: 1.6;
    color: #1F2933;
}

.works-card__meta-item span {
    display: block;
    margin-bottom: 2px;
    font-size: 11px;
    letter-spacing: 0.08em;
    color: #A87935;
}

/* ==================================================
   03. 施工事例個別ページ
================================================== */
.works-single {
    max-width: 960px;
    margin: 0 auto;
    padding: 72px 24px 96px;
    color: #1F2933;
}

.works-single__article {
    background: #FFFFFF;
}

.works-single__header {
    margin-bottom: 32px;
    text-align: center;
}

.works-single__category {
    display: inline-block;
    margin-bottom: 14px;
    padding: 5px 12px;
    font-size: 13px;
    line-height: 1.4;
    color: #A87935;
    background: #F7F4EF;
}

.works-single__title {
    margin: 0;
    font-size: 34px;
    line-height: 1.5;
    color: #0B274A;
}

.works-single__meta {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 28px;
    border-top: 1px solid #E5E7EB;
    border-bottom: 1px solid #E5E7EB;
}

.works-single__meta-item {
    margin: 0;
    padding: 16px 12px;
    font-size: 15px;
    line-height: 1.6;
    border-right: 1px solid #E5E7EB;
}

.works-single__meta-item:last-child {
    border-right: none;
}

.works-single__meta-item span {
    display: block;
    margin-bottom: 4px;
    font-size: 12px;
    letter-spacing: 0.08em;
    color: #A87935;
}

.works-single__main-image {
    margin-bottom: 40px;
    background: #F7F4EF;
}

.works-single__main-image img {
    display: block;
    width: 100%;
    height: auto;
}

.works-single__content {
    color: #4b5563;
    font-size: 16px;
    line-height: 1.9;
}

.works-single__content p {
    margin: 0 0 1.4em;
}

.works-single__back {
    margin-top: 56px;
    text-align: center;
}

.works-single__back a {
    display: inline-block;
    padding: 12px 28px;
    color: #FFFFFF;
    background: #0B274A;
    text-decoration: none;
    border-radius: 999px;
    font-size: 14px;
}

@media screen and (max-width: 640px) {
    .works-single {
        padding: 48px 18px 72px;
    }

    .works-single__title {
        font-size: 26px;
    }

    .works-single__meta {
        grid-template-columns: 1fr;
    }

    .works-single__meta-item {
        border-right: none;
        border-bottom: 1px solid #E5E7EB;
    }

    .works-single__meta-item:last-child {
        border-bottom: none;
    }
}

/* ==================================================
   11. 共通フッター
================================================== */
.site-footer {
    background: #0B274A;
    color: #FFFFFF;
}

.site-footer__inner {
    max-width: 1080px;
    margin: 0 auto;
    padding: 28px 20px;
    text-align: center;
}

.site-footer__copy {
    margin: 0;
    font-size: 13px;
    line-height: 1.6;
    letter-spacing: 0.03em;
}

/* ==================================================
   04. 固定ページ共通
================================================== */
.page-common {
    max-width: 960px;
    margin: 0 auto;
    padding: 72px 24px 96px;
    color: #1F2933;
}

.page-common__header {
    margin-bottom: 40px;
    text-align: center;
}

.page-common__label {
    margin: 0 0 8px;
    font-size: 13px;
    letter-spacing: 0.12em;
    color: #A87935;
}

.page-common__title {
    margin: 0;
    font-size: 34px;
    line-height: 1.5;
    color: #0B274A;
}

.page-common__content {
    font-size: 16px;
    line-height: 2;
}

.page-common__content p {
    margin: 0 0 1.6em;
}

.page-common__content h2 {
    margin: 56px 0 20px;
    padding-bottom: 12px;
    font-size: 24px;
    line-height: 1.5;
    color: #0B274A;
    border-bottom: 1px solid #E5E7EB;
}

.page-common__content h3 {
    margin: 40px 0 16px;
    font-size: 20px;
    line-height: 1.5;
    color: #12345A;
}

.page-common__content ul,
.page-common__content ol {
    margin: 0 0 1.6em;
    padding-left: 1.4em;
}

.page-common__content li {
    margin-bottom: 0.4em;
}

@media screen and (max-width: 640px) {
    .page-common {
        padding: 48px 18px 72px;
    }

    .page-common__title {
        font-size: 26px;
    }

    .page-common__content h2 {
        font-size: 21px;
    }

    .page-common__content h3 {
        font-size: 18px;
    }
}

/* ==================================================
   05. トップページ：基本
================================================== */
.front-page {
    color: #1F2933;
    background: #FFFFFF;
}

.front-hero {
    min-height: 560px;
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    color: #0B274A;
}

.front-hero__inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 86px 24px 72px;
}

.front-hero__content {
    max-width: 640px;
}

.front-hero__area {
    display: inline-block;
    margin: 0 0 16px;
    padding: 6px 14px;
    color: #0B274A;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(168, 121, 53, 0.32);
    border-radius: 999px;
    font-size: 13px;
    line-height: 1.5;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.front-hero__title {
    margin: 0;
    font-size: 42px;
    line-height: 1.55;
    letter-spacing: 0.02em;
    color: #0B274A;
}

.front-hero__lead {
    max-width: 560px;
    margin: 24px 0 0;
    font-size: 16px;
    line-height: 2;
    font-weight: 600;
    color: #1F2933;
}

.front-hero__targets {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    margin-top: 28px;
}

.front-hero__target {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    color: #0B274A;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(229, 231, 235, 0.92);
    border-radius: 999px;
    font-size: 15px;
    font-weight: 700;
}

.front-hero__target-icon {
    color: #A87935;
    font-size: 22px;
    line-height: 1;
}

.front-hero__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.front-hero__contact-note {
    margin: 14px 0 0;
    color: #4B5563;
    font-size: 13px;
    line-height: 1.8;
}

.front-button {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 999px;
    font-size: 14px;
    line-height: 1.5;
    text-decoration: none;
}

.front-button--primary {
    color: #FFFFFF;
    background: #A87935;
}

.front-button--secondary {
    color: #0B274A;
    background: #FFFFFF;
    border: 1px solid #D6DADF;
}

.front-button--tel {
    min-width: 220px;
    padding: 10px 26px;
    color: #0B274A;
    background: #FFFFFF;
    border: 1px solid #AAB2BD;
    text-align: center;
}

.front-button--tel span {
    font-size: 15px;
    font-weight: 700;
}

.front-section {
    padding: 80px 24px;
}

.front-section:nth-of-type(even) {
    background: #F7F4EF;
}

.front-section__inner {
    max-width: 1120px;
    margin: 0 auto;
}

.front-section__label {
    margin: 0 0 8px;
    font-size: 13px;
    letter-spacing: 0.12em;
    color: #A87935;
}

.front-section__title {
    margin: 0 0 32px;
    font-size: 30px;
    line-height: 1.5;
    color: #0B274A;
}

.front-section__text {
    max-width: 780px;
    margin: 0;
    font-size: 16px;
    line-height: 2;
}

.front-card-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.front-card {
    padding: 28px 24px;
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 10px;
}

.front-card h3 {
    margin: 0;
    font-size: 19px;
    line-height: 1.6;
    color: #0B274A;
}

.front-card p {
    margin: 12px 0 0;
    font-size: 14px;
    line-height: 1.9;
}

.front-flow__list {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
}

.front-flow__item {
    padding: 24px 18px;
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 10px;
}

.front-flow__item span {
    display: block;
    margin-bottom: 12px;
    font-size: 13px;
    letter-spacing: 0.08em;
    color: #A87935;
}

.front-flow__item h3 {
    margin: 0;
    font-size: 17px;
    line-height: 1.6;
    color: #0B274A;
}

.front-flow__item p {
    margin: 10px 0 0;
    font-size: 13px;
    line-height: 1.8;
    color: #1F2933;
}

.front-cta {
    background: #0B274A;
    color: #FFFFFF;
}

.front-cta__inner {
    max-width: 960px;
    margin: 0 auto;
    padding: 72px 24px;
    text-align: center;
}

.front-cta h2 {
    margin: 0;
    font-size: 28px;
    line-height: 1.6;
    color: #FFFFFF;
}

.front-cta p {
    margin: 18px 0 28px;
    font-size: 15px;
    line-height: 2;
}

@media screen and (min-width: 769px) {
    .front-hero__content,
    .front-hero__title {
        max-width: 760px;
    }
}

@media screen and (max-width: 768px) {
    .front-hero {
        background-image:
            linear-gradient(
                90deg,
                rgba(255,255,255,0.94) 0%,
                rgba(255,255,255,0.82) 44%,
                rgba(255,255,255,0.46) 70%,
                rgba(255,255,255,0.12) 100%
            ),
            url('https://www.tanioka-works.com/wp-content/uploads/2026/05/ChatGPT-Image-2026年4月24日-20_59_01.webp') !important;
        background-size: cover;
        background-position: 58% center;
    }

    .front-hero__content {
        max-width: 100%;
    }

    .front-hero__area {
        margin-bottom: 12px;
        padding: 5px 11px;
        font-size: 11px;
        letter-spacing: 0.02em;
    }

    .front-hero__lead {
        font-size: 14px;
        line-height: 1.85;
        letter-spacing: 0;
    }

    .front-hero__title,
    .front-hero__lead,
    .front-hero__targets {
        text-shadow: 0 1px 3px rgba(255,255,255,0.9);
    }

    .front-hero__targets {
        gap: 8px;
    }

    .front-hero__target {
        padding: 6px 10px;
        font-size: 13px;
    }

    .front-hero__target-icon {
        font-size: 18px;
    }

    .front-hero__contact-note {
        font-size: 12px;
        line-height: 1.7;
    }
}

@media screen and (max-width: 900px) {
    .front-card-list,
    .front-flow__list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 640px) {
    .front-hero__inner {
        padding: 72px 18px;
    }

    .front-hero__title {
        font-size: 28px;
    }

    .front-section {
        padding: 56px 18px;
    }

    .front-section__title {
        font-size: 24px;
    }

    .front-card-list,
    .front-flow__list {
        grid-template-columns: 1fr;
    }

    .front-button {
        width: 100%;
        text-align: center;
    }

    .front-cta__inner {
        padding: 56px 18px;
    }

    .front-cta h2 {
        font-size: 23px;
    }
}

/* トップページ：施工事例カード */
.front-works__list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.front-works-card {
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 10px;
    overflow: hidden;
}

.front-works-card__link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.front-works-card__image {
    width: 100%;
    aspect-ratio: 4 / 3;
    background: #F7F4EF;
    overflow: hidden;
}

.front-works-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.front-works-card__noimage {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    font-size: 13px;
    color: #7B8794;
}

.front-works-card__body {
    padding: 16px 16px 20px;
}

.front-works-card__category {
    display: inline-block;
    margin-bottom: 10px;
    padding: 4px 10px;
    font-size: 12px;
    line-height: 1.4;
    color: #A87935;
    background: #F7F4EF;
}

.front-works-card__title {
    margin: 0;
    font-size: 16px;
    line-height: 1.7;
    color: #0B274A;
}

.front-works-card__area {
    margin: 10px 0 0;
    font-size: 13px;
    line-height: 1.6;
    color: #6B7280;
}

.front-works-card__summary {
    margin: 12px 0 0;
    font-size: 13px;
    line-height: 1.8;
    color: #1F2933;
}

.front-works__link {
    margin-top: 32px;
}

@media screen and (max-width: 900px) {
    .front-works__list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 640px) {
    .front-works__list {
        grid-template-columns: 1fr;
    }
}

/* トップページ：頼む理由 */
.front-reason__list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.front-reason__item {
    padding: 34px 28px;
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
}

.front-reason__icon {
    width: 54px;
    height: 54px;
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: #0B274A;
    border-radius: 50%;
    font-size: 15px;
    letter-spacing: 0.08em;
}

.front-reason__item h3 {
    margin: 0;
    font-size: 20px;
    line-height: 1.6;
    color: #0B274A;
}

.front-reason__item p {
    margin: 14px 0 0;
    font-size: 14px;
    line-height: 1.9;
    color: #1F2933;
}

@media screen and (max-width: 900px) {
    .front-reason__list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 640px) {
    .front-reason__list {
        grid-template-columns: 1fr;
    }

    .front-reason__item {
        padding: 28px 22px;
    }
}

/* トップページ：施工事例セクション調整 */
.front-works__lead {
    margin-bottom: 34px;
}

.front-works .front-section__title {
    margin-bottom: 14px;
}


/* トップページ：判断の考え方 */
.front-policy__layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: start;
}

.front-policy__text p {
    margin: 0 0 1.4em;
    font-size: 16px;
    line-height: 2;
    color: #1F2933;
}

.front-policy__text p:last-child {
    margin-bottom: 0;
}

.front-policy__points {
    display: grid;
    gap: 14px;
}

.front-policy__point {
    display: grid;
    grid-template-columns: 54px 1fr;
    gap: 16px;
    align-items: center;
    padding: 18px 20px;
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 10px;
}

.front-policy__point span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    color: #FFFFFF;
    background: #0B274A;
    border-radius: 50%;
    font-size: 13px;
    letter-spacing: 0.08em;
}

.front-policy__point p {
    margin: 0;
    font-size: 15px;
    line-height: 1.7;
    font-weight: 700;
    color: #0B274A;
}

@media screen and (max-width: 900px) {
    .front-policy__layout {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

@media screen and (max-width: 640px) {
    .front-policy__point {
        grid-template-columns: 48px 1fr;
        padding: 16px;
    }
}

/* トップページ：よくあるご依頼 */
.front-service__lead {
    margin-bottom: 34px;
}

.front-service .front-section__title {
    margin-bottom: 14px;
}

.front-service__list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.front-service__item {
    padding: 26px 24px;
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 10px;
}

.front-service__item h3 {
    margin: 0;
    font-size: 18px;
    line-height: 1.6;
    color: #0B274A;
}

.front-service__item p {
    margin: 12px 0 0;
    font-size: 14px;
    line-height: 1.9;
    color: #1F2933;
}

@media screen and (max-width: 900px) {
    .front-service__list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 640px) {
    .front-service__list {
        grid-template-columns: 1fr;
    }

    .front-service__item {
        padding: 24px 20px;
    }
}

/* トップページ：対応エリア・対象 */
.front-area-target__layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

.front-area-target__box {
    padding: 30px 28px;
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
}

.front-area-target__box h3 {
    margin: 0 0 14px;
    font-size: 21px;
    line-height: 1.6;
    color: #0B274A;
}

.front-area-target__box p {
    margin: 0;
    font-size: 15px;
    line-height: 2;
    color: #1F2933;
}

.front-area-target__note {
    margin-top: 10px !important;
    font-size: 13px !important;
    color: #6B7280 !important;
}

.front-area-target__box ul {
    margin: 0;
    padding-left: 1.2em;
}

.front-area-target__box li {
    margin-bottom: 8px;
    font-size: 15px;
    line-height: 1.8;
    color: #1F2933;
}

.front-area-target__box li:last-child {
    margin-bottom: 0;
}

@media screen and (max-width: 760px) {
    .front-area-target__layout {
        grid-template-columns: 1fr;
    }

    .front-area-target__box {
        padding: 26px 22px;
    }
}

/* トップページ：CTA調整 */
.front-cta__label {
    margin: 0 0 10px;
    font-size: 13px;
    letter-spacing: 0.12em;
    color: #A87935;
}

.front-cta__buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-top: 30px;
}

.front-cta .front-button--tel {
    color: #0B274A;
    background: #FFFFFF;
    border-color: #FFFFFF;
}

@media screen and (max-width: 640px) {
    .front-cta__buttons {
        display: grid;
        grid-template-columns: 1fr;
    }
}

/* ==================================================
   06. 事業案内ページ
================================================== */
.page-service {
    color: #1F2933;
    background: #FFFFFF;
}

.page-service__hero {
    padding: 72px 24px;
    background: #F7F4EF;
}

.page-service__inner {
    max-width: 960px;
    margin: 0 auto;
}

.page-service__label {
    margin: 0 0 8px;
    font-size: 13px;
    letter-spacing: 0.12em;
    color: #A87935;
}

.page-service__title {
    margin: 0;
    font-size: 34px;
    line-height: 1.5;
    color: #0B274A;
}

.page-service__lead {
    max-width: 720px;
    margin: 18px 0 0;
    font-size: 16px;
    line-height: 2;
}

@media screen and (max-width: 640px) {
    .page-service__hero {
        padding: 52px 18px;
    }

    .page-service__title {
        font-size: 28px;
    }

    .page-service__lead {
        font-size: 15px;
    }
}

.page-service__section {
    padding: 72px 24px;
}

.page-service__section-title {
    margin: 0 0 32px;
    font-size: 30px;
    line-height: 1.5;
    color: #0B274A;
}

.page-service__cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.page-service__card {
    padding: 28px 24px;
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 10px;
}

.page-service__card h3 {
    margin: 0;
    font-size: 19px;
    line-height: 1.6;
    color: #0B274A;
}

.page-service__card p {
    margin: 12px 0 0;
    font-size: 14px;
    line-height: 1.9;
    color: #1F2933;
}

@media screen and (max-width: 900px) {
    .page-service__cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 640px) {
    .page-service__section {
        padding: 56px 18px;
    }

    .page-service__section-title {
        font-size: 24px;
    }

    .page-service__cards {
        grid-template-columns: 1fr;
    }

    .page-service__card {
        padding: 24px 20px;
    }
}

.page-service__section--beige {
    background: #F7F4EF;
}

.page-service__target-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.page-service__target-item {
    padding: 20px 16px;
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 10px;
    color: #0B274A;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.6;
    text-align: center;
}

@media screen and (max-width: 900px) {
    .page-service__target-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 640px) {
    .page-service__target-list {
        grid-template-columns: 1fr;
    }

    .page-service__target-item {
        padding: 18px 14px;
        font-size: 15px;
    }
}

.page-service__text {
    max-width: 760px;
    margin: 0;
    font-size: 16px;
    line-height: 2;
    color: #1F2933;
}

.page-service__note {
    max-width: 760px;
    margin: 14px 0 0;
    font-size: 13px;
    line-height: 1.9;
    color: #6B7280;
}

@media screen and (max-width: 640px) {
    .page-service__text {
        font-size: 15px;
    }

    .page-service__note {
        font-size: 13px;
    }
}

.page-service__cta {
    padding: 72px 24px;
    background: #0B274A;
    color: #FFFFFF;
}

.page-service__cta .page-service__label {
    color: #A87935;
}

.page-service__cta-title {
    margin: 0;
    font-size: 28px;
    line-height: 1.6;
    color: #FFFFFF;
}

.page-service__cta-text {
    max-width: 760px;
    margin: 18px 0 0;
    font-size: 15px;
    line-height: 2;
}

.page-service__cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.page-service__button {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 999px;
    font-size: 14px;
    line-height: 1.5;
    text-decoration: none;
}

.page-service__button--primary {
    color: #FFFFFF;
    background: #A87935;
}

.page-service__button--tel {
    color: #0B274A;
    background: #FFFFFF;
    border: 1px solid #FFFFFF;
}

@media screen and (max-width: 640px) {
    .page-service__cta {
        padding: 56px 18px;
    }

    .page-service__cta-title {
        font-size: 23px;
    }

    .page-service__cta-buttons {
        display: grid;
        grid-template-columns: 1fr;
    }

    .page-service__button {
        width: 100%;
        text-align: center;
    }
}

/* ==================================================
   07. 代表についてページ
================================================== */
.page-about {
    color: #1F2933;
    background: #FFFFFF;
}

.page-about__hero {
    padding: 72px 24px;
    background: #F7F4EF;
}

.page-about__inner {
    max-width: 1120px;
    margin: 0 auto;
}

.page-about__hero-content {
    max-width: 720px;
}

.page-about__label {
    margin: 0 0 14px;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 700;
    color: #0B274A;
}

.page-about__label::after {
    content: "";
    display: block;
    width: 42px;
    height: 2px;
    margin-top: 8px;
    background: #0B274A;
}

.page-about__title {
    margin: 0;
    font-size: 40px;
    line-height: 1.55;
    color: #0B274A;
}

.page-about__lead {
    max-width: 680px;
    margin: 28px 0 0;
    font-size: 16px;
    line-height: 2;
    font-weight: 700;
    color: #1F2933;
}

.page-about__text {
    max-width: 680px;
    margin: 18px 0 0;
    font-size: 15px;
    line-height: 2;
    color: #1F2933;
}

.page-about__name {
    margin: 28px 0 0;
    font-size: 15px;
    line-height: 1.8;
    font-weight: 700;
    color: #1F2933;
}

@media screen and (max-width: 640px) {
    .page-about__hero {
        padding: 56px 18px;
    }

    .page-about__title {
        font-size: 28px;
    }

    .page-about__lead {
        font-size: 15px;
    }

    .page-about__text {
        font-size: 14px;
    }
}

.page-about__section {
    padding: 72px 24px;
}

.page-about__section-title {
    margin: 0 0 32px;
    font-size: 30px;
    line-height: 1.5;
    color: #0B274A;
}

.page-about__criteria {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border-top: 1px solid #E5E7EB;
    border-bottom: 1px solid #E5E7EB;
}

.page-about__criterion {
    padding: 28px 24px;
    border-right: 1px solid #E5E7EB;
    text-align: center;
}

.page-about__criterion:last-child {
    border-right: none;
}

.page-about__criterion h3 {
    margin: 0;
    font-size: 18px;
    line-height: 1.6;
    color: #0B274A;
}

.page-about__criterion p {
    margin: 12px 0 0;
    font-size: 14px;
    line-height: 1.9;
    color: #1F2933;
}

@media screen and (max-width: 900px) {
    .page-about__criteria {
        grid-template-columns: repeat(2, 1fr);
    }

    .page-about__criterion:nth-child(2) {
        border-right: none;
    }

    .page-about__criterion:nth-child(-n+2) {
        border-bottom: 1px solid #E5E7EB;
    }
}

@media screen and (max-width: 640px) {
    .page-about__section {
        padding: 56px 18px;
    }

    .page-about__section-title {
        font-size: 24px;
    }

    .page-about__criteria {
        grid-template-columns: 1fr;
    }

    .page-about__criterion {
        padding: 24px 20px;
        border-right: none;
        border-bottom: 1px solid #E5E7EB;
    }

    .page-about__criterion:last-child {
        border-bottom: none;
    }
}

.page-about__message {
    padding: 72px 24px;
    background: #0B274A;
    color: #FFFFFF;
}

.page-about__message-inner {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: center;
}

.page-about__message-main h2 {
    margin: 0;
    font-size: 30px;
    line-height: 1.6;
    color: #FFFFFF;
}

.page-about__message-main p {
    margin: 20px 0 0;
    font-size: 15px;
    line-height: 2;
}

.page-about__message-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.page-about__message-list li {
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
    font-size: 15px;
    line-height: 1.7;
}

.page-about__message-list li:first-child {
    border-top: 1px solid rgba(255, 255, 255, 0.25);
}

@media screen and (max-width: 760px) {
    .page-about__message {
        padding: 56px 18px;
    }

    .page-about__message-inner {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .page-about__message-main h2 {
        font-size: 24px;
    }

    .page-about__message-main p {
        font-size: 14px;
    }
}

.page-about__service-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border-top: 1px solid #E5E7EB;
    border-left: 1px solid #E5E7EB;
}

.page-about__service-item {
    padding: 28px 24px;
    background: #FFFFFF;
    border-right: 1px solid #E5E7EB;
    border-bottom: 1px solid #E5E7EB;
}

.page-about__service-item h3 {
    margin: 0;
    font-size: 18px;
    line-height: 1.6;
    color: #0B274A;
}

.page-about__service-item p {
    margin: 12px 0 0;
    font-size: 14px;
    line-height: 1.9;
    color: #1F2933;
}

@media screen and (max-width: 900px) {
    .page-about__service-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 640px) {
    .page-about__service-list {
        grid-template-columns: 1fr;
    }

    .page-about__service-item {
        padding: 24px 20px;
    }
}

.page-about__section--beige {
    background: #F7F4EF;
}

.page-about__profile-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.page-about__profile-item {
    padding: 28px 24px;
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 10px;
}

.page-about__profile-item h3 {
    margin: 0;
    font-size: 18px;
    line-height: 1.6;
    color: #0B274A;
}

.page-about__profile-item p {
    margin: 12px 0 0;
    font-size: 14px;
    line-height: 1.9;
    color: #1F2933;
}

@media screen and (max-width: 900px) {
    .page-about__profile-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 640px) {
    .page-about__profile-list {
        grid-template-columns: 1fr;
    }

    .page-about__profile-item {
        padding: 24px 20px;
    }
}

.page-about__cta {
    padding: 72px 24px;
    background: #0B274A;
    color: #FFFFFF;
}

.page-about__cta .page-about__label {
    color: #A87935;
}

.page-about__cta .page-about__label::after {
    background: #A87935;
}

.page-about__cta-title {
    margin: 0;
    font-size: 28px;
    line-height: 1.6;
    color: #FFFFFF;
}

.page-about__cta-text {
    max-width: 760px;
    margin: 18px 0 0;
    font-size: 15px;
    line-height: 2;
}

.page-about__cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.page-about__button {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 999px;
    font-size: 14px;
    line-height: 1.5;
    text-decoration: none;
}

.page-about__button--primary {
    color: #FFFFFF;
    background: #A87935;
}

.page-about__button--tel {
    color: #0B274A;
    background: #FFFFFF;
    border: 1px solid #FFFFFF;
}

@media screen and (max-width: 640px) {
    .page-about__cta {
        padding: 56px 18px;
    }

    .page-about__cta-title {
        font-size: 23px;
    }

    .page-about__cta-buttons {
        display: grid;
        grid-template-columns: 1fr;
    }

    .page-about__button {
        width: 100%;
        text-align: center;
    }
}

/* ==================================================
   08. FAQページ
================================================== */
.faq-page {
	background: #ffffff;
	color: #1f2933;
}

.faq-hero {
	background: #0b274a;
	color: #ffffff;
	padding: 80px 20px 64px;
	text-align: center;
}

.faq-hero .page-hero__inner {
	max-width: 1080px;
	margin: 0 auto;
}

.faq-hero .page-hero__label {
	margin: 0 0 12px;
	color: #a87935;
	font-size: 14px;
	letter-spacing: 0.18em;
	font-weight: 700;
}

.faq-hero .page-hero__title {
	margin: 0;
	color: #ffffff;
	font-size: 36px;
	line-height: 1.4;
	letter-spacing: 0.08em;
}

.page-breadcrumb {
	background: #f7f4ef;
	border-bottom: 1px solid #e5e7eb;
}

.page-breadcrumb__inner {
	max-width: 1080px;
	margin: 0 auto;
	padding: 14px 20px;
	font-size: 13px;
	color: #667085;
}

.page-breadcrumb__inner a {
	color: #12345a;
	text-decoration: none;
}

.page-breadcrumb__inner span::before {
	content: ">";
	display: inline-block;
	margin: 0 10px;
	color: #9aa4b2;
}

.faq-section {
	padding: 72px 20px;
	background: #ffffff;
}

.faq-section__inner {
	max-width: 1080px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: minmax(0, 1fr) 300px;
	gap: 48px;
	align-items: start;
}

.faq-main {
	min-width: 0;
}

.faq-page .section-heading {
	margin-bottom: 32px;
}

.faq-page .section-heading__label {
	margin: 0 0 10px;
	color: #a87935;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.18em;
}

.faq-page .section-heading__title {
	margin: 0 0 16px;
	color: #0b274a;
	font-size: 28px;
	line-height: 1.6;
}

.faq-page .section-heading__text {
	margin: 0;
	color: #4b5563;
	line-height: 1.9;
}

.faq-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0 0 32px;
}

.faq-tabs__item {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 8px 18px;
	border: 1px solid #d7dde5;
	border-radius: 999px;
	background: #ffffff;
	color: #12345a;
	font-size: 14px;
	text-decoration: none;
}

.faq-tabs__item.is-active,
.faq-tabs__item:hover {
	background: #0b274a;
	border-color: #0b274a;
	color: #ffffff;
}

.faq-list {
	display: grid;
	gap: 14px;
}

.faq-item {
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	background: #ffffff;
	overflow: hidden;
	box-shadow: 0 8px 24px rgba(11, 39, 74, 0.06);
}

.faq-item__question {
	position: relative;
	display: block;
	padding: 20px 56px 20px 56px;
	color: #0b274a;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.7;
	cursor: pointer;
	list-style: none;
}

.faq-item__question::-webkit-details-marker {
	display: none;
}

.faq-item__question::before {
	content: "Q";
	position: absolute;
	left: 20px;
	top: 20px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: #0b274a;
	color: #ffffff;
	font-size: 13px;
	font-weight: 700;
}

.faq-item__question::after {
	content: "+";
	position: absolute;
	right: 22px;
	top: 50%;
	transform: translateY(-50%);
	color: #a87935;
	font-size: 24px;
	font-weight: 400;
	line-height: 1;
}

.faq-item[open] .faq-item__question::after {
	content: "−";
}

.faq-item__answer {
	padding: 0 24px 22px 56px;
	color: #4b5563;
	line-height: 1.9;
}

.faq-item__answer p {
	margin: 0;
}

.faq-sidebar {
	display: grid;
	gap: 20px;
}

.faq-contact-box,
.faq-category-box {
	border-radius: 14px;
	background: #f7f4ef;
	padding: 28px 24px;
}

.faq-contact-box {
	background: #0b274a;
	color: #ffffff;
}

.faq-contact-box__title {
	margin: 0 0 16px;
	color: #ffffff;
	font-size: 21px;
	line-height: 1.6;
}

.faq-contact-box__text {
	margin: 0 0 18px;
	color: rgba(255, 255, 255, 0.86);
	line-height: 1.8;
}

.faq-contact-box__tel {
	margin: 0 0 6px;
	color: #ffffff;
	font-size: 24px;
	font-weight: 700;
	letter-spacing: 0.04em;
}

.faq-contact-box__time {
	margin: 0 0 20px;
	color: rgba(255, 255, 255, 0.72);
	font-size: 13px;
}

.faq-contact-box__button {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 10px 16px;
	border-radius: 999px;
	background: #a87935;
	color: #ffffff;
	font-weight: 700;
	text-decoration: none;
}

.faq-category-box__title {
	margin: 0 0 16px;
	color: #0b274a;
	font-size: 18px;
}

.faq-category-box__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.faq-category-box__list li {
	border-top: 1px solid #e0d8cc;
}

.faq-category-box__list li:first-child {
	border-top: 0;
}

.faq-category-box__list a {
	display: block;
	padding: 12px 0;
	color: #12345a;
	text-decoration: none;
}

.faq-cta {
	padding: 56px 20px;
	background: #f7f4ef;
}

.faq-cta__inner {
	max-width: 1080px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 36px 40px;
	border-radius: 18px;
	background: #ffffff;
	box-shadow: 0 10px 30px rgba(11, 39, 74, 0.08);
}

.faq-cta__text h2 {
	margin: 0 0 8px;
	color: #0b274a;
	font-size: 24px;
	line-height: 1.5;
}

.faq-cta__text p {
	margin: 0;
	color: #4b5563;
	line-height: 1.8;
}

.faq-cta__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 220px;
	min-height: 50px;
	padding: 10px 24px;
	border-radius: 999px;
	background: #0b274a;
	color: #ffffff;
	font-weight: 700;
	text-decoration: none;
}

@media screen and (max-width: 900px) {
	.faq-section__inner {
		grid-template-columns: 1fr;
		gap: 36px;
	}

	.faq-sidebar {
		grid-template-columns: 1fr 1fr;
	}
}

@media screen and (max-width: 600px) {
	.faq-hero {
		padding: 56px 20px 44px;
	}

	.faq-hero .page-hero__title {
		font-size: 28px;
	}

	.faq-section {
		padding: 48px 20px;
	}

	.faq-page .section-heading__title {
		font-size: 23px;
	}

	.faq-tabs {
		gap: 8px;
	}

	.faq-tabs__item {
		width: calc(50% - 4px);
		padding: 8px 10px;
		font-size: 13px;
	}

	.faq-item__question {
		padding: 18px 48px 18px 52px;
		font-size: 15px;
	}

	.faq-item__question::before {
		left: 18px;
		top: 19px;
	}

	.faq-item__answer {
		padding: 0 20px 20px 52px;
	}

	.faq-sidebar {
		grid-template-columns: 1fr;
	}

	.faq-cta__inner {
		display: block;
		padding: 28px 22px;
	}

	.faq-cta__text {
		margin-bottom: 22px;
	}

	.faq-cta__text h2 {
		font-size: 21px;
	}

	.faq-cta__button {
		width: 100%;
	}
}

/* ==================================================
   09. お問い合わせページ
================================================== */
.contact-page {
	background: #ffffff;
	color: #1f2933;
}

.contact-hero {
	background: #0b274a;
	color: #ffffff;
	padding: 80px 20px 64px;
	text-align: center;
}

.contact-hero .page-hero__inner {
	max-width: 1080px;
	margin: 0 auto;
}

.contact-hero .page-hero__label {
	margin: 0 0 12px;
	color: #a87935;
	font-size: 14px;
	letter-spacing: 0.18em;
	font-weight: 700;
}

.contact-hero .page-hero__title {
	margin: 0;
	color: #ffffff;
	font-size: 36px;
	line-height: 1.4;
	letter-spacing: 0.08em;
}

.contact-intro {
	padding: 64px 20px 36px;
	background: #ffffff;
}

.contact-intro__inner {
	max-width: 860px;
	margin: 0 auto;
	text-align: center;
}

.contact-intro__title {
	margin: 0 0 18px;
	color: #0b274a;
	font-size: 28px;
	line-height: 1.7;
}

.contact-intro__text {
	margin: 0;
	color: #4b5563;
	line-height: 1.9;
}

.contact-section {
	padding: 36px 20px 80px;
	background: #ffffff;
}

.contact-section__inner {
	max-width: 1080px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 48px;
	align-items: start;
}

.contact-form-area {
	min-width: 0;
}

.contact-section__title {
	margin: 0 0 12px;
	color: #0b274a;
	font-size: 26px;
	line-height: 1.5;
}

.contact-section__lead {
	margin: 0 0 28px;
	color: #4b5563;
	line-height: 1.9;
}

.contact-form-box {
	padding: 36px;
	border-radius: 16px;
	background: #f7f4ef;
}

.contact-form-box .wpcf7-form {
	margin: 0;
}

.contact-form-box p {
	margin: 0 0 18px;
}

.contact-form-box label {
	display: block;
	color: #0b274a;
	font-weight: 700;
	line-height: 1.7;
}

.contact-form-box input[type="text"],
.contact-form-box input[type="email"],
.contact-form-box input[type="tel"],
.contact-form-box input[type="url"],
.contact-form-box textarea,
.contact-form-box select {
	width: 100%;
	margin-top: 8px;
	padding: 13px 14px;
	border: 1px solid #d7dde5;
	border-radius: 8px;
	background: #ffffff;
	color: #1f2933;
	font-size: 16px;
	box-sizing: border-box;
}

.contact-form-box textarea {
	min-height: 180px;
	resize: vertical;
}

.contact-form-box input[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 220px;
	min-height: 52px;
	padding: 12px 28px;
	border: 0;
	border-radius: 999px;
	background: #0b274a;
	color: #ffffff;
	font-size: 16px;
	font-weight: 700;
	cursor: pointer;
}

.contact-form-box input[type="submit"]:hover {
	background: #12345a;
}

.contact-form-box .wpcf7-spinner {
	display: block;
	margin: 12px 0 0;
}

.contact-form-box .wpcf7-not-valid-tip {
	margin-top: 6px;
	color: #b42318;
	font-size: 14px;
}

.contact-form-box .wpcf7-response-output {
	margin: 20px 0 0;
	padding: 14px 16px;
	border-radius: 8px;
	line-height: 1.7;
}

.contact-side {
	display: grid;
	gap: 20px;
}

.contact-tel-box,
.contact-note-box {
	border-radius: 14px;
	padding: 28px 24px;
}

.contact-tel-box {
	background: #0b274a;
	color: #ffffff;
}

.contact-tel-box__title {
	margin: 0 0 14px;
	color: #ffffff;
	font-size: 21px;
	line-height: 1.6;
}

.contact-tel-box__text {
	margin: 0 0 18px;
	color: rgba(255, 255, 255, 0.86);
	line-height: 1.8;
}

.contact-tel-box__number {
	margin: 0 0 6px;
	color: #ffffff;
	font-size: 25px;
	font-weight: 700;
	letter-spacing: 0.04em;
}

.contact-tel-box__time {
	margin: 0;
	color: rgba(255, 255, 255, 0.72);
	font-size: 13px;
}

.contact-note-box {
	background: #f7f4ef;
}

.contact-note-box__title {
	margin: 0 0 16px;
	color: #0b274a;
	font-size: 18px;
	line-height: 1.6;
}

.contact-note-box__list {
	margin: 0;
	padding-left: 1.2em;
	color: #4b5563;
	line-height: 1.9;
}

.contact-note-box__list li + li {
	margin-top: 6px;
}

@media screen and (max-width: 900px) {
	.contact-section__inner {
		grid-template-columns: 1fr;
		gap: 36px;
	}

	.contact-side {
		grid-template-columns: 1fr 1fr;
	}
}

@media screen and (max-width: 600px) {
	.contact-hero {
		padding: 56px 20px 44px;
	}

	.contact-hero .page-hero__title {
		font-size: 28px;
	}

	.contact-intro {
		padding: 48px 20px 28px;
	}

	.contact-intro__title {
		font-size: 23px;
	}

	.contact-section {
		padding: 28px 20px 56px;
	}

	.contact-section__title {
		font-size: 23px;
	}

	.contact-form-box {
		padding: 24px 18px;
	}

	.contact-form-box input[type="submit"] {
		width: 100%;
	}

	.contact-side {
		grid-template-columns: 1fr;
	}
}

/* ==================================================
   10. プライバシーポリシー
================================================== */
.privacy-page {
	background: #ffffff;
	color: #1f2933;
}

.privacy-hero {
	background: #0b274a;
	color: #ffffff;
	padding: 80px 20px 64px;
	text-align: center;
}

.privacy-hero .page-hero__inner {
	max-width: 1080px;
	margin: 0 auto;
}

.privacy-hero .page-hero__label {
	margin: 0 0 12px;
	color: #a87935;
	font-size: 14px;
	letter-spacing: 0.18em;
	font-weight: 700;
}

.privacy-hero .page-hero__title {
	margin: 0;
	color: #ffffff;
	font-size: 36px;
	line-height: 1.4;
	letter-spacing: 0.08em;
}

.privacy-section {
	padding: 72px 20px 88px;
	background: #ffffff;
}

.privacy-section__inner {
	max-width: 900px;
	margin: 0 auto;
}

.privacy-lead {
	margin: 0 0 36px;
	padding: 28px 32px;
	border-radius: 14px;
	background: #f7f4ef;
	color: #4b5563;
	line-height: 1.9;
}

.privacy-lead p {
	margin: 0;
}

.privacy-content {
	display: grid;
	gap: 30px;
}

.privacy-block {
	padding-bottom: 30px;
	border-bottom: 1px solid #e5e7eb;
}

.privacy-block:last-child {
	padding-bottom: 0;
	border-bottom: 0;
}

.privacy-block h2 {
	margin: 0 0 14px;
	color: #0b274a;
	font-size: 22px;
	line-height: 1.6;
}

.privacy-block p {
	margin: 0;
	color: #4b5563;
	line-height: 1.9;
}

.privacy-block p + p {
	margin-top: 14px;
}

.privacy-block ul {
	margin: 12px 0 0;
	padding-left: 1.4em;
	color: #4b5563;
	line-height: 1.9;
}

.privacy-block li + li {
	margin-top: 4px;
}

.privacy-block a {
	color: #12345a;
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 3px;
}

@media screen and (max-width: 600px) {
	.privacy-hero {
		padding: 56px 20px 44px;
	}

	.privacy-hero .page-hero__title {
		font-size: 28px;
	}

	.privacy-section {
		padding: 48px 20px 64px;
	}

	.privacy-lead {
		padding: 22px 20px;
	}

	.privacy-content {
		gap: 24px;
	}

	.privacy-block {
		padding-bottom: 24px;
	}

	.privacy-block h2 {
		font-size: 19px;
	}
}

/* ==================================================
   11. フッター：ナビゲーション調整
================================================== */
.site-footer__nav {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px 20px;
	margin-bottom: 16px;
	line-height: 1.8;
}

.site-footer__nav a {
	display: inline-block;
	color: #ffffff;
	text-decoration: none;
	white-space: nowrap;
}

.site-footer__nav a:hover {
	text-decoration: underline;
}

@media screen and (max-width: 600px) {
	.site-footer__nav {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 10px 14px;
		text-align: center;
	}

	.site-footer__nav a {
		white-space: normal;
	}
}

/* ==================================================
   03. 施工事例個別ページ：本文・CTA調整
================================================== */
.works-single__body-section {
	margin-top: 48px;
	padding: 40px;
	border-radius: 16px;
	background: #ffffff;
	box-shadow: 0 10px 30px rgba(11, 39, 74, 0.08);
}

.works-single__section-title {
	position: relative;
	margin: 0 0 24px;
	padding-left: 18px;
	color: #0b274a;
	font-size: 26px;
	line-height: 1.5;
}

.works-single__section-title::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.35em;
	width: 4px;
	height: 1.4em;
	border-radius: 999px;
	background: #a87935;
}


.works-single__content p:last-child {
	margin-bottom: 0;
}

.works-single__content h2,
.works-single__content h3 {
	margin: 2em 0 0.8em;
	color: #0b274a;
	line-height: 1.6;
}

.works-single__content ul,
.works-single__content ol {
	margin: 1em 0;
	padding-left: 1.4em;
}

.works-single__content li + li {
	margin-top: 0.4em;
}

.works-single__cta {
	margin-top: 48px;
	padding: 36px 40px;
	border-radius: 18px;
	background: #f7f4ef;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.works-single__cta-text h2 {
	margin: 0 0 10px;
	color: #0b274a;
	font-size: 24px;
	line-height: 1.5;
}

.works-single__cta-text p {
	margin: 0;
	color: #4b5563;
	line-height: 1.8;
}

.works-single__cta-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 220px;
	min-height: 50px;
	padding: 10px 24px;
	border-radius: 999px;
	background: #0b274a;
	color: #ffffff;
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
}

.works-single__cta-button:hover {
	background: #12345a;
	color: #ffffff;
}

@media screen and (max-width: 600px) {
	.works-single__body-section {
		margin-top: 36px;
		padding: 28px 20px;
	}

	.works-single__section-title {
		font-size: 22px;
	}

	.works-single__cta {
		display: block;
		margin-top: 36px;
		padding: 28px 22px;
	}

	.works-single__cta-text {
		margin-bottom: 22px;
	}

	.works-single__cta-text h2 {
		font-size: 21px;
	}

	.works-single__cta-button {
		width: 100%;
	}
}

/* ==================================================
   12. 追加調整・上書き指定
   ※ 下記は後から効かせるための調整。移動・削除は慎重に行う。
================================================== */

/* トップページ：セクション見出し強化 */
.front-page .front-section__title {
    position: relative;
    display: inline-block;
    margin-bottom: 30px;
    padding-bottom: 12px;
    font-size: 34px;
    font-weight: 700;
    letter-spacing: 0.03em;
    color: #0B274A;
}

.front-page .front-section__title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 56px;
    height: 3px;
    border-radius: 999px;
    background: #A87935;
}

/* 代表について：ファーストビュー代表写真 */
.page-about__hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.page-about__hero-photo {
  width: 100%;
}

.page-about__hero-photo-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 18px 40px rgba(11, 39, 74, 0.12);
}

@media screen and (max-width: 768px) {
  .page-about__hero-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* トップページ：ファーストビュー直下の補足 */
.front-intro {
    background: #ffffff;
    padding: 48px 20px;
}

.front-intro__inner {
    max-width: 920px;
    margin: 0 auto;
    padding: 28px 36px;
    border: 1px solid #e5e0d8;
    border-radius: 12px;
    background: #fdfbf8;
    text-align: center;
}

.front-intro__label {
    margin: 0 0 12px;
    color: #a87935;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.front-intro__title {
    margin: 0 0 16px;
    color: #0b274a;
    font-size: 26px;
    line-height: 1.6;
    font-weight: 700;
}

.front-intro__text {
    max-width: 760px;
    margin: 0 auto;
    color: #1f2933;
    font-size: 15px;
    line-height: 2;
}

@media screen and (max-width: 768px) {
    .front-intro {
        padding: 32px 16px;
    }

    .front-intro__inner {
        padding: 24px 20px;
        text-align: left;
    }

    .front-intro__title {
        font-size: 21px;
        line-height: 1.6;
    }

    .front-intro__text {
        font-size: 14px;
        line-height: 1.9;
    }
}


/* トップページ：施工事例説明文の幅調整 */
.front-works__lead {
    max-width: 720px;
}

/* トップページ：下部CTA本文の幅調整 */
.front-cta__inner > p:not(.front-cta__label) {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* スマホヘッダー：問い合わせボタンと電話番号のバランス調整 */
@media screen and (max-width: 768px) {
  .header-contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    text-align: center;
  }

  .header-contact-button {
    order: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 150px;
    height: 34px;
    padding: 0 18px;
    font-size: 13px;
    line-height: 1;
  }

  .header-contact .tel {
    order: 2;
    font-size: 13px;
    line-height: 1.3;
  }

  .header-contact .time {
    order: 3;
    font-size: 11px;
    line-height: 1.3;
    opacity: 0.75;
  }
}

/* トップページ：金色問い合わせボタンの文字位置調整 */
.front-intro .front-button,
.front-cta .front-button,
.front-intro a.front-button,
.front-cta a.front-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding-top: 0;
  padding-bottom: 0;
  line-height: 1;
  font-size: 16px;
}

/* トップページ：ファーストビュー金色ボタンの文字位置を個別調整 */
.front-intro .front-hero-actions .front-button,
.front-intro .front-hero-actions a.front-button,
.front-intro .front-actions .front-button,
.front-intro .front-actions a.front-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  min-height: 56px;
  padding: 0 28px;
  line-height: 1 !important;
  font-size: 16px;
  box-sizing: border-box;
}

/* トップページ：ファーストビュー問い合わせボタンの文字位置調整 */
.front-hero__buttons .front-button--primary {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 56px !important;
  min-height: 56px !important;
  padding: 0 28px !important;
  line-height: 1 !important;
  font-size: 16px !important;
  box-sizing: border-box;
}

/* トップページ：ファーストビュー電話ボタン調整 */
.front-hero__buttons .front-button--tel {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 56px !important;
  min-height: 56px !important;
  min-width: 180px;
  padding: 0 28px !important;
  line-height: 1 !important;
  font-size: 16px !important;
  box-sizing: border-box;
  text-align: center;
}

.front-hero__buttons .front-button--tel br,
.front-hero__buttons .front-button--tel span {
  display: none;
}

/* トップページ：下部CTA 電話ボタン調整 */
.front-cta .front-button--tel {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 56px !important;
  min-height: 56px !important;
  min-width: 180px;
  padding: 0 28px !important;
  line-height: 1 !important;
  font-size: 16px !important;
  box-sizing: border-box;
  text-align: center;
}

/* トップページ：下部CTA ボタン幅を揃える */
.front-cta .front-button--primary,
.front-cta .front-button--tel {
  width: 180px;
  min-width: 180px;
  max-width: 180px;
}

/* スマホ：下部CTAボタンの幅崩れ修正 */
@media screen and (max-width: 768px) {
  .front-cta .front-button--primary,
  .front-cta .front-button--tel {
    width: 100%;
    max-width: 220px;
    min-width: 0;
  }

  .front-cta .front-cta__buttons,
  .front-cta .front-hero__buttons,
  .front-cta .front-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
}
