@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&family=Zen+Old+Mincho:wght@400;700&display=swap');
/* =========================================
   リセットCSS & 基本設定
   ========================================= */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    /* 基本フォントは明朝体 */
    font-family: "游明朝 Medium", "Yu Mincho Medium", "YuMincho Medium", "ヒラギノ明朝 ProN", "Hiragino Mincho ProN", serif;
    color: #333;
    line-height: 1.8;
    background-color: #fff;
    font-feature-settings: "palt";
    letter-spacing:2px;
}

/* ハンバーガーメニュー展開時に背景を固定 */
body.is-fixed {
    overflow: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s;
}

a:hover {
    opacity: 0.8;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}

ul {
    list-style: none;
}

/* スマホのみ表示するクラス */
.sp-only {
    display: none;
}
@media (max-width: 768px) {
    .sp-only {
        display: block;
    }
}

/* 色の変数定義 */
:root {
    --color-navy: #002659;
    --color-blue: #1e5a9d;
    --color-dark-blue: #0b3d7a;
    --color-gold: #c4a058; /* 既存のゴールド */
    --color-rich-gold: #d4af37; /* 新しいリッチなゴールド（バッジ用） */
    --color-light-gray: #f9f9f9;
    --color-white: #fff;
    --color-text: #333;
    --color-marker: rgba(255, 255, 0, 0.4);
    /* ボタンの影色 */
    --color-blue-shadow: #143d6b;
    --color-gold-shadow: #8c733f;
    --header-height: 70px; /* ヘッダーの高さ */
}

/* 共通クラス */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.container--narrow {
    max-width: 800px;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.mb-10 { margin-bottom: 10px; }
.mb-20 { margin-bottom: 20px; }
.mb-40 { margin-bottom: 40px; }
.mt-10 { margin-top: 10px; }
.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }
.mt-60 { margin-top: 60px; }
.pt-0 { padding-top: 0; }
.font-bold { font-weight: 700; }

/* セクションの余白調整 (スマホ基準で縮小) */
.section {
    padding: 30px 0;
}
@media (min-width: 769px) {
    .section {
        padding: 50px 0; /* PCでは少し広げる */
    }
}


.section--dark-blue {
    background-color: var(--color-dark-blue);
    color: var(--color-white);
}

.section--light-gray {
    background-color: var(--color-light-gray);
}

.section--navy {
    background-color: var(--color-navy);
    color: var(--color-white);
}

/* 見出しデザイン変更 (下線削除、間隔詰め) */
.section__title {
    font-size: 2rem;
    text-align: center;
    margin: 20px auto;
    margin-bottom: 50px; /* 間隔を詰める */
    font-weight: 900;
    color: var(--color-navy);
    position: relative;
    display: table;
      border-bottom: double 3px #002659;
      border-top: double 3px #002659;
    padding:10px 120px; line-height: 1.5;
}
.section__title:after {
  position: absolute;
  content: " ";
  display: block;
  border-style: solid;
  border-right: 20px solid transparent;
  border-left: 20px solid transparent;
  border-top: 10px solid #002659;
  border-bottom: 0;
    bottom: -20px;
  width: 10px; left:calc(50% - 20px); 
}
.section__title--white {
    color: var(--color-white);
      border-bottom: double 3px #fff;
      border-top: double 3px #fff;
}
.section__title--white:after {
  position: absolute;
  content: " ";
  display: block;
  border-style: solid;
  border-right: 20px solid transparent;
  border-left: 20px solid transparent;
  border-top: 10px solid #fff;
  border-bottom: 0;
    bottom: -20px;
  width: 10px; left:calc(50% - 20px); 
}

@media (max-width: 768px) {
	.section__title , .section__title--white {
		display: block;
		  padding: 10px 10px;
		  font-size: 1.5rem;
	}
    :root { --header-height: 50px; }
}
/* サブタイトル */
.section__subtitle {
    text-align: center;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-navy);
}
.section--dark-blue .section__subtitle {
    color: var(--color-white);
}


/* マーカー装飾 */
.marker {
    background: linear-gradient(transparent 60%, var(--color-marker) 60%);
    font-weight: 700;
}

/* ボタン (共通スタイル：楕円形で立体化) */
.btn {
    display: inline-block;
    padding: 15px 40px;
    border-radius: 50px;
    font-family: 'Noto Sans JP', sans-serif; /* ゴシック体 */
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 5px 0 var(--color-blue-shadow);
    transform: translateY(0);
    transition: all 0.1s;
    color:white !important;
}

.btn:active {
    transform: translateY(3px);
    box-shadow: 0 2px 0 var(--color-blue-shadow);
}


.btn--blue {
    background-color: var(--color-blue);
    color: var(--color-white);
    box-shadow: 0 5px 0 var(--color-blue-shadow);
}
.btn--blue:hover {
    opacity: 1;
    background-color: #2a6ebb;
}
.btn--blue:active {
     box-shadow: 0 2px 0 var(--color-blue-shadow);
}

.btn--gold {
    background-color: var(--color-gold);
    color: var(--color-white);
    box-shadow: 0 5px 0 var(--color-gold-shadow);
}
.btn--gold:hover {
    opacity: 1;
    background-color: #d4b370;
}
.btn--gold:active {
     box-shadow: 0 2px 0 var(--color-gold-shadow);
}

/* ヘッダーボタン */
.btn--header {
    padding: 10px 25px;
    font-size: 0.95rem;
    background-color: var(--color-blue);
    color: var(--color-white);
    border-radius: 50px;
    box-shadow: 0 4px 0 var(--color-blue-shadow);
}
.btn--header:hover {
    opacity: 1;
    background-color: #2a6ebb;
}
.btn--header:active {
    transform: translateY(3px);
    box-shadow: 0 1px 0 var(--color-blue-shadow);
}


.btn--lg {
    padding: 20px 60px;
    font-size: 1.3rem;
}

.btn--sm {
    padding: 10px 30px;
    font-size: 0.9rem;
}

.btn--outline {
    border: 2px solid var(--color-blue);
    color: var(--color-blue);
    background: #fff;
    box-shadow: none;
    border-radius: 50px;
    font-weight: 700; color: #1e5a9d !important;
}
.btn--outline:hover {
    background-color: var(--color-blue);
    color: #fff !important;
}
.btn--outline:active {
    transform: none;
}


/* =========================================
   ヘッダー（ハンバーガーメニュー対応）
   ========================================= */
.header {
    background: #fff;
    position: fixed;
    width: 100%;
    height: var(--header-height);
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1); opacity:0;
}

.header__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    height: 100%;
    max-width: 1400px;
    margin: 0 auto;
}
.header__left h1 span { position:absolute; top: 16px;}
.header__left h1 a {
    font-size: 1.6rem;
    color: var(--color-navy);
    font-weight: 900;
}

.header__right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header__tel-box {
    text-align: right;
    color: var(--color-navy);
}

.tel-number {
    font-size: 1.5rem;
    font-weight: 900;
    line-height: 1;
}

.tel-time {
    font-size: 0.8rem;
}

/* ハンバーガーボタン（PCでは非表示） */
.header__hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 24px;
    position: relative;
    z-index: 101; /* メニューより上に */
    padding: 0;
}

.header__hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--color-navy);
    position: absolute;
    left: 0;
    transition: all 0.3s;
    border-radius: 3px;
}

.header__hamburger span:nth-child(1) { top: 0; }
.header__hamburger span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.header__hamburger span:nth-child(3) { bottom: 0; }

/* ハンバーガーボタンのアニメーション */
.header__hamburger.is-active span:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg); background: white;
}
.header__hamburger.is-active span:nth-child(2) {
    opacity: 0;
}
.header__hamburger.is-active span:nth-child(3) {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg); background: white;
}

/* ナビゲーションメニュー */
.header__nav {
    background-color: var(--color-navy);
}

.header__nav ul {
    display: flex;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
}

.header__nav a {
    display: block;
    padding: 15px 25px;
    color: var(--color-white);
    font-weight: 700;
    font-size: 1rem;
    border-bottom: 3px solid transparent;
    color:white !important;
}

.header__nav a:hover,
.header__nav a.active {
    background-color: rgba(255,255,255,0.1);
    border-bottom-color: var(--color-gold);
    opacity: 1;
}
.head_logo{ width:58px; height:auto; }
@media (max-width: 900px) {
	.head_logo{ width:48px; height:auto; }
}
@media (max-width: 540px) {
	.head_logo{ width:40px; height:auto; }
}


/* =========================================
   スマホ時のヘッダー・メニュー設定
   ========================================= */
@media (max-width: 768px) {
    .header__container {
        padding: 0 5%;
    }
     .header__left h1 span { position:absolute; top:8px;}
    .header__left h1  { padding-top:13px; }
    .header__left h1 a { font-size: 1.3rem; }
    .header__tel-box { display: none; /* スマホではTELボックスを非表示 */ }
    .btn--header { display: none; /* スマホではヘッダーボタンを非表示 */ }
    
    /* ハンバーガーボタンを表示 */
    .header__hamburger {
        display: block;
    }

    /* スマホ用ナビゲーションメニュー */
    .header__nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(0, 38, 89, 0.95); /* 少し透過した濃紺 */
        z-index: 100;
        padding-top: var(--header-height);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s;
        overflow-y: auto; /* メニューが長い場合にスクロール */
    }

    /* メニュー展開時 */
    .header__nav.is-active {
        opacity: 1;
        visibility: visible;
    }

    .header__nav-inner {
        padding: 40px 20px;
    }

    .header__nav ul {
        flex-direction: column;
        align-items: center;
    }

    .header__nav a {
    font-size: 1.1rem;
    padding: 10px;
    border-bottom: none;
    margin: 0 auto;
    }
    .header__nav a:hover,
    .header__nav a.active {
        background-color: transparent;
        border-bottom-color: transparent;
        color: var(--color-gold);
    }

    .header__nav-cta {
        margin-top: 30px;
        text-align: center;
    }
    .header__nav-cta .btn {
        width: 100%;
        max-width: 300px;
    }
}


/* =========================================
   ページタイトルMV (下層ページ用)
   ========================================= */
.page-mv {
    position: relative;
    height: 300px;
    margin-top: var(--header-height); /* ヘッダー高さ調整 */
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden; margin-top:130px;
}

.page-mv__bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover; background-position: center;
}

.page-mv__overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 38, 89, 0.7);
}

.page-mv__content {
    position: relative; z-index: 1;
    width: 90%;
}

.page-mv__title {
    font-size: 2.5rem; font-weight: 900; margin-bottom: 10px;
}
.page-mv__subtitle { font-size: 1.2rem; font-weight: 700; }

@media (max-width: 768px) {
    .page-mv { height: 200px; margin-top:60px; }
    .page-mv__title { font-size: 1.8rem; }
    .page-mv__subtitle { font-size: 1rem; }
}


/* =========================================
   メインビジュアル (トップページ用)
   ========================================= */
.hero {
    position: relative;
    height: 700px;
    margin-top: var(--header-height); /* ヘッダー高さ調整 */
    color: var(--color-white);
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero__bg {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover; background-position: center; opacity:0;
}

.hero__overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to right, rgba(0, 38, 89, 0.8), rgba(0, 38, 89, 0.2));  opacity:0;
}

.hero__content {
    position: relative; z-index: 1;
    width: 90%; max-width: 1200px; margin: 0 auto;
}

.hero__text-box { max-width: 700px; }

.hero__badges-top { margin-bottom: 20px; display: flex; gap: 10px;  opacity:0; }

/* バッジのデザイン変更 */
.badge {
    background: var(--color-rich-gold); /* 新しいリッチなゴールド */
    color: var(--color-white);
    padding: 5px 15px;
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: 4px;
    font-family: 'Noto Sans JP', sans-serif; /* ゴシック体 */
    letter-spacing: 0.05em;
}
.badge_img { width:40%; max-width:175px; margin:5px 0; }

.hero__title {
    font-size: 3rem; font-weight: 900; line-height: 1.4; margin-bottom: 20px;
    text-shadow: 0 2px 5px rgba(0,0,0,0.5);  opacity:0;
}
.hero__title span { color: var(--color-gold); font-size: 3.5rem; }

.hero__subtitle {
    font-size: 1.3rem; font-weight: 700; margin-bottom: 40px; line-height: 1.6;  opacity:0;
}

@media (max-width: 900px) {
    .hero { height: 600px; }
    .hero__title { font-size: 2.5rem; }
    .hero__title span { font-size: 3rem; }
    .hero__subtitle { font-size: 1.1rem; }
}
@media (max-width: 768px) {
    .hero { height: auto; padding: 80px 0; text-align: center; }
    .hero__content { justify-content: center; }
    .hero__badges-top { justify-content: center; }
    .hero__title { font-size: 2rem; }
    .hero__title span { font-size: 2.4rem; }
    /* スマホでサブコピーをセンター合わせ */
    .hero__subtitle { font-size: 1rem; text-align: center; display: block; }
}


/* =========================================
   こんな『不安』抱えていませんか？ (修正)
   ========================================= */
/* セクション上部の余白を半分に */
.section.worries {
    padding-top: 20px;
}

.worries__grid {
    display: flex; gap: 20px; justify-content: center; flex-wrap: wrap;
    margin-bottom: 40px;
}

.worry-item {
    background: rgba(255,255,255,1);
    border-radius: 10px;
    padding: 0;
    text-align: center;
    width: calc(20% - 20px); min-width: 220px;
    display: flex; flex-direction: column;
    overflow: hidden;
}

.worry-item__img {
    width: 100%; height: 180px; margin-bottom: 0; border-radius: 0;
}
.worry-item__img img {
    width: 100%; height: 100%; object-fit: cover;
}

.worry-item__content {
    padding: 20px; flex-grow: 1; display: flex; flex-direction: column;
}

.worry-item h3 {
    font-size: 1.5rem;
    font-weight: 900;
    margin-bottom: 10px;
    color: var(--color-gold);
    padding: 0.2em 0.5em;
  color: #0b3d7a;
  background: #f4f4f4;
  border-left: solid 5px #a8bcd5;
  border-right: solid 5px #a8bcd5;
}
.worry-item p { font-weight: 700; font-size: 0.95rem; flex-grow: 1; text-align: left; color: #333; }

.worries__message {
    font-size: 1.3rem; font-weight: 700;
}

@media (max-width: 768px) {
    .worry-item { width: calc(33.3333% - 20px); }
    .worries__message { font-size: 1.1rem; }
    .worry-item h3 { font-size: 1.6rem; }
}
@media (max-width: 500px) {
    .worry-item { width:calc(90% - 20px); }
}


/* =========================================
   匠外装のこだわり (修正)
   ========================================= */
/* 1カラムに変更 */
.commitment__single {
    max-width: 800px; margin: 0 auto 30px;
}

.commitment__img-box {
    text-align: center;
}
.commitment__img-box img {
    border-radius: 10px; box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.img-caption {
    font-weight: 700; margin-top: 15px; font-size: 1.1rem; color: var(--color-blue);
}

/* グレー背景を削除 */
.commitment__text-box--transparent {
    background: transparent; padding: 0 20px;
    font-size: 1.1rem; line-height: 2; max-width: 800px; margin: 0 auto;
}


/* =========================================
   選ばれる理由・ポイント (修正)
   ========================================= */
.points__grid {
    display: flex; gap: 30px;
}

/* point-box の修正 (余白なしで画像を表示) */
.point-box {
    background: #fff;
    border-radius: 15px;
    text-align: center; flex: 1; position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05); border-bottom: 5px solid var(--color-gold);
    display: flex; flex-direction: column;
    overflow: hidden; /* 画像を切り抜く */
}

/* point-label の修正 (画像の上に配置) */
.point-label {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-gold); color: #fff; padding: 5px 20px;
    font-weight: 900;
    border-radius: 0 0 15px 15px; /* 下側のみ角丸 */
    z-index: 1;
}

/* point-img の修正 (余白と角丸を削除) */
.point-img {
    width: 100%;
    height: 200px;
    margin-bottom: 0;
    border-radius: 0;
    overflow: hidden;
}
.point-img img {
    width: 100%; height: 100%; object-fit: cover;
}

/* point-box__content の追加 */
.point-box__content {
    padding: 30px 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.point-box h3 {
    font-size: 1.3rem; font-weight: 900; color: var(--color-navy); margin-bottom: 15px;
}
.point-box p { flex-grow: 1; text-align: left; }

@media (max-width: 768px) {
    .points__grid { flex-direction: column; }
}


/* =========================================
   確かな技術と知識の証明
   ========================================= */
.licenses__grid {
    display: flex; justify-content: center; gap: 30px; flex-wrap: wrap;
}

.license-item {
    text-align: center; width: calc(20% - 60px);
}
.license-item p {
    font-weight: 700; color: var(--color-navy);
}
@media (max-width: 811px) {
	.license-item { width: calc(33.333% - 60px); }
}
@media (max-width: 540px) {
	.licenses__grid{ gap:5px; }
	.license-item { width: calc(50% - 60px); }
}
/* =========================================
   対応サービス・サービスカード
   ========================================= */
.services__grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px;
}
.services__grid_top {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px;
}
.service-card {
    background: #fff; border-radius: 10px; overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    display: flex; flex-direction: column;
    /* カード全体をリンクにするため、立体ボタンのスタイルは適用しない */
    transition: transform 0.3s;
}
a.service-card:hover {
    transform: translateY(-5px); opacity: 1;
}

.service-card__img {
    height: 200px;
}
.service-card__img img {
    width: 100%; height: 100%; object-fit: cover;
}

.service-card__content {
    padding: 20px; flex-grow: 1; display: flex; flex-direction: column;
    background: white;
    border-left: 6px solid #9abff0; margin-left: -30px;
}

.service-card h3 , .service-card__content h3 {
    font-size: 1.2rem; font-weight: 900; color: var(--color-navy); margin-bottom: 10px; line-height:1.4;
}

.service-card__content p {
    font-size: 1.0rem; flex-grow: 1; text-align:left; line-height:1.4;
}

@media (max-width: 1024px) {
    .services__grid { grid-template-columns: repeat(2, 1fr); }
	.services__grid_top { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .services__grid { grid-template-columns: 1fr; }
	.services__grid_top { grid-template-columns: 1fr; }
	.service-card__content { margin-left:0px; margin-top:-30px; }

}


/* =========================================
   お問い合わせCTA
   ========================================= */
.contact-cta {
    padding: 80px 0;
}

.contact-cta__message {
    font-size: 1.4rem; font-weight: 700; margin-bottom: 30px; line-height: 1.6;
}

.contact-cta__tel {
    color: var(--color-gold); margin-bottom: 30px;
}
.contact-cta__tel .tel-number { font-size: 2.5rem; }
.contact-cta__tel .tel-time { font-size: 1rem; color: #ccc; }

@media (max-width: 768px) {
    .contact-cta__message { font-size: 1.2rem; }
    .contact-cta__tel .tel-number { font-size: 2rem; }
    /* スマホでのCTAボタン調整 */
    .btn--lg { padding: 20px 30px; font-size: 1.1rem; width: 95%; }
}


/* =========================================
   フッター
   ========================================= */
.footer {
    padding: 60px 0 20px;
}

.footer__container {
    display: flex; justify-content: space-between; gap: 40px; margin-bottom: 40px;
    align-items: flex-start;
}

.footer__info h2 a {
    font-size: 1.5rem; font-weight: 900; color: #fff;
}
.footer__info p { margin-top: 15px; }

.footer__map {
    flex: 1; max-width: 400px; height: 250px; background: #ddd;
}
.footer__map img { width: 100%; height: 100%; object-fit: cover; }

.footer__links ul {
    display: flex; flex-direction: column; gap: 15px;
}
.footer__links a {
    font-weight: 700;
}
.footer__links a:hover {
    color: var(--color-gold);
    text-decoration: underline;
}

.footer__copyright {
    text-align: center; font-size: 0.9rem; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px;
}

@media (max-width: 900px) {
    .footer__container { flex-wrap: wrap; }
    .footer__links { width: 100%; }
    .footer__links ul { flex-direction: row; flex-wrap: wrap; justify-content: center; }
}
@media (max-width: 768px) {
    .footer__container { flex-direction: column; align-items: center; text-align: center; }
    .footer__map { width: 100%; }
}


/* =========================================
   下層ページ固有スタイル (reason.html)
   ========================================= */
.section--lead p {
    font-size: 1.2rem; font-weight: 500;
}

.reason-detail__sub-title {
    font-size: 1.5rem; font-weight: 900; color: var(--color-navy);
}

.reason-detail__flex {
    display: flex; gap: 40px;
}

.reason-detail__col {
    flex: 1; background: var(--color-light-gray); padding: 30px; border-radius: 15px;
}
.reason-detail__col--bad { border: 3px solid #ccc; }
.reason-detail__col--good { border: 3px solid var(--color-blue); background: #f0f8ff; }

.reason-detail__img {
    position: relative; margin-bottom: -20px; text-align: center;
}
.reason-detail__img img {
    border-radius: 10px; box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.img-label--bad, .img-label--good {
    display: inline-block; padding: 10px 10px; font-weight: 900; border-radius: 30px;
    position: relative; top: -40px;
        width: 85%; max-width:350px;
    font-size: 120%;
    border: 6px solid white; box-shadow: 0 5px 15px rgba(0,0,0,0.3); 
}
.img-label--bad { background: #ccc; color: #333; }
.img-label--good { background: var(--color-blue); color: #fff; }

.reason-detail__col ul li {
    margin-bottom: 15px; padding-left: 2.0em; position: relative; font-weight: 700;
}
.reason-detail__col ul li::before {
    content: "◎"; position: absolute; left: 0; color: var(--color-blue); font-weight:900;
    font-size: 145%;
    top: -6px;
}
.reason-detail__col--bad ul li::before { content: "×"; color: #999; font-weight:bold; }

.reason-proof__text {
    font-size: 1.2rem; line-height: 1.8; background: #fff; display: inline-block;
    padding: 30px; border-radius: 10px; box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

/* ポイント深掘り */
.points-deep .point-deep-box {
    background: #fff; border-radius: 15px; overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05); margin-bottom: 40px;
    max-width:900px; margin:0 auto;
}
.points-deep .point-deep-box:last-child { margin-bottom: 0; }

.point-deep-box__header {
    background: var(--color-navy); color: #fff; padding: 20px 30px;
    display: flex; align-items: center; gap: 20px;
}
.point-deep-box__header .point-label {
    background: var(--color-gold); color: #fff; padding: 5px 15px; font-weight: 900; border-radius: 20px;
}
.point-deep-box__header h3 { font-size: 1.3rem; margin: 0; }

.point-deep-box__body {
    padding: 30px; display: flex; align-items: flex-start; gap: 30px;
}

/* 画像をアスペクト比5:4で表示する修正 */
.point-deep-box__icon {
    flex-shrink: 0;
    width: 300px; /* 幅を少し広げる */
    aspect-ratio: 5 / 4; /* 幅5:高さ4のアスペクト比を指定 */
    overflow: hidden; /* はみ出た部分を隠す */
    border-radius: 10px; /* 角丸をコンテナに適用 */
}
.point-deep-box__icon img {
    width: 100%;
    height: 100%; /* コンテナの高さに合わせる */
    object-fit: cover; /* 画像の比率を維持したまま、枠に合わせてトリミング */
    border-radius: 0; /* imgタグ自体の角丸は削除（親に任せる） */
}


.point-deep-box__text { font-size: 1.05rem; }

@media (max-width: 900px) {
    .reason-detail__flex { flex-direction: column; }
    .point-deep-box__body { flex-direction: column; align-items: center; }
    .point-deep-box__header { flex-direction: column; gap: 10px; text-align: center; }
    /* スマホ時は画像をさらに大きく */
    .point-deep-box__icon { width: 100%; max-width: 400px; }
}

/* =========================================
   下層ページ固有スタイル (service.html)
   ========================================= */
.diagnosis-menu__box {
    background: var(--color-light-gray); padding: 50px; border-radius: 15px; 
}

.diagnosis-menu__buttons {
    display: flex; justify-content: center; gap: 20px; flex-wrap: wrap;
}
.btn--Diagnosis {
    width: 200px; padding: 15px 0; font-size: 1.1rem;
}

.renovation-menu .service-card {
    align-items: center; text-align: center;
}
.renovation-menu .service-card__img {
    height: 250px; width: 100%;
}

/* 知っておきたい外装リフォームの知識 (追加スタイル) */
.knowledge-content {
    background: #fff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    max-width:900px; margin:0 auto;
}

.knowledge-heading {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--color-navy);
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--color-gold);
}

.material-block {
    margin-bottom: 40px;
}
.material-block:last-child {
    margin-bottom: 0;
}

.material-title {
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--color-blue);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}
.material-title::before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 24px;
    background-color: var(--color-gold);
    margin-right: 10px;
    border-radius: 4px;
}

/* 追加：material-img のスタイル */
.material-img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}
.material-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* 注意点ボックス */
.attention-box {
    background-color: #fff4e6; /* 薄いオレンジ/ゴールド系の背景 */
    border: 2px solid var(--color-gold);
    padding: 25px;
    border-radius: 10px;
}

.attention-title {
    font-size: 1.1rem;
    font-weight: 900;
    color: #d32f2f; /* 赤色で強調 */
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}
.attention-title::before {
    content:url("../images/service/alert.svg");
    display: inline-block;
    width: 24px;
    height: 24px;
    margin-right: 10px;
}
.attention-box ul {
    padding-left: 0;
}

.attention-box ul li {
    margin-bottom: 15px;
    padding-left: 1.5em;
    position: relative;
}
.attention-box ul li::before {
    content: "・";
    position: absolute;
    left: 0;
    color: var(--color-gold);
    font-weight: 100%;
}
.attention-box ul li strong {
    color: var(--color-navy);
}

@media (max-width: 768px) {
    .knowledge-content {
        padding: 25px;
    }
    .knowledge-heading {
        font-size: 1.3rem;
    }
    .material-title {
        font-size: 1.2rem;
    }
    .attention-box {
        padding: 20px;
    }
	.attention-title::before {
	    width: 24px;
	    height: 18px;
	    line-height: 22px;
	}
}


/* =========================================
   施工の流れ (service.htmlに追加)
   ========================================= */
.flow__steps {
    max-width: 900px; margin: 0 auto;
}

.flow-step {
    display: flex; gap: 30px; background: #fff; border-radius: 15px;
    overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    margin-bottom: 40px; position: relative;
}
.flow-step:last-child { margin-bottom: 0; }

/* 矢印の装飾 */
.flow-step:not(:last-child)::after {
    content: "▼"; position: absolute; bottom: -35px; left: 50%; transform: translateX(-50%);
    font-size: 1.5rem; color: var(--color-gold);
}

.flow-step__img {
    flex-shrink: 0; width: 300px; position: relative;
}
.flow-step__img img {
    width: 100%; height: 100%; object-fit: cover;
}

.flow-step__num {
    position: absolute; top: 20px; left: 20px;
    background: var(--color-gold); color: #fff; font-size: 1.5rem;
    font-weight: 900; width: 50px; height: 50px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

.flow-step__content {
    padding: 30px; display: flex; flex-direction: column; justify-content: center;
}
.flow-step__content h3 {
    font-size: 1.4rem; font-weight: 900; color: var(--color-navy); margin-bottom: 15px;
}
.flow-step__content p { font-size: 1.05rem; }

@media (max-width: 768px) {
    .flow-step { flex-direction: column; }
    .flow-step__img { width: 100%; height: 200px; }
    .flow-step__content { padding:20px; padding-top:0; }
    .flow-step__content h3{ margin-bottom:5px; }
}


/* =========================================
   下層ページ固有スタイル (faq.html)
   ========================================= */
.faq-category-buttons {
    display: flex; justify-content: center; gap: 20px; flex-wrap: wrap;
    margin-bottom: 40px;
}

.faq-item {
    background: #fff; border: 1px solid #eee; border-radius: 10px;
    margin-bottom: 20px; overflow: hidden;
}

.faq-item summary {
    padding: 20px 30px; font-weight: 700; cursor: pointer; position: relative;
    list-style: none; color: var(--color-navy); font-size: 1.1rem;
    display: flex; justify-content: space-between; align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
    content: "∨"; color: var(--color-gold); transition: transform 0.3s;
    font-weight: 900;
}
.faq-item[open] summary::after { transform: rotate(180deg); }

.faq-answer {
    padding: 30px; background-color: #f9f9f9; border-top: 1px solid #eee;
    line-height: 1.8;
}


/* =========================================
   下層ページ固有スタイル (company.html)
   ========================================= */
/* 会社情報テーブル */
.company-table {
    width: 100%; border-collapse: collapse;
}
.company-table th, .company-table td {
    padding: 20px; border-bottom: 1px solid #eee; text-align: left;
}
.company-table th {
    background: var(--color-light-gray); color: var(--color-navy); font-weight: 700; width: 30%;
}

/* 事業内容リスト */
.business-list-box {
    background: #fff; padding: 40px; border-radius: 15px; box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.business-list li {
    margin-bottom: 15px; padding-left: 1.5em; position: relative; font-weight: 700;
    font-size: 1.1rem; border-bottom: 1px dashed #eee; padding-bottom: 15px;
}
.business-list li:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.business-list li::before {
    content: "■"; position: absolute; left: 0; color: var(--color-blue);
}

/* 保有資格リスト */
.qualification-list li {
    display: inline-block; padding: 10px 25px; background: var(--color-light-gray);
    border-radius: 30px;
    border: 2px solid var(--color-gold); margin: 5px;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700; font-size: 120%; color: #c4a058;
}}

/* アクセスマップ */
.access-map img {
    border-radius: 10px; box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
    .company-table th, .company-table td { display: block; width: 100%; }
    .company-table th { background: var(--color-navy); color: #fff; }
}