/* General styles */
html {
    scroll-behavior: smooth;
}
body {
    font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}
a {
    color: #007bff;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}
img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}
ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
    margin-bottom: 1rem;
    line-height: 1.3;
}

/* Header styles */
.site-header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    flex-wrap: wrap; /* For responsiveness */
}
.header-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.site-description {
    font-size: 0.8em;
    color: #666;
    margin-bottom: 5px;
}
.site-logo {
    max-width: 200px; /* Adjust as needed */
}
.header-center {
    text-align: center;
}
.header-center p {
    margin: 0;
}
.header-center img {
    max-width: 150px; /* Adjust as needed */
    margin-bottom: 5px;
}
.tel-link {
    font-size: 1.8em;
    font-weight: bold;
    color: #d9534f; /* Reddish color */
    text-decoration: none;
}
.tel-link:hover {
    text-decoration: underline;
}
.business-hours {
    font-size: 0.9em;
    color: #555;
    margin-top: 5px;
}
.header-right {
    text-align: right;
}
/* 右上のCTAボタンを300%の大きさに */
.header-right img {
    width: 180px; /* Base size */
    height: auto;
    transform: scale(2.0); /* Approx 300% in terms of surface area */
    transform-origin: center;
    max-width: none; /* Override max-width constraint if any */
}

.global-nav {
    background-color: #333;
    margin-top: 10px;
}
.global-nav ul {
    display: flex;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    flex-wrap: wrap;
}
.global-nav li {
    position: relative;
}
.global-nav a {
    display: block;
    padding: 15px 20px;
    color: #fff;
    text-align: center;
    font-weight: bold;
    transition: background-color 0.3s ease;
}
.global-nav a:hover {
    background-color: #555;
    text-decoration: none;
}

/* Hero Section */
.hero-section {
    position: relative;
    width: 100%; /* 横幅いっぱいに拡大 */
    height: 650px; /* Adjusted height for more vertical space */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: none; /* ヒーローセクション全体でmax-widthを解除 */
}
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}
.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6); /* Darken background image */
}
.hero-content-wrapper {
    position: relative;
    width: 100%; /* Adjust width for content wrapper */
    height: 100%; /* Adjust height for content wrapper */
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Space out content vertically */
    align-items: center; /* Center content horizontally */
    padding: 20px; /* Padding for content */
    box-sizing: border-box;
    color: #fff;
}
.hero-text-main {
    text-align: center;
    margin-top: 50px; /* Pushed down from top to give space */
}
.hero-text-main h1 {
    font-size: 3.5em; /* Larger font size for impact */
    line-height: 1.2;
    font-weight: 900; /* Bolder for "派手" */
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7); /* Stronger shadow for "派手" */
    margin-bottom: 20px; /* Space between headline and badges */
}
.hero-text-main h1 .text-red-large { /* Specific span within h1 */
    color: #ffeb3b; /* Changed to striking yellow for "不安" */
    font-size: 1.1em; /* Make it stand out more relative to base H1 size */
    white-space: nowrap; /* Prevent line break for the emphasized phrase */
}
.hero-badge-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: auto; /* Pushed down by flex-grow of content below it */
}
.hero-badge-circle {
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    width: 120px;
    height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 0.9em;
    font-weight: bold;
    color: #333;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    padding: 10px;
    box-sizing: border-box;
}
.hero-badge-circle span {
    line-height: 1.3;
}

.hero-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-grow: 1; /* Allows it to take available vertical space */
    justify-content: flex-end; /* Pushes content (CTA) to the bottom */
    padding-bottom: 30px; /* Padding from the bottom of the hero section */
}
.hero-right {
    background-color: transparent; /* Removed background of hero-right */
    padding: 0; /* Removed padding */
    border-radius: 0; /* Removed border-radius */
    box-shadow: none; /* Removed box-shadow */
    text-align: center;
    width: 100%;
}
.consultation-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0; /* Removed padding */
    border-radius: 0; /* Removed border-radius */
    background-color: transparent; /* Made transparent */
    box-shadow: none; /* Removed shadow */
    text-align: center;
    border: none; /* Ensure no border from consultation-box */
}
.consult-button {
    display: inline-block;
    background-color: #d9534f; /* Red */
    color: #fff;
    padding: 30px 60px; /* Doubled padding */
    border-radius: 5px;
    font-size: 2.4em; /* Doubled font-size */
    font-weight: bold;
    text-transform: uppercase;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: background-color 0.3s ease;
    margin-top: 0; /* No specific top margin, will be pushed by flex-end */
}
.consult-button:hover {
    background-color: #c9302c; /* Darker red */
    text-decoration: none;
}

/* Hero Section Mobile (initially hidden, shown on smaller screens) */
.hero-section-mobile {
    display: none; /* Hide by default */
    padding: 20px;
    text-align: center;
    background-color: #f0f0f0; /* Light background for mobile hero */
}
.hero-title-mobile {
    font-size: 1.8em;
    font-weight: bold;
    margin-bottom: 15px;
    line-height: 1.4;
    color: #333;
}
.hero-section-mobile img {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
}
.button-wrapper-mobile {
    text-align: center;
}
.button-mobile {
    display: inline-block;
    background-color: #28a745; /* Green button */
    color: #fff;
    padding: 15px 30px;
    border-radius: 5px;
    font-size: 1.2em;
    font-weight: bold;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
}
.button-mobile:hover {
    background-color: #218838; /* Darker green */
    text-decoration: none;
}

/* Sections common styles */
section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
}
/* H2タグのスタイル */
.section-title, .section-title-white {
    font-size: 2.2em;
    text-align: center;
    margin-bottom: 40px;
    padding: 20px 0; /* Padding for background */
    background-color: #e6f2ff; /* Light blue background for emphasis */
    color: #333;
    position: relative;
    display: flex; /* For icon alignment */
    align-items: center;
    justify-content: center; /* Center text and icon */
    max-width: 800px; /* 幅を統一 */
    margin-left: auto;
    margin-right: auto;
    border-radius: 8px; /* Rounded corners for the background */
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.section-title::before, .section-title-white::before {
    content: '✨'; /* 文頭にアイコン */
    font-size: 1.2em;
    margin-right: 15px; /* Space between icon and text */
}
.section-title::after, .section-title-white::after {
    content: '';
    display: none; /* Remove existing underline */
}

/* Specific H2 for white background */
.section-title-white {
    background-color: #495057; /* Darker background for contrast on white text */
    color: #fff;
}
.section-title-white::before {
    color: #ffeb3b; /* Yellow icon on dark background */
}

.section-subtitle {
    font-size: 1.2em;
    text-align: center;
    margin-bottom: 30px;
    color: #555;
}
.subsection-title {
    font-size: 1.8em;
    margin-top: 40px;
    margin-bottom: 25px;
    color: #333;
    position: relative;
    /* Modified for better style */
    border-left: 8px solid #72AEE6; /* Stronger left border */
    padding-left: 20px; /* Space for the border */
    text-align: left; /* Align text left for the border */
    max-width: 700px; /* Control its width */
    margin-left: auto;
    margin-right: auto;
    box-shadow: 2px 2px 8px rgba(0,0,0,0.05); /* Subtle shadow */
    border-radius: 4px; /* Slightly rounded corners */
}
.subsection-title::after {
    /* Remove the old ::after underline */
    content: none;
}
.marker-yellow {
    background-color: rgba(255, 255, 0, 0.4); /* Highlight with yellow */
    padding: 0 5px;
}
.text-red {
    color: #d9534f;
}

/* Feature Section */
.feature-section {
    background-color: #f0f8ff; /* Light blue background */
    text-align: center;
}
.feature-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.feature-image {
    max-width: 700px; /* Make feature images larger */
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.feature-list {
    text-align: left;
    font-size: 1.1em;
    line-height: 2;
    padding-left: 0; /* Add this to reset default list padding */
}
.feature-list li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 30px;
}
.feature-list li::before {
    content: '✅'; /* Checkmark icon */
    position: absolute;
    left: 0;
    color: #28a745; /* Green checkmark */
    font-size: 1.2em;
}

/* Promo Section */
.promo-section {
    background-color: #6c757d; /* Reverted to original solid gray background */
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
    padding: 80px 20px;
    position: relative;
    overflow: hidden;
}
.promo-section::before {
    content: none;
}
.promo-content {
    position: relative;
    z-index: 2;
    /* Removed background, border-radius, box-shadow from here */
}
.promo-content h2 {
    /* 中央揃えを維持しつつ、テキストの塊を調整 */
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.4; /* 行の高さを調整して見やすく */
    font-size: 2.2em; /* 必要に応じてフォントサイズも調整 */
    /* テキストの塊が中央にくるようにflexboxを使用 */
    display: inline-block; /* Changed to inline-block for precise control of icon and text flow */
    background-color: transparent; /* Removed background of the H2 itself */
    box-shadow: none; /* Removed box-shadow of the H2 itself */
    color: #fff; /* Keep white for contrast on promo-section's gray background */
}
/* This rule specifically targets the ::before pseudo-element for promo-content h2 */
.promo-content h2::before {
    content: '✨ '; /* Added space after icon */
    font-size: 1.2em;
    margin-right: 0; /* Removed margin-right, space is in content */
    display: inline-block; /* Ensures icon is inline with the text */
    vertical-align: middle; /* Align icon vertically with text */
    color: #ffeb3b; /* Yellow icon color */
}
.promo-content h2 .text-red {
    color: #ffcc00; /* Yellow for emphasis */
    white-space: normal; /* Allow normal wrapping */
    display: inline; /* Keep as inline element */
}
.promo-oukan-icon { /* New class for oukan.png in promo section */
    width: 300px; /* Set to 300px as per calculation (600px * 0.5) */
    height: auto;
    display: block;
    margin: 20px auto; /* Centered with vertical spacing */
}
.animated-text {
    font-size: 1.5em;
    font-weight: bold;
    background-color: rgba(255, 255, 255, 0.1); /* Reverted to subtle white background */
    padding: 15px 25px; /* Reverted to original padding */
    border-radius: 10px; /* Reverted to original border-radius */
    display: block;
    margin: 20px auto 0 auto; /* Added margin auto for centering */
    line-height: 1.5;
    white-space: normal; /* 不要な改行抑制を解除し、自然な改行を促す */
    word-break: keep-all; /* 単語の途中で改行しないようにする */
    max-width: 650px; /* Adjusted max-width for better two-line break */
    color: #fff; /* Reverted to white text for contrast on promo-section's background */
}

/* Product Intro Section */
.product-intro-section, .product-intro-section-continued {
    background-color: #fff;
    padding: 60px 20px;
    text-align: center;
}
.product-intro-section p, .product-intro-section-continued p {
    font-size: 1.1em;
    margin-bottom: 20px;
    line-height: 1.8;
    text-align: justify;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}
.product-examples {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 40px;
}
.example-column {
    flex: 1;
    min-width: 300px;
    max-width: 450px;
    background-color: #fefefe;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    text-align: center;
    margin-bottom: 20px;
}
.example-column img {
    max-width: 100%; /* Ensure max-width is 100% */
    height: 300px; /* Made fixed height larger for visual consistency */
    object-fit: cover; /* Cover for consistency */
    border-radius: 5px;
    margin-bottom: 15px;
}
.doe-examples {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 30px;
    margin-bottom: 40px;
}
.doe-item {
    flex: 1;
    min-width: 250px;
    max-width: 350px;
    text-align: center;
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.doe-item img {
    max-width: 100%; /* Ensure max-width is 100% */
    height: 250px; /* Made fixed height larger for visual consistency */
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 10px;
}

.doe-item p {
    font-size: 1em;
    color: #555;
    line-height: 1.5;
    margin: 0;
    text-align: center;
}

/* Concerns Section */
.concerns-section {
    background-image: none; /* Removed background image */
    background-color: #495057; /* Consistent background color */
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
    padding: 80px 20px;
    position: relative;
}
.concerns-section::before { /* Original code had this, ensuring it's off */
    content: none;
}
.concerns-section .section-overlay {
    background-color: rgba(0, 0, 0, 0.6); /* Dark overlay */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}
.concerns-section .section-title-white {
    position: relative;
    z-index: 2;
    margin: 0;
    padding: 0;
    background-color: transparent; /* Override H2 background */
    box-shadow: none;
}
.concerns-list-section {
    background-color: #fff;
    text-align: center;
}
.concerns-list-section .feature-image {
    max-width: 700px;
    margin-bottom: 40px;
}
.concerns-list {
    text-align: left;
    font-size: 1.1em;
    line-height: 2;
    max-width: 800px;
    margin: 0 auto;
    padding-left: 0; /* Add this to reset default list padding */
}
.concerns-list li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 30px;
    font-weight: bold;
    color: #333;
}
.concerns-list li::before {
    content: '⚠️'; /* Warning icon */
    position: absolute;
    left: 0;
    color: #d9534f;
    font-size: 1.2em;
}

/* Warning Section */
.warning-section {
    background-color: #d9534f; /* Red background */
    color: #fff;
    text-align: center;
    padding: 60px 20px;
}
.animated-headline {
    font-size: 2.5em;
    font-weight: bold;
    line-height: 1.3;
}
.animated-headline span {
    color: #ffeb3b; /* Yellow for emphasis */
    /* Animation properties would be here */
}
.warning-details-section {
    background-color: #fff;
    text-align: center;
}
.section-subtitle-red {
    font-size: 1.3em;
    color: #d9534f;
    font-weight: bold;
    margin-bottom: 30px;
}
.warning-details-section .feature-image {
    max-width: 600px;
    margin-bottom: 40px;
}
.warning-list {
    text-align: left;
    font-size: 1.1em;
    line-height: 2;
    max-width: 900px;
    margin: 0 auto;
    padding-left: 0; /* Add this to reset default list padding */
}
.warning-list li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 30px;
    color: #333;
}
.warning-list li::before {
    content: '🚨'; /* Siren icon */
    position: absolute;
    left: 0;
    color: #d9534f;
    font-size: 1.2em;
}
.warning-conclusion {
    font-size: 1.2em;
    font-weight: bold;
    margin-top: 30px;
    color: #333;
}

/* Reasons Section */
.reasons-section {
    background-color: #f0f8ff; /* Light blue */
    text-align: center;
}
.reason-item {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 60px;
    padding: 40px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}
.reason-item:nth-child(odd) {
    flex-direction: row-reverse; /* Image on right for odd items */
}
.reason-content {
    flex: 1;
    text-align: left;
}
.reason-content h3 {
    font-size: 1.8em;
    color: #007bff; /* Blue heading */
    margin-bottom: 15px;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
    /* パディングを増やしてアイコンとの間隔を確保 */
    position: relative;
    padding-left: 50px; /* アイコン分のスペースを確保 */
}
.reason-content h3::before {
    content: "\f091"; /* Font Awesome medal icon unicode */
    font-family: "Font Awesome 6 Free"; /* Font Awesome Freeのフォントファミリーを明示 */
    font-weight: 900; /* Solidアイコンの場合のフォントウェイト */
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5em; /* アイコンサイズ */
    color: #ffcc00; /* ゴールド色 */
}
.reason-content p {
    font-size: 1.1em;
    line-height: 1.8;
    color: #555;
}
.reason-image {
    flex: 0 0 400px; /* Fixed width for image container */
    text-align: center;
}
.reason-image img {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Voice Section - Slider-like appearance */
.voice-section {
    background-color: #343a40; /* Dark background */
    color: #fff;
    text-align: center;
    padding: 60px 20px;
}
.voice-section .section-title-white {
    color: #fff;
    background-color: #495057; /* Darker background for H2 */
}
.voice-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative; /* For controls */
    overflow: hidden; /* Hide overflow from cards */
    padding-bottom: 40px; /* Space for dots */
}
.voice-container > p {
    font-size: 1.1em;
    margin-bottom: 40px;
    line-height: 1.8;
    color: #ddd;
}
/* Swiper.js CSS調整 */
.swiper {
    width: 100%;
    height: auto;
    padding: 20px 0 50px 0;
}
.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    display: flex;
    flex-direction: column; /* Changed to column to stack content vertically */
    justify-content: center;
    align-items: center;
    padding: 30px;
    box-sizing: border-box;
    border: 1px solid #ddd;
    border-radius: 8px;
    min-height: 420px; /* Ensure sufficient height */
}
.testimonial-card { /* Content within Swiper slide */
    text-align: left;
    width: 100%; /* Ensure it fills slide width */
    color: #333; /* Make text clearly visible */
}
.testimonial-card h3 {
    color: #007bff; /* Adjust color as needed */
    margin-bottom: 15px;
    font-size: 1.4rem;
}
.testimonial-card p { /* Text in testimonial card */
    color: #555; /* Make body text visible */
}
.testimonial-card img {
    margin-top: 15px;
    border-radius: 5px;
    width: 200px; /* Fixed width */
    height: 200px; /* Fixed height */
    object-fit: cover; /* Crop image to fit */
    display: block;
    margin-left: auto;
    margin-right: auto;
}
/* Swiper navigation buttons */
.swiper-button-next, .swiper-button-prev {
    color: #fff !important; /* 白にして目立たせる */
    --swiper-navigation-size: 40px; /* サイズを調整 */
    background-color: rgba(0, 0, 0, 0.5); /* 半透明の背景を追加 */
    border-radius: 50%; /* 丸い形に */
    padding: 10px; /* クリックしやすいようにパディングを追加 */
    transition: background-color 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3); /* 影を追加して浮き上がらせる */
}
.swiper-button-next:hover, .swiper-button-prev:hover {
    background-color: rgba(0, 0, 0, 0.7); /* ホバーで少し濃くする */
}
/* Swiper pagination dots */
.swiper-pagination-bullet-active {
    background: #ffcc00 !important; /* 目立つ明るい黄色に設定 */
}

/* Old slider controls and dots (to be hidden/removed) */
.slider-controls, .slider-dots {
    display: none; /* Hide old controls */
}


/* FAQ Section */
.faq-section {
    background-color: #f9f9f9;
    padding: 60px 20px;
}
.faq-container {
    max-width: 900px;
    margin: 0 auto;
}
.faq-item {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.faq-item h3 {
    margin: 0;
    padding: 18px 25px;
    cursor: pointer;
    background-color: #e9ecef; /* Light gray header */
    color: #333;
    font-size: 1.2em;
    position: relative;
}
.faq-item h3::after {
    content: '▼'; /* Down arrow */
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
}
.faq-item.active h3::after {
    content: '▲'; /* Up arrow when active */
    transform: translateY(-50%) rotate(180deg);
}
.faq-item div {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    box-sizing: border-box;
}
.faq-item.active div {
    max-height: 300px; /* Adjust as needed for content length */
    padding: 15px 25px 25px;
}
.faq-item div p {
    margin: 0;
    padding-bottom: 10px;
    color: #555;
    line-height: 1.7;
}
.faq-item div p:last-child {
    padding-bottom: 0;
}
.faq-item div img {
    max-width: 150px; /* Adjust PSC mark size */
    height: auto;
    margin: 10px auto;
    display: block;
}
.faq-item div a {
    color: #007bff;
    text-decoration: none;
}
.faq-item div a:hover {
    text-decoration: underline;
}
.marker_pink {
    background-color: rgba(255, 192, 203, 0.4); /* Light pink highlight */
    padding: 0 5px;
}
.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Contact Section */
.contact-section {
    background-color: #f0f8ff; /* Light blue background */
    padding: 60px 20px;
    text-align: center;
}
.form-lead-text {
    font-size: 1.5em;
    font-weight: bold;
    color: #d9534f;
    margin-bottom: 30px;
}
.contact-form {
    background-color: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    max-width: 700px;
    margin: 0 auto;
    text-align: left;
}
.inquiry-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
}
.inquiry-table th, .inquiry-table td {
    padding: 15px 10px;
    border-bottom: 1px solid #eee;
    vertical-align: middle;
}
.inquiry-table th {
    width: 150px;
    background-color: #f8f8f8;
    font-weight: normal;
    font-size: 0.95em;
    color: #333;
    text-align: left;
}
.inquiry-table td {
    text-align: left;
}
.inquiry-table input[type="text"],
.inquiry-table input[type="email"],
.inquiry-table input[type="tel"],
.inquiry-table textarea {
    width: calc(100% - 20px);
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1em;
    box-sizing: border-box;
}
.inquiry-table input[type="radio"] {
    margin-right: 5px;
}
.inquiry-table label {
    margin-right: 15px;
    font-size: 0.95em;
    color: #555;
}
.required {
    background-color: #d9534f; /* Red */
    color: #fff;
    font-size: 0.8em;
    padding: 3px 8px;
    border-radius: 3px;
    margin-right: 10px;
    display: inline-block;
    vertical-align: middle;
}
.submit-button-wrapper {
    text-align: center;
    margin-top: 30px;
}
.contact-form button[type="submit"] {
    background-color: #28a745; /* Green */
    color: #fff;
    padding: 15px 40px;
    border: none;
    border-radius: 5px;
    font-size: 1.3em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.contact-form button[type="submit"]:hover {
    background-color: #218838; /* Darker green */
}
.contact-form button[type="submit"]:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}
.form-notes {
    margin-top: 30px;
    font-size: 0.9em;
    color: #666;
    text-align: center;
}
.form-notes .marker-yellow {
    background-color: rgba(255, 255, 0, 0.4);
    padding: 0 5px;
}

/* Company Section */
.company-section {
    background-color: #fff;
    padding: 60px 20px;
    text-align: center;
}
.company-table {
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    border-collapse: collapse;
    margin-top: 40px;
}
.company-table tr:nth-child(even) {
    background-color: #f9f9f9;
}
.company-table td {
    padding: 15px;
    border: 1px solid #eee;
    text-align: left;
    font-size: 1.05em;
    color: #555;
}
.company-table td:first-child {
    width: 150px;
    font-weight: bold;
    color: #333;
    background-color: #f0f8ff;
}

/* Footer Message Section */
.footer-message-section {
    background-color: #343a40; /* Dark background */
    color: #fff;
    text-align: center;
    padding: 60px 20px;
}
.footer-content {
    display: flex;
    align-items: center;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
    flex-wrap: wrap; /* For responsiveness */
    flex-direction: row; /* Default order: image left, text right */
}
.footer-text {
    flex: 1;
    text-align: left;
}
.footer-text h2 {
    font-size: 2em;
    color: #fff;
    margin-bottom: 20px;
}
.footer-text p {
    font-size: 1.05em;
    line-height: 1.8;
    color: #ddd;
    margin-bottom: 15px;
}
.footer-image {
    flex: 0 0 300px;
    text-align: center;
}
.footer-image img {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* Final CTA Section */
.final-cta {
    background-color: #d9534f; /* Red background */
    color: #fff;
    text-align: center;
    padding: 60px 20px;
    position: relative;
    overflow: hidden;
    width: 100%; /* 横幅いっぱいの表示に */
    max-width: none; /* Override section max-width */
}
.cta-content {
    position: relative;
    z-index: 2;
    max-width: 1200px; /* Keep content readable */
    margin: 0 auto;
}
.cta-content h2 {
    font-size: 2.5em;
    margin-bottom: 15px;
    line-height: 1.3;
}
.cta-content p {
    font-size: 1.2em;
    margin-bottom: 30px;
}
.cta-button {
    display: inline-block;
    background-color: #ffcc00; /* Yellow button */
    color: #d9534f; /* Red text */
    padding: 20px 40px;
    border-radius: 5px;
    font-size: 1.5em;
    font-weight: bold;
    text-transform: uppercase;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: background-color 0.3s ease, transform 0.3s ease;
}
.cta-button:hover {
    background-color: #e6b800; /* Darker yellow */
    transform: translateY(-3px);
    text-decoration: none;
}
.cta-ribbon {
    position: absolute;
    top: 0;
    right: 0;
    background-color: #28a745; /* Green ribbon */
    color: #fff;
    font-weight: bold;
    transform: rotate(45deg) translate(70px, -20px); /* 横幅を長くするため調整 */
    transform-origin: top left;
    z-index: 1;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    font-size: 1.4em;
    padding: 10px 40px; /* パディングを調整 */
    white-space: nowrap; /* テキストが改行されないように */
}

/* Media Queries for Responsiveness */
@media (max-width: 992px) {
    .header-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .header-left, .header-center, .header-right {
        margin-bottom: 15px;
    }
    .header-right img {
        transform: scale(1.5); /* Adjust for smaller screens */
    }
    .global-nav ul {
        flex-direction: column;
    }
    .global-nav li {
        width: 100%;
    }
    .hero-section {
        height: auto;
        padding: 40px 20px;
    }
    .hero-text-main h1 {
        font-size: 2em;
    }
    .hero-content {
        flex-direction: column;
    }
    /* oukan.png のスタイルをメディアクエリ内で調整 */
    .oukan-image-container {
        width: 300px; /* Adjusted size for tablets (was 200px, 50% up = 300px) */
        height: 300px;
        top: 0; /* Adjusted to top */
    }
    .hero-content-wrapper {
        padding-top: 100px; /* Adjusted padding-top for mobile */
    }
    .hero-left img {
        max-width: 100%;
    }
    .hero-right {
        width: 100%;
    }
    .reason-item {
        flex-direction: column !important; /* Override odd/even for mobile */
        text-align: center;
    }
    .reason-image {
        flex: none;
        width: 100%;
        margin-top: 20px;
    }
    .reason-content {
        text-align: center;
    }
    .reason-content h3 {
        text-align: center;
    }
    /* Adjust medal icon for mobile */
    .reason-content h3::before {
        position: static; /* Revert to static for simpler mobile layout */
        display: block; /* Make it a block to be on its own line */
        margin: 0 auto 10px auto; /* Center the icon */
        transform: none; /* Remove transform */
    }

    .voice-cards-wrapper {
        scroll-snap-align: center; /* Adjust snapping for mobile */
    }
    .voice-card {
        flex: 0 0 90%; /* Make cards a bit narrower on smaller screens */
    }
    .voice-card .voice-image {
        flex: none;
        width: 100%;
        height: 250px; /* Adjust for mobile image height */
    }
    .voice-image img {
        border-radius: 8px 8px 0 0;
    }
    .voice-text {
        padding: 20px;
    }
    .footer-content {
        flex-direction: column;
    }
    .footer-image {
        margin-top: 30px;
    }
    .inquiry-table th, .inquiry-table td {
        display: block;
        width: 100%;
        text-align: left;
        padding: 10px 0;
    }
    .inquiry-table th {
        background-color: transparent;
        padding-top: 20px;
    }
    .inquiry-table td {
        padding-bottom: 20px;
    }
    .hero-section {
        display: none; /* Hide desktop hero */
    }
    .hero-section-mobile {
        display: block; /* Show mobile hero */
    }
    .animated-headline {
        font-size: 2em;
    }
    .section-title, .section-title-white {
        font-size: 1.8em;
        padding: 15px 30px; /* Adjust padding for smaller H2 */
    }
    .subsection-title {
        font-size: 1.5em;
        /* Adjust for mobile */
        border-left: none; /* Remove left border on mobile */
        padding-left: 0;
        text-align: center; /* Center on mobile */
        box-shadow: none; /* Remove shadow on mobile */
    }
    .subsection-title::after { /* Add centered underline for mobile */
        content: '';
        display: block;
        width: 50px;
        height: 2px;
        background-color: #d9534f; /* Match previous red line */
        margin: 5px auto 0;
    }
    .slider-controls, .slider-dots {
        /* display: none; はJSで制御されるため削除 */
    }
}

@media (max-width: 768px) {
    .site-logo {
        max-width: 150px;
    }
    .tel-link {
        font-size: 1.5em;
    }
    .header-right img {
        transform: scale(1.2);
    }
    .hero-text-main h1 {
        font-size: 1.8em;
    }
    .consult-button {
        font-size: 1em;
        padding: 12px 25px;
    }
    .feature-list li::before, .concerns-list li::before, .warning-list li::before {
        left: -5px;
    }
    .section-title, .section-title-white {
        font-size: 1.6em;
    }
    .animated-headline {
        font-size: 2em;
    }
    .cta-button {
        font-size: 1.2em;
        padding: 15px 30px;
    }
    .cta-ribbon {
        font-size: 1.2em;
        padding: 8px 30px;
        transform: rotate(45deg) translate(40px, -15px);
    }
}

@media (max-width: 480px) {
    .header-container {
        padding: 0 10px;
    }
    .site-description {
        font-size: 0.7em;
    }
    .site-logo {
        max-width: 120px;
    }
    .tel-link {
        font-size: 1.2em;
    }
    .business-hours {
        font-size: 0.8em;
    }
    .header-right img {
        transform: scale(1.0);
    }
    .global-nav a {
        padding: 10px 15px;
        font-size: 0.9em;
    }
    .hero-text-main h1 {
        font-size: 1.5em;
    }
    .consult-text {
        font-size: 1em;
    }
    .consult-button {
        font-size: 0.9em;
        padding: 10px 20px;
    }
    .hero-title-mobile {
        font-size: 1.5em;
    }
    .button-mobile {
        font-size: 1em;
        padding: 12px 25px;
    }
    .section-title, .section-title-white {
        font-size: 1.4em;
        padding: 12px 20px;
    }
    .section-title::before, .section-title-white::before {
        font-size: 1em;
        margin-right: 10px;
    }
    .section-subtitle {
        font-size: 1em;
    }
    .animated-headline {
        font-size: 1.8em;
    }
    .section-subtitle-red {
        font-size: 1.1em;
    }
    .reason-content h3 {
        font-size: 1.4em;
    }
    .reason-content p {
        font-size: 0.9em;
    }
    .voice-case {
        font-size: 1.2em;
    }
    .voice-text p {
        font-size: 0.9em;
    }
    .faq-item h3 {
        font-size: 1em;
        padding: 15px 20px;
    }
    .faq-item div {
        padding: 10px 20px;
    }
    .contact-form {
        padding: 20px;
    }
    .inquiry-table th, .inquiry-table td {
        font-size: 0.9em;
    }
    .required {
        font-size: 0.7em;
        padding: 2px 6px;
    }
    .contact-form button[type="submit"] {
        font-size: 1.1em;
        padding: 12px 30px;
    }
    .company-table td {
        font-size: 0.9em;
        padding: 10px;
    }
    .company-table td:first-child {
        width: 120px;
    }
    .footer-text h2 {
        font-size: 1.8em;
    }
    .footer-text p {
        font-size: 0.9em;
    }
    .cta-content h2 {
        font-size: 2em;
    }
    .cta-content p {
        font-size: 1em;
    }
    .cta-button {
        font-size: 1.2em;
        padding: 15px 30px;
    }
    .cta-ribbon {
        font-size: 1em;
        padding: 5px 25px;
        transform: rotate(45deg) translate(30px, -10px);
    }
}