@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/


/* CSS Document */ 

/*@font-face {
  font-family: 'Noto Serif JP';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/wp-content/themes/swell_child/assets/fonts/NotoSerifJP-VariableFont_wght.woff2') format('woff2');
}*/

:root {
  --logo_size_pcfix: 48px;
}
:root {
  --primary: #68961B;
  --primary-dark: #245f82;
  --primary-light: #d6ebf7;
  --primary-mid: #5ea0c5;
  --accent: #029d7b;
  --accent-light: #fdf3df;
  --green: #4FA40B;
  --green-light: #e8f4ea;
  --text: #333;
  --text-mid: #3d5566;
  --text-muted: #6b8394;
  --bg: #f5f9fc;
  --white: #ffffff;
  --border: #01afb8;
  --section-pad: 80px 0;
}
#body_wrap:not(.home) .l-mainContent__inner > .post_content {
  margin-top: 20px !important;
}

html {
  scroll-padding-top: 100px;
}
a {
  transition: color 0.5s ease, text-decoration 0.5s ease;
}
a:hover {
  text-decoration: underline !important;
  color: #0b5192;
}

.swell-block-button a:hover{
	text-decoration: none!Important;
}

@media (max-width: 959px) {
  #breadcrumb {
    display: none;
  }
}

h1.h1-text {
	display: block;
	font-size: 28px!Important;
	font-weight: bold;
	font-family: "Noto Serif JP", serif;
	line-height: 1.6;
	color: #639116!Important;
	padding: 0px!Important;
	margin:0!Important;
}
@media (max-width: 959px) {
 h1.h1-text {
    font-size: 18px!Important;
  }
}
/*　目次タイトル非表示 */
.p-toc.-simple .p-toc__ttl {
  display: none !Important;
}
@media (min-width: 960px) {
  .l-header {
    margin-top: 0px; /* 上の隙間の大きさ */
  }
  .l-header__inner.l-container {
    max-width: 1200px;
    padding-left: 20px;
    padding-right: 20px;
  }
  .-parallel .l-header__logo {
    text-align: left;
  }
  .-parallel .l-header__gnav .c-gnav {
    justify-content: center;
  }
  .-parallel-bottom .l-header__logo {
    padding: 0;
  }
  .-parallel-bottom .l-header__inner {
    padding-top: 0px;
  }
  .-frame-on .l-mainContent {
    padding-top: 0;
  }
}
.-parallel-bottom .l-header__logo {
  margin-bottom: 10px;
}
@media (max-width: 959px) {
  .c-headLogo__img {
    height: 150% !important;
  }
}
/*.post_content h1:first-of-type{
	background: linear-gradient(to right, #6b9e28 0%, #b3dc6c 100%)!Important;
	font-family: 'Noto Serif JP', serif;
	color:white;
	font-size: 1.4em;
	padding: .75em 1em;
	text-align: center;
}*/
.post_content h1:first-of-type {
  color: #68951b;
}
.post_content h2 {
  font-family: 'Noto Serif JP', serif;
  background: linear-gradient(to right, #6b9e28 0%, #b3dc6c 100%) !Important;
  text-align: center;
  margin: 2em 0 2em;
}
.post_content h3.list {
  background: url("img/h3.png") no-repeat left 8px;
  font-family: 'Noto Serif JP', serif;
  padding-left: 35px;
  font-size: 30px;
  margin: 0 0 1em;
}
.post_content h3.list::before {
  content: none;
}
@media (max-width: 960px) {
  .post_content h3.list {
    font-size: 24px;
  }
}
@media (min-width: 961px) {
  .-frame-on .p-breadcrumb {
    padding-left: 70px;
  }
}
/* ナビゲーション文字色 */
.c-gnav > li > a {
  color: #333 !important;
}

.c-gnav > .menu-item > a .ttl { font-size: 18px; }


.l-fixHeader .c-gnav > .menu-item > a .ttl { font-size: 15px; }

.c-gnav > li > a:hover {
  color: #639116!Important;
	text-decoration: none!Important;
}


/* ============================================
   ヘッダー 4カラムレイアウト（ロゴ左・残り右寄せ）
============================================ */
@media (min-width: 961px) {
  /* ロゴエリア全体をflexに */
  .l-header__logo {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    width: 100% !important;
    gap: 0 !important;
  }
  /* ① ロゴ本体：左端固定 */
  .l-header__logo .c-headLogo {
    flex: 0 0 auto;
  }
  /* ② 検索＋電話＋営業時間＋ボタン：まとめて右寄せ */
  .header-cta {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 20px;
    margin-left: auto; /* ← これでロゴ以外を右端へ押し込む */
  }
  /* 検索＋電話の縦並びブロック */
  .header-cta__search {
    display: flex;
    flex-direction: column;
    gap: 8px;
    justify-content: center;
  }
  /* 検索フォーム（虫眼鏡アイコン左・背景透明・グレー） */
  .header-cta__search form {
    display: flex;
    align-items: center;
    flex-direction: row-reverse;
    border: 1px solid #ccc;
    border-radius: 4px;
    overflow: hidden;
    background: #fff;
  }
  .header-cta__search form input[type="text"] {
    border: none;
    outline: none;
    padding: 5px 10px;
    font-size: 13px;
    width: 160px;
    background: transparent;
  }
  .header-cta__search form button {
    border: none;
    background: transparent;
    color: #888;
    padding: 5px 8px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1;
  }
  .header-cta__search form button::before {
    content: "🔍";
    font-size: 16px;
    filter: grayscale(100%);
  }
  /* 電話番号画像 */
  .header-cta__tel a {
    display: block;
    transition: opacity 0.2s;
  }
  .header-cta__tel a:hover {
    opacity: 0.75;
  }
  .header-cta__tel img {
    display: block;
    width: 189px;
    height: auto;
  }
  /* ③ 営業時間テキスト */
  .header-cta__info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
    flex: 0 0 auto;
  }
  .header-cta__info p {
    margin: 0;
    font-size: 16px;
    line-height: 1.5;
    color: #333;
    white-space: nowrap;
  }
  /* ④ CTAボタン2つ縦並び */
  .header-cta__buttons {
    display: flex;
    flex-direction: column;
    gap: 6px;
    justify-content: center;
    flex: 0 0 auto;
    margin-top: 14px;
  }
  .header-cta__btn {
    display: block;
    transition: opacity 0.2s;
  }
  .header-cta__btn:hover {
    opacity: 0.8;
  }
  .header-cta__btn img {
    display: block;
    /*width: 235px;
    height: auto;*/
  }
}
/* SP非表示 */
@media (max-width: 960px) {
  .header-cta {
    display: none;
  }
}

/* タブレット用 */
@media (min-width: 960px) and (max-width: 1116px) {
  .header-cta { gap: 10px; }
  .header-cta__search form input[type="text"] { width: 90px; }
  .header-cta__tel img { width: 130px; }
  .header-cta__info p { font-size: 12.5px; }
  .header-cta__btn img { width: 160px; }
  .c-headLogo img { width: 220px; }
  .c-gnav > .menu-item > a .ttl { font-size: 15px; }
}

/* 無料相談 全体のコンテナ */
.cta-container {
  width: 100%;
  max-width: 900px; /* 必要に応じて調整してください */
  margin: 0 auto;
  border: 2px solid #b873cd; /* 外枠の薄い紫 */
  box-sizing: border-box;
  font-family: "Hiragino Kaku Gothic ProN", "Helvetica Neue", Arial, sans-serif;
}
/* 上部エリア */
.cta-header {
  background-color: #ffffff;
  padding: 30px 20px 20px;
  text-align: center;
}
.cta-title {
  color: #b873cd; /* メインの紫 */
  font-size: 32px;
  font-weight: bold;
  margin: 0 0 10px 0;
}
.cta-subtitle {
  color: #333333;
  font-size: 14px;
  margin: 0;
  letter-spacing: 0.05em;
}
/* 下部エリア */
.cta-body {
  background-color: #b873cd; /* 背景の紫 */
  padding: 20px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
/* 電話番号ブロック */
.cta-phone-box {
  color: #ffffff;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.cta-phone-label {
  font-size: 13px;
  font-weight: bold;
  margin-bottom: 2px;
}
.cta-phone-number {
  font-size: 20px;
  font-weight: bold;
  color: #ffffff;
  text-decoration: none;
  line-height: 1.1;
}

.home .cta-phone-number {
	font-size: 30px;
}
/* ボタン共通設定 */
.cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 54px;
  padding: 0 24px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  border-radius: 0; /* 画像に合わせて角丸なし */
  box-sizing: border-box;
  transition: opacity 0.2s ease;
  flex: 1;
  max-width: 260px;
}
.cta-btn:hover {
    transition: color 0.5s ease, text-decoration 0.5s ease;
}
/* 無料相談窓口（白ボタン） */
.btn-white {
  background-color: #ffffff;
  color: #b873cd;
}
/* 鑑定依頼窓口（濃い紫ボタン） */
.btn-dark-purple {
  background-color: #853e99;
  color: #ffffff;
}

.btn-white:hover,
.btn-dark-purple:hover{
	text-decoration: none!Important;
}

.btn-white:hover{
	color: #853e99!Important;
	background-color: #e3ccea;
}

.btn-dark-purple:hover{
	color: #853e99!Important;
	background-color: #e3ccea;
}

/* ==========================================
   スマホ対応（タブレット・スマホサイズ）
   ========================================== */
@media screen and (max-width: 960px) {
  .cta-title {
    font-size: 24px; /* スマホ用に文字を少し小さく */
  }
  .cta-subtitle {
    font-size: 12px;
  }
  .cta-body {
    flex-direction: column; /* 縦並びに変更 */
    padding: 20px;
    gap: 15px;
  }
  .cta-phone-box {
    text-align: center;
    width: 100%;
  }
  .cta-phone-number {
    font-size: 32px;
  }
  .cta-btn {
    width: 100%; /* ボタンを横幅いっぱいに */
    max-width: 100%;
    height: 50px;
    font-size: 16px;
  }
}

/* フッタの固定表示ボタン */
.footer-fixed-cta{
  display:none;
}
@media (min-width: 961px){
  .footer-fixed-cta{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:10px;
    position:fixed;
    left:0;
    right:0;
    bottom:0;
    width:100%;
    z-index:9999;
    background:rgba(255,255,255,0.5);
    padding:10px 0;
    box-shadow:0 -2px 10px rgba(0,0,0,.1);
    transform:translateY(100%);
    transition:transform .4s ease;
    margin:0;
  }
  .footer-fixed-cta.is-show{
    transform:translateY(0);
  }

    .p-fixBtnWrap {
        bottom: 4.5em;
        right: 2.5em;
    }
	
	.l-footer .copyright{
		padding-bottom: 60px;
	}
}

/* 固定メニューの時、ドロップダウンメニューを動くようにする */
@media (min-width: 961px) {
  .l-fixHeader .c-gnav > li > .sub-menu {
    max-height: calc(100vh - 150px);
    overflow-y: auto;
  }
}

ul.menu_list li a span{
	font-size: 14px!Important;
}

/* トップページ */

.home #content {
  padding-top: 0;
   
}
@media (max-width: 959px) {
	.home #content {
	 	margin-top: 0px;
	}
}
/* スライダー アクティブドット色変更 */
div#n2-ss-2 .n2-bullet.n2-active,
div#n2-ss-2 .n2-bullet:hover,
div#n2-ss-2 .n2-bullet:focus,
div#n2-ss-3 .n2-bullet.n2-active,
div#n2-ss-3 .n2-bullet:hover,
div#n2-ss-3 .n2-bullet:focus{
  background: #639116 !important;
}

.n2-ss-slider-controls{
	padding-top: 10px!Important;
}


#n2-ss-2-align img:hover{
	opacity: 0.7; /* 不透明度を80%にする */
	transition: transform 0.3s ease, opacity 0.3s ease;
}
/* デフォルトは両方表示（初期状態として一旦両方隠す） */
#n2-ss-2-align,
#n2-ss-2-align ~ * > #n2-ss-2-align { }

/* PC（861px以上）：上のスライドを表示、下のスライドを非表示 */
@media (min-width: 861px) {
  #n2-ss-2-align {
    display: block;
  }
  #n2-ss-3-align {
    display: none;
  }
}

#n2-ss-2-align {
  max-width: 2000px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}


.n2-ss-slider .btn-detail-image img {
  width: clamp(60px, 12vw, 176px) !important;
  height: auto !important;
}

.n2-ss-slider .btn-price-image img {
  width: clamp(168px, 21.83vw, 262px) !important;
  height: auto !important;
}



/* スマホ（860px以下）：上のスライドを非表示、下のスライドを表示 */
@media (max-width: 959px) {
  #n2-ss-2-align {
    display: none;
  }
  #n2-ss-3-align {
    display: block;
  }
}

/* FAQ */
/* 奇数番目（1,3,5番目）：薄いグリーン背景 */
.swell-block-faq__item:nth-child(odd) .faq_q {
    background-color: #f2f6ed;
    border: 1px solid #ccc;
}

/* 偶数番目（2,4,6番目）：白背景 */
.swell-block-faq__item:nth-child(even) .faq_q {
    background-color: #ffffff;
    border: 1px solid #ccc;
}
.faq_a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0s;
    padding: 0!important;
}
.faq_a.open {
    max-height: fit-content;
    padding: 1em 1em 1em 3em!important;
    border:1px solid #ccc;
}
.swell-block-faq .faq_q:before,
.swell-block-faq .faq_a:before {
    box-shadow: none;
    left: 1px;
}
.swell-block-faq .swell-block-faq__item+.swell-block-faq__item {
    position: relative;
}
.swell-block-faq__item .faq_q:after {
    content: "\e910";
    font-family: icomoon!important;
    color: #333;
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.4em;
}
.swell-block-faq__item.open .faq_q:after {
    content: "\e912";
}

.swell-block-faq__item .faq_q:after {
    content: "\e91c";
}
.swell-block-faq__item.open .faq_q:after {
    content: "\e919";
}

@media (max-width: 959px) {
	.swell-block-faq .faq_q {
		padding-right:3em;
	}
	
	.swell-block-faq__item .faq_q:after{
		right:10px;
	}
}
/* ==========================================
   見出しのナンバリング＆SWELL下線 両立版
========================================== */

/* 1. ページ全体でカウンターを初期化 */
body {
  counter-reset: h-num;
}

/* 2. 見出し全体の共通設定 */
h3.heading-number-green {
  display: flex !important;
align-items: flex-start !important; /* テキストが長い場合、上揃えの方が自然 */
  flex-wrap: nowrap !important;       /* ← wrap → nowrap に変更 */
  position: relative !important;  /* 下線の位置の基準にする */
  
  /* 下線との間の余白を確保 */
  padding-bottom: 12px !important;  
  margin-bottom: 24px !important;  
  color:#68951b;
  border: none !important;        /* 標準のボーダーはオフに */
  background: none !important;
}

/* 3. 【復活】SWELL本来のアンダーライン（::afterに引っ越し） */
h3.heading-number-green::after {
  content: "" !important;
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 2px !important;
  /* SWELL固有の2色グラデーション線をそのまま適用 */
  background: repeating-linear-gradient(90deg, var(--color_htag) 0%, var(--color_htag) 29.3%, rgba(130, 188, 34, 0.2) 29.3%, rgba(130, 188, 34, 0.2) 100%) !important;
}

/* 4. 数字の丸部分（::beforeを丸数字専用に） */
h3.heading-number-green::before {
  /* 自動カウント */
  counter-increment: h-num;
  content: counter(h-num) !important;
  
  /* Flex並びに乗せる */
  position: static !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  flex-shrink: 0 !important;
  
  /* 丸のサイズ */
  width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;
  
  /* テキストとの間の余白 */
  margin-right: 14px !important;
  
  /* 背景（グラデーション）と文字色 */
  background: linear-gradient(135deg, #a3d95d, #6fa832) !important;
  color: #ffffff !important;
  font-size: 18px !important;
  font-family: sans-serif !important;
  line-height: 1 !important;
}

