/* リセット・基本設定 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.6;
    color: #333;
    font-size: 14px;
}

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

/* ボタン共通スタイル */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 0;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    font-family: 'Noto Sans JP', sans-serif;
}

.btn-primary {
    background: linear-gradient(135deg, #ff6b35 0%, #e67e22 100%);
    color: white;
    border: 2px solid #ffffff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s;
}

.btn-primary:hover,
.btn-primary:focus {
    transform: scale(1.12);
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    color: #ff6b35;
    border: 3px solid #ff6b35;
    text-shadow: none;
    outline: 3px solid #ff6b35;
    outline-offset: 2px;
}

.btn-primary:hover::before,
.btn-primary:focus::before {
    left: 100%;
}

.btn-large:hover,
.btn-large:focus {
    transform: scale(1.12);
}

.btn-outline {
    background: linear-gradient(135deg, #ff6b35 0%, #e67e22 100%);
    color: white;
    border: 2px solid #ffffff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-outline::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s;
}

.btn-outline:hover,
.btn-outline:focus {
    transform: scale(1.12);
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    color: #ff6b35;
    border: 3px solid #ff6b35;
    text-shadow: none;
    outline: 3px solid #ff6b35;
    outline-offset: 2px;
}

.btn-outline:hover::before,
.btn-outline:focus::before {
    left: 100%;
}

.btn-large {
    padding: 20px 40px;
    font-size: 18px;
    font-weight: 600;
    transform: scale(1);
    transition: all 0.3s ease;
}

.btn-submit {
    width: 100%;
    min-height: 48px;
    font-size: 16px;
}

/* ヘッダー */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-logo {
    display: flex;
    flex-direction: column;
}

.logo-link {
    text-decoration: none;
    display: flex;
    flex-direction: column;
}

.logo-text {
    font-size: 20px;
    font-weight: 700;
    color: #001d5b;
    margin: 0;
}

.logo-sub {
    font-size: 12px;
    color: #666;
}

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

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 400;
    padding: 8px 12px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: #001d5b;
    background-color: rgba(0, 29, 91, 0.1);
    padding: 8px 12px;
    border-radius: 4px;
    font-weight: 500;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.hamburger {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background-color: #001d5b;
    transition: all 0.3s ease;
}

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

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

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

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

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

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
}

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

.hero-content {
    text-align: center;
    color: white;
}

.hero-title {
    margin-bottom: 32px;
}

.hero-title-main {
    display: block;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.3;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.hero-title-sub {
    display: block;
    font-size: 16px;
    font-weight: 400;
    opacity: 0.95;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

.hero-badges {
    margin-bottom: 40px;
}

.trust-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
}

.trust-badge {
    background-color: #001d5b;
    padding: 8px 16px;
    font-size: 12px;
    white-space: nowrap;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.mini-benefits {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

.mini-benefit {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
}

.mini-benefit i {
    font-size: 12px;
}

/* セクション共通 */
.section-header {
    position: relative;
    z-index: 2;
    text-align: center;
    margin-bottom: 48px;
}

.section-title {
    font-size: 28px;
    font-weight: 700;
    color: #001d5b;
    margin-bottom: 16px;
}

.section-title.white {
    color: white;
}

.section-title.multi-line {
    line-height: 1.4;
}

.section-title .title-line {
    display: block;
    margin-bottom: 8px;
}

.section-title .title-line:last-child {
    margin-bottom: 0;
}

.section-title .title-line.emphasis {
    color: #ff6b35;
    font-weight: 800;
    margin-top: 12px;
}

.section-cta {
    text-align: center;
    margin-top: 48px;
    margin-bottom: 24px;
}

.section-cta .btn-primary {
    background: linear-gradient(135deg, #ff6b35 0%, #e67e22 100%);
    border: 2px solid #ffffff;
    color: white;
    padding: 18px 48px;
    font-size: 18px;
    font-weight: 700;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    min-width: 220px;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    animation: pulse 2s infinite;
    outline: none;
}

.section-cta .btn-primary:hover,
.section-cta .btn-primary:focus {
    animation-play-state: paused;
    transform: scale(1.15);
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    color: #ff6b35;
    border: 4px solid #ff6b35;
    text-shadow: none;
    outline: 4px solid #ff6b35;
    outline-offset: 3px;
}

.section-cta .btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s;
}

.section-cta .btn-primary:hover::before,
.section-cta .btn-primary:focus::before {
    left: 100%;
}

.section-cta .btn-primary:active {
    transform: scale(1.1);
    background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
    color: #e67e22;
    border: 4px solid #e67e22;
}


/* ヒーローCTAの特別スタイリング */
.hero-cta {
    text-align: center;
    margin-top: 50px;
}

.hero-cta .btn-large {
    background: linear-gradient(135deg, #ff6b35 0%, #e67e22 100%);
    border: 2px solid #ffffff;
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    min-width: 280px;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    animation: pulse 2s infinite;
    transition: all 0.3s ease;
    outline: none;
}

.hero-cta .btn-large::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s;
}

.hero-cta .btn-large:hover,
.hero-cta .btn-large:focus {
    animation-play-state: paused;
    transform: scale(1.15);
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    color: #ff6b35;
    border: 4px solid #ff6b35;
    text-shadow: none;
    outline: 4px solid #ff6b35;
    outline-offset: 3px;
}

.hero-cta .btn-large:active {
    transform: scale(1.1);
    background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
    color: #e67e22;
    border: 4px solid #e67e22;
}

.hero-cta .btn-large:hover::before,
.hero-cta .btn-large:focus::before {
    left: 100%;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
    100% {
        transform: scale(1);
    }
}

/* 課題提起セクション */
.problem {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.problem-grid {
    display: grid;
    gap: 32px;
    grid-template-rows: 1fr;
}

.problem-card {
    background-color: white;
    border: 1px solid #e0e0e0;
    text-align: center;
    padding: 24px 16px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: grid;
    grid-template-rows: 60px 60px 1fr;
    gap: 12px;
    height: 280px;
}

.problem-card:hover {
    transform: translateY(-4px);
}

.problem-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    margin: 0 auto;
}

.problem-icon .icon {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.problem-content {
    padding: 0;
}

.problem-content h3 {
    font-size: 18px;
    font-weight: 600;
    color: #001d5b;
    margin: 0;
    line-height: 1.3;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.problem-content p {
    color: #001d5b;
    line-height: 1.6;
    font-size: 13px;
    font-weight: 500;
    background-color: #f0f7ff;
    padding: 10px 14px;
    margin: 0;
    align-self: start;
}

/* 価値提供セクション */
.value {
    padding: 80px 0;
    background-color: white;
}

.value-grid {
    display: grid;
    gap: 32px;
    margin-bottom: 40px;
}

.value-card {
    text-align: center;
    padding: 32px 20px;
}

.value-icon {
    width: 64px;
    height: 64px;
    background-color: #001d5b;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 24px;
}

.value-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: #001d5b;
    margin-bottom: 12px;
}

.value-card p {
    color: #666;
    line-height: 1.6;
}

/* 事業内容セクション */
.services {
    padding: 80px 0;
    background-color: #f0f7ff;
}

.services-grid {
    display: grid;
    gap: 32px;
}

.service-card {
    background-color: white;
    padding: 32px 24px;
    border: 1px solid #e0e0e0;
    text-align: center;
}

.service-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #001d5b;
}

.service-card p {
    margin-bottom: 20px;
    line-height: 1.6;
    color: #333;
}

.service-keywords {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.keyword {
    background-color: #001d5b;
    color: white;
    padding: 4px 12px;
    font-size: 12px;
    border: 1px solid #001d5b;
}

/* 実績セクション */
.metrics {
    position: relative;
    padding: 120px 0;
    color: white;
    min-height: 600px;
    overflow: hidden;
}

.metrics-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background-image: url('img/cost削減.jpeg');
    background-attachment: scroll; /* モバイル用デフォルト */
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}


.metrics-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 29, 91, 0.3);
    z-index: 1;
}

.metrics-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.metric-item {
    text-align: center;
    padding: 32px 24px;
    background-color: rgba(0, 29, 91, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.metric-number {
    font-size: 24px;
    font-weight: 700;
    color: white;
    margin-bottom: 8px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.metric-label {
    font-size: 14px;
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* グループ会社セクション */
.group {
    padding: 80px 0;
    background-color: white;
}

.group-list {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.group-item {
    display: grid;
    gap: 32px;
    align-items: center;
}

.group-item.left-image {
    grid-template-columns: 1fr;
    grid-template-areas: 
        "image"
        "content";
}

.group-item.right-image {
    grid-template-columns: 1fr;
    grid-template-areas: 
        "image"
        "content";
}

.group-item.left-image .group-image {
    grid-area: image;
}

.group-item.left-image .group-content {
    grid-area: content;
}

.group-item.right-image .group-image {
    grid-area: image;
}

.group-item.right-image .group-content {
    grid-area: content;
}

.group-image {
    overflow: hidden;
    height: 250px;
}

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

.group-content {
    padding: 0;
}

.group-header {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.group-header h3 {
    font-size: 20px;
    font-weight: 600;
    color: #001d5b;
    margin: 0;
}

.group-content p {
    font-size: 14px;
    color: #333;
    line-height: 1.7;
    margin: 0;
}

.group-tag {
    background-color: #001d5b;
    color: white;
    padding: 6px 12px;
    font-size: 12px;
    align-self: flex-start;
}

.company-link {
    color: #e67e22;
    font-weight: 600;
    text-decoration: none;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    margin-top: 16px;
    transition: color 0.3s ease;
}

.company-link:hover {
    color: #d35400;
    text-decoration: underline;
}

/* 代表挨拶セクション */
.message {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.message-content {
    display: grid;
    gap: 32px;
    align-items: center;
}

.message-body p {
    margin-bottom: 20px;
    color: #333;
    line-height: 1.7;
}

.message-title {
    font-size: 24px;
    font-weight: 700;
    color: #ff6b35;
    margin-bottom: 24px;
    text-align: center;
    line-height: 1.4;
}

.message-motto {
    font-size: 20px;
    font-weight: 600;
    color: #001d5b;
    text-align: center;
    margin: 32px 0 24px 0;
}

.ceo-info {
    text-align: right;
    margin-top: 32px;
}

.ceo-name {
    font-size: 16px;
    font-weight: 600;
    color: #001d5b;
}

.message-image {
    order: -1;
    align-self: end;
}

.message-image img {
    width: 100%;
    height: 600px;
    object-fit: cover;
}

/* 進め方セクション */
.process {
    padding: 80px 0;
    background-color: white;
}

.process-note {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-top: 16px;
}

.process-note span {
    background-color: #e3f2fd;
    color: #001d5b;
    padding: 6px 12px;
    font-size: 12px;
}

.process-steps {
    margin-bottom: 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.process-step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 32px;
    padding: 20px 0;
    border-bottom: 1px solid #e0e0e0;
    width: 100%;
    max-width: 600px;
}

.process-step:last-child {
    border-bottom: none;
}

.step-number {
    min-width: 40px;
    height: 40px;
    background-color: #001d5b;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    flex-shrink: 0;
}

.process-step h3 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-top: 8px;
}

/* FAQ セクション */
.faq {
    padding: 80px 0;
    background-color: #f8f9fa;
}

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

.faq-item {
    background-color: white;
    border: 1px solid #e0e0e0;
    margin-bottom: 16px;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    cursor: pointer;
    background-color: white;
    transition: background-color 0.3s ease;
}

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

.faq-question h3 {
    font-size: 16px;
    font-weight: 500;
    color: #333;
    margin: 0;
}

.faq-question i {
    color: #001d5b;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 24px 24px 24px;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-answer p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* ニュースセクション */
.news {
    padding: 80px 0;
    background-color: white;
}

.news-list {
    max-width: 800px;
    margin: 0 auto;
}

.news-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 20px 0;
    border-bottom: 1px dotted #ccc;
}

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

.news-date {
    font-size: 14px;
    color: #001d5b;
    font-weight: 500;
}

.news-title {
    font-size: 16px;
    color: #333;
    line-height: 1.5;
}

/* 会社概要セクション */
.company {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.company-info {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    max-width: 1200px;
    margin: 0 auto;
}

.outline-list {
    background-color: white;
    border: 1px solid #e0e0e0;
    border-radius: 0;
    padding: 32px;
}

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

.company-map iframe {
    border-radius: 12px;
    width: 100%;
    height: 100%;
}

.map-overlay {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 10;
}

.map-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: rgba(0, 29, 91, 0.9);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.map-link:hover {
    background-color: rgba(0, 29, 91, 1);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    color: white;
}

.map-link i {
    font-size: 10px;
}

.outline-item {
    display: flex;
    flex-direction: column;
    padding: 16px 24px;
    border-bottom: 1px solid #e0e0e0;
}

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

.outline-label {
    font-weight: 600;
    color: #001d5b;
    margin-bottom: 8px;
    width: 120px;
}

.outline-value {
    color: #333;
    line-height: 1.6;
}

/* お問い合わせセクション */
.contact {
    padding: 80px 0;
    background-color: white;
}

.contact-notice {
    color: #666;
    margin-bottom: 16px;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.required {
    color: #e53e3e;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    min-width: 320px;
    padding: 12px 16px;
    border: 1px solid #ccc;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #001d5b;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.privacy-notice {
    font-size: 12px;
    color: #666;
    text-align: center;
    margin-top: 16px;
    line-height: 1.5;
}

/* フォームステータスメッセージ */
#status.success {
    color: #22c55e;
    background: #f0fdf4;
    border: 1px solid #22c55e;
    padding: 12px;
    border-radius: 4px;
    margin-top: 16px;
    text-align: center;
    font-weight: 500;
}

#status.error {
    color: #ef4444;
    background: #fef2f2;
    border: 1px solid #ef4444;
    padding: 12px;
    border-radius: 4px;
    margin-top: 16px;
    text-align: center;
    font-weight: 500;
}

/* フッター */
.footer {
    background-color: #001d5b;
    color: white;
    padding: 48px 0 24px;
}

.footer-content {
    display: grid;
    gap: 32px;
    margin-bottom: 32px;
}

.footer-logo-link {
    text-decoration: none;
    color: white;
    display: block;
}

.footer-logo h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    color: white;
}

.footer-logo p {
    font-size: 14px;
    opacity: 0.8;
    color: white;
}

.footer-nav ul {
    list-style: none;
    margin-bottom: 16px;
}

.footer-nav a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-nav a:hover {
    opacity: 1;
}

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

.footer-legal a {
    color: white;
    text-decoration: underline;
    font-size: 14px;
    opacity: 0.8;
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-bottom p {
    font-size: 12px;
    opacity: 0.6;
    margin: 0;
}

/* デスクトップ対応（768px以上） */
@media screen and (min-width: 768px) {
    body {
        font-size: 16px;
    }

    .container {
        padding: 0 40px;
    }

    /* ヘッダー */
    .nav-menu {
        display: flex;
    }

    .hamburger {
        display: none;
    }

    .btn-outline {
        display: inline-block;
    }

    /* ヒーロー */
    .hero-title-main {
        font-size: 42px;
        text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8);
    }

    .hero-title-sub {
        font-size: 20px;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    }
    
    .hero-cta .btn-large {
        padding: 24px 48px;
        font-size: 20px;
        min-width: 320px;
    }

    .trust-badges {
        gap: 20px;
    }

    .trust-badge {
        font-size: 14px;
        padding: 12px 20px;
        background-color: rgba(0, 29, 91, 0.9);
    }

    /* 課題提起 */
    .problem-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
        grid-template-rows: 1fr;
    }
    
    .problem-card {
        padding: 32px 24px;
        height: 360px;
        gap: 16px;
        grid-template-rows: 80px 80px 1fr;
    }
    
    .problem-icon {
        width: 80px;
        height: 80px;
        margin: 0 auto;
    }
    
    .problem-icon .icon {
        width: 48px;
        height: 48px;
    }
    
    .problem-content h3 {
        font-size: 20px;
        margin: 0;
        line-height: 1.3;
        display: flex;
        align-items: center;
        justify-content: center;
        height: 100%;
    }
    
    .problem-content p {
        font-size: 16px;
        padding: 16px 20px;
        margin: 0;
    }

    /* 価値提供 */
    .value-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
    }

    /* 実績 */
    .metrics {
        padding: 150px 0;
        min-height: 700px;
    }
    
    .metrics-background {
        background-attachment: fixed;
    }
    
    /* 事業内容 */
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    /* 実績 */
    .metrics-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .metric-number {
        font-size: 32px;
    }
    
    .metric-item {
        padding: 40px 24px;
        background-color: rgba(0, 29, 91, 0.8);
    }

    /* グループ会社 */
    .group-list {
        gap: 80px;
    }
    
    .group-item {
        gap: 48px;
    }
    
    .group-item.left-image {
        grid-template-columns: 400px 1fr;
        grid-template-areas: "image content";
    }
    
    .group-item.right-image {
        grid-template-columns: 1fr 400px;
        grid-template-areas: "content image";
    }
    
    .group-image {
        height: 300px;
    }
    
    .group-header h3 {
        font-size: 24px;
    }
    
    .group-content p {
        font-size: 16px;
    }
    
    .company-link {
        font-size: 16px;
    }

    /* 代表挨拶 */
    .message-content {
        grid-template-columns: 1fr 400px;
        gap: 48px;
    }

    .message-image {
        order: 0;
        align-self: end;
    }

    .message-image img {
        height: 685px;
    }
    
    .message-title {
        display: block;
    }
    
    .message-title .title-line1,
    .message-title .title-line2 {
        display: inline;
        padding-left: 0;
    }

    /* 会社概要 */
    .company-info {
        grid-template-columns: 7fr 3fr;
        gap: 64px;
    }
    
    .outline-item {
        flex-direction: row;
        align-items: flex-start;
    }

    .outline-label {
        width: 140px;
        margin-bottom: 0;
        margin-right: 24px;
        flex-shrink: 0;
    }

    /* フッター */
    .footer-content {
        grid-template-columns: 1fr 2fr 1fr;
        gap: 48px;
    }

    .footer-nav {
        display: flex;
        gap: 48px;
    }
}

@media screen and (min-width: 1024px) {
    /* グループ会社 */
    .group-item.left-image {
        grid-template-columns: 450px 1fr;
    }
    
    .group-item.right-image {
        grid-template-columns: 1fr 450px;
    }
    
    .group-image {
        height: 350px;
    }

    /* ニュース */
    .news-item {
        flex-direction: row;
        align-items: center;
        gap: 24px;
    }

    .news-date {
        min-width: 100px;
    }
}

/* モバイル用スタイル */
@media screen and (max-width: 767px) {
    /* ヘッダー */
    .header {
        background-color: rgba(255, 255, 255, 0.98);
        z-index: 1002;
    }
    
    .nav-container {
        padding: 12px 20px;
        position: relative;
    }
    
    .nav-actions .btn-outline {
        display: none;
    }
    
    .logo-text {
        font-size: 22px;
    }
    
    .logo-sub {
        font-size: 11px;
    }
    
    /* ハンバーガーメニュー新設計 */
    .hamburger {
        position: relative;
        width: 30px;
        height: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        z-index: 1003;
    }
    
    .hamburger span {
        position: absolute;
        width: 22px;
        height: 2px;
        background-color: #001d5b;
        transition: all 0.3s ease;
        transform-origin: center;
    }
    
    .hamburger span:nth-child(1) {
        transform: translateY(-8px);
    }
    
    .hamburger span:nth-child(2) {
        transform: translateY(0);
    }
    
    .hamburger span:nth-child(3) {
        transform: translateY(8px);
    }
    
    /* アクティブ時（バツ印） */
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg);
    }
    
    /* モバイルメニュー（右側からのドロワー） */
    .nav-menu {
        position: fixed;
        top: 0;
        right: -280px;
        width: 280px;
        height: 100vh;
        background-color: #ffffff;
        padding: 80px 0 20px;
        box-shadow: -4px 0 24px rgba(0, 0, 0, 0.15);
        z-index: 1001;
        overflow-y: auto;
        transition: right 0.3s ease;
        display: flex !important;
        flex-direction: column;
        gap: 0;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu li {
        list-style: none;
        margin: 0;
        border-bottom: 1px solid rgba(0, 29, 91, 0.08);
    }
    
    .nav-menu li:last-child {
        border-bottom: none;
    }
    
    .nav-menu a {
        padding: 18px 24px;
        font-size: 16px;
        display: block;
        text-decoration: none;
        color: #333;
        transition: all 0.2s ease;
        position: relative;
    }
    
    .nav-menu a::before {
        content: '';
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 0;
        height: 24px;
        background-color: #ff6b35;
        transition: width 0.2s ease;
    }
    
    .nav-menu a:hover {
        background-color: rgba(0, 29, 91, 0.05);
        color: #001d5b;
        padding-left: 32px;
    }
    
    .nav-menu a:hover::before {
        width: 4px;
    }
    
    /* メニュー開いた時のオーバーレイ */
    body::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(0, 0, 0, 0);
        z-index: 1000;
        pointer-events: none;
        transition: background-color 0.3s ease;
    }
    
    body.menu-open::before {
        background-color: rgba(0, 0, 0, 0.4);
        pointer-events: auto;
    }
    
    body.menu-open {
        overflow: hidden;
    }
    
    /* 価値提供セクション */
    .value-grid {
        gap: 16px;
    }
    
    .value-card {
        padding: 24px 16px;
    }
    
    /* ヒーローセクション */
    .hero {
        min-height: 100vh;
        height: auto;
        padding: 100px 0 40px 0;
        margin-top: 0;
        display: flex;
        align-items: center;
    }
    
    .hero-overlay {
        background: rgba(0, 0, 0, 0.45);
    }
    
    .hero-container {
        padding: 0 20px;
    }
    
    .hero-title {
        margin-bottom: 32px;
    }
    
    .hero-title-main {
        font-size: 22px;
        line-height: 1.5;
        margin-bottom: 16px;
        text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.9);
        letter-spacing: 0.5px;
    }
    
    .hero-title-sub {
        font-size: 15px;
        line-height: 1.6;
        text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.8);
    }
    
    .hero-badges {
        margin-bottom: 36px;
    }
    
    .trust-badges {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        margin-bottom: 20px;
        padding: 0 10px;
    }
    
    .trust-badge {
        font-size: 12px;
        padding: 12px 8px;
        width: 100%;
        max-width: none;
        background-color: rgba(0, 29, 91, 0.95);
        border: 2px solid rgba(255, 255, 255, 0.3);
        text-align: center;
        line-height: 1.3;
    }
    
    .mini-benefits {
        flex-direction: column;
        gap: 10px;
        align-items: stretch;
        padding: 0 10px;
    }
    
    .mini-benefit {
        font-size: 14px;
        padding: 10px 16px;
        width: 100%;
        max-width: none;
        background-color: rgba(255, 255, 255, 0.15);
        backdrop-filter: blur(5px);
        border-radius: 4px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
    }
    
    .mini-benefit i {
        font-size: 16px;
    }
    
    .hero-cta {
        margin-top: 40px;
        padding: 0 10px;
    }
    
    .hero-cta .btn-large {
        padding: 18px 40px;
        font-size: 17px;
        min-width: 0;
        width: 100%;
        max-width: 100%;
        border: 3px solid #ffffff;
        font-weight: 600;
        letter-spacing: 1px;
    }
    
    .hero-cta .btn-large:hover,
    .hero-cta .btn-large:focus {
        transform: scale(1.03);
        border: 3px solid #ff6b35;
        outline: 2px solid #ff6b35;
        outline-offset: 2px;
    }
    
    .hero-cta .btn-large:active {
        transform: scale(1.01);
        border: 3px solid #e67e22;
    }
    
    @keyframes pulse {
        0%, 100% {
            transform: scale(1);
        }
        50% {
            transform: scale(1.015);
        }
    }
    
    .section-title.multi-line {
        font-size: 20px;
        line-height: 1.5;
        text-align: center;
    }
    
    .section-title .title-line {
        margin-bottom: 6px;
    }
    
    .section-title .title-line.emphasis {
        margin-top: 8px;
        font-size: 22px;
    }
    
    .message-title {
        font-size: 18px;
        margin-bottom: 16px;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }
    
    .message-title .title-line1 {
        display: block;
    }
    
    .message-title .title-line2 {
        display: block;
        padding-left: 6em;
    }
    
    .message-motto {
        font-size: 16px;
        margin: 24px 0 16px 0;
    }
    
    /* 代表挨拶 */
    .message-image {
        max-width: 280px;
        margin: 0 auto;
    }
    
    .message-image img {
        height: 350px;
        border-radius: 4px;
    }
    
    /* 実績セクション */
    .metrics {
        padding: 60px 0;
        min-height: auto;
    }
    
    .metrics-overlay {
        background: rgba(0, 29, 91, 0.5);
    }
    
    .metrics-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
        padding: 0 16px;
    }
    
    .metric-item {
        padding: 28px 16px;
        background-color: rgba(0, 29, 91, 0.85);
        border: 2px solid rgba(255, 255, 255, 0.4);
        border-radius: 4px;
    }
    
    .metric-number {
        font-size: 22px;
        margin-bottom: 10px;
        font-weight: 700;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
        white-space: nowrap;
    }
    
    .metric-label {
        font-size: 13px;
        line-height: 1.4;
        text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
    }
    
    /* 進め方セクション */
    .process .section-title {
        font-size: 18px;
        white-space: nowrap;
    }
    
    .process-step {
        align-items: center;
        gap: 16px;
        padding: 16px 0;
    }
    
    .step-number {
        min-width: 50px;
        height: 50px;
        font-size: 18px;
        flex-shrink: 0;
    }
    
    .process-step h3 {
        margin-top: 0;
        font-size: 15px;
        line-height: 1.5;
    }
}

/* アニメーション */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* ユーティリティクラス */
.text-center {
    text-align: center;
}

.mb-0 {
    margin-bottom: 0 !important;
}

.mt-0 {
    margin-top: 0 !important;
}

/* モバイル改行制御 */
.mobile-br {
    display: none;
}

@media screen and (max-width: 767px) {
    .mobile-br {
        display: inline;
    }
}
