/* ページ共通スタイル */
.page-hero {
    margin-top: 80px;
    padding: 5rem 0;
    background: var(--gradient);
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    border-radius: 50%;
}

.page-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.page-hero p {
    font-size: 1.3rem;
    font-weight: 300;
    position: relative;
    z-index: 1;
}

/* サービス詳細 */
.services-detail {
    padding: 5rem 0;
    background: var(--white);
}

.intro-text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.intro-text h2 {
    color: var(--accent-color);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.intro-text p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1.1rem;
}

/* 治療カード */
.treatments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.treatment-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(255, 182, 193, 0.15);
    transition: all 0.3s ease;
}

.treatment-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(255, 105, 180, 0.25);
}

.treatment-image {
    height: 250px;
    overflow: hidden;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-placeholder svg {
    width: 80px;
    height: 80px;
    stroke: var(--white);
    opacity: 0.8;
}

.treatment-content {
    padding: 2rem;
}

.treatment-content h3 {
    color: var(--accent-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.treatment-content > p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.treatment-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.treatment-features li {
    color: var(--text-dark);
    padding: 0.5rem 0;
    font-size: 0.95rem;
}

.treatment-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #f0f0f0;
}

.treatment-price .price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-color);
}

.treatment-price .btn {
    padding: 0.7rem 1.5rem;
    font-size: 0.9rem;
}

/* なぜ日本で？ */
.why-japan {
    padding: 5rem 0;
    background: var(--light-pink);
}

.why-japan h2 {
    text-align: center;
    color: var(--accent-color);
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.reason-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
}

.reason-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 105, 180, 0.2);
}

.reason-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.reason-card h3 {
    color: var(--text-dark);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.reason-card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* 予約フォーム */
.booking-section {
    padding: 5rem 0;
    background: var(--white);
}

.booking-container {
    max-width: 800px;
    margin: 0 auto;
}

.booking-form {
    background: var(--light-pink);
    padding: 3rem;
    border-radius: 20px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: var(--text-dark);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.9rem;
    border: 2px solid transparent;
    border-radius: 10px;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 1rem;
    background: var(--white);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.error-message {
    color: #ff4444;
    font-size: 0.9rem;
    margin-top: 0.3rem;
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #ff4444;
}

.submit-btn {
    width: 100%;
    margin-top: 1rem;
}

/* 為替レート */
.currency-section {
    padding: 5rem 0;
    background: var(--white);
}

.currency-container {
    max-width: 900px;
    margin: 0 auto;
}

.currency-info {
    text-align: center;
    margin-bottom: 3rem;
}

.currency-info h2 {
    color: var(--accent-color);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.currency-info p {
    color: var(--text-light);
    font-size: 1.1rem;
}

.last-update {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.exchange-rates {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.rate-card {
    background: var(--light-pink);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
}

.rate-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255, 105, 180, 0.2);
}

.currency-flag {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.currency-name {
    font-size: 1.2rem;
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.currency-code {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.rate-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent-color);
}

.rate-label {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 0.3rem;
}

/* 計算機 */
.calculator {
    background: var(--light-pink);
    padding: 2.5rem;
    border-radius: 20px;
    margin-top: 3rem;
}

.calculator h3 {
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    text-align: center;
}

.calculator-form {
    display: grid;
    gap: 1rem;
}

.calc-input-group {
    display: flex;
    gap: 1rem;
}

.calc-input-group input,
.calc-input-group select {
    flex: 1;
    padding: 0.9rem;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
}

.calc-result {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    margin-top: 1rem;
}

.calc-result-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-color);
}

/* 観光スポット */
.attractions-section {
    padding: 5rem 0;
    background: var(--white);
}

.attractions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.attraction-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(255, 182, 193, 0.15);
    transition: all 0.3s ease;
}

.attraction-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(255, 105, 180, 0.25);
}

.attraction-image {
    height: 220px;
    overflow: hidden;
}

.attraction-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.attraction-card:hover .attraction-image img {
    transform: scale(1.1);
}

.attraction-image .image-placeholder {
    width: 100%;
    height: 100%;
}

.attraction-content {
    padding: 1.5rem;
}

.attraction-category {
    display: inline-block;
    background: var(--gradient);
    color: var(--white);
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.attraction-content h3 {
    color: var(--text-dark);
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
}

.attraction-content p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.attraction-meta {
    display: flex;
    gap: 1.5rem;
    color: var(--text-light);
    font-size: 0.9rem;
    padding-top: 1rem;
    border-top: 1px solid #f0f0f0;
}

.attraction-meta-item {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

/* 健康診断パッケージ */
.health-packages {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.package-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 5px 25px rgba(255, 182, 193, 0.15);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.package-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient);
}

.package-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(255, 105, 180, 0.25);
}

.package-badge {
    background: var(--gradient);
    color: var(--white);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    display: inline-block;
    margin-bottom: 1rem;
}

.package-card h3 {
    color: var(--accent-color);
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

.package-card .description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.package-features {
    list-style: none;
    margin-bottom: 2rem;
}

.package-features li {
    color: var(--text-dark);
    padding: 0.6rem 0;
    display: flex;
    align-items: start;
}

.package-features li::before {
    content: '✓';
    color: var(--accent-color);
    font-weight: bold;
    margin-right: 0.7rem;
}

.package-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

.package-price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-light);
}

/* 歯科治療 */
.dental-services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.dental-card {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 20px rgba(255, 182, 193, 0.12);
    transition: all 0.3s ease;
}

.dental-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(255, 105, 180, 0.2);
}

.dental-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.2rem;
    background: var(--light-pink);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.dental-card h3 {
    color: var(--accent-color);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.dental-card p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1.2rem;
}

.dental-card .price {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
}

/* レスポンシブ */
@media (max-width: 768px) {
    .page-hero h1 {
        font-size: 2.2rem;
    }

    .page-hero p {
        font-size: 1.1rem;
    }

    .treatments-grid,
    .attractions-grid,
    .health-packages,
    .dental-services {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .booking-form {
        padding: 2rem 1.5rem;
    }

    .exchange-rates {
        grid-template-columns: repeat(2, 1fr);
    }

    .treatment-price {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }

    .treatment-price .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .exchange-rates {
        grid-template-columns: 1fr;
    }

    .calc-input-group {
        flex-direction: column;
    }
}
