@charset "utf-8";
/* CSS Document */

/* 基本設定 */
        :root {
    --navy: #1a365d;
    --navy-light: #2c5282;
    --brown: #8b6914;
    --cream: #faf8f3;
    --white: #ffffff;
    --text: #2d3748;
    --text-light: #4a5568;
    --border: #e2e8f0;
    --accent: #c05621;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    color: var(--text);
    background: var(--cream);
    line-height: 1.8;
    letter-spacing: 0.02em;
}

/* 明朝体クラス（見出しに使用） */
.mincho, h1, h2, h3 {
    font-family: "Yu Mincho", "Hiragino Mincho ProN", "MS Mincho", serif;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

/* =============================================
   ヘッダー
   ============================================= */
header {
    background: var(--navy);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.header-inner {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

/* ロゴエリア */
.header-logo-area {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.header-logo-img {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
}

.logo {
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.header-btn {
    background: var(--accent);
    color: var(--white);
    padding: 0.7rem 1.5rem;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: opacity 0.3s;
    white-space: nowrap;
}

.header-btn:hover {
    opacity: 0.8;
}

/* ナビゲーションバー */
.header-nav {
    background: rgba(0,0,0,0.15);
}

.nav-inner {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 0;
}

.nav-list a {
    display: block;
    color: rgba(255,255,255,0.78);
    font-size: 0.8rem;
    padding: 0.6rem 0.9rem;
    text-decoration: none;
    letter-spacing: 0.03em;
    transition: color 0.2s, background 0.2s;
    white-space: nowrap;
}

.nav-list a:hover {
    color: var(--white);
    background: rgba(255,255,255,0.08);
}

/* ハンバーガー（モバイル） */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all 0.3s;
}

.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* モバイルドロワー */
.mobile-drawer {
    display: none;
    background: var(--navy-light);
    padding: 8px 20px 16px;
}

.mobile-drawer.open { display: block; }

.mobile-drawer .nav-list {
    flex-direction: column;
    gap: 2px;
}

.mobile-drawer .nav-list a {
    padding: 9px 12px;
    font-size: 0.88rem;
    border-radius: 4px;
}

.mobile-drawer .header-btn {
    display: block;
    text-align: center;
    margin-top: 10px;
    padding: 0.8rem;
}

/* =============================================
   ヒーロー
   ============================================= */
.hero {
    background: var(--navy);
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-inner {
    position: relative;
    z-index: 1;
}

.hero-tag {
    display: inline-block;
    border: 1px solid rgba(255,255,255,0.3);
    padding: 0.4rem 1.2rem;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    margin-bottom: 2rem;
    color: rgba(255,255,255,0.8);
}

.hero h1 {
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    line-height: 1.5;
    margin-bottom: 2rem;
}

.hero-highlight {
    background: linear-gradient(transparent 60%, rgba(184,134,11,0.8) 60%);
    padding: 0 0.3rem;
}

.hero-lead {
    font-size: 1rem;
    color: rgba(255,255,255,0.85);
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

.hero-cta {
    display: inline-block;
    background: var(--accent);
    color: var(--white);
    padding: 1.2rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    letter-spacing: 0.05em;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

/* =============================================
   メッセージ
   ============================================= */
.letter-section {
    background: var(--white);
    padding: 3.5rem;
    margin: -2rem auto 3rem;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    max-width: 800px;
    position: relative;
}

.letter-title {
    text-align: center;
    font-size: 1.5rem;
    color: var(--navy);
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border);
    padding-bottom: 1rem;
}

.letter-section p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
    text-indent: 1em;
}

.highlight {
    font-weight: 600;
    color: var(--brown);
    background: linear-gradient(transparent 70%, rgba(139,105,20,0.2) 70%);
    padding: 0 0.2rem;
}

/* =============================================
   セクション共通
   ============================================= */
.section {
    padding: 4rem 0;
}

.section-bg-white { background: var(--white); }

.section-title {
    text-align: center;
    font-size: 1.8rem;
    color: var(--navy);
    margin-bottom: 1rem;
}

.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 2px;
    background: var(--brown);
    margin: 1rem auto 2rem;
}

.section-lead {
    text-align: center;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 3rem;
    font-size: 0.95rem;
}

/* =============================================
   問題提起
   ============================================= */
.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.problem-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-left: 4px solid var(--accent);
    padding: 1.5rem;
    border-radius: 0 6px 6px 0;
    transition: box-shadow 0.3s;
}

.problem-card:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.problem-card h3 {
    font-size: 1.1rem;
    color: var(--navy);
    margin-bottom: 0.8rem;
}

.problem-card p {
    font-size: 0.9rem;
    color: var(--text-light);
}

.reality-box {
    background: var(--navy);
    color: var(--white);
    padding: 2.5rem;
    border-radius: 8px;
    margin-top: 2rem;
}

.reality-box h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: #ffd700;
}

.reality-box p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 1rem;
}

/* =============================================
   サービス内容
   ============================================= */
.service-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.service-item {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 2rem;
    align-items: start;
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.service-num {
    width: 70px;
    height: 70px;
    background: var(--navy);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 600;
    flex-shrink: 0;
}

.service-num span {
    font-size: 1.5rem;
    line-height: 1;
}

.service-content h3 {
    font-size: 1.3rem;
    color: var(--navy);
    margin-bottom: 0.8rem;
}

.service-content p {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.service-content ul {
    padding-left: 1.2rem;
    color: var(--text-light);
}

.service-content li {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.befoaf-grid{
	display: grid;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.befoaf-grid2{
	display: flex;
    flex-wrap: wrap;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.befoaf-grid-left{
	flex: 1;
    min-width: 280px;
    background: #fef5e7;
    padding: 2rem;
    border-right: 2px dashed #e2e8f0;
}

.befoaf-lefttitle{
	color: #d69e2e;
    font-weight: bold;
    margin-bottom: 0.8rem;
    font-size: 1rem;
}

.befoaf-grid-right{
	flex: 1;
    min-width: 280px;
    background: #f0fff4;
    padding: 2rem;
    position: relative;
}

.befoaf-grid-arrow{
	position: absolute;
    left: -20px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--accent);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.befoaf-righttitle{
	color: #2f855a;
    font-weight: bold;
    margin-bottom: 0.8rem;
    font-size: 1rem;
}

.befoaf-righttext{
	font-weight: 600;
}

.befoaf-righttext-on{
	color: var(--accent);
    background: linear-gradient(transparent 70%, rgba(192, 86, 33, 0.2) 70%);
}

.service-item .serviceplan-grid{
	display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
	margin-top: 30px;
}

.serviceplan-grid2{
	background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    padding: 1.5rem;
    border-radius: 8px;
    border-top: 4px solid #4a5568;
    position: relative;
}

.serviceplan{
	position: absolute;
    top: -15px;
    left: 1rem;
    background: #4a5568;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: bold;
}

.serviceplan2{
	font-weight: bold;
    color: var(--navy);
    margin-bottom: 0.8rem;
    font-size: 1rem;
    margin-top: 0.5rem;
}

/* =============================================
   料金プラン（新規追加）
   ============================================= */
.pricing-intro {
    text-align: center;
    font-size: 0.95rem;
    color: var(--text-light);
    max-width: 620px;
    margin: -1rem auto 2.5rem;
    line-height: 1.85;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.pricing-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 2rem 1.6rem;
    position: relative;
    transition: box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    box-shadow: 0 4px 18px rgba(0,0,0,0.1);
}

.pricing-card {
    border: 2px solid var(--accent);
}

.pricing-plan-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-light);
    letter-spacing: 0.06em;
    margin-bottom: 0.6rem;
}

.pricing-price {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--navy);
    font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
    line-height: 1.2;
    margin-bottom: 0.3rem;
}

.pricing-price sub {
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--text-light);
    font-family: sans-serif;
}

.pricing-type {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--accent);
    background: rgba(192,86,33,0.07);
    padding: 2px 10px;
    border-radius: 10px;
    margin-bottom: 1.2rem;
    letter-spacing: 0.04em;
}

.pricing-divider {
    width: 100%;
    height: 1px;
    background: var(--border);
    margin-bottom: 1.2rem;
}

.pricing-desc {
    font-size: 0.87rem;
    color: var(--text-light);
    line-height: 1.8;
    flex: 1;
}

.pricing-note {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-light);
    border: 1px dashed var(--border);
    padding: 1rem 1.5rem;
    border-radius: 6px;
    background: var(--white);
    line-height: 1.75;
}

/* =============================================
   FAQ
   ============================================= */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 6px;
    overflow: hidden;
}

.faq-question {
    padding: 1.2rem 1.5rem;
    font-weight: 600;
    color: var(--navy);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.95rem;
    user-select: none;
    transition: background-color 0.3s;
}

.faq-question:hover {
    background: rgba(26,54,93,0.05);
}

.faq-question::after {
    content: '+';
    font-size: 1.2rem;
    color: var(--brown);
    transition: transform 0.3s;
    flex-shrink: 0;
}

.faq-item.open .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s;
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.8;
}

.faq-item.open .faq-answer {
    max-height: 300px;
    padding: 1.2rem 1.5rem 1.2rem;
}

/* =============================================
   会社情報（新規追加）
   ============================================= */
.company-table-wrap {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.company-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
}

.company-table th,
.company-table td {
    padding: 0.9rem 1.1rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
    vertical-align: top;
    line-height: 1.7;
}

.company-table th {
    width: 32%;
    font-weight: 600;
    color: var(--navy);
    font-size: 0.82rem;
    letter-spacing: 0.03em;
    background: #f0f4f8;
    white-space: nowrap;
}

.company-table td {
    color: var(--text-light);
}

.company-table tr:last-child th,
.company-table tr:last-child td {
    border-bottom: none;
}

.company-map-wrap {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.company-map-placeholder {
    background: linear-gradient(135deg, #e8edf5, #d6dff0);
    height: 240px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--navy-light);
    font-size: 0.88rem;
    font-weight: 600;
}

.map-icon { font-size: 2.4rem; opacity: 0.55; }

.company-map-info {
    padding: 1.2rem 1.4rem;
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.75;
    border-top: 1px solid var(--border);
}

/* =============================================
   お問い合わせフォーム
   ============================================= */
.contact-section {
    background: var(--navy);
    padding: 4rem 0;
}

.contact-section .section-title {
    color: var(--white);
}

.contact-section .section-title::after {
    background: #ffd700;
}

.contact-section .section-lead {
    color: rgba(255,255,255,0.8);
}

.contact-form {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 8px;
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.form-row .form-group {
    margin-bottom: 0;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 0.5rem;
}

.required {
    color: var(--accent);
    margin-left: 0.3rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-size: 0.95rem;
    font-family: inherit;
    transition: border-color 0.3s;
    background: #fafafa;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--navy);
    background: var(--white);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    width: 100%;
    background: var(--accent);
    color: var(--white);
    border: none;
    padding: 1rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    letter-spacing: 0.05em;
    transition: opacity 0.3s;
    font-family: inherit;
}

.submit-btn:hover { opacity: 0.8; }
.submit-btn:disabled { opacity: 0.6; cursor: default; }

/* 送信完了 */
.form-success {
    display: none;
    text-align: center;
    padding: 2rem 1rem;
}

.form-success.show { display: block; }

.form-success .success-icon { font-size: 3rem; margin-bottom: 1rem; }

.form-success h3 {
    font-size: 1.2rem;
    color: var(--navy);
    margin-bottom: 0.8rem;
}

.form-success p {
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.8;
}

/* =============================================
   フッター
   ============================================= */
footer {
    background: #111;
    color: rgba(255,255,255,0.6);
    padding: 2.5rem 0 1.5rem;
    font-size: 0.8rem;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    margin-bottom: 1.5rem;
}

.footer-brand-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 0.8rem;
}

.footer-logo-img {
    width: 32px;
    height: 32px;
    opacity: 0.85;
}

.footer-logo-name {
    color: rgba(255,255,255,0.75);
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.4;
}

.footer-brand p {
    font-size: 0.77rem;
    color: rgba(255,255,255,0.42);
    line-height: 1.75;
}

.footer-nav-col h4 {
    color: rgba(255,255,255,0.6);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.8rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-nav-col ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.footer-nav-col ul a {
    color: rgba(255,255,255,0.48);
    font-size: 0.8rem;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-nav-col ul a:hover {
    color: rgba(255,255,255,0.85);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.footer-bottom p {
    color: rgba(255,255,255,0.32);
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: rgba(255,255,255,0.32);
    font-size: 0.75rem;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: rgba(255,255,255,0.65);
}

/* =============================================
   スクロールオフセット補正
   ============================================= */
[id] {
    scroll-margin-top: 90px;
}

/* =============================================
   レスポンシブ
   ============================================= */
@media (max-width: 768px) {
    .hero { padding: 3rem 0; }

    .letter-section {
        padding: 2rem;
        margin-top: 0;
    }

    .service-item {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .service-num { margin: 0 auto 1rem; }

    .header-inner { flex-wrap: nowrap; }

    /* ナビを隠してハンバーガーを表示 */
    .header-btn-pc { display: none; }
    .hamburger { display: flex; }
    .header-nav { display: none; }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 360px;
        margin-left: auto;
        margin-right: auto;
    }

    .company-layout {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 540px) {
    .contact-form { padding: 1.5rem; }

    .footer-inner { grid-template-columns: 1fr; }
}
