/* style.css */
/* --- 基本設定 --- */
:root {
    --navy: #000050;
    --cyan: #00BFFF;
    --cyan-light: #E0F7FF;
    --text-main: #333333;
    --white: #FFFFFF;
    --gray-bg: #F8F9FA;
    --border-gray: #EEEEEE;
}

html {
    overflow-y: scroll; /* 全ページでスクロールバー枠を常に確保 */
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--text-main);
    margin: 0;
    padding: 0;
    line-height: 1.8;
    background-color: var(--white);
    scrollbar-gutter: stable; /* スクロールバーの有無による幅ずれを防止 */
}

h1, h2, h3, p, ul { margin: 0; padding: 0; }
a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
button { font-family: inherit; }

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

.section-padding { padding: 80px 0; }
.sub-page-padding { padding-top: 120px; padding-bottom: 80px; } /* 下層ページ用の上部余白 */

.section-title {
    font-size: 32px;
    color: var(--navy);
    font-weight: 700;
    margin-bottom: 60px;
    display: inline-block;
    border-bottom: 3px solid var(--cyan);
    padding-bottom: 10px;
}

/* --- ヘッダー --- */
header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    z-index: 1000;
    padding: 15px 0;
}
.header-inner { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 20px; font-weight: 700; color: var(--navy); }

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

nav a { font-size: 14px; font-weight: 500; color: var(--navy); }
nav a:hover { color: var(--cyan); }
.btn-contact-nav {
    background-color: var(--navy);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 4px;
}
.btn-contact-nav:hover { background-color: var(--cyan); color: var(--white); }

/* --- ヒーローエリア (Topページ用) --- */
.hero {
    height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: var(--white);
    margin-top: 60px;
}
.hero::after {
    content: ''; position: absolute; top: 0; right: 0; width: 50%; height: 100%;
    background: linear-gradient(135deg, rgba(0,191,255,0.1) 0%, rgba(0,191,255,0.6) 100%);
    border-bottom-left-radius: 100% 50%; z-index: 0;
}
.hero-content { position: relative; z-index: 1; max-width: 600px; }
.hero-sub {
    font-size: 16px; letter-spacing: 0.1em; color: var(--text-main);
    margin-bottom: 20px; display: inline-block; background: #f0f8ff;
    padding: 5px 15px; border-left: 3px solid var(--navy);
}
.hero-title { font-size: 56px; font-weight: 700; color: var(--navy); line-height: 1.2; margin-bottom: 30px; }
.hero-desc { font-size: 16px; margin-bottom: 40px; max-width: 480px; }
.btn-hero {
    background-color: var(--navy); color: var(--white); font-weight: 700;
    padding: 15px 40px; display: inline-block; border-radius: 2px;
    box-shadow: 0 5px 15px rgba(0,0,80,0.2); border: none; cursor: pointer;
}
.btn-hero:hover { background-color: var(--cyan); transform: translateY(-2px); }

/* --- Mission --- */
.mission { background-color: var(--white); text-align: center; }
.mission-catch {
    font-family: 'Noto Serif JP', serif; font-size: 36px; font-weight: 600;
    color: var(--navy); margin-bottom: 40px; line-height: 1.6;
}
.mission-text { max-width: 700px; margin: 0 auto; font-size: 16px; text-align: left; }

/* --- Fit --- */
.fit { background-color: var(--gray-bg); }
.fit-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.fit-card { background: var(--white); padding: 30px; border-left: 5px solid var(--navy); box-shadow: 0 3px 10px rgba(0,0,0,0.05); }
.fit-card h3 { font-size: 18px; color: var(--navy); margin-bottom: 15px; font-weight: 700; display: flex; align-items: center; gap: 10px; }
.fit-card ul li { position: relative; padding-left: 20px; margin-bottom: 8px; font-size: 15px; }
.fit-card ul li::before { content: "✔"; color: var(--cyan); position: absolute; left: 0; font-weight: bold; }

/* --- Service --- */
.service { background-color: var(--white); }
.service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.service-card { background: var(--white); border: 1px solid var(--border-gray); padding: 40px 30px; transition: transform 0.3s; border-top: 4px solid var(--navy); }
.service-card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.05); }
.icon-box { width: 60px; height: 60px; background-color: var(--cyan-light); display: flex; align-items: center; justify-content: center; margin-bottom: 25px; border-radius: 50%; }
.icon-box i { font-size: 28px; color: var(--navy); }
.service-title { font-size: 20px; font-weight: 700; color: var(--navy); margin-bottom: 15px; }
.service-desc { font-size: 15px; color: #666; margin-bottom: 15px; }
.service-detail li { font-size: 13px; color: #555; padding-left: 15px; position: relative; margin-bottom: 5px; }
.service-detail li::before { content: "・"; position: absolute; left: 0; }

/* --- Advantage --- */
.advantage { background-color: var(--navy); color: var(--white); }
.advantage .section-title { color: var(--white); border-color: var(--cyan); }
.advantage-list { display: flex; flex-direction: column; gap: 20px; }
.advantage-item { display: flex; align-items: flex-start; gap: 20px; background: rgba(255,255,255,0.05); padding: 25px; border-left: 4px solid var(--cyan); }
.adv-number { font-size: 40px; font-weight: 700; color: var(--cyan); line-height: 1; }
.adv-content h3 { font-size: 20px; margin-bottom: 5px; }
.adv-content p { opacity: 0.9; font-size: 15px; }

/* --- Process --- */
.process { background-color: var(--white); }
.process-flow { display: flex; flex-wrap: wrap; gap: 20px; }
.process-step { flex: 1; min-width: 200px; background: var(--gray-bg); padding: 25px; position: relative; border-top: 3px solid var(--navy); }
.step-num { display: inline-block; background: var(--navy); color: var(--white); padding: 2px 10px; font-size: 12px; font-weight: bold; margin-bottom: 10px; }
.step-title { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.step-desc { font-size: 14px; color: #666; }

/* --- Company --- */
.company { background-color: var(--gray-bg); }
.company-wrapper { display: flex; flex-wrap: wrap; gap: 40px; }
.company-info { flex: 1; min-width: 300px; background: var(--white); padding: 30px; box-shadow: 0 2px 5px rgba(0,0,0,0.05); }
.company-detail { flex: 1; min-width: 300px; }
.info-table { width: 100%; border-collapse: collapse; }
.info-table th, .info-table td { padding: 15px 0; border-bottom: 1px solid #eee; text-align: left; vertical-align: baseline; }
.info-table th { width: 30%; color: var(--navy); font-weight: 700; }
.email-cell-content { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.qualification-box { background: var(--white); padding: 30px; border-top: 4px solid var(--navy); box-shadow: 0 2px 5px rgba(0,0,0,0.05); }
.qualification-title { font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 15px; border-bottom: 1px solid #ddd; padding-bottom: 5px; }
.qualification-list li { margin-bottom: 10px; font-weight: 700; font-size: 15px; }

/* --- Contact --- */
.contact { background-color: var(--white); }
.contact-form-wrapper { max-width: 700px; margin: 0 auto; background: var(--gray-bg); padding: 40px; border-radius: 4px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 700; color: var(--navy); margin-bottom: 8px; font-size: 14px; }
.form-control { width: 100%; padding: 12px; border: 1px solid #ddd; border-radius: 4px; box-sizing: border-box; font-size: 16px; }
.form-control:focus { border-color: var(--cyan); outline: none; }
textarea.form-control { height: 150px; resize: vertical; }
.btn-submit { width: 100%; background-color: var(--navy); color: var(--white); padding: 15px; border: none; font-size: 18px; font-weight: 700; cursor: pointer; transition: 0.3s; border-radius: 2px; }
.btn-submit:hover { background-color: var(--cyan); }
.contact-alt-email { margin-top: 30px; padding-top: 20px; border-top: 1px solid #ddd; text-align: center; }
.contact-alt-email p { font-size: 13px; color: #666; margin-bottom: 10px; }
.email-cell-content-center { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px; }

/* コピーボタン */
.copy-btn { background-color: transparent; border: 1px solid var(--navy); color: var(--navy); font-size: 12px; padding: 4px 10px; cursor: pointer; border-radius: 4px; transition: 0.2s; white-space: nowrap; }
.copy-btn:hover { background-color: var(--navy); color: var(--white); }
.copy-msg { display: inline-block; font-size: 12px; color: #28a745; opacity: 0; transition: opacity 0.5s; }

/* --- Footer --- */
footer { background-color: #111; color: #888; text-align: center; padding: 30px 0; font-size: 12px; }

/* --- レスポンシブ --- */
@media (max-width: 768px) {
    .hero-title { font-size: 36px; }
    .mission-catch { font-size: 24px; }
    .header-inner { flex-direction: column; gap: 15px; }
    nav ul { flex-wrap: wrap; justify-content: center; gap: 15px; }
    .hero { height: auto; padding: 60px 0; }
    .hero::after { width: 100%; height: 50%; top: auto; bottom: 0; border-radius: 50% 50% 0 0; }
    .sub-page-padding { padding-top: 160px; } 
}
