/* リセットCSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* カラーパレット定義 */
:root {
    --main-color: #1B3B5C;
    --sub-color: #2E5A7A;
    --accent-color: #7A9BB8;
    --text-color: #333333;
    --light-text: #666666;
    --bg-light: #F8F9FA;
    --white: #FFFFFF;
    --border-color: #E5E5E5;
}

/* フォント設定 */
body {
    font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic Pro', 'ヒラギノ角ゴ Pro W3', Meiryo, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    font-size: 16px;
}

/* 基本レイアウト */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ヘッダー */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-logo .logo {
    height: 60px;
    width: auto;
}

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

.nav-link {
    text-decoration: none;
    color: var(--main-color);
    font-weight: 500;
    font-size: 14px;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--accent-color);
}

.nav-link:hover::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-color);
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from { width: 0; }
    to { width: 100%; }
}

/* ハンバーガーメニュー */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--main-color);
    transition: all 0.3s ease;
}

/* メインビジュアル */
.hero {
    height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    background: linear-gradient(135deg, var(--main-color) 0%, var(--sub-color) 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)" /></svg>');
    opacity: 0.3;
}

.hero-content {
    padding: 0 40px;
    z-index: 2;
    position: relative;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: flex-end; /* 下寄り中央 */
    padding: 0 40px 60px 40px; /* 下に余白追加 */
    z-index: 2;
    position: relative;
    height: 100%;
}

.hero-building {
    width: 100%;
    max-width: 900px;
    height: 600px;
    border-radius: 0;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
    object-fit: cover;
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    margin-bottom: 40px;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.4s both;
}

.cta-button {
    display: inline-block;
    background: var(--accent-color);
    color: var(--white);
    padding: 18px 40px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease 0.6s both;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(122, 155, 184, 0.4);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* セクション共通スタイル */
.section {
    padding: 100px 0;
    position: relative;
}

.section:nth-child(even) {
    background: var(--bg-light);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-number {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.2rem;
    color: var(--accent-color);
    font-weight: 600;
    display: block;
    margin-bottom: 10px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--main-color);
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--accent-color);
}

/* 企業理念セクション */
.philosophy-main {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    color: var(--main-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: 600;
    line-height: 1.4;
}

.philosophy-text {
    font-size: 1.1rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
    color: var(--light-text);
    line-height: 1.8;
}

.philosophy-values {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.value-item {
    text-align: center;
    padding: 40px 30px;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.value-item h4 {
    font-size: 1.3rem;
    color: var(--main-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.value-item p {
    color: var(--light-text);
    line-height: 1.6;
}

/* 経営方針セクション */
.policy-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.policy-main h3 {
    font-size: 1.8rem;
    color: var(--main-color);
    margin-bottom: 20px;
    font-weight: 600;
}

.policy-main p {
    font-size: 1.1rem;
    color: var(--light-text);
    margin-bottom: 40px;
    line-height: 1.8;
}

.policy-details {
    margin-top: 60px;
}

.policy-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.policy-point {
    padding: 40px 30px;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
    text-align: center;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.policy-point:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.policy-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: var(--main-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(27, 59, 92, 0.3);
    z-index: 2;
}

.policy-point h4 {
    font-size: 1.4rem;
    color: var(--main-color);
    margin-top: 20px;
    margin-bottom: 20px;
    font-weight: 600;
    line-height: 1.3;
}

.policy-point p {
    color: var(--light-text);
    line-height: 1.8;
    font-size: 1.1rem;
}

/* 事業内容セクション */
/* 新デザイン：事業内容 */
.business-list {
    display: grid;
    gap: 35px;
}

.business-row {
    display: flex;
    align-items: center;
    background: var(--main-color);
    color: var(--white);
    padding: 25px 35px;
    border-radius: 4px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.business-row:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
}

.business-num {
    min-width: 70px;
    height: 70px;
    background: var(--white);
    color: var(--main-color);
    font-weight: 600;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 35px;
    border-radius: 2px;
}

.business-desc {
    font-size: 1.3rem;
    font-weight: 500;
}

/* 代表挨拶セクション */
.message-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.message-photo {
    text-align: center;
}

.ceo-photo {
    width: 100%;
    max-width: 250px;
    height: 300px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.message-text h3 {
    font-size: 1.6rem;
    color: var(--main-color);
    margin-bottom: 30px;
    font-weight: 600;
    line-height: 1.4;
}

.message-text p {
    margin-bottom: 25px;
    color: var(--light-text);
    line-height: 1.8;
}

.ceo-signature {
    margin-top: 40px;
    text-align: center;
}

.ceo-title {
    font-size: 0.9rem;
    color: var(--light-text);
    margin-bottom: 5px;
}

.ceo-name {
    font-size: 1.3rem;
    color: var(--main-color);
    font-weight: 600;
}

/* 会社概要セクション */
.company-table {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    border-collapse: collapse;
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.company-table th,
.company-table td {
    padding: 20px 30px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.company-table th {
    background: var(--main-color);
    color: var(--white);
    font-weight: 600;
    width: 30%;
}

.company-table td {
    color: var(--text-color);
}

.company-table tr:last-child th,
.company-table tr:last-child td {
    border-bottom: none;
}

/* 会社沿革セクション */
.history-content h3 {
    font-size: 1.8rem;
    color: var(--main-color);
    text-align: center;
    margin-bottom: 50px;
    font-weight: 600;
}

.history-timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.history-timeline::before {
    content: '';
    position: absolute;
    left: 120px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--accent-color);
}

.history-item {
    display: flex;
    margin-bottom: 40px;
    position: relative;
}

.history-year {
    width: 100px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--main-color);
    text-align: right;
    padding-right: 30px;
    position: relative;
}

.history-year::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background: var(--accent-color);
    border-radius: 50%;
    border: 3px solid var(--white);
    box-shadow: 0 0 0 2px var(--accent-color);
}

.history-detail {
    flex: 1;
    padding-left: 30px;
    background: var(--white);
    padding: 25px 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    margin-left: 20px;
    position: relative;
}

.history-detail::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 20px;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 10px solid var(--white);
}

.history-detail h4 {
    font-size: 1.2rem;
    color: var(--main-color);
    margin-bottom: 8px;
    font-weight: 600;
}

.history-detail p {
    color: var(--light-text);
    line-height: 1.6;
}

/* お問い合わせセクション */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h3 {
    font-size: 1.8rem;
    color: var(--main-color);
    margin-bottom: 20px;
    font-weight: 600;
}

.contact-info > p {
    color: var(--light-text);
    margin-bottom: 40px;
    line-height: 1.6;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item h4 {
    font-size: 1.2rem;
    color: var(--main-color);
    margin-bottom: 10px;
    font-weight: 600;
}

.phone {
    font-size: 1.5rem;
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 5px;
}

.phone a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.phone a:hover {
    color: var(--main-color);
    text-decoration: underline;
}

.email {
    font-size: 1.1rem;
    color: var(--accent-color);
    margin-bottom: 5px;
}

.email a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.email a:hover {
    color: var(--main-color);
    text-decoration: underline;
}

.hours,
.response {
    font-size: 0.9rem;
    color: var(--light-text);
}

/* フォーム */
.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--main-color);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-family: inherit;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

.submit-button {
    width: 100%;
    background: var(--main-color);
    color: var(--white);
    padding: 18px;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-button:hover {
    background: var(--sub-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(27, 59, 92, 0.3);
}

/* フッター */
.footer {
    background: var(--main-color);
    color: var(--white);
    padding: 40px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.footer-logo .logo {
    height: 40px;
    filter: brightness(0) invert(1);
}

.footer-info p {
    margin-bottom: 5px;
    font-size: 0.9rem;
}

.footer-info a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-info a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-bottom p {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    /* ヒーローセクション */
    .hero {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
        height: auto;
        min-height: 100vh;
        padding: 100px 0 50px;
    }

    .hero-content {
        order: 1;
        text-align: center;
        padding: 0 20px;
        margin-bottom: 40px;
    }

    .hero-image {
        order: 2;
        padding: 0 20px;
    }

    .hero-building {
        max-width: 600px;
        height: 450px;
        transform: scale(1);
    }
    /* ナビゲーション */
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--white);
        flex-direction: column;
        justify-content: start;
        align-items: center;
        padding-top: 30px;
        padding-bottom: 30px;
        transition: left 0.3s ease;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        display: flex;
        justify-content: center;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 12px 0;
    }

    .nav-link {
        font-size: 1rem;
        padding: 6px 0;
        display: block;
        width: 100%;
        text-align: center;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

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

    .section-header {
        margin-bottom: 40px;
    }

    /* 企業理念 */
    .philosophy-values {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* 経営方針 */
    .policy-content {
        padding: 0 20px;
    }

    .policy-points {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .policy-point {
        padding: 30px 25px;
        min-height: 180px;
    }

    .policy-number {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
        top: -12px;
    }

    .policy-point h4 {
        margin-top: 15px;
        font-size: 1.3rem;
        margin-bottom: 15px;
    }

    .policy-point p {
        font-size: 1rem;
    }

    /* 事業内容 */
    .business-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .business-row {
        flex-direction: column;
        text-align: center;
        padding: 25px 20px;
    }

    .business-num {
        margin: 0 0 15px 0;
    }

    .business-desc {
        font-size: 1.1rem;
    }

    /* 代表挨拶 */
    .message-content {
        padding: 0 20px;
    }

    /* 会社概要 */
    .company-table th,
    .company-table td {
        padding: 15px 20px;
        font-size: 0.9rem;
    }

    .company-table th {
        width: 35%;
    }

    /* 会社沿革 */
    .history-timeline::before {
        left: 20px;
    }

    .history-item {
        flex-direction: column;
        margin-bottom: 30px;
        margin-left: 40px;
    }

    .history-year {
        width: auto;
        text-align: left;
        padding-right: 0;
        margin-bottom: 10px;
    }

    .history-year::after {
        left: -30px;
        right: auto;
    }

    .history-detail {
        margin-left: 0;
        padding-left: 20px;
    }

    .history-detail::before {
        left: -40px;
        top: 50%;
        transform: translateY(-50%);
        border-left: 10px solid var(--white);
        border-right: none;
        border-top: 10px solid transparent;
        border-bottom: 10px solid transparent;
    }

    /* お問い合わせ */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-details {
        gap: 25px;
    }

    .contact-form {
        padding: 30px 20px;
    }

    /* フッター */
    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }

    .nav {
        padding: 20px 15px;
    }

    .nav-logo .logo {
        height: 50px;
    }

    .hero-content {
        padding-top: 24px; /* 上に余白追加 */
    }
    .hero-title {
        font-size: 1.9rem; /* 2.2remから約5px小さく */
    }
    .cta-button {
        font-size: 0.7rem; /* 1.1remから約10px小さく */
    }

    .hero-building {
        max-width: 400px;
        height: 300px;
        margin: 0 auto;
    }

    /* セクション全体の余白調整 */
    .section {
        padding: 80px 0;
    }

    .section-header {
        margin-bottom: 50px;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 15px;
    }

    .section-number {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }

    .value-item,
    .business-row {
        padding: 35px 25px;
        margin-bottom: 20px;
    }

    .value-item h4 {
        font-size: 1.3rem;
        margin-bottom: 20px;
    }

    .value-item p {
        font-size: 1rem;
        line-height: 1.7;
    }

    .business-desc {
        font-size: 1.2rem;
        line-height: 1.5;
    }

    .policy-point {
        padding: 30px 25px;
        min-height: 180px;
        margin-bottom: 25px;
    }

    .policy-point h4 {
        font-size: 1.3rem;
        margin-top: 15px;
        margin-bottom: 20px;
    }

    .policy-point p {
        font-size: 1rem;
        line-height: 1.7;
    }

    .policy-number {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
        top: -12px;
    }

    .message-text h3 {
        font-size: 1.5rem;
        margin-bottom: 25px;
        line-height: 1.4;
    }

    .message-text p {
        font-size: 1rem;
        margin-bottom: 20px;
        line-height: 1.8;
    }

    .company-table th,
    .company-table td {
        padding: 15px 20px;
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .history-detail h4 {
        font-size: 1.2rem;
        margin-bottom: 12px;
    }

    .history-detail p {
        font-size: 1rem;
        line-height: 1.6;
    }

    .contact-info h3 {
        font-size: 1.6rem;
        margin-bottom: 25px;
    }

    .contact-info > p {
        font-size: 1rem;
        margin-bottom: 35px;
        line-height: 1.7;
    }

    .contact-item h4 {
        font-size: 1.2rem;
        margin-bottom: 15px;
    }

    .phone {
        font-size: 1.4rem;
        margin-bottom: 8px;
    }

    .email {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }

    .contact-form {
        padding: 30px 20px;
        margin-top: 30px;
    }

    .form-group {
        margin-bottom: 30px;
    }

    .form-group label {
        font-size: 1rem;
        margin-bottom: 12px;
    }

    .form-group input,
    .form-group textarea {
        padding: 18px 15px;
        font-size: 1rem;
    }

    .submit-button {
        padding: 20px;
        font-size: 1.1rem;
    }

    .company-table th,
    .company-table td {
        padding: 15px 20px;
        font-size: 0.9rem;
    }
}

/* スクロールアニメーション用 */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* スムーススクロール */
html {
    scroll-behavior: smooth;
}

/* =================================
   サンクスページ
================================= */
.thank-you {
    background: linear-gradient(135deg, var(--bg-light) 0%, #ffffff 100%);
    min-height: 80vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
}

.thank-you-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    padding: 60px 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.thank-you-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--main-color);
    margin-bottom: 30px;
    line-height: 1.3;
}

.thank-you-message {
    margin-bottom: 40px;
}

.thank-you-message p {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 15px;
    line-height: 1.7;
}

.contact-info-quick {
    background: var(--bg-light);
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 40px;
    border-left: 4px solid var(--accent-color);
}

.phone-quick {
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.phone-quick a {
    color: var(--main-color);
    text-decoration: none;
    font-weight: 600;
}

.phone-quick a:hover {
    color: var(--accent-color);
}

.hours-quick {
    font-size: 0.95rem;
    color: var(--light-text);
}

.thank-you-actions {
    margin-top: 40px;
}

.thank-you .cta-button {
    background: linear-gradient(135deg, var(--main-color) 0%, var(--sub-color) 100%);
    color: var(--white);
    padding: 15px 40px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(27, 59, 92, 0.3);
}

.thank-you .cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(27, 59, 92, 0.4);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .thank-you-title {
        font-size: 2rem;
    }
    
    .thank-you-content {
        padding: 40px 25px;
        margin: 0 20px;
    }
    
    .phone-quick {
        font-size: 1.1rem;
    }
}
