/* ビジュアルFPセクション */
.visual-fp {
    background-color: #f8f9fa;
}

.charts-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 30px;
}

.chart-box {
    background-color: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.chart-box h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.chart-box p {
    margin-bottom: 20px;
    color: #666;
}

.chart-wrapper {
    height: 300px;
}

@media (max-width: 768px) {
    .charts-container {
        grid-template-columns: 1fr;
    }
}

:root {
    --primary: #3366cc;
    --secondary: #5b9bd5;
    --accent: #ffd966;
    --light: #f9f9fb;
    --dark: #222831;
    --text: #333;
    --text-light: #6e7581;
    --gradient-primary: linear-gradient(135deg, #3366cc 0%, #5b9bd5 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--text);
    background-color: var(--light);
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', 'Noto Sans JP', sans-serif;
    font-weight: 600;
}

p {
    line-height: 1.8;
    color: var(--text-light);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
}

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

.btn {
    display: inline-block;
    padding: 14px 30px;
    background: var(--primary);
    color: white;
    border-radius: 50px;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 16px;
    letter-spacing: 0.5px;
}

.btn:hover {
    background: var(--secondary);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(51, 102, 204, 0.15);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

.section {
    padding: 120px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 70px;
    font-size: 38px;
    font-weight: 700;
    position: relative;
    color: var(--dark);
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--secondary);
    border-radius: 2px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.4s ease;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    padding: 15px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 28px;
    color: var(--primary);
}

.logo span {
    color: var(--secondary);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--primary);
    cursor: pointer;
}

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

.nav-item {
    margin-left: 35px;
}

.nav-link {
    font-weight: 500;
    color: var(--dark);
    position: relative;
}

.nav-link:before {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: all 0.3s ease;
}

.nav-link:hover:before {
    width: 100%;
}

.nav-contact {
    background: var(--primary);
    color: white;
    padding: 12px 28px;
    border-radius: 50px;
}

.nav-contact:hover {
    background: var(--secondary);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    color: white;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -1;
    opacity: 0;
    transition: opacity 1.5s ease;
}

.hero-bg.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.4));
    z-index: -1;
}

.hero-content {
    max-width: 650px;
    z-index: 1;
    animation: fadeInUp 1s both;
}

.hero-title {
    font-size: 56px;
    line-height: 1.2;
    margin-bottom: 30px;
    letter-spacing: -0.5px;
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.9;
}

/* 時計部分のスタイル - 改良版 */
.time-element {
    position: absolute;
    top: 50%;
    right: 10%;
    transform: translateY(-50%);
    z-index: 1;
    text-align: center;
    animation: fadeInRight 1s both;
    animation-delay: 0.5s;
}

.time-visual {
    position: relative;
    width: 180px;
    height: 180px;
    margin-bottom: 25px;
}

.time-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(51, 102, 204, 0.2);
}

.time-progress {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.time-progress:before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(90deg, rgba(91, 155, 213, 0.2), rgba(51, 102, 204, 0.3));
    animation: rotateClock 20s linear infinite;
}

@keyframes rotateClock {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.time-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.time-now {
    font-size: 15px;
    font-weight: 300;
    margin-bottom: 5px;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.time-value {
    font-size: 28px;
    font-weight: 300;
    letter-spacing: 1px;
    color: white;
}

.time-message {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    max-width: 220px;
    color: rgba(255, 255, 255, 0.95);
    letter-spacing: 0.5px;
}

.time-highlight {
    color: var(--accent);
    font-weight: 500;
}

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

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translate(30px, -50%);
    }
    to {
        opacity: 1;
        transform: translate(0, -50%);
    }
}

.scroll-down {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
    font-weight: 500;
    animation: fadeIn 1s both;
    animation-delay: 1s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.scroll-down i {
    font-size: 24px;
    margin-top: 8px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Services Section */
.services {
    background-color: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.service-image {
    height: 220px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-content {
    padding: 30px;
}

.service-title {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--dark);
}

.service-text {
    margin-bottom: 25px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary);
    font-weight: 500;
}

.service-link i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.service-link:hover i {
    transform: translateX(5px);
}

/* Financial Dashboard */
.financial-dashboard {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 40px;
}

.cashflow-section, .chart-section {
    flex: 1;
    min-width: 300px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

.cashflow-image {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

.chart-container {
    position: relative;
    height: 400px;
}

.chart-title {
    font-size: 18px;
    color: #3366cc;
    text-align: center;
    margin-bottom: 15px;
}

.chart-description {
    font-size: 14px;
    color: #666;
    text-align: center;
    margin-bottom: 20px;
}

.asset-sim-section {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 40px;
}

.note {
    background-color: #fff8e1;
    padding: 10px 15px;
    border-left: 4px solid #ffc107;
    font-size: 14px;
    margin-top: 20px;
}

/* About Section */
.about {
    overflow: hidden;
    background-color: var(--light);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-image {
    flex: 1;
    position: relative;
}

.about-image-main {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.about-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 150px;
    height: 150px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 18px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.about-text {
    flex: 1;
}

.about-title {
    font-size: 36px;
    margin-bottom: 30px;
    position: relative;
}

.about-title:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 80px;
    height: 4px;
    background: var(--secondary);
    border-radius: 2px;
}

.about-description {
    margin-bottom: 30px;
}

.about-features {
    margin-bottom: 30px;
}

.about-feature {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.about-feature i {
    margin-right: 15px;
    font-size: 24px;
    color: var(--primary);
}

.about-cta {
    margin-top: 40px;
}

/* Process Section */
.process {
    background-color: white;
}

.process-steps {
    max-width: 900px;
    margin: 0 auto;
}

.process-step {
    display: flex;
    margin-bottom: 80px;
    position: relative;
}

.process-step:last-child {
    margin-bottom: 0;
}

.process-step:before {
    content: '';
    position: absolute;
    top: 80px;
    left: 40px;
    width: 2px;
    height: calc(100% + 40px);
    background: var(--secondary);
    z-index: 1;
}

.process-step:last-child:before {
    display: none;
}

.process-number {
    flex: 0 0 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 24px;
    margin-right: 30px;
    position: relative;
    z-index: 2;
}

.process-content {
    flex: 1;
}

.process-title {
    font-size: 24px;
    margin-bottom: 15px;
}

/* THEO風 お客様の声スタイル */
.testimonials-theo {
    background-color: #f9f9fc;
    padding: 120px 0;
    overflow: hidden;
}

.theo-testimonials-container {
    position: relative;
    margin-top: 60px;
}

.theo-testimonials-wrapper {
    position: relative;
    overflow: hidden;
}

.theo-testimonials-slider {
    display: flex;
    transition: transform 0.5s ease;
}

.theo-testimonial-item {
    flex: 0 0 100%;
    padding: 0 20px;
}

@media (min-width: 768px) {
    .theo-testimonial-item {
        flex: 0 0 50%;
    }
}

@media (min-width: 992px) {
    .theo-testimonial-item {
        flex: 0 0 33.333%;
    }
}

.theo-testimonial-content {
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
    position: relative;
    height: 100%;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.theo-testimonial-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.theo-quote-mark {
    font-size: 60px;
    font-family: "Georgia", serif;
    color: #3366cc;
    opacity: 0.15;
    position: absolute;
    top: 20px;
    left: 30px;
    line-height: 1;
}

.theo-testimonial-content p {
    font-size: 16px;
    line-height: 1.7;
    color: #4A4A4A;
    margin: 15px 0 30px;
    flex: 1;
}

.theo-testimonial-author {
    display: flex;
    align-items: center;
    margin-top: auto;
}

.theo-author-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
    border: 2px solid #f0f0f5;
}

.theo-author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.theo-author-info h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.theo-author-info p {
    margin: 4px 0 0;
    font-size: 13px;
    color: #888;
    line-height: 1.3;
}

.theo-testimonials-navigation {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 40px;
    padding: 0 20px;
}

.theo-pagination {
    display: flex;
    gap: 8px;
}

.theo-pagination-bullet {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #CCD1D9;
    cursor: pointer;
    transition: all 0.3s ease;
}

.theo-pagination-bullet.active {
    background: #3366cc;
    transform: scale(1.2);
}

.theo-nav-buttons {
    display: flex;
    gap: 15px;
}

.theo-nav-button {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid #E6E9ED;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #3366cc;
}

.theo-nav-button:hover:not(:disabled) {
    background: #3366cc;
    color: white;
    border-color: #3366cc;
}

.theo-nav-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Contact Section */
.contact {
    background-color: white;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.contact-info h3 {
    font-size: 24px;
    margin-bottom: 30px;
}

.contact-details {
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    margin-bottom: 20px;
}

.contact-icon {
    flex: 0 0 50px;
    height: 50px;
    background: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    color: var(--primary);
}

.contact-text {
    flex: 1;
}

.contact-text strong {
    display: block;
    color: var(--dark);
    margin-bottom: 5px;
}

.contact-social {
    display: flex;
    gap: 15px;
    margin-top: 40px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

.contact-form {
    background: var(--light);
    padding: 40px;
    border-radius: 15px;
}

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

.form-control {
    width: 100%;
    padding: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: white;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-control:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(51, 102, 204, 0.1);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

/* Footer */
.footer {
    background: var(--dark);
    color: white;
    padding: 80px 0 40px;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
}

.footer-logo {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 24px;
    color: white;
    margin-bottom: 20px;
}

.footer-logo span {
    color: var(--secondary);
}

.footer-about {
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-title {
    font-size: 18px;
    margin-bottom: 25px;
    color: white;
}

.footer-links {
    list-style: none;
}

.footer-link {
    margin-bottom: 15px;
}

.footer-link a {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.footer-link a:hover {
    color: white;
    padding-left: 5px;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.footer-social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

.footer-social-link:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    margin-top: 60px;
    display: flex;
    justify-content: space-between;
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.7);
    margin-left: 20px;
}

.footer-bottom-links a:hover {
    color: white;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .about-image, .about-text {
        width: 100%;
    }
    
    .contact-container, .tools-container, .charts-container, .footer-container {
        grid-template-columns: 1fr;
    }
    
    .time-element {
        position: static;
        margin: 30px auto;
        transform: none;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 40px;
    }
    
    .services-grid, .tools-container {
        grid-template-columns: 1fr;
    }
    
    .nav-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        height: 0;
        background: white;
        flex-direction: column;
        align-items: center;
        overflow: hidden;
        transition: all 0.4s ease;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        z-index: 999;
    }
    
    .nav-menu.active {
        height: calc(100vh - 80px);
        padding: 40px 0;
    }
    
    .nav-item {
        margin: 15px 0;
    }
}

/* FAQセクションのスタイル */
.faq-subtitle {
  text-align: center;
  margin-bottom: 40px;
  color: #666;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 15px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  background-color: #fff;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-weight: 500;
  color: #333;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background-color: #f9f9f9;
}

.faq-toggle {
  font-size: 24px;
  color: #3446db;
  font-weight: bold;
  transition: transform 0.3s ease;
}

.faq-answer {
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  background-color: #f9f9f9;
}

.faq-answer p {
  padding: 20px 25px;
  margin: 0;
  line-height: 1.6;
  color: #555;
}

/* アクティブ状態のスタイル */
.faq-item.active {
  border-color: #3446db;
}

.faq-item.active .faq-question {
  color: #3446db;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

.faq-item.active .faq-answer {
  max-height: 1000px; /* 十分な高さを確保 */
}

/* アドバイザー一覧セクションのスタイル */
.advisor-list {
    background-color: white;
    padding: 80px 0;
}

.advisor-card {
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    background: white;
    padding: 25px;
    margin-bottom: 20px;
}

.advisor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.15);
}

.advisor-tabs {
    display: flex;
    justify-content: center;
    background: #f5f7fa;
    border-radius: 30px;
    padding: 5px;
    margin: 30px auto;
    max-width: 600px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.advisor-tabs a {
    padding: 10px 20px;
    border-radius: 25px;
    margin: 0 5px;
    color: #555;
    font-weight: 500;
    transition: all 0.3s;
}

.advisor-tabs a.active {
    background: var(--primary);
    color: white;
}

.advisors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.advisor-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.advisor-title {
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 15px;
}

.advisor-info {
    line-height: 1.6;
    color: #666;
}

/* アドバイザーページのレスポンシブデザイン */
@media (max-width: 768px) {
    .advisors-grid {
        grid-template-columns: 1fr;
    }
    
    .advisor-tabs {
        flex-wrap: wrap;
    }
}

@media screen and (max-width: 768px) {
    /* ヒーローセクションの基本レイアウト */
    .hero {
      display: flex !important;
      flex-direction: column !important;
      align-items: center !important;
      height: auto !important;
      min-height: 100vh !important;
      padding: 80px 15px 120px !important;
    }
    
    /* ヘッダーテキスト調整 */
    .hero-title {
      font-size: 32px !important;
      line-height: 1.3 !important;
      margin-bottom: 20px !important;
      text-align: center !important;
    }
    
    .hero-content {
      width: 100% !important;
      max-width: 100% !important;
      text-align: center !important;
      order: 1 !important;
      margin-bottom: 40px !important;
    }
    
    /* ボタンの調整 - 時計との間隔を大幅に増加 */
    .hero .btn {
      order: 2 !important;
      position: relative !important;
      z-index: 10 !important;
      margin: 0 auto 80px !important; /* 下の余白をさらに増加 */
      display: block !important;
      width: 80% !important;
      max-width: 280px !important;
      padding: 12px 20px !important;
      font-size: 15px !important;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2) !important;
    }
    
    /* 時計要素のさらなる調整と縮小 */
    .time-element {
      position: static !important;
      transform: none !important;
      width: 110px !important; /* より小さく */
      height: auto !important;
      margin: 0 auto 25px !important;
      order: 3 !important;
      opacity: 0.9 !important; /* 少し透明に */
    }
    
    /* 時計の視覚要素を小さく */
    .time-visual {
      width: 110px !important;
      height: 110px !important;
    }
    
    .time-center {
      width: 70px !important;
      height: 70px !important;
    }
    
    .time-progress:before {
      animation-duration: 25s !important; /* 回転速度を遅く */
    }
    
    .time-now {
      font-size: 11px !important;
    }
    
    .time-value {
      font-size: 15px !important;
    }
    
    /* 時計下のテキスト調整 - より小さく、より下方に */
    .time-message {
      font-size: 12px !important;
      line-height: 1.5 !important;
      max-width: 160px !important;
      margin: 30px auto 0 !important; /* 上の余白を増加 */
      padding-top: 10px !important;
    }
    
    /* テキスト可読性向上 */
    .hero-subtitle, .time-message {
      text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7) !important;
      letter-spacing: 0.5px !important;
    }
    
    /* スクロール指示の位置調整 */
    .scroll-down {
      bottom: 25px !important;
    }
  }

    /* 時計メッセージのスタイリングを洗練 */
    .time-message {
      font-size: 12px !important;
      line-height: 1.8 !important;
      max-width: 180px !important;
      margin: 35px auto 0 !important;
      padding: 0 !important;
      color: rgba(255, 255, 255, 0.95) !important;
      text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5) !important;
      letter-spacing: 0.5px !important;
      display: flex !important;
      flex-direction: column !important;
      align-items: center !important;
    }
    
    /* 最初の行（あなたの大切な時間を資産に変える）をスタイリング */
    .time-message:first-line {
      font-size: 13px !important;
      font-weight: 500 !important;
      letter-spacing: 0.7px !important;
      color: rgba(255, 255, 255, 1) !important;
      margin-bottom: 5px !important;
    }
    
    /* もしくは HTML が編集できるなら、以下のクラスを適用するか、または現在のテキストを2つに分割 */
    .time-message-highlight {
      font-size: 13px !important;
      font-weight: 500 !important;
      color: rgba(255, 255, 255, 1) !important;
      margin-bottom: 4px !important;
      letter-spacing: 0.7px !important;
    }
    
    .time-message-secondary {
      font-size: 12px !important;
      color: rgba(255, 255, 255, 0.9) !important;
      font-weight: normal !important;
    }
    
    /* 時計部分を若干上部に移動 */
    .time-element {
      margin-top: -10px !important;
    }
    
    /* ボタンと時計の間隔をさらに調整 */
    .hero .btn {
      margin-bottom: 70px !important;
    }