/* Noto Sans JP可変フォントを使用 */
@font-face {
    font-family: 'Noto Sans JP';
    font-style: normal;
    font-weight: 100 900; /* 可変フォントでは全ウェイト範囲を指定 */
    src: url('../fonts/NotoSansJP-VariableFont_wght.ttf') format('truetype-variations');
    font-display: swap;
}
        
:root {
    --primary-color: #1c1c1c;
    --secondary-color: #d42a35;
    --accent-color: #d42a35;
    --text-color: #333;
    --muted-color: #666;
    --light-text: #fafafa;
    --light-bg: #f5f5f5;
    --dark-bg: #222;
    --border-color: #e0e0e0;
    --box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

html, body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    scroll-behavior: smooth;
    height: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    display: block;
    background-color: #ffffff;
    overflow-x: hidden;
}

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

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background-color: #fff;
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo-header {
    font-weight: 700;
    font-size: 1.3rem;
    white-space: nowrap;
    color: var(--primary-color);
    letter-spacing: 0.5px;
    font-family: 'ヒラギノ角ゴ W6 JIS2004', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', sans-serif;
    font-feature-settings: "palt";
    font-stretch: expanded;
}

.logo-header a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.2s;
}

.logo-header a:hover {
    opacity: 0.8;
}

.logo-header .inc {
    font-weight: 400;
    font-size: 0.95rem;
    color: #777;
}

.logo-header a:after {
    display: none;
}

nav {
    margin-left: auto;
}

nav ul {
    display: flex;
    gap: 32px;
}

nav a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s;
    white-space: nowrap;
    position: relative;
    padding: 5px 0;
}

nav a:after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: width 0.3s;
}

nav a:hover {
    color: var(--secondary-color);
}

nav a:hover:after {
    width: 100%;
}

.button {
    display: inline-block;
    background: var(--secondary-color);
    color: white;
    padding: 10px 20px;
    border-radius: 3px;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: var(--box-shadow);
    white-space: nowrap;
}

.button:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.button-outline {
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    box-shadow: none;
}

.button-outline:hover {
    background-color: rgba(0, 0, 0, 0.03);
    box-shadow: var(--box-shadow);
}

/* Main content spacing */
main {
    margin-top: 70px; /* Same as header height */
    min-height: calc(100% - 70px);
}

/* Hero Section - Full Screen */
.hero {
    height: calc(100vh - 70px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background-color: white;
    padding-bottom: 80px; /* Added padding to ensure scroll indicator is visible */
}

.hero:before {
    content: none; /* 背景模様を削除 */
}

.logo-container {
    text-align: center;
    max-width: 1200px; /* Match container max-width */
    transition: transform 0.5s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 0 24px; /* Match container padding */
    margin-bottom: 60px; /* Added space between logo and scroll indicator */
}

.logo-container:hover {
    transform: translateY(-10px);
}

.logo-container img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.03));
    max-height: 50vh; /* Reduced from 60vh to ensure scroll indicator visibility */
    object-fit: contain;
    width: auto; /* Ensure aspect ratio is maintained */
}

/* Services Section */
.services {
    padding: 100px 0;
    background-color: white;
    position: relative;
    border-bottom: 1px solid var(--border-color);
}

.services:after {
    content: none; /* 背景模様を削除 */
}

/* Company Info Section */
.company-info {
    padding: 100px 0;
    position: relative;
    background-color: var(--light-bg);
}

.company-info:before {
    content: none; /* 背景模様を削除 */
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    color: var(--secondary-color);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.section-title {
    font-size: 2.6rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

.section-description {
    font-size: 1.15rem;
    color: var(--muted-color);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

@media (min-width: 768px) {
    .info-grid {
        grid-template-columns: 1fr 1fr;
        gap: 60px;
    }
}

.info-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    background-color: white;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.info-table th,
.info-table td {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
    text-align: left;
}

.info-table th {
    width: 30%;
    font-weight: 500;
    color: var(--primary-color);
    background-color: rgba(248, 248, 248, 0.7);
}

.info-table tr:last-child th,
.info-table tr:last-child td {
    border-bottom: none;
}

/* Business Areas */
.business-areas {
    margin-top: 0;
    background-color: white;
    border-radius: 4px;
    padding: 35px 40px;
    box-shadow: var(--box-shadow);
    height: 100%;
}

.business-areas h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

.business-areas ul {
    list-style: none;
    padding: 0;
}

.business-areas li {
    margin-bottom: 18px;
    padding-bottom: 18px;
    position: relative;
    border-bottom: 1px solid #f4f4f4;
    font-size: 0.95rem;
    line-height: 1.7;
    color: #555;
}

.business-areas li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

/* Coming Soon */
.coming-soon {
    font-size: 1.8rem;
    font-weight: 300;
    color: #777;
    letter-spacing: 1px;
    margin: 60px 0;
    text-align: center;
    position: relative;
}

.coming-soon:before,
.coming-soon:after {
    content: none; /* 装飾線を削除 */
}

/* Footer */
.footer {
    padding: 50px 0;
    border-top: 1px solid var(--border-color);
    text-align: center;
    background-color: var(--primary-color);
    color: white;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

@media (min-width: 768px) {
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-logo {
    font-weight: 700;
    color: white;
    font-family: 'ヒラギノ角ゴ W6 JIS2004', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', sans-serif;
    font-feature-settings: "palt";
    font-stretch: expanded;
}

.footer-logo .inc {
    font-weight: 400;
    font-size: 0.9rem;
    color: #ccc;
}

.footer-nav ul {
    display: flex;
    gap: 20px;
    margin: 10px 0;
}

.footer-nav a {
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 400;
    transition: opacity 0.2s;
}

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

@media (max-width: 768px) {
    .footer-nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
}

.footer-copyright {
    font-size: 0.85rem;
    color: #aaa;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 640px) {
    .header-inner nav {
        display: none;
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    z-index: 5; /* Ensure it's above other elements */
}

.scroll-indicator svg {
    width: 30px;
    height: 30px;
    fill: var(--muted-color);
}

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

/* Add media query for mobile devices */
@media (max-width: 480px) {
    .hero {
        padding-bottom: 130px; /* さらにpadding増加 */
        justify-content: flex-start; /* トップ寄りに配置 */
        padding-top: 60px; /* 上部にパディングを追加 */
        height: 100vh; /* 高さを調整 */
        box-sizing: border-box;
    }
    
    .logo-container {
        margin: auto;
    }
    
    .logo-container img {
        max-height: 28vh; /* さらに高さを減らす */
    }
    
    .scroll-indicator {
        bottom: 100px; /* スクロールインジケーターをさらに上に配置 */
        transform: translateX(-50%) scale(1.2); /* 少し大きくする */
    }
}

/* iPhoneのより小さい画面用 */
@media (max-width: 480px) and (max-height: 700px) {
    .logo-container img {
        max-height: 25vh;
    }
    
    .scroll-indicator {
        bottom: 120px;
    }
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
    background-color: white;
    position: relative;
}

.contact-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background-color: var(--border-color);
}

.contact-content {
    margin-top: 40px;
}

.contact-description {
    margin-bottom: 30px;
    max-width: 800px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.contact-description p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    border-radius: 5px;
    overflow: hidden;
}

.form-container iframe {
    border: 1px solid var(--border-color);
    border-radius: 5px;
    background-color: #fafafa;
}

@media (max-width: 768px) {
    .contact-section {
        padding: 80px 0;
    }
    
    .contact-description p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .contact-section {
        padding: 60px 0;
    }
    
    .form-container iframe {
        height: 850px;
    }
}

/* Security Policy Section */
.security-policy-section {
    padding: 100px 0;
    background-color: #fafafa;
    position: relative;
}

.security-policy-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background-color: #e0e0e0;
}

.security-policy-content {
    margin-top: 40px;
}

.policy-description {
    margin-bottom: 40px;
    max-width: 800px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.policy-description p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #444444;
}

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

.policy-list ol {
    list-style: none;
    counter-reset: policy-counter;
    padding: 0;
}

.policy-list li {
    counter-increment: policy-counter;
    margin-bottom: 30px;
    padding: 25px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border-left: 3px solid #cccccc;
    position: relative;
    transition: all 0.2s ease;
}

.policy-list li:hover {
    border-left-color: #dc3545;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.policy-list li:before {
    content: counter(policy-counter);
    position: absolute;
    left: -2px;
    top: -2px;
    background-color: #666666;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    transition: background-color 0.2s ease;
}

.policy-list li:hover:before {
    background-color: #dc3545;
}

.policy-list h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #333333;
    margin-top: 8px;
}

.policy-list p {
    font-size: 1rem;
    line-height: 1.7;
    color: #555555;
    margin: 0;
}

.policy-signature {
    text-align: center;
    padding: 30px;
    background-color: #f8f8f8;
    border-radius: 8px;
    max-width: 600px;
    margin: 0 auto;
    border: 1px solid #e8e8e8;
}

.policy-signature p {
    margin: 8px 0;
    font-size: 1rem;
    color: #444444;
}

.establishment-date {
    font-weight: 500;
    margin-bottom: 20px !important;
    color: #666666;
}

.company-name {
    font-weight: 700;
    font-size: 1.1rem !important;
    color: #222222 !important;
}

.ceo-name {
    font-weight: 600;
    color: #444444;
}

@media (max-width: 768px) {
    .security-policy-section {
        padding: 80px 0;
    }
    
    .policy-description p {
        font-size: 1rem;
    }
    
    .policy-list li {
        padding: 20px;
        margin-bottom: 25px;
    }
    
    .policy-list h3 {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .security-policy-section {
        padding: 60px 0;
    }
    
    .policy-list li {
        padding: 18px;
        margin-bottom: 20px;
    }
    
    .policy-signature {
        padding: 25px;
    }
}

/* モバイルアクションボタン */
.mobile-action-button {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 100;
    display: none;
}

.mobile-action-button a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background-color: var(--secondary-color);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s, box-shadow 0.3s;
    padding: 10px;
    box-sizing: border-box;
}

.mobile-action-button svg {
    width: 24px;
    height: 24px;
    margin-bottom: 4px;
}

.mobile-action-button span {
    font-size: 10px;
    font-weight: 500;
    text-align: center;
    line-height: 1.2;
}

.mobile-action-button a:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

@media (max-width: 640px) {
    .mobile-action-button {
        display: block;
    }
}

/* Language Switcher */
.language-switcher {
    display: flex;
    gap: 8px;
    margin-left: 20px;
}

.language-switcher button {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--muted-color);
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
    font-weight: 500;
    min-width: 70px;
    text-align: center;
}

.language-switcher button:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.language-switcher button:hover {
    background-color: var(--light-bg);
    border-color: var(--muted-color);
    color: var(--text-color);
}

.language-switcher button.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}                                                                                