/* ===================================
   基本設定
   =================================== */
:root {
    --color-primary: #00a878;
    --color-text: #333333;
    --color-text-light: #666666;
    --color-bg: #ffffff;
    --color-bg-light: #f8f8f8;
    --color-border: #e0e0e0;
    --color-accent: #ff6b35;
    
    --font-main: 'Noto Sans JP', sans-serif;
    --font-en: 'Montserrat', sans-serif;
    
    --transition: all 0.3s ease;
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
    font-weight: 400;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

/* ===================================
   ヘッダー
   =================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

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

.logo {
    font-family: var(--font-en);
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.logo a {
    color: var(--color-primary);
    text-decoration: none;
    transition: opacity 0.3s ease;
    display: block;
}

.logo a:hover {
    opacity: 0.7;
}

.logo img {
    height: 50px;
    width: auto;
}

.nav-list {
    display: flex;
    gap: 40px;
}

.nav-link {
    font-family: var(--font-en);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--color-text);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: var(--transition);
}

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

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text);
    transition: var(--transition);
}

.mobile-menu {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: white;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    z-index: 999;
}

.mobile-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.mobile-menu-list {
    padding: 30px 40px;
}

.mobile-menu-link {
    display: block;
    padding: 15px 0;
    font-family: var(--font-en);
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.05em;
    border-bottom: 1px solid var(--color-border);
}

.mobile-menu-link:hover {
    color: var(--color-primary);
}

/* ===================================
   ヒーロー
   =================================== */
.hero {
    height: 100vh;
    min-height: 600px;
    background: linear-gradient(135deg, rgba(0, 168, 120, 0.08) 0%, rgba(0, 168, 120, 0.04) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(45deg, transparent 48%, rgba(0, 168, 120, 0.05) 50%, transparent 52%),
        linear-gradient(-45deg, transparent 48%, rgba(0, 168, 120, 0.05) 50%, transparent 52%);
    background-size: 100px 100px;
    opacity: 0.4;
}

/* アニメーション付き装飾要素 */
.hero::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    top: 10%;
    right: -5%;
    background: 
        radial-gradient(circle at 30% 30%, rgba(0, 168, 120, 0.15) 0%, transparent 60%),
        radial-gradient(circle at 70% 60%, rgba(0, 184, 169, 0.12) 0%, transparent 60%),
        radial-gradient(circle at 50% 80%, rgba(0, 168, 120, 0.08) 0%, transparent 60%);
    border-radius: 50%;
    animation: floatRotate 25s ease-in-out infinite;
}

@keyframes floatRotate {
    0%, 100% { 
        transform: translate(0, 0) rotate(0deg) scale(1);
        opacity: 0.4;
    }
    33% { 
        transform: translate(50px, -40px) rotate(120deg) scale(1.1);
        opacity: 0.5;
    }
    66% { 
        transform: translate(-30px, 30px) rotate(240deg) scale(0.9);
        opacity: 0.45;
    }
}

.hero-inner {
    position: relative;
    z-index: 1;
    text-align: center;
}

.hero-title {
    font-size: clamp(36px, 6vw, 72px);
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: 0.08em;
    animation: fadeInUp 1s ease-out;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

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

/* ===================================
   ページヘッダー（下層ページ用）
   =================================== */
.page-header {
    padding: 150px 0 80px;
    background: linear-gradient(135deg, rgba(0, 168, 120, 0.05) 0%, rgba(0, 168, 120, 0.02) 100%);
    text-align: center;
}

.page-title {
    font-family: var(--font-en);
    font-size: clamp(36px, 6vw, 56px);
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: 0.05em;
}

.page-subtitle {
    font-size: 18px;
    color: var(--color-text-light);
    font-weight: 300;
}

/* ===================================
   ページコンテンツ
   =================================== */
.page-content {
    padding: 80px 0;
}

/* 会社概要 */
.outline-content {
    max-width: 900px;
    margin: 0 auto;
}

.outline-list {
    margin-bottom: 80px;
}

.outline-item {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 40px;
    padding: 30px 0;
    border-bottom: 1px solid var(--color-border);
}

.outline-item:first-child {
    border-top: 1px solid var(--color-border);
}

.outline-item dt {
    font-weight: 500;
    color: var(--color-text);
}

.outline-item dd {
    color: var(--color-text-light);
    line-height: 1.8;
}

.outline-item dd a {
    color: var(--color-primary);
}

.outline-item dd a:hover {
    opacity: 0.7;
}

.badge {
    display: inline-block;
    background: var(--color-primary);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    margin-top: 10px;
}

/* アクセス */
.access-section {
    margin-top: 80px;
    padding-top: 80px;
    border-top: 2px solid var(--color-border);
}

.section-title-sub {
    font-size: 28px;
    font-weight: 500;
    margin-bottom: 40px;
    text-align: center;
}

.access-address {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 30px;
    text-align: center;
    color: var(--color-text-light);
}

.access-map {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.access-map iframe {
    display: block;
}

/* 企業ビジョン */
.vision-section {
    background: var(--color-primary);
    color: white;
    padding: 60px 0;
}

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

.vision-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 0.1em;
}

.vision-text {
    font-size: 22px;
    font-weight: 500;
    line-height: 2;
}

/* ご挨拶 */
.greeting-section {
    padding: 80px 0;
    background: white;
}

.greeting-content {
    max-width: 800px;
    margin: 0 auto;
}

.greeting-text {
    margin: 40px 0 60px;
}

.greeting-text p {
    font-size: 16px;
    line-height: 2;
    color: var(--color-text-light);
    margin-bottom: 25px;
}

.greeting-signature {
    text-align: right;
    margin-top: 60px;
}

.signature-position {
    font-size: 16px;
    color: var(--color-text-light);
    margin-bottom: 10px;
}

.signature-name {
    font-size: 24px;
    font-weight: 500;
    color: var(--color-text);
}

/* ロゴについて */
.logo-section {
    padding: 80px 0;
    background: var(--color-bg-light);
}

.logo-explanation {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 60px;
    max-width: 1000px;
    margin: 40px auto 0;
    align-items: start;
}

.logo-mark-wrapper {
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-mark-image {
    max-width: 100%;
    height: auto;
}

.logo-desc-item {
    margin-bottom: 40px;
}

.logo-desc-item:last-child {
    margin-bottom: 0;
}

.logo-desc-title {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 15px;
    color: var(--color-text);
}

.logo-desc-text {
    font-size: 16px;
    line-height: 2;
    color: var(--color-text-light);
}

/* レスポンシブ（下層ページ用） */
@media (max-width: 768px) {
    .page-header {
        padding: 120px 0 60px;
    }
    
    .outline-item {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .logo-explanation {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .logo-mark-wrapper {
        max-width: 300px;
        margin: 0 auto;
    }
}

/* ===================================
   セクション共通
   =================================== */
section {
    padding: 120px 0;
}

.section-title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 300;
    line-height: 1.6;
    text-align: center;
    margin-bottom: 60px;
    letter-spacing: 0.05em;
}

.section-title-en {
    font-family: var(--font-en);
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    letter-spacing: 0.05em;
}

.section-subtitle {
    font-size: clamp(18px, 2.5vw, 24px);
    text-align: center;
    color: var(--color-text-light);
    margin-bottom: 80px;
    font-weight: 300;
}

/* ===================================
   メッセージ
   =================================== */
.message {
    background: var(--color-bg);
}

.message-logo {
    text-align: center;
    margin-bottom: 40px;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.message-logo-image {
    width: 150px;
    height: auto;
}

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

.message-content p {
    font-size: 18px;
    line-height: 2.2;
    margin-bottom: 40px;
    font-weight: 300;
}

.message-tagline {
    font-size: 28px !important;
    font-weight: 700 !important;
    color: var(--color-text);
    margin-top: 60px !important;
    padding: 60px 30px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: relative;
    animation: fadeInScale 1s ease-out 0.8s both;
    overflow: hidden;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ===================================
   サービス
   =================================== */
.service {
    background: var(--color-bg-light);
}

.service-header {
    margin-bottom: 80px;
}

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

.service-item {
    background: white;
    margin-bottom: 60px;
    padding: 60px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    position: relative;
    transition: var(--transition);
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.service-number {
    font-family: var(--font-en);
    font-size: 72px;
    font-weight: 700;
    color: rgba(0, 168, 120, 0.1);
    position: absolute;
    top: 30px;
    right: 40px;
    line-height: 1;
}

.service-item-content {
    position: relative;
    z-index: 1;
}

.service-item-title {
    font-size: 28px;
    font-weight: 500;
    margin-bottom: 30px;
    color: var(--color-primary);
}

.service-item-text p {
    font-size: 16px;
    line-height: 2;
    color: var(--color-text-light);
    margin-bottom: 20px;
}

.service-item-text p:last-child {
    margin-bottom: 0;
}

/* 取扱媒体 */
.media-partners {
    margin-top: 100px;
    padding-top: 80px;
    border-top: 1px solid var(--color-border);
}

.media-partners-title {
    font-family: var(--font-en);
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    letter-spacing: 0.05em;
}

.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    max-width: 1000px;
    margin: 0 auto;
}

.media-item {
    background: white;
    padding: 24px 16px;
    text-align: center;
    border-radius: 12px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid #e8f5f0;
    box-shadow: 0 2px 8px rgba(0, 168, 120, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.media-icon {
    font-size: 24px;
    display: block;
}

.media-name {
    font-size: 15px;
    font-weight: 600;
    color: #333;
}

.media-item:hover {
    background: linear-gradient(135deg, #00a878, #00c98d);
    border-color: #00a878;
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 168, 120, 0.2);
}

.media-item:hover .media-name {
    color: white;
}

.media-item-other {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-color: #dee2e6;
}

.media-item-other:hover {
    background: linear-gradient(135deg, #8bc34a, #9ccc65);
}

/* ===================================
   会社概要
   =================================== */
.about {
    background: white;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-list {
    margin-top: 60px;
}

.about-item {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 40px;
    padding: 30px 0;
    border-bottom: 1px solid var(--color-border);
}

.about-item:first-child {
    border-top: 1px solid var(--color-border);
}

.about-item dt {
    font-weight: 500;
    color: var(--color-text);
}

.about-item dd {
    color: var(--color-text-light);
    line-height: 1.8;
}

/* ===================================
   お問い合わせ
   =================================== */
.contact {
    background: var(--color-bg-light);
    text-align: center;
}

.contact-subtitle {
    font-size: 20px;
    margin-bottom: 40px;
    color: var(--color-text-light);
}

.contact-text {
    font-size: 16px;
    line-height: 2;
    margin-bottom: 60px;
    color: var(--color-text-light);
}

.contact-info {
    max-width: 600px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-item {
    background: white;
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.contact-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text-light);
    margin-bottom: 15px;
    letter-spacing: 0.1em;
}

.contact-value {
    font-size: 20px;
    font-weight: 500;
}

.contact-value a {
    color: var(--color-primary);
}

.contact-value a:hover {
    opacity: 0.7;
}

/* QRコード付きメール表示 */
.contact-value-with-qr {
    display: flex;
    align-items: center;
    gap: 20px;
}

.contact-email {
    font-size: 20px;
    font-weight: 500;
}

.contact-email a {
    color: var(--color-primary);
}

.contact-email a:hover {
    opacity: 0.7;
}

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

.qr-code {
    width: 80px;
    height: 80px;
    border: 2px solid var(--color-border);
    border-radius: 8px;
    padding: 5px;
    background: white;
}

.qr-label {
    font-size: 11px;
    color: var(--color-text-light);
    margin-top: 5px;
    line-height: 1.4;
}

/* ===================================
   フッター
   =================================== */
.footer {
    background: #ffffff;
    color: #333;
    padding: 60px 0 30px;
    border-top: 1px solid #e0e0e0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 40px;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 30px;
}

.footer-logo {
    font-family: var(--font-en);
    font-size: 20px;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: 0.02em;
}

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

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

.footer-nav-list a {
    font-family: var(--font-en);
    font-size: 14px;
    font-weight: 500;
    color: #666;
    letter-spacing: 0.05em;
}

.footer-nav-list a:hover {
    color: #00a878;
}

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

.copyright {
    font-size: 12px;
    color: #999;
    letter-spacing: 0.05em;
}

/* ===================================
   レスポンシブ
   =================================== */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    .header-inner {
        padding: 0 20px;
        height: 80px;
    }
    
    /* スマホ用ロゴサイズ調整 */
    .logo a {
        display: flex;
        align-items: center;
        gap: 8px;
    }
    
    .logo-image {
        height: 50px !important;
        width: auto;
    }
    
    .logo-text {
        font-size: 20px !important;
    }
    
    .nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    
    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
    
    .mobile-menu {
        top: 80px;
    }
    
    .mobile-menu-list {
        padding: 20px;
    }
    
    section {
        padding: 80px 0;
    }
    
    .hero {
        min-height: 500px;
    }
    
    .service-item {
        padding: 40px 30px;
    }
    
    .service-number {
        font-size: 48px;
        top: 20px;
        right: 20px;
    }
    
    .service-item-title {
        font-size: 22px;
    }
    
    .about-item {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .contact-value-with-qr {
        flex-direction: column;
        gap: 15px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    
    .footer-nav-list {
        flex-direction: column;
        gap: 15px;
    }
    
    .media-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    html {
        font-size: 14px;
    }
    
    .media-grid {
        grid-template-columns: 1fr;
    }
}

/* ===================================
   ページヒーロー（共通）
   =================================== */
.page-hero {
    padding: 180px 0 100px;
    text-align: center;
    position: relative;
    background: linear-gradient(135deg, rgba(0, 168, 120, 0.05) 0%, rgba(0, 168, 120, 0.02) 100%);
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(45deg, transparent 48%, rgba(0, 168, 120, 0.03) 50%, transparent 52%),
        linear-gradient(-45deg, transparent 48%, rgba(0, 168, 120, 0.03) 50%, transparent 52%);
    background-size: 100px 100px;
    opacity: 0.3;
}

.page-hero-title {
    font-family: var(--font-en);
    font-size: clamp(48px, 8vw, 80px);
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.page-hero-subtitle {
    font-size: clamp(18px, 3vw, 24px);
    color: var(--color-text-light);
    font-weight: 300;
    position: relative;
    z-index: 1;
}

/* ===================================
   ビジョンページ
   =================================== */
.vision-content {
    padding: 120px 0;
}

.vision-statement {
    text-align: center;
    margin-bottom: 80px;
    padding: 60px 40px;
    background: var(--color-bg-light);
    border-radius: 8px;
}

.vision-main {
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 500;
    line-height: 1.8;
    color: var(--color-primary);
}

.vision-description {
    max-width: 800px;
    margin: 0 auto 100px;
    text-align: center;
}

.vision-description p {
    font-size: 18px;
    line-height: 2;
    color: var(--color-text-light);
    margin-bottom: 30px;
}

.logo-meaning {
    max-width: 1000px;
    margin: 0 auto;
}

.section-title-small {
    font-family: var(--font-en);
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    color: var(--color-text);
}

.logo-story-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.logo-story-item {
    background: white;
    padding: 50px 40px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.logo-story-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.logo-story-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--color-primary) 0%, #00c98d 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

.logo-story-icon svg {
    width: 30px;
    height: 30px;
    color: white;
}

.logo-story-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--color-text);
}

.logo-story-text {
    font-size: 16px;
    line-height: 1.9;
    color: var(--color-text-light);
}

/* ===================================
   グリーティングページ
   =================================== */
.greeting-content {
    padding: 120px 0;
}

.greeting-intro {
    text-align: center;
    margin-bottom: 80px;
}

.greeting-thanks {
    font-size: clamp(20px, 3vw, 28px);
    font-weight: 300;
    line-height: 1.8;
    color: var(--color-text);
}

.greeting-main {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    padding: 60px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.greeting-text {
    margin-bottom: 60px;
}

.greeting-text p {
    font-size: 16px;
    line-height: 2;
    color: var(--color-text);
    margin-bottom: 30px;
}

.greeting-signature {
    padding-top: 40px;
    border-top: 1px solid var(--color-border);
    text-align: right;
}

.signature-title {
    font-size: 16px;
    color: var(--color-text-light);
    margin-bottom: 10px;
}

.signature-name {
    font-size: 20px;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 15px;
}

.signature-license {
    font-size: 14px;
    color: var(--color-text-light);
    line-height: 1.6;
}

/* ===================================
   CTAセクション（ページ用）
   =================================== */
.cta-section {
    background: linear-gradient(135deg, var(--color-primary) 0%, #008060 100%);
    padding: 100px 0;
    text-align: center;
    color: white;
}

.cta-section-title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    margin-bottom: 30px;
}

.cta-section-text {
    font-size: clamp(16px, 2vw, 18px);
    margin-bottom: 50px;
    opacity: 0.95;
    line-height: 1.8;
}

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

.cta-section .btn-primary:hover {
    background: var(--color-bg-light);
    transform: translateY(-4px);
}

/* レスポンシブ調整 */
@media (max-width: 768px) {
    .logo-story-grid {
        grid-template-columns: 1fr;
    }
    
    .greeting-main {
        padding: 40px 30px;
    }
    
    .signature-title,
    .signature-name,
    .signature-license {
        text-align: center;
    }
}

.hero-icon {
    position: absolute;
    font-size: 60px;
    opacity: 0.12;
}

.hero-icon-1 {
    top: 15%;
    left: 8%;
    animation: float 12s ease-in-out infinite;
}

.hero-icon-2 {
    bottom: 25%;
    right: 12%;
    animation: float 15s ease-in-out infinite 2s;
}

.hero-icon-3 {
    top: 60%;
    left: 15%;
    animation: float 18s ease-in-out infinite 4s;
}

.hero-icon-4 {
    top: 30%;
    right: 20%;
    animation: float 14s ease-in-out infinite 1s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

/* ヒーロー成長ラインのアニメーション */
.hero-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.7;
    z-index: 0;
}

.growth-line {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: drawLine 8s ease-in-out infinite;
}

.growth-line-1 {
    animation-delay: 0s;
}

.growth-line-2 {
    animation-delay: 0.5s;
}

.growth-line-3 {
    animation-delay: 1s;
}

@keyframes drawLine {
    0% {
        stroke-dashoffset: 1000;
        opacity: 0;
    }
    20% {
        opacity: 1;
    }
    50% {
        stroke-dashoffset: 0;
        opacity: 1;
    }
    80% {
        opacity: 0.5;
    }
    100% {
        stroke-dashoffset: -1000;
        opacity: 0;
    }
}

/* 成長の頂点の点 */
.growth-dot {
    animation: dotPulse 2s ease-in-out infinite;
}

.growth-dot-pulse {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
    0%, 100% {
        opacity: 0.6;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

@keyframes pulse {
    0% {
        r: 8;
        opacity: 0.4;
    }
    50% {
        r: 20;
        opacity: 0;
    }
    100% {
        r: 8;
        opacity: 0;
    }
}


.tagline-line {
    stroke-dasharray: 500;
    stroke-dashoffset: 500;
    animation: drawTaglineLine 6s ease-in-out infinite;
}

@keyframes drawTaglineLine {
    0% {
        stroke-dashoffset: 500;
        opacity: 0;
    }
    20% {
        opacity: 1;
    }
    60% {
        stroke-dashoffset: 0;
        opacity: 1;
    }
    100% {
        stroke-dashoffset: -500;
        opacity: 0;
    }
}

.tagline-dot {
    animation: taglineDotPulse 2s ease-in-out infinite;
}

@keyframes taglineDotPulse {
    0%, 100% {
        opacity: 0.8;
        r: 6;
    }
    50% {
        opacity: 1;
        r: 8;
    }
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .tagline-decoration {
        width: 300px;
        height: 80px;
        top: -30px;
    }
}


/* 三方良しピラミッドアニメーション */
.sanpo-animation {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 200px;
    opacity: 0.15;
    z-index: 0;
}

.message-tagline {
    position: relative;
}

/* 3つの点のアニメーション */
.sanpo-dot {
    animation: dotGlow 3s ease-in-out infinite;
}

.sanpo-dot-1 {
    animation-delay: 0s;
}

.sanpo-dot-2 {
    animation-delay: 1s;
}

.sanpo-dot-3 {
    animation-delay: 2s;
}

@keyframes dotGlow {
    0%, 100% {
        opacity: 0.6;
        r: 8;
    }
    50% {
        opacity: 1;
        r: 12;
    }
}

/* 線を描くアニメーション */
.sanpo-line {
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
    animation: drawSanpoLine 6s ease-in-out infinite;
}

.sanpo-line-1 {
    animation-delay: 0s;
}

.sanpo-line-2 {
    animation-delay: 2s;
}

.sanpo-line-3 {
    animation-delay: 4s;
}

@keyframes drawSanpoLine {
    0% {
        stroke-dashoffset: 200;
        opacity: 0;
    }
    20% {
        opacity: 0.8;
    }
    50% {
        stroke-dashoffset: 0;
        opacity: 0.8;
    }
    80% {
        opacity: 0;
    }
    100% {
        stroke-dashoffset: -200;
        opacity: 0;
    }
}

/* パルス効果 */
.sanpo-pulse {
    animation: sanpoPulse 3s ease-in-out infinite;
}

.sanpo-pulse-1 {
    animation-delay: 0s;
}

.sanpo-pulse-2 {
    animation-delay: 1s;
}

.sanpo-pulse-3 {
    animation-delay: 2s;
}

@keyframes sanpoPulse {
    0% {
        r: 8;
        opacity: 0.6;
    }
    50% {
        r: 25;
        opacity: 0;
    }
    100% {
        r: 8;
        opacity: 0;
    }
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .sanpo-animation {
        width: 200px;
        height: 150px;
    }
}


/* 資格情報 */
.signature-qualification {
    font-size: 12px;
    color: var(--color-text-light);
    margin-top: 8px;
}


/* 資格情報（会社概要用） */
.qualification-note {
    font-size: 12px;
    color: var(--color-text-light);
    display: inline-block;
    margin-top: 4px;
}



/* 左から右へのスライドインアニメーション */
.slide-in-text {
    display: inline-block;
    opacity: 0;
    transform: translateX(-100px);
    transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.slide-in-text.animate {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-delay-1.animate {
    transition-delay: 0.2s;
}

.slide-in-delay-2.animate {
    transition-delay: 0.5s;
}

/* ロゴとテキストの配置 */
.logo a {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* ロゴとテキストの配置 */
.logo a {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: flex-start;
}

.logo-image {
    height: 140px;
    width: auto;
}

.logo-text {
    font-family: var(--font-en);
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 0.02em;
    background: linear-gradient(135deg, #7ab800 0%, #8bc34a 40%, #b8d96f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* フッターロゴとテキスト */
.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: flex-start;
    margin-bottom: 20px;
}

.footer-logo-image {
    height: 78px;
    width: auto;
}

.footer-logo-text {
    font-family: var(--font-en);
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 0.02em;
    background: linear-gradient(135deg, #7ab800 0%, #8bc34a 40%, #b8d96f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* サービスアイテムの背景とアニメーション */
.service-item {
    position: relative;
    overflow: visible;
}

.service-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.05;
    z-index: 0;
    pointer-events: none;
}

.service-number,
.service-item-content {
    position: relative;
    z-index: 1;
}

/* サービス1: 設計図の背景 */
.service-bg-1 {
    background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 300"%3E%3Cdefs%3E%3Cpattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"%3E%3Cpath d="M 40 0 L 0 0 0 40" fill="none" stroke="%2300a878" stroke-width="0.5"/%3E%3C/pattern%3E%3C/defs%3E%3Crect width="400" height="300" fill="url(%23grid)"/%3E%3Crect x="50" y="50" width="120" height="80" fill="none" stroke="%2300a878" stroke-width="2"/%3E%3Crect x="200" y="80" width="150" height="100" fill="none" stroke="%2300a878" stroke-width="2"/%3E%3Cline x1="50" y1="50" x2="200" y2="80" stroke="%2300a878" stroke-width="1" stroke-dasharray="3,3"/%3E%3Ccircle cx="80" cy="70" r="3" fill="%2300a878"/%3E%3Ccircle cx="140" cy="110" r="3" fill="%2300a878"/%3E%3Ccircle cx="230" cy="100" r="3" fill="%2300a878"/%3E%3C/svg%3E');
    background-size: cover;
    background-position: center;
}

/* サービス2: 成長する木のイラスト */
.service-bg-2 {
    background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 300"%3E%3Cpath d="M 200 280 Q 190 250 180 220 Q 170 190 165 160 Q 160 130 160 100" stroke="%2300a878" stroke-width="4" fill="none" stroke-linecap="round"/%3E%3Cpath d="M 160 100 Q 140 90 120 95 Q 100 100 90 115" stroke="%2300a878" stroke-width="3" fill="none" stroke-linecap="round"/%3E%3Cpath d="M 160 100 Q 180 85 200 88 Q 220 91 235 105" stroke="%2300a878" stroke-width="3" fill="none" stroke-linecap="round"/%3E%3Cpath d="M 165 140 Q 145 135 130 142" stroke="%2300a878" stroke-width="2.5" fill="none" stroke-linecap="round"/%3E%3Cpath d="M 165 140 Q 185 138 200 145" stroke="%2300a878" stroke-width="2.5" fill="none" stroke-linecap="round"/%3E%3Cellipse cx="95" cy="118" rx="12" ry="8" fill="%238bc34a" opacity="0.6"/%3E%3Cellipse cx="115" cy="100" rx="14" ry="9" fill="%2300a878" opacity="0.5"/%3E%3Cellipse cx="235" cy="110" rx="13" ry="8" fill="%238bc34a" opacity="0.6"/%3E%3Cellipse cx="205" cy="93" rx="15" ry="10" fill="%2300a878" opacity="0.5"/%3E%3Cellipse cx="130" cy="145" rx="11" ry="7" fill="%238bc34a" opacity="0.5"/%3E%3Cellipse cx="200" cy="148" rx="12" ry="8" fill="%2300a878" opacity="0.4"/%3E%3Cpath d="M 200 280 Q 190 290 170 295 Q 150 300 130 298 M 200 280 Q 210 290 230 295 Q 250 300 270 298" stroke="%23b8d96f" stroke-width="2" fill="none"/%3E%3C/svg%3E');
    background-size: cover;
    background-position: center;
}

/* サービス3: PC+スマホのイラスト */
.service-bg-3 {
    background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 300"%3E%3Crect x="50" y="60" width="140" height="100" rx="4" fill="none" stroke="%2300a878" stroke-width="2"/%3E%3Ccircle cx="60" cy="70" r="2" fill="%2300a878"/%3E%3Ccircle cx="68" cy="70" r="2" fill="%2300a878"/%3E%3Ccircle cx="76" cy="70" r="2" fill="%2300a878"/%3E%3Cline x1="50" y1="78" x2="190" y2="78" stroke="%2300a878" stroke-width="1"/%3E%3Crect x="60" y="88" width="50" height="6" fill="%2300a878" opacity="0.3"/%3E%3Crect x="60" y="100" width="120" height="4" fill="%2300a878" opacity="0.2"/%3E%3Crect x="60" y="108" width="100" height="4" fill="%2300a878" opacity="0.2"/%3E%3Crect x="235" y="75" width="75" height="150" rx="8" fill="none" stroke="%2300a878" stroke-width="2"/%3E%3Ccircle cx="272.5" cy="87" r="2" fill="%2300a878"/%3E%3Crect x="242" y="95" width="61" height="120" fill="none" stroke="%2300a878" stroke-width="1"/%3E%3Crect x="248" y="102" width="30" height="4" fill="%2300a878" opacity="0.3"/%3E%3Crect x="248" y="112" width="48" height="3" fill="%2300a878" opacity="0.2"/%3E%3Crect x="248" y="120" width="45" height="3" fill="%2300a878" opacity="0.2"/%3E%3Crect x="248" y="128" width="48" height="3" fill="%2300a878" opacity="0.2"/%3E%3C/svg%3E');
    background-size: cover;
    background-position: center;
}

/* タイトルのアンダーライン */
.service-item-title {
    position: relative;
    display: inline-block;
}

.service-title-text {
    display: inline-block;
}

.service-underline {
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #00a878, #8bc34a);
    transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-item:hover .service-underline,
.service-item.in-view .service-underline {
    width: 100%;
}


/* サービス2の木の成長アニメーション（スクロール時に発火） */
.service-item.in-view .service-bg-2 {
    animation: treeGrow 3s ease-out forwards;
}

@keyframes treeGrow {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 0.08;
    }
}


/* フッター住所 */
.footer-address {
    font-size: 13px;
    color: #666;
    margin-top: 12px;
    line-height: 1.6;
    font-weight: 400;
}


/* お問い合わせセクション - 縦並び */
.contact-info-vertical {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 600px;
    margin: 0 auto;
}

.contact-item-vertical {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-item-vertical .contact-label {
    font-family: var(--font-en);
    font-size: 16px;
    font-weight: 600;
    color: var(--color-primary);
    letter-spacing: 0.1em;
}

.contact-item-vertical .contact-value {
    font-size: 28px;
    font-weight: 600;
}

.contact-item-vertical .contact-value a {
    color: var(--color-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item-vertical .contact-value a:hover {
    color: var(--color-primary);
}


/* 国家資格テキスト */
.qualification-text {
    display: inline-block;
    font-size: 13px;
    color: #333;
    font-weight: 400;
    margin-top: 4px;
}


/* お問い合わせの新しいレイアウト */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 50px auto 0;
}

.contact-box {
    background: white;
    border: 2px solid #e8f5f0;
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 168, 120, 0.08);
    transition: all 0.3s ease;
}

.contact-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 168, 120, 0.15);
    border-color: #00a878;
}

.contact-label-new {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 16px;
}

.contact-icon {
    font-size: 24px;
}

.contact-label-text {
    font-size: 16px;
    font-weight: 700;
    color: #00a878;
    letter-spacing: 0.1em;
}

.contact-value-new {
    margin-top: 12px;
}

.contact-link-tel,
.contact-link-mail {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-block;
}

.contact-link-tel:hover,
.contact-link-mail:hover {
    color: #00a878;
}

.contact-box-qr {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.contact-qr-new {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.qr-code-new {
    width: 140px;
    height: 140px;
    border: 3px solid #00a878;
    border-radius: 12px;
    padding: 8px;
    background: white;
}

.qr-label-new {
    font-size: 13px;
    font-weight: 600;
    color: #666;
    line-height: 1.4;
}


/* お問い合わせの都会的なSVGアイコン */
.contact-icon-svg {
    width: 32px;
    height: 32px;
    color: #00a878;
}

/* お問い合わせメインボックス */
.contact-box-main {
    grid-column: span 2;
}

/* 代表電話リンク */
.about-tel-link {
    color: #666;
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s ease;
}

.about-tel-link:hover {
    color: #00a878;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .contact-info-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-box-main {
        grid-column: span 1;
    }
}


/* お問い合わせの統合レイアウト */
.contact-info-single {
    max-width: 600px;
    margin: 50px auto 0;
}

.contact-box-unified {
    background: white;
    border: 2px solid #e8f5f0;
    border-radius: 16px;
    padding: 40px 32px;
    box-shadow: 0 4px 12px rgba(0, 168, 120, 0.08);
}

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

.contact-section + .contact-section {
    margin-top: 40px;
}

.contact-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, #e8f5f0 20%, #e8f5f0 80%, transparent);
    margin: 40px 0;
}


/* メッセージセクションのロゴ背景 */
.message {
    position: relative;
    overflow: hidden;
    background: #f8f8f8;
}

.message-logo-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 700px;
    height: 700px;
    background-image: url('../img/logo.jpg');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.12;
    z-index: 0;
    pointer-events: none;
}

.message .container {
    position: relative;
    z-index: 1;
}

/* メッセージテキストのフェードイン（浮かび上がる） */
.message-text-slide {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.message-text-slide.animate {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-delay-3.animate {
    transition-delay: 0.5s;
}

.slide-in-delay-4.animate {
    transition-delay: 1.2s;
}

/* メッセージテキストを印象強く */
.message-content p {
    font-size: 18px;
    line-height: 2.2;
    font-weight: 500;
    color: #333;
    letter-spacing: 0.05em;
    margin-bottom: 30px;
}


/* フッターの左側（ロゴと住所を横並び） */
.footer-left {
    display: flex;
    align-items: center;
    gap: 30px;
}

/* フッターロゴの下マージン削除 */
.footer-logo {
    margin-bottom: 0;
}

/* フッター住所の調整 */
.footer-address {
    margin-top: 0;
}


/* ===================================
   プライバシーポリシーページ
   =================================== */
.privacy-policy {
    padding: 200px 0 80px;
    background: white;
}

.page-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    color: #333;
}

.privacy-content {
    max-width: 900px;
    margin: 0 auto;
}

.privacy-intro {
    font-size: 15px;
    line-height: 2;
    color: #333;
    margin-bottom: 50px;
    padding: 30px;
    background: #f8f9fa;
    border-left: 4px solid #00a878;
}

.privacy-section {
    margin-bottom: 50px;
}

.privacy-section-title {
    font-size: 22px;
    font-weight: 600;
    color: #00a878;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e8f5f0;
}

.privacy-text {
    font-size: 15px;
    line-height: 2;
    color: #333;
    margin-bottom: 15px;
}

.privacy-list {
    list-style: none;
    padding-left: 0;
    margin: 20px 0;
}

.privacy-list li {
    font-size: 15px;
    line-height: 2;
    color: #333;
    padding-left: 25px;
    position: relative;
    margin-bottom: 10px;
}

.privacy-list li:before {
    content: "・";
    position: absolute;
    left: 10px;
    color: #00a878;
    font-weight: 600;
}

.privacy-contact {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    margin-top: 20px;
}

.privacy-contact p {
    font-size: 15px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 10px;
}

.privacy-contact a {
    color: #00a878;
    text-decoration: none;
    font-weight: 500;
}

.privacy-contact a:hover {
    text-decoration: underline;
}

.privacy-date {
    text-align: right;
    font-size: 14px;
    line-height: 1.8;
    color: #666;
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid #e0e0e0;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .privacy-policy {
        padding: 120px 0 60px;
    }
    
    .page-title {
        font-size: 28px;
        margin-bottom: 40px;
    }
    
    .privacy-section-title {
        font-size: 18px;
    }
    
    .privacy-text,
    .privacy-list li,
    .privacy-intro {
        font-size: 14px;
    }
}

