@charset "UTF-8";

/* =========================================================
   ベース設定・変数
========================================================= */
:root {
    /* サイト全体のテーマカラー */
    --color-primary: #1e3a8a; /* 誠実・安心感のあるネイビー */
    --color-accent: #ea580c; /* 目立たせるためのオレンジ */
    --color-bg-light: #f8fafc; /* 薄いグレーの背景 */
    --color-text: #334155; /* 基本のテキストカラー */
    --color-border: #cbd5e1; /* 境界線の色 */
}

/* リセットCSS（最低限） */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    color: var(--color-text);
    line-height: 1.6;
    background-color: #fff;
    font-size: 18px;
}

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

/* 共通セクション設定 */
main section, 
.faq-section {
    padding: 30px 0 40px;
    max-width: 1024px;
    margin: 0 auto;
}

h2 {
    text-align: center;
    font-size: 1.5rem;
    color: #fff;
    margin: 1em 0;
    padding: 0 7px;
font-weight: 700;
background-color: var(--color-primary);
}
h3{
background: none;
border: none;
border-radius: 0;
margin: 0;
}

.section-desc {
    text-align: center;
    margin-bottom: 30px;
    font-weight: bold;
}

/* =========================================================
   ヒーローエリア（フルスクリーン背景版）
========================================================= */
header h1{
position: static; /* absoluteを打ち消してデフォルトに戻す */
}
.hero-section {
    position: relative; /* 子要素の基準位置にする */
    width: 100%;
min-height: 580px;     
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow: hidden;
}

/* --- 背景画像の設定 --- */
.hero-section .hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; /* 親要素（hero-section）の高さにピタッと合わせる */
    z-index: 1;
}

.hero-section .hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 画像の比率を保ったまま、隙間なく敷き詰める */
    object-position: center;
}

/* --- 上に乗るテキストエリアの設定 --- */
.hero-content {
    position: relative;
    z-index: 2; /* 画像より前に出す（これがないと文字が隠れます） */
    max-width: 1024px;
    width: 100%;
    
    /* 背景画像に文字が埋もれないよう、白の半透明の座布団を敷く */
    background: rgba(255, 255, 255, 0.9); 
    padding: 20px 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    text-align: center;
}

.hero-content h1 {
    font-size: 1.4rem;
    color: #dc2626;
    margin-bottom: 15px;
    line-height: 1.4;
}

.hero-lead {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 20px;
	text-align: center;
}

.hero-benefits {
    /* 前回の設定のまま変更なし */
    list-style: none;
    background-color: #fff;
    border: 2px solid var(--color-accent);
    border-radius: 8px;
    padding: 20px;
    display: inline-block;
    text-align: left;
}

.hero-benefits li {
    margin-bottom: 10px;
    font-weight: bold;
    padding-left: 1.5em;
    position: relative;
	font-size: 1.3rem;
}

/* チェックマークアイコン */
.hero-benefits li::before {
    content: "✔";
    color: var(--color-accent);
    position: absolute;
    left: 0;
}

.hero-benefits li:last-child {
    margin-bottom: 0;
}
.hero-benefits li strong {
font-weight: 700;
color: #ea580c;
}

/* =========================================================
   課題提起セクション
========================================================= */
.problem-section {
    background-color: #fff1f2; /* 薄い赤系で不安感を演出 */
    border-radius: 12px;
    margin-top: 0px;
	padding: 30px;
}
.problem-section h2{
color: var(--color-primary);
background-color: #fff1f2; 
}
.problem-list {
    list-style: none;
    margin-bottom: 30px;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
}

.problem-list li {
    margin-bottom: 15px;
    padding-left: 1.5em;
    position: relative;
    font-weight: bold;
	font-size: 20px;
}

.problem-list li::before {
    content: "▼";
    color: #ef4444;
    position: absolute;
    left: 0;
    font-size: 0.9rem;
}

.problem-solution {
    text-align: center;
    font-size: 1.2rem;
    font-weight: bold;
    color: #dc2626;
    background: #fff;
    padding: 15px;
    border-radius: 50px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* =========================================================
   サービスラインナップ
========================================================= */
.plan-group {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.plan-group h3 {
    color: var(--color-primary);
    font-size: 1.3rem;
    margin-bottom: 15px;
    padding-left: 10px;
    border-left: 5px solid var(--color-accent);
}

.plan-group > p {
    margin-bottom: 20px;
}

.plan-group dt {
    background-color: var(--color-bg-light);
    font-weight: bold;
    padding: 10px 15px;
    border-radius: 4px;
    margin-top: 15px;
    color: var(--color-primary);
}

.plan-group dd {
    padding: 10px 15px;
    margin-bottom: 10px;
}
/* =========================================================
   プラン一覧の画像＋テキストレイアウト
========================================================= */
.plan-list {
    margin-top: 25px;
}

.plan-item {
    display: flex;
    flex-direction: column; /* 基本（スマホ）は縦積み */
    gap: 15px; /* 写真とテキストの隙間 */
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px dashed var(--color-border); /* プラン同士の区切り線 */
}

/* 最後のプランの下線は消す */
.plan-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

/* --- 画像エリア --- */
.plan-image {
    width: 100%;
    margin: 0; /* figureのデフォルト余白をリセット */
    border-radius: 8px;
    overflow: hidden; /* 画像の角丸をはみ出させない */
}

.plan-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    aspect-ratio: 3 / 2; /* 高さを揃える（3:2の比率） */
}

/* --- テキストエリア --- */
.plan-text {
    width: 100%;
}

.plan-text dt {
    /* 前回のデザインを継承しつつ微調整 */
    background-color: var(--color-bg-light);
    font-weight: bold;
    padding: 10px 15px;
    border-radius: 4px;
    margin-top: 0; /* 上の余白を消す */
    margin-bottom: 10px;
    color: var(--color-primary);
}

.plan-text dd {
    padding: 0 5px; /* 左右の余白を少しだけ */
    margin-bottom: 0;
}
/* =========================================================
   プラン詳細へのリンクボタン（ゴーストボタン）
========================================================= */
/* --- 1. 基本スタイル（スマホ向け） --- */
.plan-link {
    margin-top: 15px;
    text-align: center; /* スマホでは中央寄せ */
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%; /* スマホでは指で押しやすいよう横幅いっぱいに */
    padding: 12px 20px; /* タップ領域を広く */
    font-size: 0.95rem;
    font-weight: bold;
    color: var(--color-primary);
    background-color: transparent;
    border: 1px solid var(--color-border);
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-outline::after {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-left: 10px;
    border-top: 2px solid var(--color-primary);
    border-right: 2px solid var(--color-primary);
    transform: rotate(45deg);
    transition: all 0.3s ease;
}

.btn-outline:hover {
    border-color: var(--color-primary);
    background-color: var(--color-bg-light);
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}
.profile-inner{
max-width: 1024px;
margin: 0 auto;
}
/* =========================================================
   PC・タブレット向けのレイアウト（横幅600px以上で適用）
========================================================= */
@media screen and (min-width: 600px) {
    .plan-item {
        flex-direction: row; /* 横並びに変更 */
        align-items: flex-start; /* 上端で揃える */
        gap: 25px; 
    }

    .plan-image {
        width: 40%; /* 画像の幅を全体の40%に */
        flex-shrink: 0; /* 画像が潰れるのを防ぐ */
    }

    .plan-text {
        width: 60%; /* テキストエリアは残りの60% */
    }
    .plan-link {
        text-align: center; /* PCでは右寄せにして控えめに配置 */
    }
    
    .btn-outline {
        width: auto; /* 横幅100%を解除し、文字の長さに合わせる */
        padding: 8px 24px; /* PC用のスマートな余白に縮小 */
    }
}

/* =========================================================
   選ばれる理由・比較表
========================================================= */
.reason-list {
    list-style: none;
    counter-reset: reason-counter;
    margin-bottom: 40px;
}

.reason-list li {
    position: relative;
    padding-left: 60px;
    margin-bottom: 30px;
}

.reason-list li strong {
    display: block;
    font-size: 1.1rem;
    color: var(--color-primary);
    margin-bottom: 8px;
}

.reason-list li::before {
    counter-increment: reason-counter;
    content: counter(reason-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 45px;
    height: 45px;
    background-color: var(--color-accent);
    color: #fff;
    font-size: 1.2rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.comparison-table-wrapper {
    overflow-x: auto; /* スマホではみ出た場合にスクロールさせる */
}

.comparison-table {
    width: 100%;
    min-width: 500px;
    border-collapse: collapse;
}

.comparison-table caption {
    font-weight: bold;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.comparison-table th, 
.comparison-table td {
    border: 1px solid var(--color-border);
    padding: 15px;
    text-align: center;
}

.comparison-table th {
    background-color: var(--color-bg-light);
    font-weight: bold;
}

.comparison-table .highlight {
    background-color: #fff7ed; /* オレンジ系の背景色 */
    color: var(--color-accent);
    border: 2px solid var(--color-accent);
}

.comparison-table td.highlight {
    font-size: 1.1rem;
}

/* =========================================================
   ご利用の流れ
========================================================= */
.step-list {
    list-style: none;
}

.step-list li {
    background: #fff;
    border: 1px solid var(--color-border);
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    position: relative;
}

.step-num {
    display: inline-block;
    background-color: var(--color-primary);
    color: #fff;
    font-size: 0.8rem;
    font-weight: bold;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 10px;
}

.step-list li strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 10px;
}

/* =========================================================
   よくある質問（FAQ）
========================================================= */
.faq-list {
    background: #fff;
    border-radius: 8px;
}

.faq-item {
    border-bottom: 1px solid var(--color-border);
    padding: 20px 0;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-q, .faq-a {
    display: flex;
    align-items: flex-start;
}

.faq-q {
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--color-text);
}

.faq-a {
    color: #475569;
}

.icon-q {
    color: var(--color-accent);
    font-weight: bold;
    font-size: 1.2rem;
    margin-right: 10px;
    line-height: 1.2;
}

.icon-a {
    color: var(--color-primary);
    font-weight: bold;
    font-size: 1.2rem;
    margin-right: 10px;
    line-height: 1.2;
}
/* FAQ内のリスト用スタイル */
.faq-list {
    margin-top: 15px; /* 上の段落との余白 */
    padding-left: 0;
    list-style: none; /* デフォルトの黒丸を消す */
}

.faq-list li {
    margin-bottom: 15px;
	list-style: disc;
}

.faq-list li strong {
    display: block; /* 見出しをブロックにして改行させる */
    color: var(--color-primary); /* 文字色をネイビーに */
    margin-bottom: 5px;
	font-weight: 700;
}
.answer-content p{
margin-left: 0;
}
/* =========================================================
   CTAエリア（お申し込み）
========================================================= */
.cta-section {
    background-color: #fef3c7; /* 注意を引く黄色系 */
    padding: 30px 20px 60px;
    text-align: center;
}

.cta-inner {
    max-width: 1024px;
    margin: 0 auto;
}

.cta-inner h2 {
    border-bottom: none;
    margin-bottom: 20px;
}
.cta-inner h2::after {
    display: none;
}

.cta-inner p {
    font-weight: bold;
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.btn-tel, 
.btn-web {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border-radius: 50px;
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    transition: opacity 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.btn-tel:hover, 
.btn-web:hover {
    opacity: 0.8;
}

.btn-tel {
    background-color: #16a34a; /* 電話は安心のグリーン */
    font-size: 1.5rem;
}

.tel-time {
    font-size: 0.9rem;
    font-weight: normal;
    margin-top: 5px;
}

.btn-web {
    background-color: var(--color-accent); /* WEBはおなじみオレンジ */
    font-size: 1.2rem;
}

/* =========================================================
   ページトップへ戻るボタン
========================================================= */
/* ページ全体をスムーススクロールにする魔法の1行 */
html {
    scroll-behavior: smooth;
}

.page-top-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: var(--color-primary); /* ネイビーで誠実な印象に */
    color: #fff;
    text-decoration: none;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
    line-height: 1.2;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
    opacity: 0;           /* 最初は透明で見えない状態 */
    visibility: hidden;   /* クリックもできない状態 */
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 999;         /* 常に一番上に表示 */
text-align: center;
padding: 0;
}

/* ホバー時の挙動 */
.page-top-btn:hover {
    background-color: var(--color-accent); /* カーソルを合わせるとオレンジに */
    color: #fff;
}

/* JSで付与される表示用クラス */
.page-top-btn.is-show {
    opacity: 1;
    visibility: visible;
}
/* =========================================================
   SEO/AIO追加セクション（法律・安さの根拠）
========================================================= */
.legal-content, .trust-content {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.legal-content h3 {
    color: #dc2626; /* 法律の注意喚起なので赤系 */
    font-size: 1.2rem;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #fee2e2;
}

.legal-content p {
    margin-bottom: 20px;
}

.legal-list {
    background-color: var(--color-bg-light);
    padding: 20px 20px 20px 40px;
    margin-bottom: 20px;
    border-radius: 8px;
}

.legal-list li {
    margin-bottom: 10px;
    font-weight: bold;
}

.trust-reasons {
    margin-top: 25px;
}

.trust-reasons dt {
    color: var(--color-primary);
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 5px;
    padding-left: 15px;
    position: relative;
}

.trust-reasons dt::before {
    content: "■";
    color: var(--color-accent);
    position: absolute;
    left: 0;
}

.trust-reasons dd {
    margin-bottom: 25px;
    padding-left: 15px;
    color: #475569;
}
/* =========================================================
   SEO/AIO追加セクション（相場データ・コンプライアンス）
========================================================= */
.market-price-content, .compliance-content {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.price-list dt {
    color: var(--color-primary);
    font-size: 1.1rem;
    font-weight: bold;
    margin-top: 20px;
    margin-bottom: 5px;
    padding-left: 15px;
    border-left: 4px solid var(--color-primary);
}

.price-list dd {
    margin-bottom: 20px;
    padding-left: 15px;
    color: #475569;
}

.price-conclusion {
    margin-top: 30px;
    padding: 20px;
    background-color: #fef2f2; /* 薄い赤で強調 */
    border-radius: 8px;
    font-weight: bold;
    color: #dc2626;
    text-align: center;
}

.compliance-list {
    margin-top: 20px;
    list-style: none;
}

.compliance-list li {
    position: relative;
    padding-left: 1.8em;
    margin-bottom: 15px;
}

.compliance-list li::before {
    content: "🛡️"; /* 信頼感を表す盾の絵文字 */
    position: absolute;
    left: 0;
    top: -2px;
}
.common_footer{
margin-bottom: 27px;
}
.common_footer .flex_box{
justify-content: space-between;
}
/* =========================================================
   目立たせる基本料金の価格表示
========================================================= */
.price-box {
display: flex;          /* inline-flexから変更 */
    width: fit-content;     /* 横幅を中身のサイズにピタッと合わせる */
    margin-left: auto;      /* 左側に自動で余白を作って右に押し出す */
    align-items: center; /* 縦の中央で揃える */
    padding: 8px 20px 8px 8px; /* 左側はバッジがあるため余白少なめ */
    border-radius: 4px;
    margin-top: 10px;
	justify-content: flex-end;
}

/* --- 左側の「基本料金」バッジ --- */
.price-badge {
    background-color: #d30043; /* 濃いマゼンタレッド */
    color: #fff;
    padding: 6px 8px;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: bold;
    line-height: 1.2;
    margin-right: 15px; /* 金額との隙間 */
}
.price-badge .badge-bottom {
    letter-spacing: 0.05em;
}

/* --- 右側の金額部分 --- */
.price-amount {
    color: #d30043; /* バッジと同じ色 */
    font-weight: bold;
    display: flex;
    align-items: baseline; /* 下のライン（ベースライン）で揃える魔法の記述 */
}

/* 大きい数字の部分 */
.price-amount .price-num {
    font-size: 2.8rem; /* 数字をガツンと大きく */
    line-height: 1;
    letter-spacing: -0.02em; /* 数字の間隔を少し詰めて塊感を出す */
}

/* 小さい「円〜」の部分 */
.price-amount .price-unit {
    font-size: 1.4rem; /* 数字の半分くらいの大きさに */
    margin-left: 4px; /* 数字と少しだけ隙間をあける */
}
span.small{
font-size: 0.75rem;
}

/* =========================================================
   スマホ向けサイズ調整（必要に応じて）
========================================================= */
@media screen and (max-width: 599px) {
    .price-amount .price-num {
        font-size: 2.2rem; /* スマホ画面では少しだけ数字を縮小 */
    }
    .price-amount .price-unit {
        font-size: 1.2rem;
    }
}
/* =========================================================
   レスポンシブ対応（PC向けの調整）
========================================================= */
@media screen and (min-width: 768px) {
    /* PCでは文字サイズや余白を少し大きく */
    h2 { font-size: 1.8rem; }
    .hero-content h1 { font-size: 2rem; }
    
    /* CTAボタンを横並びに */
    .cta-buttons {
        flex-direction: row;
        justify-content: center;
        gap: 20px;
    }
    
    .btn-tel, .btn-web {
        width: 50%; /* ボタンを半分ずつの幅に */
    }
.hero-section {
min-height: 395px;     
}
}
/* =====================================
   スマホ用のスタイル（画面幅が767px以下の場合のみ適用）
===================================== */
@media screen and (max-width: 767px) {
    
    /* hidden-spクラスがついた要素を非表示にする */
    .common_footer {
        display: none;
    }
.profile .message {
  width: 100%;
}
.portrait {
width: 100%;
text-align: center;
}
.portrait img{
  width: 75%;
  height: auto;
}
	dl.faq-list{
		margin: 0 .5em;
	}
}
/* =========================================================
   ご利用の流れ（画像付きカード型）
========================================================= */
/* --- 1. 基本スタイル（スマホ向け） --- */
.flow-heading {
    background-color: var(--color-primary); /* 画像の通りネイビーの背景 */
    color: #fff;
    text-align: center;
    padding: 15px;
    font-size: 1.3rem;
    margin-bottom: 30px;
}

/* 以前設定したh2の下線をこの見出しだけ無効化 */
.flow-heading::after {
    display: none;
}

.flow-list {
    display: flex;
    flex-direction: column;
    gap: 15px; /* カード同士の隙間 */
}

.flow-item {
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 20px;
    background-color: #fff;
    display: flex;
    flex-direction: column; /* スマホでは画像が上、テキストが下 */
    gap: 15px;
}

.flow-image {
    width: 100%;
    margin: 0;
    border-radius: 4px;
    overflow: hidden;
    background-color: #808080; /* 画像がない時に表示されるグレーの四角 */
    flex-shrink: 0;
}

.flow-image img {
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1; /* 完全な正方形を保つ */
    object-fit: cover;
}

.flow-text {
    width: 100%;
}

.flow-title {
    display: flex;
    align-items: center; /* バッジとテキストの縦位置を揃える */
    gap: 12px; /* バッジとテキストの隙間 */
    font-size: 1.1rem;
    color: var(--color-primary);
    margin-top: 0;
    margin-bottom: 10px;
    padding-left: 0;
    border-left: none; /* 他のh3スタイルをリセット */
}

.flow-badge {
    background-color: var(--color-primary);
    color: #fff;
    font-size: 0.85rem;
    font-weight: bold;
    font-family: Arial, sans-serif; /* 英字を綺麗に見せる */
    padding: 4px 14px;
    border-radius: 20px; /* 角丸のバッジ */
	line-height: 100%;
}

.flow-text p {
    margin-bottom: 0;
	font-size: 1.2rem;
}

/* --- 2. PC・タブレット向け調整（横幅600px以上） --- */
@media screen and (min-width: 600px) {
    .flow-item {
        flex-direction: row; /* 横並びに変更 */
        align-items: flex-start; /* 上端で揃える */
    }
    
    .flow-image {
        width: 150px; /* PCでの画像サイズ（グレーの四角の大きさ） */
    }
    
    .flow-text {
        flex: 1; /* 余ったスペースをテキストエリアが埋める */
    }
}