/* 全体の基本設定 */
html {
    font-size: 100%;
}

body {
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    line-height: 1.6;
    color: #333;
    margin: 0 auto;
    padding: 0 60px;
    max-width: 1000px;
    background-image: linear-gradient(rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0.75)), url('logo02.jpg');
    background-attachment: fixed;
    background-size: 120%;
    background-position: center top;
}

/* ヘッダー */
.site-header {
    background: transparent;
    padding: 20px 0;
    margin-top: 20px;
    margin-left: -60px;
    margin-right: -60px;
}

.header-inner {
    display: flex;
    align-items: stretch;
    gap: 0;
    padding: 0 60px;
    max-width: 1000px;
    margin: 0 auto;
}

.logo-img {
    height: 100px;
    max-height: 100px;
    width: auto;
    flex-shrink: 0;
    display: block;
    border-radius: 4px 0 0 4px;
    border: 3px solid #003366;
    margin-right: 0;
}

.header-title-bar {
    background: #003366;
    padding: 0 28px;
    border-radius: 0 4px 4px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-grow: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.header-title-text {
    color: #ffffff;
    font-size: 3.2em;
    font-weight: bold;
    white-space: nowrap;
    letter-spacing: 0.15em;
}

/* ヘッダー右側の連絡先 */
.header-contact-right {
    margin-left: auto;
    text-align: right;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #003366;
}
.header-loc { font-size: 0.9em; font-weight: bold; color: #0099cc; }
.header-tel { font-size: 1.4em; font-weight: bold; line-height: 1.2; }
.header-time { font-size: 0.8em; }

/* コンテナ */
.container {
    max-width: 900px;
    margin: 10px auto 10px auto;
    padding: 20px;
    border-radius: 6px;
    background-color: #fff;
    box-shadow: 0 10px 25px rgba(0,0,0,0.22);
}

/* 連絡先 */
.contact-info {
    font-size: 1.2em;
    line-height: 1.4;
    margin-top: 10px;
    text-align: center;
}
.contact-info p { text-align: center; }

/* ヒーローセクション */
.hero {
    background: #003366;
    background-image: linear-gradient(#ffffff, #ffffff), linear-gradient(#ffffff, #ffffff);
    background-size: 100% 4px;
    background-position: center 15%, center 85%;
    background-repeat: no-repeat;
    color: #ffffff;
    text-align: center;
    margin-bottom: 4px;
    padding: 25px 0;
    box-sizing: border-box;
}
.hero p {
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0;
    line-height: 1;
    white-space: nowrap;
}

/* ボタンのグリッド（5列並び） */
.grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    margin-bottom: 40px;
}

/* ボタン本体 */
.btn {
    background: #fff;
    border: 2px solid #003366;
    color: #003366;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    border-radius: 12px;
    transition: 0.3s;
    aspect-ratio: 1 / 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px;
    box-sizing: border-box;
}

/* アイコン（絵文字）のサイズ */
.btn-icon {
    font-size: 2.2rem;
    margin-bottom: 8px;
    display: block;
}

/* テキスト（2段）のサイズ */
.btn-text {
    font-size: 0.95rem;
    line-height: 1.3;
    display: block;
}

.btn:hover {
    background: #f0f5fb;
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* ===== お知らせ・弊社の指針 ===== */
.info-box {
    border: 2px solid #003366;
    border-radius: 8px;
    padding: 18px 24px;
    margin-bottom: 24px;
    background-color: #f7f9fc;
}

.info-box h2 {
    font-size: 1.1em;
    font-weight: bold;
    color: #003366;
    margin: 0 0 12px 0;
    padding-bottom: 8px;
    border-bottom: 1px solid #c0cfe0;
}

.info-box ul {
    margin: 0;
    padding-left: 1.4em;
    line-height: 1.8;
}

.info-box ul li {
    margin-bottom: 6px;
}

/* サブページ用ヒーロー */
.page-hero {
    background: #003366;
    color: #fff;
    border-radius: 6px;
    padding: 24px 28px;
    margin-bottom: 24px;
}
.page-hero h1 {
    margin: 0 0 8px 0;
    font-size: 1.6em;
}
.page-hero p {
    margin: 0;
    line-height: 1.7;
    font-size: 0.97em;
}

/* セクションブロック（枠＋背景） */
.section-block {
    border: 1.5px solid #b8cfe8;
    border-radius: 8px;
    padding: 18px 22px 14px 22px;
    margin-bottom: 20px;
}
.section-block:nth-child(1) {
    background-color: #e6f1fb;
    border-color: #b5d4f4;
}
.section-block:nth-child(2) {
    background-color: #e1f5ee;
    border-color: #9fe1cb;
}
.section-block:nth-child(3) {
    background-color: #faeeda;
    border-color: #fac775;
}
.section-block:nth-child(4) {
    background-color: #eeedfe;
    border-color: #afa9ec;
}
.section-block p {
    line-height: 1.9;
    margin: 0 0 10px 0;
}

/* セクションタイトル */
.section-title {
    font-weight: bold;
    font-size: 1.05em;
    color: #003366;
    border-left: 4px solid #0099cc;
    padding-left: 10px;
    margin: 0 0 12px 0;
}
.section-block:nth-child(1) .section-title {
    color: #185fa5;    border-left-color: #378add;
}
.section-block:nth-child(2) .section-title {
    color: #0f6e56;
    border-left-color: #1d9e75;
}
.section-block:nth-child(3) .section-title {
    color: #854f0b;
    border-left-color: #ba7517;
}
.section-block:nth-child(4) .section-title {
    color: #534ab7;
    border-left-color: #7f77dd;
}

/* 箇条書きリスト */
.case-list {
    padding-left: 1.4em;
    line-height: 1.9;
    margin-bottom: 4px;
}
.case-list li {
    margin-bottom: 6px;
}

/* クロージングノート */
.closing-note {
    background: #eef4fb;
    border-left: 4px solid #003366;
    border-radius: 4px;
    padding: 14px 18px;
    margin: 24px 0;
    line-height: 1.8;
    font-size: 0.97em;
}

/* 戻るリンク */
.back-link {
    display: inline-block;
    margin-top: 10px;
    color: #0099cc;
    text-decoration: none;
    font-size: 0.95em;
}
.back-link:hover {
    text-decoration: underline;
}

/* フッター */
footer {
    text-align: center;
    padding: 20px;
    font-size: 0.85em;
    color: #666;
    margin-top: 20px;
}

/* スマホ対応 */
@media (max-width: 600px) {
    body {
        padding: 0 16px;
    }
    .grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .hero p {
        font-size: 1.1rem;
        white-space: normal;
    }
    .header-title-text {
        font-size: 2em;
    }
}
.header-inquiry-btn {
    display: flex;
    flex-direction: column;
    align-items: center;


    justify-content: center;
    background: #0099cc;
    color: #fff;
    font-weight: bold;
    font-size: 0.95em;
    text-decoration: none;
    border-radius: 12px;
    margin-left: 12px;
    transition: background 0.2s;
    width: 100px;
    height: 100px;
    text-align: center;
    line-height: 1.4;
    flex-shrink: 0;
}

.header-inquiry-btn:hover {
    background: #007aa3;
}

.header-access-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #ff6600;
    color: #fff;
    font-weight: bold;
    font-size: 0.95em;
    text-decoration: none;
    border-radius: 12px;
    margin-left: 8px;
    transition: background 0.2s;
    width: 100px;
    height: 100px;
    text-align: center;
    line-height: 1.4;
    flex-shrink: 0;
}
.header-access-btn:hover {
    background: #e05500;
}