@charset "utf-8";

/* ======================================= */
/* 1. CSS変数 (カラースキーム定義)         */
/* ======================================= */
:root {
    --color-main: #2d9e6f;          /* AI&YUUのメイングリーン */
    --color-accent: #81daa4;        /* 明るいアクセントグリーン */
    --color-text: #333333;          /* 本文の文字色 */
    --color-bg-base: #FFFFFF;       /* サイト全体の背景色 */
    --color-bg-section: #f4f9f5;    /* 薄い緑がかった背景色 */
    --color-white: #FFFFFF;
    --color-dark: #222222;

    --header-height: 80px;
    --max-width: 1000px;
}

/* ======================================= */
/* 2. リセットCSSと基本スタイル           */
/* ======================================= */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--color-text);
    background-color: var(--color-bg-base);
    line-height: 1.8;
    font-size: 16px;
    letter-spacing: 0.05em;
    scroll-behavior: smooth;
}

a {
    color: var(--color-main);
    text-decoration: none;
    transition: 0.3s;
}

a:hover {
    opacity: 0.7;
}

/* セクション共通 */
.section {
    padding: 80px 0;
}

.section-news, .section-company, .section-price {
    background-color: var(--color-bg-section);
}

.section h2 {
    font-size: 32px;
    text-align: center;
    margin-bottom: 50px;
    color: var(--color-main);
    letter-spacing: 0.1em;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* ======================================= */
/* 3. ヘッダー周り                        */
/* ======================================= */
.fixed-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo a {
    display: flex;
    align-items: center;
    font-size: 24px;
    font-weight: bold;
    color: var(--color-main);
    letter-spacing: 0.1em;
}

.logo-img {
    height: 40px;
    margin-right: 10px;
}

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 20px;
}

.nav-menu li a {
    color: var(--color-dark);
    font-weight: bold;
    font-size: 15px;
    white-space: nowrap;
}

.nav-menu li a:hover {
    color: var(--color-main);
}

.tel-link {
    background-color: var(--color-main);
    color: var(--color-white);
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: bold;
    box-shadow: 0 4px 6px rgba(45, 158, 111, 0.2);
    white-space: nowrap;
}

.tel-link:hover {
    background-color: #26593e;
    color: #fff;
    transform: translateY(-2px);
}

.header-spacer {
    height: var(--header-height);
}

/* スマホメニュー非表示（PC時） */
.hamburger-btn, .sp-nav {
    display: none;
}

/* ======================================= */
/* 4. ファーストビュー (ヒーロー)         */
/* ======================================= */
.hero-section {
    position: relative;
    width: 100%;
    /* 高さを画面幅に応じて自動調整（画像の縦横比に合わせます） */
    height: 40vw;
    /* ただし、スマホで小さくなりすぎない＆PCで大きくなりすぎないよう制限 */
    min-height: 250px;
    max-height: 500px;

    background-color: #eaf6ee;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 20px; /* ボタンの下の余白 */
    overflow: hidden;
}

.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* 🚨ここが最重要！ cover から contain に変更🚨 */
    object-fit: contain;
    object-position: center;
    opacity: 0;
    animation: heroFade 25s infinite;
}

/* 各画像が順番に表示されるように時間をずらす */
.hero-slide:nth-child(1) { animation-delay: 0s; }
.hero-slide:nth-child(2) { animation-delay: 5s; }
.hero-slide:nth-child(3) { animation-delay: 10s; }
.hero-slide:nth-child(4) { animation-delay: 15s; }
.hero-slide:nth-child(5) { animation-delay: 20s; }

/* フェードイン・フェードアウトの動き */
@keyframes heroFade {
    0% { opacity: 0; }
    10% { opacity: 1; }
    20% { opacity: 1; }
    30% { opacity: 0; }
    100% { opacity: 0; }
}

.hero-content-wrapper {
    position: relative;
    z-index: 10;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #2d9e6f 0%, #26593e 100%);
    color: var(--color-white);
    font-size: 18px;
    padding: 15px 40px;
    border-radius: 30px;
    font-weight: bold;
    box-shadow: 0 5px 15px rgba(45, 158, 111, 0.4);
    border: 2px solid #fff; /* 画像に埋もれないように白いフチをつける */
}

.cta-button:hover {
    transform: translateY(-3px);
    color: #fff;
    box-shadow: 0 8px 20px rgba(45, 158, 111, 0.6);
}

/* ======================================= */
/* 5. お知らせ (News)                     */
/* ======================================= */
.news-list table {
    width: 100%;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border-collapse: collapse;
}

.news-list td {
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.news-list tr:last-child td {
    border-bottom: none;
}

.news-list td:first-child {
    width: 140px;
    color: #888;
    font-size: 14px;
}

.news-more-link {
    text-align: center;
    margin-top: 30px;
}

.news-submit-btn {
    display: inline-block;
    border: 2px solid var(--color-main);
    background: transparent;
    color: var(--color-main);
    padding: 10px 30px;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
}

.news-submit-btn:hover {
    background: var(--color-main);
    color: #fff;
}

/* 日付カラムの調整 */
.date-col {
    text-align: center; /* 中央寄せ */
    line-height: 1.2;   /* 行間を詰める */
    padding: 8px 5px !important;
    vertical-align: middle;
}

/* 年のスタイル */
.date-year {
    display: block;     /* 強制改行 */
    font-size: 10px;    /* 年は控えめに */
    color: #888;
}

/* 月日のスタイル */
.date-day {
    display: block;     /* 強制改行 */
    font-size: 15px;    /* 月日は見やすく大きく */
    font-weight: bold;  /* 太字で強調 */
    color: #2e7d32;     /* 会社のテーマカラー */
}


/* ======================================= */
/* 6. サービス (Services & Accordion)      */
/* ======================================= */
.service-lead {
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    color: var(--color-main);
    margin-bottom: 40px;
}

.accordion-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

/* アイコンのスタイル */
.card-icon {
    font-size: 48px;
    margin-bottom: 15px;
    color: var(--color-main); /* 🚨 追記: 全てのサービスアイコンをメインカラーにする 🚨 */
    line-height: 1; /* 行の高さを調整 */
}

/* アコーディオンの基本スタイル */
.accordion {
    background: #fff;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-top: 5px solid var(--color-accent);
    overflow: hidden;
    transition: 0.3s;
}

.accordion:hover {
    border-top-color: var(--color-main);
}

/* クリックする見出し部分 */
.accordion summary {
    padding: 25px 20px;
    cursor: pointer;
    list-style: none; /* デフォルトの三角形を消す */
    position: relative;
}
.accordion summary::-webkit-details-marker {
    display: none; /* Safari用の三角形消去 */
}

/* 開閉のアイコン（＋と－） */
.accordion summary::after {
    content: "＋";
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    color: var(--color-main);
    font-weight: bold;
}
.accordion[open] summary::after {
    content: "－";
}

.summary-inner {
    text-align: center;
    padding-right: 30px; /* アイコンと被らないように */
}

.summary-inner h3 {
    font-size: 20px;
    color: var(--color-dark);
    margin-bottom: 10px;
}

.summary-inner p {
    font-size: 14px;
    color: #555;
}

.summary-inner p span {
    display: block;
    font-size: 12px;
    color: #888;
    margin-top: 5px;
}

/* アコーディオンが開いた中身 */
.accordion-content {
    padding: 0 30px 30px;
    border-top: 1px dashed #ddd;
    margin-top: 10px;
    padding-top: 20px;
    text-align: left; /* 中身の文章は読みやすいように左揃え */
}

.service-detail-block {
    margin-bottom: 30px;
}
.service-detail-block:last-child {
    margin-bottom: 0;
}

.service-detail-block h4 {
    color: var(--color-main);
    font-size: 18px;
    border-left: 4px solid var(--color-main);
    padding-left: 10px;
    margin-bottom: 15px;
}

.service-detail-block p {
    font-size: 14px;
    margin-bottom: 10px;
}

.service-detail-block ul, .service-detail-block ol {
    padding-left: 20px;
    margin-bottom: 15px;
    font-size: 14px;
}

.service-detail-block li {
    margin-bottom: 8px;
}

.sub-list {
    margin-top: 5px;
    color: #555;
}

.bold-list li {
    font-weight: bold;
    color: #333;
}

.merit-title {
    font-size: 16px;
    margin: 20px 0 10px;
    color: var(--color-dark);
}

.merit-list li {
    font-size: 14px;
    margin-bottom: 10px;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 5px;
}

.note {
    font-size: 13px;
    color: #e65100;
    margin-top: 10px;
}

/* アコーディオン以外の通常カード */
.service-card-static {
    background: #fff;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-top: 5px solid var(--color-accent);
    padding: 25px 20px;
    text-align: center;
}
.service-card-static:hover {
    border-top-color: var(--color-main);
}

.service-card-static h3 {
    font-size: 20px;
    color: var(--color-dark);
    margin-bottom: 10px;
}

.service-card-static p {
    font-size: 14px;
    color: #555;
}

/* ======================================= */
/* 7. ご利用の流れ (Flow)                 */
/* ======================================= */
.flow-container {
    display: flex;
    justify-content: space-between;
}

.flow-step {
    flex-basis: 22%;
    text-align: center;
    position: relative;
}

.flow-step:not(:last-child)::after {
    content: "\f0da"; /* FontAwesomeの右矢印 */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    top: 40px;
    right: -20px;
    font-size: 24px;
    color: var(--color-accent);
}

.flow-number {
    display: inline-block;
    width: 30px;
    height: 30px;
    line-height: 30px;
    background: var(--color-main);
    color: #fff;
    border-radius: 50%;
    font-weight: bold;
    margin-bottom: 15px;
}

.flow-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.flow-step h3 {
    font-size: 18px;
    color: var(--color-main);
    margin-bottom: 10px;
}

.flow-step p {
    font-size: 13px;
    color: #666;
}

/* ======================================= */
/* 8. 料金 (Price)                        */
/* ======================================= */
.price-lead {
    text-align: center;
    margin-bottom: 40px;
    font-size: 15px;
}
.price-lead strong {
    color: #d32f2f;
    display: block;
    margin-top: 10px;
}

.price-category {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.price-category h3 {
    font-size: 24px;
    color: var(--color-dark);
    text-align: center;
    margin-bottom: 25px;
    letter-spacing: 0.1em;
}

.price-table {
    width: 100%;
    min-width: 600px;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.price-table th {
    background: #a5d6a7; /* 優しい緑色 */
    color: var(--color-dark);
    padding: 12px;
    text-align: center;
    border: 1px solid #2e7d32;
    font-weight: bold;
}

.price-table td {
    padding: 12px;
    border: 1px solid #2e7d32;
    font-size: 15px;
    text-align: center;
}

.price-table td:first-child {
    background-color: #f1f8e9; /* 薄い緑 */
}

.table-section-title th {
    background: #f1f8e9;
    text-align: left;
    padding-left: 20px;
    border-top: 2px solid #2e7d32;
}

/* 計算フォーム */
.price-calc-wrapper {
    margin-bottom: 10px;
}
.calc-label {
    display: block;
    margin-bottom: 5px;
    white-space: nowrap; /* 🚨絶対に縦書きに潰れないようにする魔法の1行 */
}
.price-calc-form {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}
.input-5char {
    width: 60px; /* 🚨5文字程度のスッキリした幅にする */
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
    text-align: center;
}
.calc-result {
    font-weight: bold;
    color: #d32f2f;
    margin-top: 5px;
    min-height: 20px; /* 結果がない時も少しスペースを確保 */
}

/* 注意事項リスト */
.important-notes {
    margin-top: 30px;
    text-align: left;
}
.important-notes h4 {
    font-size: 16px;
    color: var(--color-dark);
    margin-bottom: 10px;
}
.notes-list {
    list-style: none;
    padding: 0;
}
.notes-list li {
    font-size: 13px;
    margin-bottom: 6px;
    padding-left: 1em;
    text-indent: -1em;
}
.notes-list li::before {
    content: "・";
}
.bold-notes li {
    font-weight: bold;
}
.plan-notes li::before {
    content: "※";
}

/* パックプランの特別装飾 */
.premium-plan {
    border: 3px solid #f57c00;
}
.premium-plan h3 {
    color: #f57c00;
}
.plan-catch {
    text-align: center;
    margin-bottom: 25px;
    color: #e65100;
    font-weight: bold;
}
.catch-1 { font-size: 18px; }
.catch-2 { font-size: 20px; }
.catch-3 { font-size: 18px; margin-top: 10px; }
.f24 { font-size: 24px; font-weight: bold; }
.f-small { font-size: 14px; color: #333; }
.price-text { color: #d32f2f; }
.plan-note { text-align: left !important; font-size: 13px !important; }

/* 料金目安アコーディオン */
.price-guideline-accordion {
    background: #a5d6a7;
    border: none;
    margin-top: 40px; /* 🚨 この1行を追加（上の要素との間に40pxの隙間を開ける） */
    border-radius: 8px; /* ※ついでに角を少し丸くすると上の枠と統一感が出ます */
}
.price-guideline-accordion summary {
    color: #fff;
}
.price-guideline-accordion summary::after {
    color: #fff;
    content: "▼";
}
.price-guideline-accordion[open] summary::after {
    content: "▲";
}
.price-guideline-accordion .accordion-content {
    background: #f5f5f5;
    border-top: none;
    padding: 20px;
    border-radius: 0 0 12px 12px;
}
.guideline-title {
    text-align: center;
    font-size: 18px;
    margin-bottom: 15px;
}
.guideline-notes li::before {
    content: "※";
}

/* 価格設定について */
.price-philosophy {
    margin-top: 40px;
    padding: 0 20px;
}
.price-philosophy h4 {
    color: #d32f2f;
    font-size: 16px;
    margin-bottom: 15px;
}
.price-philosophy p {
    font-size: 14px;
    color: #d32f2f;
    margin-bottom: 10px;
    line-height: 1.6;
}

/* ======================================= */
/* 9. 会社概要 (Company)                  */
/* ======================================= */
.section-company {
    background-color: var(--color-white); /* 背景は白にして緑枠を目立たせる */
}

/* 緑枠のカード設定 */
.company-card {
    background: #fff;
    border: 3px solid var(--color-main); /* 緑の枠線 */
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.company-card h3 {
    font-size: 20px;
    color: var(--color-dark);
    margin-bottom: 20px;
    font-weight: bold;
}

/* 企業理念 */
.philosophy-layout {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}
.ceo-img {
    width: 200px;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}
.philosophy-text p {
    font-size: 15px;
    margin-bottom: 1em;
    line-height: 1.8;
}

/* 感染症対策・車両機材 */
.infection-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    text-align: center;
    margin-top: 20px;
}
.infection-grid img {
    width: 100%;
    max-width: 150px;
    margin: 0 auto;
}

.equipment-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    text-align: center;
}
.equipment-item p {
    font-size: 15px;
    margin-bottom: 10px;
}
.equipment-grid img {
    width: 100%;
    height: 200px; /* 写真の縦幅を統一 */
    object-fit: cover;
    border-radius: 8px;
}

/* 個人情報保護リスト */
.privacy-list {
    list-style: none;
    padding-left: 0;
    margin-top: 15px;
}
.privacy-list li {
    font-size: 14px;
    margin-bottom: 8px;
    padding-left: 1em;
    text-indent: -1em;
}
.privacy-list li::before {
    content: "・";
}

/* 事業所概要テーブル */
.company-table {
    width: 100%;
    border-collapse: collapse;
}
.company-table th, .company-table td {
    border: 1px solid var(--color-main); /* 表の枠も緑色 */
    padding: 12px;
    font-size: 15px;
}
.company-table th {
    background: #e8f5e9; /* 薄い緑色 */
    width: 30%;
    text-align: center;
}


/* ======================================= */
/* 10. フッター & コンタクト              */
/* ======================================= */
.section-contact {
    text-align: center;
}

.contact-main {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.contact-tel-btn {
    background: #e65100;
}
.contact-tel-btn:hover {
    background: #bf360c;
}

.contact-form-btn {
    background: #fff;
    color: var(--color-main);
    border: 2px solid var(--color-main);
}
.contact-form-btn:hover {
    background: var(--color-bg-section);
    color: var(--color-main);
}

.tel-text-sp { display: none; }

/* ======================================= */
/* SNSリンク                               */
/* ======================================= */
.sns-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 30px 0; /* 上下の余白（お好みで調整してください） */
}

.sns-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 8px; /* 少し丸みのある四角 */
    color: white;
    font-size: 28px;
    text-decoration: none;
    transition: 0.3s;
}

/* 各SNSのブランドカラー */
.sns-icon.instagram {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

.sns-icon.facebook {
    background: #1877F2;
}

.sns-icon.x-twitter {
    background: #000000; /* Xのブラック */
}

/* ホバー時の動き */
.sns-icon:hover {
    transform: translateY(-3px);
    opacity: 0.8;
    color: white;
}

footer {
    background: var(--color-dark);
    color: #ccc;
    text-align: center;
    padding: 30px 0;
    font-size: 14px;
}

.page-top-btn {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 50px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    background: var(--color-main);
    color: #fff;
    border-radius: 50%;
    font-weight: bold;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    z-index: 990;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.page-top-btn.is-show {
    opacity: 1;
    visibility: visible;
}

/* スマホ用固定バー初期非表示 */
.fixed-contact-bar {
    display: none;
}

/* ======================================= */
/* 11. レスポンシブ (スマホ表示)          */
/* ======================================= */
@media (max-width: 1024px) {
    :root {
        --header-height: 60px;
    }

    body {
        padding-bottom: 60px; /* 固定バーの余白 */
    }

    /* スマホメニュー・ヘッダー調整 */
    .nav-menu, .header-inner .tel-link {
        display: none;
    }

    /* メニューの黒ポチ（・）を強制的に消す強力な1行 */
    nav ul,
    nav li,
    .nav-menu,
    .nav-menu li,
    .sp-nav,
    .sp-nav ul,
    .sp-nav li {
        list-style: none !important;
        padding-left: 0 !important;
        margin: 0;
    }

    .hamburger-btn {
        display: block;
        position: absolute;
        right: 15px;
        top: 10px;
        width: 40px;
        height: 40px;
        background: transparent;
        border: none;
        cursor: pointer;
        z-index: 1001;
    }

    .hamburger-btn span {
        display: block;
        width: 25px;
        height: 3px;
        background: var(--color-main);
        margin: 5px auto;
        transition: 0.3s;
    }

    .hamburger-btn.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .hamburger-btn.active span:nth-child(2) { opacity: 0; }
    .hamburger-btn.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

    .sp-nav {
        display: block;
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        padding-top: 80px;
        transition: 0.4s;
        z-index: 1000;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    }

    .sp-nav.open { right: 0; }

    .sp-nav li a {
        display: block;
        padding: 15px 20px;
        border-bottom: 1px solid #eee;
        color: var(--color-dark);
        font-weight: bold;
    }

    /* ファーストビュー (ヒーロー) スマホ・タブレット時はボタンを少し小さくして画像への被りを防ぐ */
        .cta-button {
            padding: 10px 25px;
            font-size: 15px;
        }

    /* スマホ固定バー */
    .fixed-contact-bar {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        z-index: 999;
    }

    .contact-btn {
        flex: 1;
        text-align: center;
        padding: 15px 0;
        color: #fff;
        font-weight: bold;
        font-size: 16px;
    }

    .tel-btn { background: #e65100; border-right: 1px solid rgba(255,255,255,0.3); }
    .line-btn { background: #00b900; }

    /* レイアウトの縦積み化 */
    .main-copy { font-size: 32px; }
    .card-grid { grid-template-columns: 1fr; }
    .flow-container { flex-direction: column; align-items: center; }
    .flow-step { width: 90%; margin-bottom: 40px; }
    .flow-step:not(:last-child)::after {
        content: "\f0d7"; /* 下矢印に変更 */
        top: auto;
        bottom: -35px;
        right: 50%;
        transform: translateX(50%);
    }

    /* おしらせ　日付カラムの調整 */
    /* 1. 外側のコンテナ余白を2pxに（画面端まで広げる） */
    .section-news .container {
        padding-left: 2px !important;
        padding-right: 2px !important;
    }

    /* 2. お知らせリスト自体の内側余白を削る */
    .news-list {
        padding: 10px 2px !important;
        margin-left: 0;
        margin-right: 0;
    }

    /* 3. テーブルレイアウトを固定して幅指定を厳密にする */
    .news-list table {
        width: 100%;
        table-layout: fixed; /* これでカラム幅が指定通りになります */
        border-collapse: collapse;
    }

    /* 4. 日付カラムを最小幅(50px)に固定 */
    .date-col {
        width: 50px !important;
        padding: 10px 2px !important; /* 枠との間を最小限に */
        vertical-align: middle;
    }

    /* 5. 本文（右側）の余白も2pxに設定 */
    .news-list td:last-child {
        padding: 10px 4px !important;
        font-size: 14px;
        line-height: 1.5;
        word-wrap: break-word; /* 長い単語での突き抜け防止 */
    }

    /* 日付の文字サイズ微調整（2行を維持） */
    .date-year {
        font-size: 8px !important;
    }
    .date-day {
        font-size: 12px !important;
    }

    /* 料金表スマホ横スクロール対応 */
    .price-category {
        /* 表を囲む親要素にスクロールを設定 */
        overflow-x: auto;
        -webkit-overflow-scrolling: touch; /* iOSで滑らかにスクロールさせる魔法の1行 */
        margin: 0 -20px; /* スマホの画面端までいっぱいに広げる調整 */
        padding: 0 20px 20px 20px;
    }
    .price-table {
        /* 横幅が足りなくても潰れないように最低幅を指定 */
        min-width: 100%; /* 横幅600pxの縛りを解除して画面幅にフィットさせる */
                font-size: 13px; /* 文字を少し小さくして情報量を確保 */
    }
    .price-table th, .price-table td {
        padding: 8px 4px; /* 余白を削って計算フォームのスペースを広げる */
    }
    .input-5char {
        width: 50px; /* 入力枠もスマホサイズに微調整 */
    }

    /* 会社概要スマホ対応 */
    .company-card { padding: 20px; }
    .philosophy-layout { flex-direction: column; align-items: center; }
    .infection-grid { grid-template-columns: repeat(2, 1fr); }
    .equipment-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .equipment-grid img { height: 120px; }

    .company-table th, .company-table td {
        display: block;
        width: 100%;
        text-align: left;
    }
    .company-table th { border-bottom: none; }

    /* コンタクトボタン縦積み */
    .contact-main { flex-direction: column; }
    .contact-tel-btn .tel-text-sp { display: inline; }
    .contact-tel-btn .tel-text-pc { display: none; }

    .page-top-btn { bottom: 80px; } /* 固定バーの上に退避 */
}