/* --- ベーススタイル --- */
:root {
    --primary: #0055a0;
    --primary-light: #e6f0fa;
    --accent: #ff7e5f;
    --text-main: #333333;
    --text-sub: #555555;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Hiragino Kaku Gothic ProN', 'Noto Sans JP', sans-serif;
    color: var(--text-main);
    line-height: 1.8;
    background-color: var(--white);
}

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

section {
    padding: 80px 0;
}

h1, h2, h3 {
    line-height: 1.4;
}

h2 {
    font-size: 28px;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 15px;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
}

.section-desc {
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-sub);
}

/* --- ヘッダー --- */
header {
    background: var(--white);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    transition: box-shadow 0.3s ease;
}

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

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

.header-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary);
    letter-spacing: 1px;
}

.header-company-name {
    font-size: 12px;
    color: var(--text-sub);
    border-left: 1px solid #ccc;
    padding-left: 15px;
    line-height: 1.2;
}

.btn-header {
    background: var(--primary);
    color: var(--white);
    padding: 10px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    transition: 0.3s;
}

.btn-header:hover {
    opacity: 0.8;
}

/* --- ヒーローセクション --- */
.hero {
    position: relative;
    padding: 120px 0;
    text-align: center;
    overflow: hidden;
    background-color: var(--primary-light);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.75;
    filter: blur(0px);
    transform: scale(1);
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(230, 240, 250, 0.3) 0%, rgba(255, 255, 255, 0.4) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.75);
    padding: 40px 20px;
    border-radius: 10px;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.hero h1 {
    font-size: 36px;
    margin-bottom: 20px;
    font-weight: 800;
    color: var(--text-main);
}

.hero p {
    font-size: 18px;
    color: var(--text-main);
    margin-bottom: 40px;
    font-weight: 500;
}

.btn-main {
    display: inline-block;
    background: var(--accent);
    color: var(--white);
    padding: 15px 50px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    box-shadow: 0 5px 15px rgba(255, 126, 95, 0.4);
    transition: 0.3s;
}

.btn-main:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 126, 95, 0.6);
}

/* --- Actibookとは --- */
.about-content {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    text-align: center;
}

.about-content p {
    font-size: 16px;
    margin-bottom: 20px;
}

.merit-list {
    display: flex;
    justify-content: space-around;
    margin-top: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

.merit-item {
    flex: 1;
    min-width: 250px;
    background: var(--bg-light);
    padding: 30px 20px;
    border-radius: 10px;
    border-top: 4px solid var(--primary);
}

.merit-item h3 {
    font-size: 20px;
    color: var(--primary);
    margin-bottom: 10px;
}

/* --- できること --- */
.features {
    background: var(--bg-light);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    border-left: 4px solid var(--primary);
    padding-left: 10px;
}

/* --- 機能一覧 --- */
.functions {
    background: var(--white);
}

.func-category {
    margin-bottom: 50px;
}

.func-category:last-child {
    margin-bottom: 0;
}

.func-category h3 {
    font-size: 22px;
    color: var(--primary);
    margin-bottom: 25px;
    padding-left: 15px;
    border-left: 4px solid var(--accent);
}

.func-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.func-item {
    background: var(--bg-light);
    padding: 25px;
    border-radius: 10px;
    transition: 0.3s;
}

.func-item:hover {
    background: var(--primary-light);
    transform: translateY(-3px);
}

.func-item h4 {
    font-size: 16px;
    margin-bottom: 10px;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 10px;
}

.func-item h4::before {
    content: '✔';
    color: var(--primary);
    font-size: 18px;
    font-weight: bold;
}

.func-item p {
    font-size: 14px;
    color: var(--text-sub);
    line-height: 1.6;
}

/* --- 料金 --- */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--white);
    border: 1px solid #eee;
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: 0.3s;
}

.pricing-card:hover {
    border-color: var(--primary);
}

.pricing-card h3 {
    font-size: 22px;
    color: var(--primary);
    margin-bottom: 20px;
}

.price {
    font-size: 36px;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 10px;
}

.price span {
    font-size: 16px;
    font-weight: normal;
}

.price-note {
    font-size: 14px;
    color: var(--text-sub);
    margin-bottom: 20px;
}

.pricing-card ul {
    list-style: none;
    text-align: left;
    margin-top: 20px;
    border-top: 1px dashed #ddd;
    padding-top: 20px;
}

.pricing-card li {
    margin-bottom: 10px;
    font-size: 14px;
    position: relative;
    padding-left: 20px;
}

.pricing-card li::before {
    content: '✓';
    color: var(--primary);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* --- FAQ --- */
.faq {
    background: var(--bg-light);
}

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

details {
    background: var(--white);
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
    overflow: hidden;
}

summary {
    padding: 20px 50px 20px 25px;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    list-style: none;
    position: relative;
    transition: 0.3s;
}

summary::-webkit-details-marker {
    display: none;
}

summary::after {
    content: '+';
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    color: var(--primary);
    transition: 0.3s;
}

details[open] summary::after {
    content: '-';
}

details[open] summary {
    background: var(--primary-light);
    color: var(--primary);
}

.faq-answer {
    padding: 20px 25px;
    background: var(--white);
    border-top: 1px solid #eee;
    font-size: 15px;
    color: var(--text-sub);
}

/* --- CTA（問い合わせ先表示用スタイル追加） --- */
.cta-section {
    background: var(--primary);
    color: var(--white);
    text-align: center;
    padding: 60px 0;
}

.cta-section h2 {
    color: var(--white);
    margin-bottom: 20px;
}

.cta-section h2::after {
    background: var(--white);
}

.cta-section > .container > p {
    margin-bottom: 30px;
    font-size: 16px;
}

/* CTA内の問い合わせ情報スタイル */
.cta-contact-info {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.cta-company-name {
    font-size: 16px;
    opacity: 0.9;
    margin: 0;
}

.cta-phone {
    font-size: 36px;
    font-weight: bold;
    letter-spacing: 2px;
    margin: 0;
}

.cta-instruction {
    font-size: 14px;
    opacity: 0.8;
    margin: 0;
}

/* --- フッター --- */
footer {
    background: #222;
    color: #aaa;
    text-align: center;
    padding: 30px 0;
    font-size: 14px;
}

/* --- レスポンシブ --- */
@media (max-width: 768px) {
    .hero { padding: 80px 0; }
    .hero-content { padding: 30px 15px; }
    .hero h1 { font-size: 26px; }
    .hero p { font-size: 16px; }
    h2 { font-size: 24px; }
    section { padding: 60px 0; }
    .about-content { padding: 30px 20px; }
    .func-category h3 { font-size: 20px; }
    
    .header-company-name {
        display: none;
    }
    
    /* スマホでは電話番号を少し小さく調整 */
    .cta-phone {
        font-size: 28px;
    }
}