@charset "UTF-8";

/*!
Template:   fc-master
Version:    1.1.3
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*固定ページの投稿日、更新日、投稿者名を非表示にする*/
.page .date-tags,
.page .author-info {
    display: none;
}
.no-sidebar .content .main {
background-color: rgb(255 255 255 / 30%);
    /*background-color: rgb(255 255 255 / 85%);*/
}
body{font-family: 'Noto Sans JP', sans-serif !important;}
.grecaptcha-badge { visibility: hidden; }
/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
}

:root {
    --golden-ratio: 1.618; /* 黄金比 */
    --base-font-size: 16px;
    --section-padding-v: calc(var(--base-font-size) * var(--golden-ratio) * 2); /* セクション上下の余白 */
    --section-padding-h: calc(var(--base-font-size) * var(--golden-ratio)); /* セクション左右の余白 */
    --border-thickness: 1px; /* 罫線の太さ */

    /* 基本色 */
    --primary-color: #333; /* 濃いグレー */
    --secondary-color: #272854; /* 青 */
    --background-color: #f8f9fa; /* 薄いグレー */
    --text-color: #333;
}

body {
    margin: 0;
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--text-color);
    background-color: var(--background-color);
    line-height: var(--golden-ratio); /* 行の高さを黄金比に */
    box-sizing: border-box;
    overflow-x: hidden; /* 横スクロール防止 */
}

/* コンテナ */
.container {
    width: 100%;
    max-width: calc(var(--base-font-size) * 60 * var(--golden-ratio)); /* コンテンツの最大幅を黄金比で調整 */
    margin: 0 auto;
    padding: 0 var(--section-padding-h);
    box-sizing: border-box;
}

/* ヒーローセクション */
.hero-section {
    text-align: center;
    padding: calc(var(--section-padding-v) * var(--golden-ratio)) 0; /* 左右パディングは .container で */
    min-height: 80vh; /* 画面高さの80% */
    display: flex; /* 中央寄せのためにflexを使用 */
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    /*background-color: var(--background-color);*/
	padding-top: 0;
}

/* ヒーローセクションの画像コンテナ */
.hero-image {
    position: relative; /* 子要素の絶対配置基準 */
    width: 100%;
    max-width: calc(var(--base-font-size) * 60 * var(--golden-ratio)); /* コンテナの最大幅に合わせる */
    min-height: 70vh; /* 画像の高さが足りない場合にコンテンツを収めるための最小高さ */
    margin: 0 auto;
    overflow: hidden;
    border-radius: 5px;
    box-sizing: border-box;
    display: flex; /* 内部コンテンツを中央寄せ */
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: calc(var(--base-font-size) * var(--golden-ratio)); /* 内部コンテンツのパディング */
    color: white; /* テキスト色を白に */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7); /* テキストに影をつけ視認性向上 */
}

.hero-image img { /* hero-image内のimgタグ自体 */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* コンテナに合わせて画像をトリミング */
    z-index: -1; /* テキストの下に配置 */
    display: block;
    border-radius: 5px; /* 親要素の角丸に合わせる */
}


/* 見出しパターン1 (大見出し) */
.heading-pattern-1 {
    font-size: calc(var(--base-font-size) * var(--golden-ratio) * var(--golden-ratio)); /* 大きく */
    font-weight: 700;
    margin-bottom: calc(var(--base-font-size) * var(--golden-ratio));
    line-height: 1.2;
    color: inherit !important; /* 親要素（.hero-image）の白色を継承 */
	background-color: unset !important;
}

/* 見出しパターン2 (中見出し) */
.heading-pattern-2 {
    font-size: calc(var(--base-font-size) * var(--golden-ratio) * 1.5);
    font-weight: 700;
    margin-bottom: calc(var(--base-font-size) * var(--golden-ratio) * 1.5);
    line-height: 1.2;
    color: var(--primary-color); /* メインカラー */
}

/* ヒーローセクションのPタグ */
.hero-section p {
    font-size: calc(var(--base-font-size) * var(--golden-ratio));
    max-width: calc(var(--base-font-size) * 30 * var(--golden-ratio)); /* LPの幅を黄金比で設定 */
    margin: 0 auto calc(var(--base-font-size) * var(--golden-ratio) * 2);
    color: inherit; /* 親要素（.hero-image）の白色を継承 */
}

/* CTAボタン */
.cta-button {
    display: inline-block;
    padding: calc(var(--base-font-size) * 0.8) calc(var(--base-font-size) * var(--golden-ratio) * 1.5);
    text-decoration: none;
    font-weight: 700;
    font-size: calc(var(--base-font-size) * var(--golden-ratio));
    transition: all 0.3s ease;
    border-radius: 5px;
}

.cta-button.primary {
    background-color: var(--secondary-color); /* 青 */
    color: white;
    border: none;
    margin-right: calc(var(--base-font-size) * var(--golden-ratio));
}

.cta-button.primary:hover {
    background-color: #140c34; /* ホバーで少し濃い青 */
}

.cta-button.secondary {
    background-color: transparent;
    color: white; /* 白に変更 */
    border: 1px solid white; /* 白に変更 */
}

.cta-button.secondary:hover {
    background-color: white;
    color: var(--primary-color); /* ホバーでテキスト色をプライマリ色に */
}

.cta-buttons {
    margin-top: calc(var(--base-font-size) * var(--golden-ratio));
}

/* セクション共通スタイル */
.section {
    padding: var(--section-padding-v) 0;
    text-align: center;
    box-sizing: border-box;
}

/* 罫線付きセクション */
.section-border-top {
    border-top: var(--border-thickness) solid var(--primary-color);
}

.section p {
    font-size: var(--base-font-size);
    margin-bottom: calc(var(--base-font-size) * var(--golden-ratio));
    max-width: calc(var(--base-font-size) * 40 * var(--golden-ratio));
    margin-left: auto;
    margin-right: auto;
}

/* グリッド共通スタイル */
.content-grid,
.feature-grid,
.gallery-grid {
    display: grid;
    gap: calc(var(--base-font-size) * var(--golden-ratio) * 1.5); /* グリッド間の余白 */
    margin-top: calc(var(--base-font-size) * var(--golden-ratio) * 2);
    text-align: left; /* 各アイテムのテキストは左寄せ */
}

/* 2カラムグリッド */
.grid-2-columns {
    grid-template-columns: repeat(auto-fit, minmax(calc(var(--base-font-size) * 25 * var(--golden-ratio)), 1fr)); /* アイテム最小幅を黄金比で */
}

/* 3カラムグリッド */
.grid-3-columns {
    grid-template-columns: repeat(auto-fit, minmax(calc(var(--base-font-size) * 18 * var(--golden-ratio)), 1fr)); /* アイテム最小幅を黄金比で */
}

.feature-item,
.testimonial-item,
.content-item,
.wish-item,
.gallery-item {
    padding: calc(var(--base-font-size) * var(--golden-ratio));
    /* border: var(--border-thickness) solid var(--primary-color); */ /* 枠線を削除 */
    box-sizing: border-box;
    border-radius: 5px;
}

.feature-item h3,
.content-item h3 {
    font-size: calc(var(--base-font-size) * var(--golden-ratio));
    font-weight: 700;
    margin-top: calc(var(--base-font-size) * var(--golden-ratio)); /* 画像との間に余白 */
    margin-bottom: calc(var(--base-font-size) / 2);
    line-height: 1.2;
    color: var(--primary-color);
}

.feature-item p,
.testimonial-item p,
.content-item p,
.gallery-item p {
    font-size: var(--base-font-size);
    margin-bottom: 0;
    max-width: none; /* 親の max-width を適用しない */
}

/* 黄金比の画像を適用するimgタグ用クラス */
.golden-ratio-img {
    width: 100%;
    height: auto; /* 高さは自動調整 */
    aspect-ratio: var(--golden-ratio) / 1; /* 幅:高さが黄金比になるように設定 */
    object-fit: cover; /* 画像が要素に収まるようにトリミング */
    display: block; /* 余分な下マージンを削除 */
    /* border: var(--border-thickness) solid var(--primary-color); */ /* 枠線を削除 */
    box-sizing: border-box;
    border-radius: 3px; /* 少し角丸に */
    margin-bottom: calc(var(--base-font-size) * var(--golden-ratio) / 2); /* 下のコンテンツとのマージン */
}


.testimonial-item .author {
    font-size: var(--base-font-size);
    font-weight: 400;
    text-align: right;
    margin-top: calc(var(--base-font-size));
}

/* 新しい1カラムセクションのスタイル */
.section-single-column {
    background-color: var(--background-color); /* 背景色を他のセクションと合わせる */
}

/* CTAセクション */
.cta-section {
    padding-bottom: calc(var(--section-padding-v) * var(--golden-ratio)); /* 下を広めに */
    background-color: rgb(152 190 238 / 16%);
}

/* フッター */
.footer {
    padding: calc(var(--base-font-size) * var(--golden-ratio));
    font-size: calc(var(--base-font-size) * 0.8);
    text-align: center;
    border-top: var(--border-thickness) solid var(--primary-color);
}

/* JavaScriptで制御するアニメーション */
.reveal-element {
    opacity: 0;
    transform: translateY(20px); /* 少し下からフェードイン */
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal-element.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* アニメーションディレイ (現在はヒーローセクションでは未使用) */
.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }
.delay-4 { transition-delay: 0.8s; }
.delay-5 { transition-delay: 1.0s; }

/* wish セクション */
.wish-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(calc(var(--base-font-size) * 20 * var(--golden-ratio)), 1fr));
    gap: calc(var(--base-font-size) * var(--golden-ratio));
    margin-top: calc(var(--base-font-size) * var(--golden-ratio) * 2);
    text-align: left;
}

.wish-item h3 {
    font-size: calc(var(--base-font-size) * var(--golden-ratio));
    font-weight: 700;
    margin-bottom: calc(var(--base-font-size));
    color: var(--primary-color);
}

.wish-item ul {
    /*list-style: none;*/
    padding: 0;
    margin: 0;
	list-style-position: inside;
}

.wish-item li {
    font-size: var(--base-font-size);
    margin-bottom: calc(var(--base-font-size) / 2);
}

/* フローセクション */
.flow-steps {
    display: flex;
    flex-direction: column;
    gap: calc(var(--base-font-size) * var(--golden-ratio) * 2);
    margin-top: calc(var(--base-font-size) * var(--golden-ratio) * 2);
}

.flow-step {
    display: flex;
    align-items: center;
    padding: calc(var(--base-font-size) * var(--golden-ratio));
    border: var(--border-thickness) solid var(--primary-color);
    border-radius: 5px;
    text-align: left;
}

.step-number {
    font-size: calc(var(--base-font-size) * var(--golden-ratio) * 1.5);
    font-weight: 700;
    color: var(--secondary-color);
    margin-right: calc(var(--base-font-size) * var(--golden-ratio));
    width: calc(var(--base-font-size) * var(--golden-ratio) * 2);
    height: calc(var(--base-font-size) * var(--golden-ratio) * 2);
    border: var(--border-thickness) solid var(--secondary-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.flow-step h3 {
    font-size: calc(var(--base-font-size) * var(--golden-ratio));
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: calc(var(--base-font-size) / 2);
}

.flow-step p {
    font-size: var(--base-font-size);
    margin-bottom: 0;
}

/*個人情報保護方針*/
body.privacy-policy .article h3,
body.warranty .article h2{margin: 1em 0 0;}

/* FAQセクション */
.fc-faq-list {
    display: grid; /* グリッド表示に戻す */
    grid-template-columns: repeat(auto-fit, minmax(calc(var(--base-font-size) * 20 * var(--golden-ratio)), 1fr)); /* 2カラムに戻す */
    gap: calc(var(--base-font-size) * var(--golden-ratio) * 1.5); /* グリッド間の余白 */
    margin-top: calc(var(--base-font-size) * var(--golden-ratio) * 2); /* 上マージン */
}

.fc-faq-item {
    padding: calc(var(--base-font-size) * var(--golden-ratio));
    border: var(--border-thickness) solid var(--primary-color); /* 各項目にボーダーを追加 */
    border-radius: 5px;
    box-sizing: border-box;
    /* margin-bottom は gap で対応するため削除 */
    text-align: left; /* 各アイテムのテキストは左寄せ */
}

/* .fc-faq-item:last-child も gap で対応するため削除 */

.fc-faq-item h3 {
    font-size: calc(var(--base-font-size) * var(--golden-ratio));
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: calc(var(--base-font-size) / 2); /* QとAの間のマージン */
}

.fc-faq-item p {
    font-size: var(--base-font-size);
    margin-bottom: 0; /* 回答の下マージンは不要 */
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    :root {
        --base-font-size: 14px; /* モバイルではベースフォントを小さく */
        --section-padding-v: calc(var(--base-font-size) * var(--golden-ratio) * 1.5);
        --section-padding-h: calc(var(--base-font-size) * 1);
    }

    .hero-section {
        min-height: 60vh;
        /*padding: var(--section-padding-v) var(--section-padding-h);*/
		padding-bottom: 15px;
        padding-top: 15px;
    }

    .hero-image {
        min-height: 50vh; /* モバイルでの最小高さ調整 */
        padding: calc(var(--base-font-size) * var(--golden-ratio) * 0.8);
    }

    .heading-pattern-1 {
        font-size: calc(var(--base-font-size) * var(--golden-ratio) * 1.5);
    }

    .heading-pattern-2 {
        font-size: calc(var(--base-font-size) * var(--golden-ratio) * 1.2);
    }

    .hero-section p {
        font-size: var(--base-font-size);
        max-width: 90%;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-button.primary {
        margin-right: 0;
        margin-bottom: calc(var(--base-font-size) * var(--golden-ratio));
    }

    .grid-2-columns,
    .grid-3-columns,
    .wish-grid {
        grid-template-columns: 1fr; /* モバイルでは1列に */
        gap: calc(var(--base-font-size) * var(--golden-ratio));
    }

	.fc-faq-list { /* モバイルでは1列に設定 */
        grid-template-columns: 1fr;
        gap: calc(var(--base-font-size) * var(--golden-ratio) * 1.5); /* モバイルでの項目間ギャップ */
    }
	
    .feature-item,
    .testimonial-item,
    .content-item,
    .wish-item,
    .gallery-item,
    .fc-faq-item {
        padding: calc(var(--base-font-size) * var(--golden-ratio) * 0.8);
    }

    .golden-ratio-img {
        height: auto;
        aspect-ratio: var(--golden-ratio) / 1;
        width: 100%;
        max-width: none;
        margin: 0 auto calc(var(--base-font-size) * var(--golden-ratio));
    }

    .flow-step {
        flex-direction: column;
        text-align: center;
    }

    .step-number {
        margin-right: 0;
        margin-bottom: calc(var(--base-font-size) * 0.8);
    }
}

/*cocoon reset*/
.content {margin-top: 0px;}
.main {padding: 0;}

.article h2 {
	padding: 0;
    font-size: calc(var(--base-font-size) * var(--golden-ratio) * 1.5);
    font-weight: 700;
    margin-bottom: calc(var(--base-font-size) * var(--golden-ratio) * 1.5);
    line-height: 1.2;
    color: var(--primary-color);
	background-color: #fff;
}
.article h3 {
    /*border-left: 7px solid var(--cocoon-middle-thickness-color);
    border-right: 1px solid var(--cocoon-thin-color);
    border-top: 1px solid var(--cocoon-thin-color);
    border-bottom: 1px solid var(--cocoon-thin-color);
    font-size: 22px;*/
    padding: 0;
	border: none;
}
.article h1, .article h2, .article h3, .article h4, .article h5, .article h6 {
	line-height: normal;
}
.entry-content {
    margin-top: 1em; 
	margin-bottom: 0em;
}
.article-header, .sns-share{
	display: none;
}
@media screen and (max-width: 834px) {
    main.main, div.sidebar {padding: 10px 0 0 0 !important;}
	.entry-content {margin-top: 2.5em;}
}
@media screen and (min-width: 481px) {
    .flow-step h3{width: 9em;}
	.flow-step p {
		margin-left: 50px;
	}
}
/*cocoon reset*/
.spOnly{display: none;}
.pcOnly{display: block;}
/* より小さなデバイス向け (任意) */
@media (max-width: 480px) {
    :root {
        --base-font-size: 13px;
    }
    .hero-section h2 {
        font-size: calc(var(--base-font-size) * var(--golden-ratio));
    }
	.spOnly{display: block;}
	.pcOnly{display: none;}
}


/* CSS for My FAQ page - Monochromatic Styling with Tightened Vertical Accordion and unique names */
body.faq {
	color: #333; /* Default text color, slightly softer than pure black */
	font-family: 'メイリオ', Meiryo, 'ヒラギノ角ゴ ProN', 'Hiragino Kaku Gothic ProN', sans-serif;
	line-height: 1.6; /* Tighter line height for more compact look */
	margin: 0;
	padding: 0;
}

.my-faq-container,
.my-contact-container,
.warranty-container,
.my-privacy-policy,
.my-company-profile{
	max-width: 1100px;
	margin: 40px auto;
	padding: 30px;
	background-color: #fff;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
	border-radius: 8px;
}

.my-faq-container h2 {
	text-align: center;
	color: #222;
	margin-bottom: 40px; /* Slightly reduced margin */
	font-size: 2.5em;
	font-weight: 700;
	letter-spacing: 0.05em;
}

/* Category Navigation Style */
/* 全てのカテゴリナビゲーションに適用されるスタイル */
.my-faq-category-nav {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	margin-bottom: 30px; /* Reduced margin */
	padding-bottom: 10px; /* Reduced padding */
	border-bottom: 1px solid #eee;
	background-color: rgb(0 0 0 / 4%);
}

/* 各ナビゲーションリンクのスタイル */
.my-faq-category-nav a {
	display: block;
	margin: 0;
	padding: 8px 15px;
	text-decoration: none;
	color: #555;
	font-weight: 600;
	font-size: 1em;
	position: relative;
	transition: color 0.3s ease;
}

.my-faq-category-nav a::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 50%;
	width: 0;
	height: 2px;
	background-color: #000;
	transition: width 0.3s ease, left 0.3s ease;
}

.my-faq-category-nav a::before {
	content: '|';
	color: #ccc;
	right: -1px; /* PC表示でのセパレータ位置 */
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	line-height: 1;
	font-size: 0.9em;
	pointer-events: none;
}

.my-faq-category-nav a:last-child::before {
	content: none;
}

.my-faq-category-nav a:hover,
.my-faq-category-nav a.active {
	color: #000;
}

.my-faq-category-nav a:hover::after,
.my-faq-category-nav a.active::after {
	width: 100%;
	left: 0;
}

/* FAQ Category Section */
.my-faq-category-section h3 {
	font-size: 1.6em;
	color: #222;
	margin-top: 50px;
	margin-bottom: 25px;
	padding-left: 0;
	border-left: none;
	position: relative;
	text-align: center;
}

.my-faq-category-section h3::before {
	content: '';
	position: absolute;
	top: 50%;
	left: 0;
	right: 0;
	height: 1px;
	background-color: #eee;
	z-index: 1;
}

.my-faq-category-section h3 span {
	background-color: #fff;
	padding: 0 18px;
	position: relative;
	z-index: 2;
	display: inline-block;
}

/* --- Accordion Styling for Q & A Vertical Layout --- */
.my-faq-item {
	margin-bottom: 0;
	border-bottom: 1px solid #eee;
	padding: 0;
}

.my-faq-item:last-of-type {
	border-bottom: none;
}

.my-faq-question {
	background-color: transparent;
	padding: 12px 0;
	cursor: pointer;
	display: flex;
	align-items: flex-start;
	font-weight: 600;
	color: #333;
	font-size: 1.05em;
	position: relative;
	transition: color 0.3s ease;
	text-align: left;
}

.my-faq-question:hover {
	color: #000;
}

/* Q. prefix */
.my-faq-question::before {
	content: 'Q.';
	font-weight: 700;
	color: #555;
	margin-right: 8px;
	flex-shrink: 0;
	white-space: nowrap;
}

/* Question text content */
.my-faq-question span {
	flex-grow: 1;
	line-height: inherit;
}

/* +/- icon */
.my-faq-question::after {
	content: '+';
	font-size: 1.4em;
	color: #888;
	transition: transform 0.3s ease, color 0.3s ease;
	flex-shrink: 0;
	margin-left: 10px;
	align-self: center;
}

.my-faq-question.active::after {
	content: '-';
	transform: rotate(0deg);
	color: #000;
}

.my-faq-answer {
	padding: 0;
	background-color: #fff;
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.5s ease-in-out, padding 0.5s ease-in-out;
	color: #555;
	font-size: 0.95em;
	line-height: 1.6;
	text-align: left;
}

/* A. prefix */
.my-faq-answer::before {
	content: 'A.';
	font-weight: 700;
	color: #555;
	margin-right: 8px;
	float: left;
	padding-top: 2px;
}

/* Answer text content */
.my-faq-answer p {
	padding: 0 0 12px 0;
	margin: 0;
	overflow: hidden;
	display: block;
}

/* JavaScript toggles this class for opening */
.my-faq-answer.active {
	max-height: 500px;
	padding-bottom: 12px;
}
/* --- End Accordion Styling --- */

.my-faq-cta {
	text-align: center;
	margin-top: 60px;
	padding: 30px;
	background-color: #f5f5f5;
	border-radius: 8px;
	border: 1px solid #eee;
}

.my-faq-cta p {
	font-size: 1.2em;
	margin-bottom: 20px;
	color: #333;
	font-weight: 600;
}

.my-faq-cta a {
	display: inline-block;
	background-color: #000;
	color: #fff;
	padding: 16px 30px;
	text-decoration: none;
	border-radius: 5px;
	font-size: 1.1em;
	font-weight: 700;
	transition: background-color 0.3s ease, transform 0.2s ease;
}

.my-faq-cta a:hover {
	background-color: #333;
	transform: translateY(-2px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
	.my-faq-container {
		margin: 15px auto;
		padding: 15px;
		box-shadow: none;
		border-radius: 0;
	}
	.my-faq-container h2 {
		font-size: 1.8em;
		margin-bottom: 25px;
	}
	/* 各カテゴリナビゲーションのモバイルスタイル */
	.my-faq-category-nav {
		justify-content: center; /* 中央寄せ */
		overflow-x: hidden;
		white-space: normal; /* 折り返しを許可 */
		-webkit-overflow-scrolling: auto;
		padding-bottom: 8px;
		margin-top: 15px;
		margin-bottom: 20px;
	}
	.my-faq-category-nav a {
		flex-grow: 1;
		flex-shrink: 1;
		flex-basis: auto;
		max-width: none;
		text-align: center;
		margin: 2px;
		padding: 8px 5px;
		font-size: 0.8em;
		min-width: 80px;
		position: relative;
	}
	/* nth-childによるマージン調整は、この自然な折り返しと縦棒表示には不要です。*/
	.my-faq-category-nav a:nth-child(odd),
	.my-faq-category-nav a:nth-child(even),
	.my-faq-category-nav a:nth-child(1),
	.my-faq-category-nav a:nth-child(2),
	.my-faq-category-nav a:nth-child(n+3) {
		/* これらのセレクタは削除するか、`margin: 2px;` だけを適用するようにしてください。 */
		/* 今回は、下記のように共通のmargin設定を優先させるためコメントアウトし、
		   `.my-faq-category-nav a` に設定された `margin: 2px;` を有効にします。 */
		/* margin: 2px; */
	}

	.my-faq-category-nav a::before {
		content: '|'; /* **修正: モバイルでも縦棒を表示する** */
		display: block; /* **修正: display: none; を解除** */
		color: #ccc; /* 縦棒の色 */
		right: 0px; /* **修正: 縦棒の位置を調整** */
		position: absolute;
		top: 50%;
		transform: translateY(-50%);
		line-height: 1;
		font-size: 0.9em;
		pointer-events: none;
	}
    /* 最後の要素には縦棒を表示しない */
    .my-faq-category-nav a:last-child::before {
        content: none;
    }

	.my-faq-category-section h3 {
		font-size: 1.4em;
		margin-top: 30px;
		margin-bottom: 15px;
	}
	.my-faq-category-section h3 span {
		padding: 0 12px;
	}
	.my-faq-question {
		font-size: 0.95em;
		padding: 10px 0;
	}
	.my-faq-question::before {
		margin-right: 6px;
	}
	.my-faq-question::after {
		margin-left: 8px;
	}
	.my-faq-answer p {
		padding: 0 0 10px 0;
	}
	.my-faq-answer::before {
		margin-right: 6px;
	}
	.my-faq-cta {
		margin-top: 40px;
		padding: 25px;
	}
	.my-faq-cta p {
		font-size: 1em;
		margin-bottom: 15px;
	}
	.my-faq-cta a {
		padding: 12px 25px;
		font-size: 1em;
	}
}

#geometricCanvas { /* IDセレクタは詳細度が高い */
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
}

/*3列*/
/* Grid コンテナ */
.container-grid {
    display: grid; /* Gridコンテナにする */
    grid-template-columns: repeat(3, 1fr); /* 3つの列を均等な幅（1fr）で作成 */
    gap: 20px; /* グリッドアイテム間の間隔 */
    padding: 20px;
    max-width: 1100px; /* 最大幅を設定 */
    margin: 40px auto; /* 中央寄せ */
    /*background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);*/
}

body.contact .container-grid {
	display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 0 20px 15px;
    max-width: 1100px;
    margin: 0px auto 0px;
}

/* Grid アイテム */
.item-grid {
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #f9f9f9;
    box-sizing: border-box; /* paddingとborderを幅に含める */
    text-align: center;
}
body.contact .item-grid {
    padding: 0;
    border: none;
    border-radius: 5px;
    background-color: unset;
    box-sizing: border-box;
    text-align: center;
}

/* レスポンシブ対応の例 */
@media (max-width: 768px) {
    .container-grid {
        grid-template-columns: 1fr; /* 画面が狭くなったら1列にする */
    }
    body.contact .container-grid {
        grid-template-columns: 1fr; /* 画面が狭くなったら1列にする */
    }	
}
/*送信ボタン*/
body.contact input[type=submit] {
    -webkit-appearance: none;
    border: 1px solid #ccc;
    background-color: #423883;
    color: #fff;
    border-radius: 25px;
    font-size: 1.1em;
}
body.contact input[type=submit]:hover {
    -webkit-appearance: none;
    border: 1px solid #ccc;
    background-color: #333;
    color: #fff;
    border-radius: 25px;
    font-size: 1.1em;
}
input.zip{
	display: block;
	margin-bottom: 3px;
}

/*サンクスページ*/
/* メインコンテンツ */
body.thanks .thank-you-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 120px); /* ヘッダーとフッターの高さを考慮 */
    padding: 40px 20px;
    box-sizing: border-box;
    /* PC表示時の最大幅を1100pxに設定 */
    max-width: 1100px;
    margin: 40px auto; /* 中央寄せ */
}

body.thanks .thank-you-card {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    padding: 40px;
    width: 100%; /* max-widthが効くように100%に */
    text-align: center;
}

body.thanks .icon-wrapper {
    margin-bottom: 25px;
}

body.thanks .check-icon {
    width: 80px;
    height: 80px;
    color: #28a745; /* 緑色のチェックマーク */
}

/* H2タグのスタイル（修正：黒基調） */
body.thanks h2 {
    font-size: 36px;
    color: #212529; /* 黒基調の色 */
    margin-bottom: 20px;
}

body.thanks .message-intro {
    font-size: 18px;
    margin-bottom: 30px;
    color: #555;
}

body.thanks .next-steps {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 30px;
    text-align: left;
}

/* H3タグのスタイル（修正：黒基調） */
body.thanks .next-steps h3 {
    font-size: 24px;
    color: #212529; /* 黒基調の色 */
    margin-top: 0;
    margin-bottom: 20px;
    text-align: center;
}

body.thanks .next-steps ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

body.thanks .next-steps li {
    margin-bottom: 20px;
    padding-left: 15px;
    position: relative;
}

body.thanks .next-steps li:last-child {
    margin-bottom: 0;
}

body.thanks .next-steps li strong {
    color: #333;
    font-size: 18px;
    display: block;
    margin-bottom: 5px;
}

body.thanks .next-steps li p {
    font-size: 16px;
    margin: 0;
    color: #666;
}

body.thanks .contact-link {
    display: inline-block;
    margin-top: 10px;
    color: #333;
    font-weight: 700;
    transition: color 0.3s ease;
}

body.thanks .contact-link:hover {
    color: #0056b3;
}

body.thanks .additional-info {
    font-size: 16px;
    color: #555;
    margin-bottom: 30px;
}

body.thanks .cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* 小さい画面で折り返す */
}

body.thanks .btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 700;
    transition: all 0.3s ease;
    text-decoration: none;
    cursor: pointer;
    border: none;
    text-align: center;
}

body.thanks .primary-btn {
    background-color: #333;
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(0, 123, 255, 0.3);
}

body.thanks .primary-btn:hover {
    background-color: #0056b3;
    box-shadow: 0 6px 15px rgba(0, 123, 255, 0.4);
    transform: translateY(-2px);
}

body.thanks .secondary-btn {
    background-color: #e9ecef;
    color: #495057;
    border: 1px solid #ced4da;
}

body.thanks .secondary-btn:hover {
    background-color: #dee2e6;
    color: #343a40;
}

/* フッター部分は変わらないため省略 */
body.thanks .site-footer { /* ... */ }


/* レスポンシブ対応 */
@media (max-width: 768px) {
    body.thanks .header-content {
        flex-direction: column;
        gap: 10px;
    }

    body.thanks .main-nav ul {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }

    body.thanks .thank-you-card {
        padding: 10px;
    }

	body.thanks .next-steps {
		background-color: #f8f9fa;
		border-radius: 8px;
		padding: 10px 5px;
		margin-bottom: 30px;
		text-align: left;
	}	
	body.thanks .next-steps li {
		margin-bottom: 20px;
		padding-left: 10px;
		position: relative;
	}	
	body.thanks .additional-info {
		font-size: 14px;
		color: #555;
		margin-bottom: 30px;
		text-align: left;
	}
	
    /* H2タグのレスポンシブスタイル */
    body.thanks h2 {
        font-size: 25px;
    }

    body.thanks .message-intro {
        font-size: 16px;
    }

    /* H3タグのレスポンシブスタイル */
    body.thanks .next-steps h3 {
        font-size: 20px;
    }

    body.thanks .next-steps li strong {
        font-size: 16px;
    }

    body.thanks .next-steps li p {
        font-size: 14px;
    }

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

    body.thanks .btn {
        width: 100%;
        box-sizing: border-box;
    }
}
.cdp-copy-alert-success {display: none !important;}