/*
Theme Name: LIBUN Support Theme
Description: ハワイ医療サポート専用WordPressテーマ
Version: 1.0
Text Domain: libun
Domain Path: /languages
Encoding: UTF-8
*/

@charset "UTF-8";

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    padding-top: 20px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0px 20px;
}

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

/* Fixed Header */
.fixed-header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    background-color: #EAE4D8;
    z-index: 9999;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding: 0;
    transition: transform 0.3s ease;
}

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

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

/* Desktop Navigation */
.desktop-nav {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 4px;
    margin: 0;
    padding: 0;
}

.nav-menu li a {
    display: block;
    padding: 12px 16px;
    color: #5D4635;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
    white-space: nowrap;
    font-family: 'Quicksand', sans-serif;
}

.nav-menu li a:hover,
.nav-menu li a.active {
    background-color: #317a76;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(49, 122, 118, 0.3);
}

/* Mobile Navigation */
.mobile-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #EAE4D8;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.mobile-nav.active {
    display: block;
}

.mobile-nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-menu li a {
    display: block;
    padding: 15px 20px;
    color: #5D4635;
    text-decoration: none;
    border-bottom: 1px solid rgba(93, 70, 53, 0.1);
    font-family: 'Quicksand', sans-serif;
    font-weight: 500;
}

.mobile-nav-menu li a:hover {
    background-color: #317a76;
    color: white;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 0;
}

/* Hamburger Menu */
.hamburger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    width: 30px;
    height: 24px;
    justify-content: space-between;
    z-index: 10000;
}

.hamburger-menu span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #5D4635;
    border-radius: 2px;
    transition: all 0.3s ease;
}

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

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

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

/* Page Header */
.page-header {
    padding: 10px 0;
    text-align: center;
    background-color: white;
}

.page-title {
    font-size: 32px;
    font-weight: bold;
    color: #c65847;
    margin-bottom: 16px;
}

/* Hero Section */
.hero-section {
    position: relative;
    width: 100%;
    height: 70vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-media {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 20px;
}

.hero-text-highlight {
    background-color: rgba(255, 255, 255, 0.9);
    color: #5D4635;
    padding: 20px 40px;
    font-size: 2.5em;
    font-weight: bold;
    line-height: 1.3;
    display: inline-block;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    border-radius: 8px;
}

/* Realtime Clock Styles */
.realtime-clock {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto 48px;
}

.clock-container {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    padding: 32px;
}

.clock-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-bottom: 24px;
}

.clock-item {
    text-align: center;
}

.clock-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 16px;
    font-family: 'Quicksand', sans-serif;
}

.clock-title:first-child {
    color: #2e7c81;
}

.clock-title:last-child {
    color: #d2695f;
}

.clock-display {
    border-radius: 12px;
    padding: 24px;
    color: white;
}

.japan-time {
    background: linear-gradient(135deg, #2e7c81, #317a76);
}

.hawaii-time {
    background: linear-gradient(135deg, #d2695f, #c65847);
}

.time-display {
    font-size: 24px;
    font-weight: bold;
    font-family: 'Roboto', monospace;
    letter-spacing: 2px;
}

.clock-note {
    text-align: center;
    font-size: 14px;
    color: #666;
    font-family: 'Quicksand', sans-serif;
}

/* Icon Section */
.icon-section {
    padding: 11px 0;
    text-align: center;
    margin-top: -40px; /* この行を追加 */
    position: relative; /* この行を追加 */
    z-index: 2; /* この行を追加 */
}

.icon-section-wrapper {
    display: flex;
    justify-content: center;
    gap: 5px;
    max-width: 900px;
    margin: 0 auto;
}

.icon-item {
    flex: 0 0 auto;
    width: 120px;
    text-align: center;
}

.icon-circle {
    width: 80px;
    height: 80px;
    background-color: #f7efe3;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 5px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.icon-circle:hover {
    transform: translateY(-5px);
}

.icon-circle img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.icon-text {
    font-size: 14px;
    color: #2E7C81;
    font-weight: 600;
    line-height: 1.3;
}

/* Main Content Section */
.main-content-section {
    background-color: #FEF9F0;
    padding: 54px 0;
    text-align: center;
}

.main-title {
    color: #2E7C81;
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 24px;
    line-height: 1.4;
}

.main-subtitle {
    color: #333333;
    font-size: 20px;
    margin-bottom: 32px;
    line-height: 1.6;
}

.main-highlight {
    color: #D2695F;
    font-size: 24px;
    font-weight: bold;
}

/* Target Audience Section */
.target-audience-section {
    padding: 5px 0;
    background-color: white;
}

.target-audience {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    margin-bottom: 64px;
}

.target-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.target-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.target-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.target-content {
    padding: 32px;
}

.target-title {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 12px;
    color: #2E7C81;
}

.target-description {
    color: #666;
    font-size: 16px;
    line-height: 1.6;
}

.cta-section {
    text-align: center;
}

.cta-button {
    display: inline-block;
    background-color: #317a76;
    color: white;
    padding: 20px 48px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: bold;
    font-size: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(49, 122, 118, 0.3);
}

.cta-button:hover {
    background-color: #2a6b67;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(49, 122, 118, 0.4);
}

/* Service Section */
.service-section {
    padding: 5px 0;
    background-color: #f9f7f4;
}

.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 64px;
    color: #317a76;
}

.service-cards {
    max-width: 1000px;
    margin: 0 auto 64px;
    display: grid;
    gap: 40px;
}

.service-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

.service-card-header {
    background: #5D4635;
    padding: 32px;
    color: white;
    text-align: center;
}

.service-card-title {
    font-size: 28px;
    font-weight: bold;
    margin: 0;
}

.price-items {
    padding: 12px;
}

.price-item {
    padding: 14px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
}

.price-item:last-child {
    border-bottom: none;
}

.price-item-content {
    flex: 1;
}

.price-item-text {
    font-size: 18px;
    color: #333;
    line-height: 1.6;
}

.price-item-price {
    text-align: right;
    white-space: nowrap;
    margin-left: 32px;
}

.unit {
    font-size: 16px;
    color: #2E7C81;
    margin-right: 12px;
}

.amount {
    font-size: 28px;
    font-weight: bold;
    color: #2E7C81;
}

.secondary-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background-color: #88867D;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    transition: all 0.3s ease;
}

.secondary-button:hover {
    background-color: #2E7C81;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(46, 124, 129, 0.3);
}

/* Reasons Section */
.reasons-section {
    background-color: #f0f9f9;
    padding: 80px 0;
}

.reason-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.reason-item {
    background: white;
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: flex-start;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.reason-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.reason-number {
    font-size: 32px;
    font-weight: bold;
    color: #c65847;
    margin-right: 24px;
    flex-shrink: 0;
}

.reason-content h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: #333;
    font-weight: bold;
}

.reason-content p {
    color: #666;
    line-height: 1.6;
}

/* Detailed Pages Styles */
.reasons-detail-page,
.price-page {
    background-color: white;
    min-height: 100vh;
}

.main-image-section {
    text-align: center;
    margin-bottom: 64px;
}

.main-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.reasons-detail-section,
.service-detail-section {
    margin-bottom: 80px;
}

.reason-detail-item,
.service-detail-item {
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    margin-bottom: 48px;
    padding: 48px;
}

.reason-detail-item.alternate,
.service-detail-item.alternate {
    background: #f5f2ec;
}

.reason-detail-header,
.service-detail-header {
    margin-bottom: 32px;
}

.reason-number-image,
.service-number-image {
    width: 80px;
    height: auto;
}

.reason-detail-title,
.service-detail-title {
    font-size: 28px;
    font-weight: bold;
    color: #333;
    margin-bottom: 24px;
    line-height: 1.3;
}

.reason-detail-text,
.service-detail-content {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
}

.reason-detail-text h3 {
    font-size: 22px;
    color: #2E7C81;
    margin: 32px 0 16px 0;
    font-weight: bold;
}

.reason-detail-text ul,
.service-features {
    margin: 24px 0;
    padding-left: 0;
    list-style: none;
}

.reason-detail-text li,
.service-features li {
    margin-bottom: 12px;
    padding-left: 0;
}

.service-image {
    margin: 32px 0;
    text-align: center;
}

.service-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.price-table {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 24px;
    margin: 32px 0;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid #e9ecef;
}

.price-row:last-child {
    border-bottom: none;
}

.price-service {
    font-size: 16px;
    color: #333;
    flex: 1;
}

.price-amount {
    font-size: 20px;
    font-weight: bold;
    color: #2E7C81;
    white-space: nowrap;
    margin-left: 24px;
}

.dialysis-note {
    background: #e8f4f8;
    border-left: 4px solid #2E7C81;
    padding: 24px;
    margin: 32px 0;
    border-radius: 0 8px 8px 0;
}

.dialysis-note p {
    margin-bottom: 16px;
    line-height: 1.7;
}

.dialysis-note p:last-child {
    margin-bottom: 0;
}

.custom-plan-features,
.custom-plan-details {
    margin: 24px 0;
    padding-left: 0;
    list-style: none;
}

.custom-plan-features li,
.custom-plan-details li {
    margin-bottom: 12px;
    font-size: 16px;
    line-height: 1.6;
}

.divider {
    border: none;
    height: 1px;
    background-color: #ddd;
    margin: 32px 0;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background-color: white;
    text-align: center;
}

.contact-buttons {
    margin-bottom: 48px;
}

.service-badges {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
}

.service-badge {
    background: linear-gradient(135deg, #5D4635, #5D4635);
    color: white;
    padding: 12px 24px;
    border-radius: 24px;
    font-weight: bold;
    font-size: 16px;
    box-shadow: 0 4px 12px rgba(46, 124, 129, 0.3);
}

/* Payment Section */
.payment-section {
    padding: 5px 0;
    background-color: white;
}

.payment-methods {
    max-width: 900px;
    margin: 0 auto;
}

.payment-card {
    background: white;
    border-radius: 16px;
    padding: 48px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.payment-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    margin: 0 auto 32px;
    display: block;
    border-radius: 12px;
}

.payment-content {
    text-align: left;
}

.payment-content h3 {
    font-size: 28px;
    color: #2E7C81;
    margin-bottom: 20px;
    font-weight: bold;
}

.payment-content p {
    color: #666;
    margin-bottom: 32px;
    line-height: 1.8;
    font-size: 18px;
}

.payment-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.payment-features li {
    display: flex;
    align-items: center;
    padding: 16px 0;
    color: #333;
    font-weight: 500;
    font-size: 18px;
}

.payment-features li::before {
    content: "✓";
    color: #2E7C81;
    font-weight: bold;
    margin-right: 16px;
    font-size: 20px;
}

/* FAQ Section */
.faq-section {
    padding: 5px 0;
    background-color: #f9f7f4;
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 12px;
    padding: 32px;
    margin-bottom: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.faq-question {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 16px;
    color: #2E7C81;
    line-height: 1.4;
}

.faq-answer {
    color: #666;
    line-height: 1.8;
    font-size: 16px;
}

/* Description Section */
.description-section {
    padding: 5px 0;
    background-color: #ffffff;
}

.description-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.description-content p {
    text-align: center;
    line-height: 1.8;
    margin-bottom: 48px;
    color: #333;
    font-size: 18px;
}

.description-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 32px;
    margin: 64px 0;
}

.description-feature {
    background: #f8f9fa;
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e9ecef;
    
    /* アイコンとテキストを横並びにするための変更 */
    display: flex; /* この行を追加 */
    align-items: center; /* この行を追加 */
    justify-content: center; /* この行を追加 */
    gap: 16px; /* この行を追加して間隔を設定 */
    text-align: left; /* この行を追加してテキストを左揃えに */
}

.description-feature:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.description-feature-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #2E7C81, #317a76);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 28px;
}

.description-feature-text {
    font-weight: 600;
    color: #333;
    font-size: 16px;
}

.description-image {
    width: 100%;
    max-width: 700px;
    height: auto;
    margin: 4px auto;
    display: block;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.contact-description {
    text-align: center;
    font-weight: 900;
    color: #5d4635;
    font-size: 22px;
    margin-bottom: 48px;
    line-height: 1.6;
}

/* External Links Section */
.external-links-section {
    padding: 80px 0;
    background-color: #f9f7f4;
}

.external-link-image {
    width: 70%;
    height: auto;
    margin-bottom: 32px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.external-link-image:last-child {
    margin-bottom: 0;
}

/* Footer */
.site-footer {
    background-color: #EAE4D8;
    padding: 64px 0 32px;
    color: #5D4635;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 48px;
    margin-bottom: 48px;
}

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

.footer-info h3,
.footer-contact h4,
.footer-nav h4 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 16px;
    color: #317a76;
}

.footer-info p,
.footer-contact p {
    margin-bottom: 8px;
    line-height: 1.6;
}

.footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav ul li {
    margin-bottom: 8px;
}

.footer-nav ul li a {
    color: #5D4635;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-nav ul li a:hover {
    color: #317a76;
}

.footer-bottom {
    border-top: 1px solid rgba(93, 70, 53, 0.2);
    padding-top: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: #5D4635;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #317a76;
}

/* Desktop Fixed Buttons */
.desktop-fixed-buttons {
    position: fixed;
    bottom: 32px;
    right: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    z-index: 1000;
}

.fixed-button {
    display: flex;
    align-items: center;
    padding: 16px 24px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.line-button {
    background-color: #00B900;
    color: white;
}

.line-button:hover {
    background-color: #009900;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 185, 0, 0.3);
}

.email-button {
    background-color: #666666;
    color: white;
}

.email-button:hover {
    background-color: #555555;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(102, 102, 102, 0.3);
}

.fixed-button img {
    width: 24px;
    height: 24px;
    margin-right: 12px;
}

.fixed-button .icon {
    margin-right: 12px;
    font-size: 20px;
}

/* Mobile Fixed Footer */
.mobile-fixed-footer {
    display: none;
}

/* Usage Flow Section */
.usage-flow-section {
    padding: 5px 0;
    background: linear-gradient(135deg, #f8f9fa, #f1f3f4);
}

.flow-highlight {
    font-size: 24px;
    font-weight: bold;
    color: #d2695f;
    margin-bottom: 48px;
    line-height: 1.6;
}

.flow-steps {
    max-width: 800px;
    margin: 0 auto 64px;
}

.flow-step {
    margin-bottom: 32px;
    text-align: center;
}

.step-card {
    background: white;
    border-radius: 16px;
    padding: 48px 32px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-width: 600px;
    margin: 0 auto;
}

.step-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
}

.step-number {
    width: 64px;
    height: 64px;
    background: #59979B;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: bold;
    margin: 0 auto 24px;
    box-shadow: 0 4px 12px rgba(89, 151, 155, 0.3);
}

.step-title {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin-bottom: 16px;
    line-height: 1.3;
}

.step-description {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.step-arrow {
    font-size: 32px;
    color: #ccc;
    margin: 24px 0;
    line-height: 1;
}

.flow-step:last-child .step-arrow {
    display: none;
}

/* Testimonials Page Styles - Static Content */
.testimonials-section {
    margin-bottom: 80px;
}

.section-subtitle {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin-bottom: 32px;
    padding-bottom: 8px;
    border-bottom: 2px solid #eae4d8;
}

.testimonials-list {
    space-y: 32px;
}

.testimonial-item {
    background: white;
    border-radius: 16px;
    padding: 48px 32px 32px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    margin-bottom: 32px;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

.testimonial-item:nth-child(even) {
    background: #f5f2ec;
}

.testimonial-quote {
    position: absolute;
    top: 0;
    left: 20px;
    font-size: 72px;
    color: #c65847;
    font-family: serif;
    line-height: 1;
}

.testimonial-content p {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 24px;
}

.testimonial-author {
    text-align: right;
}

.author-name {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin-bottom: 4px;
}

.author-details {
    font-size: 16px;
    color: #666;
}

/* Stats Section - Static Content */
.stats-section {
    margin-bottom: 80px;
}

.stats-card {
    background: #f5f2ec;
    border-radius: 16px;
    padding: 48px 32px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.stats-title {
    font-size: 28px;
    font-weight: bold;
    color: #333;
    text-align: center;
    margin-bottom: 32px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.stat-item {
    background: white;
    border-radius: 12px;
    padding: 32px 24px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.stat-number {
    font-size: 48px;
    font-weight: bold;
    color: #c65847;
    margin-bottom: 12px;
    line-height: 1;
}

.stat-label {
    font-size: 16px;
    color: #333;
}

/* Service Highlight Section */
.service-highlight-section {
    margin-bottom: 80px;
}

.service-highlight-card {
    background: linear-gradient(135deg, #317a76, #5d4635);
    border-radius: 16px;
    padding: 48px 32px;
    text-align: center;
    color: white;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.highlight-title {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 24px;
    line-height: 1.3;
}

.highlight-description {
    font-size: 18px;
    line-height: 1.8;
    margin: 0;
}

/* Company Page Styles */
.company-info-section,
.location-section,
.hours-section {
    margin-bottom: 48px;
}

.info-card {
    background: white;
    border-radius: 16px;
    padding: 48px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.info-card.alternate {
    background: #f5f2ec;
}

.info-table {
    width: 100%;
}

.info-row {
    display: flex;
    border-bottom: 1px solid #eae4d8;
    padding: 24px 0;
}

.info-row:last-child {
    border-bottom: none;
}

.info-label {
    width: 33.333%;
    font-weight: bold;
    color: #333;
    font-size: 18px;
}

.info-value {
    width: 66.667%;
    color: #333;
    font-size: 18px;
    line-height: 1.8;
}

.location-info {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 32px;
}

.map-container {
    width: 100%;
    height: 320px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.location-map {
    width: 100%;
    height: 100%;
    border: 0;
}
@media (max-width: 768px) {
    /* 以下のコードにすべて置き換えてください */

    /* ページのメインタイトルや見出しなど、一番大きなフォントサイズ */
    .page-title,
    .section-title {
        font-size: 25px;
        line-height: 1.4;
    }

    /* 重要な見出しや、大きなテキストブロックの見出し */
    .hero-text-highlight,
    .main-title,
    .service-card-title,
    .reason-detail-title,
    .service-detail-title,
    .stats-title {
        font-size: 22px;
        line-height: 1.5;
    }

    /* サブタイトルや、コンテンツ内の主要な見出し */
    .main-highlight,
    .target-title,
    .reason-detail-text h3,
    .payment-content h3,
    .step-title,
    .testimonial-content p,
    .author-name,
    .faq-question,
    .contact-description {
        font-size: 19px;
        line-height: 1.6;
    }
    
    /* ボタンや説明文など、標準的なテキスト */
    .cta-button,
    .price-item-text,
    .payment-features li,
    .info-label,
    .info-value,
    .location-info,
    .step-description {
        font-size: 17px;
        line-height: 1.7;
    }

    /* 最も小さなテキスト。注釈やキャプションなど */
    .main-subtitle,
    .target-description,
    .payment-content p,
    .description-content p,
    .description-feature-text,
    .icon-text,
    .author-details,
    .stat-label,
    .faq-answer,
    .price-amount {
        font-size: 16px;
        line-height: 1.8;
    }
}


/* Mobile Styles */
@media (max-width: 768px) {
    .clock-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .clock-container {
        padding: 24px;
    }
    
    .time-display {
        font-size: 20px;
    }
    
    .clock-title {
        font-size: 18px;
    }
    
    body {
        padding-bottom: 80px;
    }
    
    .desktop-nav {
        display: none;
    }

    .hamburger-menu {
        display: flex;
    }

    .header-inner {
        padding: 0 15px;
        height: 80px;
    }

    .site-logo img {
        height: 50px;
    }

    .desktop-nav {
        display: none;
    }

    .header-right {
        gap: 15px;
    }

    .contact-button-header {
        padding: 8px 16px;
        font-size: 12px;
    }

    .nav-menu {
        display: none;
    }

    .hero-section {
        height: 50vh;
    }

    .hero-text-highlight {
        font-size: 1.2em;
        padding: 15px 25px;
        line-height: 1.4;
        white-space: normal;
        max-width: 90vw;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .main-title {
        font-size: 24px !important;
        line-height: 1.3;
        white-space: normal;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .main-subtitle {
        font-size: 14px !important;
        line-height: 1.4;
        white-space: normal;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .main-highlight {
        font-size: 18px !important;
        white-space: normal;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .section-title {
        font-size: 19px !important;
        margin-bottom: 32px;
        white-space: normal;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .service-card-title {
        font-size: 20px;
        white-space: normal;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .price-item {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .price-item-price {
        margin-left: 0;
    }

    .price-item-text {
        font-size: 16px !important;
        white-space: normal;
        word-wrap: break-word;
        overflow-wrap: break-word;
        text-align: left;
        font-weight: bold;
    }

    .target-audience {
        grid-template-columns: 1fr;
    }

    .reason-grid {
        grid-template-columns: 1fr;
    }

    .reason-item {
        flex-direction: column;
        text-align: center;
    }

    .reason-number {
        margin-right: 0;
        margin-bottom: 16px;
    }

    .payment-card {
        padding: 24px;
    }

    .payment-content h3 {
        font-size: 18px;
        white-space: normal;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .payment-content p {
        font-size: 14px;
        white-space: normal;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .description-features {
        grid-template-columns: 1fr;
    }

    .description-content p {
        font-size: 14px !important;
        line-height: 1.6;
        white-space: normal;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .contact-description {
        font-size: 14px !important;
        line-height: 1.5;
        white-space: normal;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .cta-button {
        padding: 16px 32px;
        font-size: 17px;
        width: 100%;
        max-width: 300px;
        white-space: normal;
        word-wrap: break-word;
        overflow-wrap: break-word;
        text-align: center;
    }

    .icon-item {
        width: 70px;
        margin-bottom: 20px;
    }

    .icon-circle {
        width: 60px;
        height: 60px;
    }

    .icon-circle img {
        width: 36px;
        height: 36px;
    }

    .icon-text {
        font-size: 11px;
        white-space: normal;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

 

    /* Page specific mobile styles */
    .page-title {
        font-size: 24px;
        white-space: normal;
        word-wrap: break-word;
        overflow-wrap: break-word;
        padding-top: 20px;
    }

    .reason-detail-item,
    .service-detail-item {
        padding: 24px;
        margin-bottom: 32px;
    }

    .reason-detail-title,
    .service-detail-title {
        line-height: 1.3;
        white-space: normal;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .reason-detail-text,
    .service-detail-content {
        font-size: 18px;
        line-height: 1.7;
        white-space: normal;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .reason-detail-text h3 {
        font-size: 24px;
        margin: 24px 0 12px 0;
        white-space: normal;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .price-row {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .price-amount {
        margin-left: 0;
        font-size: 25px;
    }

    .service-badges {
        gap: 12px;
    }

    .service-badge {
        padding: 10px 20px;
        font-size: 14px;
        white-space: normal;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .flow-highlight {
        font-size: 15px !important;
        line-height: 1.5;
        white-space: normal;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .step-card {
        padding: 32px 24px;
        margin-bottom: 24px;
    }

    .step-number {
        width: 48px;
        height: 48px;
        font-size: 18px;
        margin-bottom: 16px;
    }

    .step-title {
        font-size: 17px;
        margin-bottom: 12px;
        white-space: normal;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .step-description {
        font-size: 12px;
        line-height: 1.5;
        white-space: normal;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .step-arrow {
        font-size: 24px;
        margin: 16px 0;
    }

    .section-subtitle {
        font-size: 17px;
        margin-bottom: 24px;
        white-space: normal;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .testimonial-item {
        padding: 32px 24px 24px;
        margin-bottom: 24px;
    }

    .testimonial-quote {
        font-size: 48px;
        left: 16px;
    }

    .testimonial-content p {
        font-size: 14px;
        line-height: 1.7;
        white-space: normal;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .author-name {
        font-size: 17px;
        white-space: normal;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .author-details {
        font-size: 12px;
        white-space: normal;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .stat-number {
        font-size: 32px;
    }

    .stat-label {
        font-size: 12px;
        white-space: normal;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .info-card {
        padding: 32px 24px;
    }

    .info-row {
        flex-direction: column;
        gap: 8px;
        padding: 16px 0;
    }

    .info-label,
    .info-value {
        width: 100%;
        font-size: 14px;
        white-space: normal;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .location-info {
        font-size: 14px;
        margin-bottom: 24px;
        white-space: normal;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .map-container {
        height: 240px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    /* FAQ specific mobile styles */
    .faq-question {
        font-size: 17px !important;
        line-height: 1.4;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .faq-answer {
        font-size: 14px !important;
        line-height: 1.6;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    /* Target item mobile styles */
    .target-title {
        font-size: 19px !important;
        line-height: 1.3;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .target-description {
        font-size: 12px !important;
        line-height: 1.5;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    /* Payment features mobile styles */
    .payment-features li {
        font-size: 14px !important;
        line-height: 1.5;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    /* Description feature mobile styles */
    .description-feature-text {
        font-size: 12px !important;
        line-height: 1.4;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    /* Service features mobile styles */
    .service-features li {
        line-height: 1.5;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    /* Hide desktop fixed buttons on mobile */
    .desktop-fixed-buttons {
        display: none;
    }

    /* Show mobile fixed footer */
    .mobile-fixed-footer {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        display: flex;
        z-index: 1000;
        box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    }

    .mobile-footer-button {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 16px;
        text-decoration: none;
        font-weight: bold;
        font-size: 14px;
        color: white;
        transition: opacity 0.3s ease;
    }

    .mobile-footer-button:hover {
        opacity: 0.9;
    }

    .mobile-footer-button.line {
        background-color: #00B900;
    }

    .mobile-footer-button.email {
        background-color: #666666;
    }

    .mobile-footer-button img {
        width: 24px;
        height: 24px;
        margin-right: 8px;
    }

    .mobile-footer-button .icon {
        margin-right: 8px;
        font-size: 20px;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.fade-in-delay-1 {
    transition-delay: 0.1s;
}

.fade-in-delay-2 {
    transition-delay: 0.2s;
}

.fade-in-delay-3 {
    transition-delay: 0.3s;
}

.fade-in-delay-4 {
    transition-delay: 0.4s;
}

.fade-in-delay-5 {
    transition-delay: 0.5s;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .fade-in {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* Loading States */
.loading {
    opacity: 0.7;
    pointer-events: none;
}


/* Focus States */
a:focus,
button:focus {
    outline: 2px solid #317a76;
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .fixed-header,
    .desktop-fixed-buttons,
    .mobile-fixed-footer {
        display: none;
    }
    
    body {
        padding-top: 0;
        padding-bottom: 0;
    }
}