/* ===== CSS変数 ===== */
:root {
    --primary-color: #1e3a8a;
    --primary-dark: #1e40af;
    --primary-light: #3b82f6;
    --accent-color: #60a5fa;
    --text-dark: #1f2937;
    --text-gray: #6b7280;
    --bg-light: #f9fafb;
    --white: #ffffff;
    --border-color: #e5e7eb;
}

/* ===== ヒーローセクション ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-left {
    position: absolute;
    top: 0;
    left: 0;
    width: 55%;
    height: 100%;
    background: linear-gradient(135deg, #0f1a3d 0%, #1e3a8a 100%);
    clip-path: polygon(0 0, 100% 0, 75% 100%, 0 100%);
    z-index: 2;
}

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

/* ヒーロースライダー */
.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

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

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4rem;
    width: 100%;
}

.hero-inner-content {
    max-width: 600px;
    padding-top: 80px;
}

.hero-title {
    margin-bottom: 2rem;
    font-size: 2.8rem;
    line-height: 1.5;
    color: #ffffff;
    font-family: 'Noto Serif JP', serif;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.hero-description {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 2;
    letter-spacing: 0.05em;
    font-weight: 300;
    margin-bottom: 1.5rem;
}

.hero-btn-wrap {
    opacity: 0;
    transform: translateX(-50px);
    animation: slideInFromLeft 0.3s ease-out 0.3s forwards;
}

@keyframes slideInFromLeft {
    0% {
        opacity: 0;
        transform: translateX(-50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-btn-wrap a {
    background: #ffffff;
    position: relative;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 0;
    max-width: 240px;
    padding: 14px 30px;
    color: #1e3a8a;
    transition: 0.3s ease-in-out;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.1em;
    text-decoration: none;
    transform: skew(-10deg, 0deg);
}

.hero-btn-wrap a span {
    transform: skewX(10deg);
}

.hero-btn-wrap a:before {
    content: "";
    width: 35px;
    height: 2px;
    position: absolute;
    right: -20px;
    background: #1e3a8a;
    top: 35%;
    transition: 0.3s ease-in-out;
}

.hero-btn-wrap a:after {
    content: "";
    width: 20px;
    height: 2px;
    position: absolute;
    right: -5px;
    background: #1e3a8a;
    top: 55%;
    transition: 0.3s ease-in-out;
}

.hero-btn-wrap a:hover {
    background: #0f1a3d;
    color: #ffffff;
    transform: skew(-10deg, 0deg) translateX(10px);
}

.hero-btn-wrap a:hover:before,
.hero-btn-wrap a:hover:after {
    transform: translateX(5px);
    background: #ffffff;
}

/* スクロールインジケーター */
.hero-scroll {
    position: absolute;
    bottom: 120px;
    right: 4rem;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-scroll-text {
    font-family: 'Georgia', serif;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    color: var(--text-gray);
    margin-bottom: 0.8rem;
    writing-mode: vertical-rl;
}

.hero-scroll-bar {
    width: 1px;
    height: 60px;
    background: #ccc;
    position: relative;
    overflow: hidden;
}

.hero-scroll-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    animation: scrollDown 2s infinite;
}

@keyframes scrollDown {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100%); }
}

/* ===== お知らせセクション（独立） ===== */
.news-section {
    background: var(--white);
    border-bottom: 1px solid var(--border-color);
}

.news-section-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.5rem 3rem;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.news-section-label {
    background: var(--primary-color);
    color: var(--white);
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    white-space: nowrap;
}

.news-section-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1;
}

.news-section-item {
    padding: 0;
}

.news-section-link {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.news-section-link:hover {
    opacity: 0.7;
}

.news-section-date {
    font-family: 'Georgia', serif;
    font-size: 0.85rem;
    color: var(--primary-color);
    min-width: 100px;
}

.news-section-text {
    font-size: 0.9rem;
    color: var(--text-dark);
    line-height: 1.5;
}

.news-section-more {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
    transition: opacity 0.3s ease;
}

.news-section-more:hover {
    opacity: 0.7;
}

/* お知らせセクション レスポンシブ */
@media (max-width: 768px) {
    .news-section-inner {
        flex-direction: column;
        padding: 1rem 1.5rem;
        gap: 1rem;
        align-items: stretch;
    }

    .news-section-label {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
        text-align: center;
    }

    .news-section-list {
        gap: 0.8rem;
    }

    .news-section-link {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.3rem;
    }

    .news-section-date {
        font-size: 0.75rem;
        min-width: auto;
    }

    .news-section-text {
        font-size: 0.85rem;
    }

    .news-section-more {
        text-align: center;
        display: block;
        padding: 0.8rem;
        background: var(--bg-light);
        border-radius: 4px;
    }
}

/* ===== セクション共通 ===== */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-label {
    font-family: 'Georgia', serif;
    font-size: 0.85rem;
    letter-spacing: 0.3em;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.section-title {
    font-family: 'Noto Serif JP', serif;
    font-size: 2rem;
    font-weight: 600;
    color: var(--primary-color);
    letter-spacing: 0.08em;
}

.view-more-btn {
    display: inline-block;
    padding: 1rem 3rem;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    transition: all 0.3s ease;
    margin-top: 2rem;
}

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

/* ===== あなたの明日のために ===== */
.reasons-message-d {
    position: relative;
    padding: 100px 3rem;
    overflow: hidden;
    min-height: 700px;
}

.reasons-message-bg-d {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.reasons-message-bg-d::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.15);
}

.reasons-message-container-d {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 550px;
}

.reasons-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.reasons-card-left {
    align-self: flex-start;
    max-width: 600px;
    text-align: left;
}

.reasons-card-left .section-label {
    font-family: 'Georgia', serif;
    font-size: 0.85rem;
    letter-spacing: 0.3em;
    color: #1e3a8a;
    margin-bottom: 0.5rem;
    text-align: left;
}

.reasons-card-left .section-title {
    font-family: 'Noto Serif JP', serif;
    font-size: 2rem;
    font-weight: 600;
    color: #1e3a8a;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--primary-color);
    text-align: left;
}

.reasons-card-content {
    line-height: 2;
}

.reasons-card-left .reasons-lead {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.15rem;
    font-weight: 500;
    color: #1e3a8a;
    margin-bottom: 1.5rem;
}

.reasons-card-left .reasons-text {
    font-size: 0.95rem;
    color: #4b5563;
    margin-bottom: 1rem;
    font-weight: 300;
    line-height: 2;
}

.reasons-card-right {
    align-self: flex-end;
    max-width: 480px;
    text-align: left;
    margin-top: 2rem;
    background: rgba(30, 58, 138, 0.95);
    color: #ffffff;
}

.reasons-card-right .reasons-highlight {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.6rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1.5rem;
    letter-spacing: 0.1em;
}

.reasons-card-right .reasons-text {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 2.2;
    font-weight: 300;
    margin-bottom: 0;
}

/* ===== 当事務所の特徴セクション ===== */
.features-section {
    padding: 100px 3rem;
    background-color: var(--bg-light);
}

.features-section .section-container {
    max-width: 1200px;
    margin: 0 auto;
}

.features-header {
    background: var(--primary-color);
    padding: 1.5rem 3rem;
    margin-bottom: 3rem;
}

.features-header h2 {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--white);
    text-align: center;
    letter-spacing: 0.15em;
    margin: 0;
}

.features-subtitle {
    text-align: center;
    font-size: 1rem;
    color: var(--text-gray);
    margin-bottom: 4rem;
    letter-spacing: 0.05em;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.feature-card {
    text-align: center;
    padding: 2rem 1.5rem;
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 4px 20px rgba(30, 58, 138, 0.06);
    transition: all 0.3s ease;
}

.feature-card:hover {
    box-shadow: 0 8px 30px rgba(30, 58, 138, 0.1);
    transform: translateY(-5px);
}

.feature-icon svg {
    width: 36px;
    height: 36px;
    fill: none;
    stroke: var(--primary-color);
    stroke-width: 1.5;
    transition: all 0.3s ease;
}

.feature-card h3 {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    letter-spacing: 0.08em;
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--text-gray);
    line-height: 2;
    font-weight: 300;
    margin: 0;
}

/* ===== 取扱分野 ===== */
.services {
    padding: 100px 3rem;
}

.services-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    min-height: 600px;
}

.services-image {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    overflow: hidden;
}

.services-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.services-content {
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.services-content .section-header {
    text-align: left;
    margin-bottom: 2rem;
}

.services-content .section-label {
    text-align: left;
}

.services-content .section-title {
    text-align: left;
}

.services-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.service-item {
    padding: 1.5rem;
    background: var(--bg-light);
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
}

.service-item:hover {
    background: var(--primary-color);
}

.service-item:hover h4,
.service-item:hover p {
    color: var(--white);
}

.service-item h4 {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.service-item p {
    font-size: 0.85rem;
    color: var(--text-gray);
    font-weight: 300;
    transition: color 0.3s ease;
    margin: 0;
}

/* ===== 代表メッセージ ===== */
.message {
    padding: 100px 3rem;
    background-color: var(--bg-light);
}

.message .section-container {
    max-width: 1200px;
    margin: 0 auto;
}

.message-layout {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 4rem;
    align-items: center;
}

.message-image {
    height: 450px;
    overflow: hidden;
}

.message-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.message-content h3 {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    line-height: 1.6;
}

.message-content p {
    color: var(--text-gray);
    font-weight: 300;
    line-height: 2.2;
    margin-bottom: 1.5rem;
}

.message-signature {
    color: var(--primary-color);
    font-weight: 500;
    margin-top: 2rem;
    font-size: 1rem;
}

/* ===== CTAセクション ===== */
.cta-section {
    position: relative;
    overflow: hidden;
    padding: 100px 3rem;
}

.cta-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.cta-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.cta-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.1) 100%);
}

.cta-card {
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.98);
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.cta-card-title {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 1.5rem;
    letter-spacing: 0.1em;
}

.cta-card-desc {
    font-size: 0.95rem;
    color: var(--text-gray);
    text-align: center;
    line-height: 2;
    margin-bottom: 3rem;
}

.cta-card-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: stretch;
}

.cta-card-tel {
    text-align: center;
    padding: 1.5rem;
    border: 2px solid var(--primary-color);
    transition: all 0.3s ease;
}

.cta-card-tel:hover {
    background: rgba(30, 58, 138, 0.03);
}

.cta-card-tel-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.cta-card-tel-icon svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: var(--primary-color);
    stroke-width: 2;
}

.cta-card-tel-number {
    font-family: 'Times New Roman', serif;
    font-size: 1.8rem;
    font-weight: 400;
    color: var(--primary-color);
    text-decoration: none;
    letter-spacing: 0.05em;
    display: block;
    transition: opacity 0.3s ease;
}

.cta-card-tel-number:hover {
    opacity: 0.7;
}

.cta-card-tel-time {
    font-size: 0.8rem;
    color: var(--text-gray);
    margin-top: 0.8rem;
    line-height: 1.6;
}

.cta-card-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
}

.cta-card-form:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(30, 58, 138, 0.3);
}

.cta-card-form-icon {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.5rem;
}

.cta-card-form-icon svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: var(--white);
    stroke-width: 2;
}

.cta-card-form-text {
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.1em;
}

.cta-card-form-note {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 0.8rem;
    text-align: center;
    line-height: 1.6;
}

/* ===== メディア掲載 ===== */
.media-section {
    padding: 100px 3rem;
    background-color: var(--bg-light);
}

.media-section .section-container {
    max-width: 1100px;
    margin: 0 auto;
}

.media-layout {
    background: var(--white);
    padding: 4rem 3rem;
    margin-bottom: 2rem;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
}

.media-layout + .media-layout {
    margin-top: 3rem;
}

.media-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.media-title {
    font-family: 'Noto Serif JP', serif;
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

.media-image {
    margin: 0 auto 2.5rem;
    max-width: 100%;
    overflow: hidden;
}

.media-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.media-image:hover img {
    transform: scale(1.02);
}

.media-image-small {
    max-width: 50%;
    margin: 0 auto 2.5rem;
}

.media-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    margin-top: 2.5rem;
}

.media-desc {
    font-size: 1rem;
    color: var(--text-gray);
    line-height: 2;
    font-weight: 300;
    text-align: left;
    margin-bottom: 0;
    flex: 1;
}

.media-btn {
    display: inline-flex;
    align-items: center;
    padding: 1.2rem 2.5rem;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.media-btn span {
    margin-left: 1rem;
    transition: transform 0.3s ease;
}

.media-btn:hover span {
    transform: translateX(5px);
}

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

.media-btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(30, 58, 138, 0.3);
}

/* ===== アクセスセクション ===== */
.access {
    padding: 100px 3rem;
}

.access .section-container {
    max-width: 1200px;
    margin: 0 auto;
}

.access-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.access-info h3 {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-weight: 600;
}

.info-row {
    display: flex;
    padding: 1.2rem 0;
    border-bottom: 1px solid #e8e8e8;
}

.info-label {
    font-weight: 600;
    color: var(--primary-color);
    min-width: 120px;
    letter-spacing: 0.05em;
}

.info-value {
    color: var(--text-gray);
    font-weight: 300;
}

.map-container {
    height: 400px;
    background: var(--bg-light);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* アクセス詳細 */
.access-details-horizontal {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 3rem;
}

.access-detail-item-horizontal {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 1.5rem 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.access-detail-check {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    min-width: 36px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    font-size: 1.2rem;
    font-weight: bold;
    line-height: 1;
}

.access-detail-content h4 {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0 0 0.5rem 0;
}

.access-detail-content p {
    font-size: 0.95rem;
    color: var(--text-gray);
    margin: 0;
    line-height: 1.8;
    font-weight: 300;
}

/* ===== アニメーション ===== */
.slide-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-in.active {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-in-left.active {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-in-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* ===== レスポンシブ（タブレット） ===== */
@media (max-width: 1024px) {
    .hero-content {
        padding: 0 2rem;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .services-layout,
    .message-layout,
    .access-layout {
        grid-template-columns: 1fr;
    }

    .services-image {
        height: 300px;
    }

    .services-content {
        padding: 3rem 2rem;
    }

    .message-layout {
        gap: 2rem;
    }

    .message-image {
        height: 350px;
    }

    .features-grid {
        gap: 2rem;
    }

    .reasons-message-d {
        padding: 80px 2rem;
    }

    .reasons-card {
        padding: 2.5rem;
    }
}

/* ===== レスポンシブ（モバイル） ===== */
@media (max-width: 768px) {
    /* ヒーロー - PC版と同じ構造を維持、テキストが被らないよう調整 */
    .hero {
        min-height: 100vw;
    }

    .hero-left {
        width: 65%;
        clip-path: polygon(0 0, 100% 0, 70% 100%, 0 100%);
    }

    .hero-right {
        width: 50%;
    }

    .hero-content {
        padding: 0 1.5rem;
    }

    .hero-inner-content {
        max-width: 60%;
        padding-top: 100px;
    }

    .hero-title {
        font-size: 1.2rem;
        line-height: 1.6;
        margin-bottom: 0.8rem;
    }

    .hero-description {
        font-size: 0.7rem;
        margin-bottom: 1rem;
        line-height: 1.7;
    }

    .hero-description br {
        display: none;
    }

    .hero-btn-wrap a {
        max-width: 160px;
        padding: 8px 16px;
        font-size: 0.75rem;
    }

    .hero-btn-wrap a:before {
        width: 20px;
        right: -12px;
    }

    .hero-btn-wrap a:after {
        width: 12px;
        right: -2px;
    }

    .hero-scroll {
        display: none;
    }

    /* お知らせバナー */
    .news-banner {
        flex-direction: column;
    }
    
    .news-banner-label {
        padding: 0.5rem 1rem;
        min-width: auto;
        font-size: 0.75rem;
    }
    
    .news-banner-list {
        padding: 0.5rem 1rem;
    }

    .news-banner-item {
        padding: 0.15rem 0;
    }
    
    .news-banner-link {
        flex-direction: row;
        gap: 0.8rem;
    }

    .news-banner-date {
        font-size: 0.7rem;
        min-width: 70px;
    }

    .news-banner-text {
        font-size: 0.7rem;
        line-height: 1.3;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }


    /* お知らせバナー */
    .news-banner {
        flex-direction: column;
    }
    
    .news-banner-label {
        padding: 0.5rem 1rem;
        min-width: auto;
        font-size: 0.75rem;
    }
    
    .news-banner-list {
        padding: 0.5rem 1rem;
    }

    .news-banner-item {
        padding: 0.15rem 0;
    }
    
    .news-banner-link {
        flex-direction: row;
        gap: 0.8rem;
    }

    .news-banner-date {
        font-size: 0.7rem;
        min-width: 70px;
    }

    .news-banner-text {
        font-size: 0.7rem;
        line-height: 1.3;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    /* セクション共通 */
    .section-container {
        padding: 0 1rem;
    }

    .section-header {
        margin-bottom: 2rem;
    }

    .section-label {
        font-size: 0.75rem;
    }

    .section-title {
        font-size: 1.4rem;
    }

    .view-more-btn {
        padding: 0.8rem 2rem;
        font-size: 0.85rem;
    }

    /* あなたの明日のために */
    .reasons-message-d {
        padding: 60px 1rem;
        min-height: auto;
    }
    
    .reasons-message-container-d {
        min-height: auto;
        padding: 0 0.5rem;
    }
    
    .reasons-card {
        padding: 1.5rem;
    }
    
    .reasons-card-left,
    .reasons-card-right {
        align-self: center;
        text-align: left;
        max-width: 100%;
    }
    
    .reasons-card-right {
        margin-top: 1.5rem;
    }
    
    .reasons-card-left .section-label {
        font-size: 0.75rem;
    }
    
    .reasons-card-left .section-title {
        font-size: 1.4rem;
        margin-bottom: 1.5rem;
        padding-bottom: 0.8rem;
    }

    .reasons-card-left .reasons-lead {
        font-size: 1rem;
    }

    .reasons-card-left .reasons-text {
        font-size: 0.9rem;
    }

    .reasons-card-left .reasons-text br {
        display: none;
    }
    
    .reasons-card-right .reasons-highlight {
        font-size: 1.2rem;
    }

    .reasons-card-right .reasons-text {
        font-size: 0.9rem;
    }

    .reasons-card-right .reasons-text br {
        display: none;
    }

    /* 特徴セクション */
    .features-section {
        padding: 60px 1rem;
    }

    .features-header {
        padding: 1rem 1.5rem;
        margin-bottom: 1.5rem;
    }

    .features-header h2 {
        font-size: 1.2rem;
    }

    .features-subtitle {
        font-size: 0.85rem;
        margin-bottom: 2.5rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .feature-card {
        text-align: center;
        padding: 1.5rem 1rem;
        background: #fefefe;
    }

    .feature-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }

    .feature-icon svg {
        width: 28px;
        height: 28px;
    }

    .feature-card h3 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }

    .feature-card p {
        font-size: 0.85rem;
    }

    /* 取扱分野 */
    .services {
        padding: 60px 1rem;
    }

    .services-layout {
        grid-template-columns: 1fr;
    }

    .services-image {
        height: 200px;
        order: -1;
    }

    .services-content {
        padding: 2rem 1rem;
    }

    .services-content .section-header {
        text-align: center;
    }

    .services-content .section-label,
    .services-content .section-title {
        text-align: center;
    }

    .services-list {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-top: 1.5rem;
    }

    .service-item {
        padding: 1.2rem;
    }

    .service-item h4 {
        font-size: 1rem;
    }

    .service-item p {
        font-size: 0.8rem;
    }

    .services .view-more-btn {
        width: 100%;
        text-align: center;
        display: block;
    }

    /* 代表メッセージ */
    .message {
        padding: 60px 1rem;
    }

    .message-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .message-image {
        height: 350px;
    }

    .message-content h3 {
        font-size: 1.3rem;
        margin-bottom: 1.5rem;
    }

    .message-content p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }

    .message-signature {
        font-size: 0.9rem;
        margin-top: 1.5rem;
    }

    .message .view-more-btn {
        width: 100%;
        text-align: center;
        display: block;
    }

    /* CTA */
    .cta-section {
        padding: 60px 1rem;
    }

    .cta-card {
        padding: 2rem 1.5rem;
    }

    .cta-card-title {
        font-size: 1.3rem;
    }

    .cta-card-desc {
        font-size: 0.85rem;
        margin-bottom: 2rem;
    }

    .cta-card-buttons {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .cta-card-tel {
        padding: 1.2rem;
    }

    .cta-card-tel-number {
        font-size: 1.4rem;
    }

    .cta-card-tel-time {
        font-size: 0.75rem;
    }

    .cta-card-form {
        padding: 1.2rem;
    }

    .cta-card-form-text {
        font-size: 1rem;
    }

    .cta-card-form-note {
        font-size: 0.75rem;
    }

    /* メディア */
    .media-section {
        padding: 60px 1rem;
    }

    .media-layout {
        padding: 2rem 1.5rem;
    }

    .media-layout + .media-layout {
        margin-top: 2rem;
    }
    
    .media-title {
        font-size: 1.3rem;
        margin-bottom: 1.5rem;
    }
    
    .media-image {
        margin-bottom: 1.5rem;
    }

    .media-image-small {
        max-width: 70%;
    }
    
    .media-desc {
        font-size: 0.85rem;
        text-align: center;
    }
    
    .media-desc br {
        display: none;
    }
    
    .media-btn {
        width: 100%;
        justify-content: center;
        padding: 1rem 2rem;
        font-size: 0.9rem;
    }
    
    .media-bottom {
        flex-direction: column;
        gap: 1.5rem;
    }

    /* アクセス */
    .access {
        padding: 60px 1rem;
    }

    .access-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .access-info h3 {
        font-size: 1.2rem;
        margin-bottom: 1.5rem;
    }

    .info-row {
        flex-direction: column;
        padding: 1rem 0;
        gap: 0.3rem;
    }

    .info-label {
        font-size: 0.85rem;
        min-width: auto;
    }

    .info-value {
        font-size: 0.9rem;
    }

    .map-container {
        height: 280px;
    }

    /* アクセス詳細 */
    .access-details-horizontal {
        margin-top: 2rem;
    }

    .access-detail-item-horizontal {
        padding: 1rem 1.2rem;
        gap: 1rem;
    }
    
    .access-detail-check {
        width: 30px;
        height: 30px;
        min-width: 30px;
        font-size: 1rem;
    }
    
    .access-detail-content h4 {
        font-size: 0.95rem;
    }
    
    .access-detail-content p {
        font-size: 0.85rem;
    }
}

/* ===== 超小型デバイス ===== */
@media (max-width: 375px) {
    .hero-inner-content {
        padding-top: 90px;
    }

    .hero-title {
        font-size: 1.1rem;
    }

    .hero-description {
        font-size: 0.7rem;
    }

    .hero-btn-wrap a {
        max-width: 160px;
        padding: 8px 16px;
        font-size: 0.75rem;
    }

    .reasons-card-left .section-title {
        font-size: 1.2rem;
    }

    .reasons-card-right .reasons-highlight {
        font-size: 1.1rem;
    }

    .features-header h2 {
        font-size: 1.1rem;
    }

    .cta-card {
        padding: 1.5rem 1rem;
    }

    .cta-card-title {
        font-size: 1.2rem;
    }

    .cta-card-tel-number {
        font-size: 1.2rem;
    }

    .media-title {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 1.2rem;
    }

    .message-image {
        height: 300px;
    }
}