@charset "utf-8";


/* =Reset default browser CSS.
Based on work by Eric Meyer: http://meyerweb.com/eric/tools/css/reset/index.html
-------------------------------------------------------------- */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
    border: 0;
    font-family: "ＭＳ ゴシック", "MS Gothic", "Osaka－等幅", Osaka-mono, monospace;
    font-size: 14px;
    font-style: inherit;
    font-weight: inherit;
    margin: 0;
    outline: 0;
    padding: 0;
    vertical-align: baseline;
}
:focus {outline: 0;}

ol, ul {list-style: none;}
table {border-collapse: separate;border-spacing: 0;}/*191014tanaka*/
/*table {
    border-collapse:  collapse; 
}
th,td {
    border: solid 2px; 
    padding: 5px;      
}*/

caption, th, td {font-weight: normal;text-align: left;}
blockquote:before, blockquote:after,q:before, q:after {content: "";}
blockquote, q {quotes: "" "";}
a img{border: 0;}
figure{margin:0}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {display: block;}
/* -------------------------------------------------------------- */

body{
color:#333;
font:12px verdana,"ヒラギノ丸ゴ ProN W4","Hiragino Maru Gothic ProN","メイリオ","Meiryo","ＭＳ Ｐゴシック","MS PGothic",Sans-Serif;
line-height:1.5;
background:#ffffff;
-webkit-text-size-adjust: none;
}

html{background:#68552a;}


/* リンク設定
------------------------------------------------------------*/
a{color:#2236FF;text-decoration:none;}
a:hover{color:#1D0084;}
a:active, a:focus{outline:0;}


/* 全体
------------------------------------------------------------*/
#wrapper{
margin:0 auto;
padding:0 1%;
width:98%;
position:relative;
}

.inner{
    margin: 0 auto;
    width: 100%;
    font-family: "ＭＳ Ｐ明朝", "MS PMincho", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", serif;
}


/*************
/* ヘッダー
*************/

#header{
    padding: 10px 0 5px;
    overflow: hidden;
    border-bottom: 1px solid #48370d;
    background-color: #2F1C00;
}

* html #header{height:1%;}

#header h1{
font-size:14px;
font-weight:normal;
color:#fff;
}

#header h2{
font-size:18px;
font-weight:normal;
color:#fff;
}

/*************
/* ロゴ
*************/
#header .logo{
float:left;
padding:5px 0 0;
}

.logo a{
font-size:24px;
font-weight:bold;
line-height:1;
color:#fff;
}

.logo span{
font-size:12px;
font-weight:normal;
}

#header .logo2{
float:left;
padding:2px 0 0;
}

.logo2 a{
font-size:22px;
font-weight:bold;
line-height:1.5;
color:#fff;
font-family:serif;
}

.logo2 span{
font-size:12px;
font-weight:normal;
}

/**************************
/* トップナビゲーション
**************************/
ul#topnav{
    float: right;
    overflow: hidden;
    color: #F55616;
    font-family: "ＭＳ Ｐ明朝", "MS PMincho", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", serif;
}

* html ul#topnav{height:1%;}

ul#topnav li{
float:left;
margin:0 5px;
text-align:center;
}

ul#topnav a{
font-size:15px;
display:block;
padding:10px 10px;
color:#fff;
}

ul#topnav span{
color:#cdcdcd;
font-size:10px;
}

ul#topnav li.active a,ul#topnav a:hover{
background:#48370d;
border-radius:5px;
}

ul#topnav2{
    float: right;
    overflow: hidden;
    color: #F55616;
    font-family: "ＭＳ Ｐ明朝", "MS PMincho", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", serif;
}

* html ul#topnav2{height:1%;}

ul#topnav2 li{
float:left;
margin:0 5px;
text-align:center;
}

ul#topnav2 a{
font-size:15px;
display:block;
padding:10px 10px;
color:#fff;
}

ul#topnav2 li.active a,ul#topnav2 a:hover{
background:#48370d;
border-radius:5px;
}


/**************************
/* メイン画像（トップページ+サブページ）
**************************/
#mainBanner{
    margin: 30px auto;
    padding: 0;
    width: 100%;
    position: relative;
    line-height: 0;
    text-align: left;
}

#mainBanner img{
max-width:100%;
height:auto;
border-radius:3px;
}

.pc { display:none;}
.sp { display:inline;}

@media screen and (min-width:480px) { 
    .pc { display:inline;}
    .sp { display:none;}
}

.slogan{
position:absolute;
max-width:100%;
height:auto;
bottom:0;
left:0;
padding:5px 10px;
line-height:1.4;
background:url(images/tp.png);
}

.slogan h2{
padding-bottom:5px;
color:#333;
font-size:20px;
}

.slogan h3{
font-size:14px;
color:#666;
}

/* サブページ スローガンの背景・黒*/
.subImg .slogan{background:url(images/tp2.png);}

.subImg .slogan h2{color:#fff;}
.subImg .slogan h3{color:#ccc;}


/**************************
/* グリッド
**************************/
.gridWrapper{
padding-bottom:20px;
overflow: hidden;
}

* html .gridWrapper{height:1%;}
	
.grid{
float:left;
border-radius:5px;
background:#fff;
}

.grid h3{
    padding: 20px 5px;
    text-align: center;
    color: #fff;
    border-radius: 5px 5px 0 0;
    font-size: 16px;
    background-color: #0E0C48;
    font-family: "ＭＳ Ｐ明朝", "MS PMincho", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", serif;
}

.grid p{
padding:5px 10px;
font-size:14px;
}
.grid p2{
padding:5px 10px;
font-size:16px;
}

.gridWrapper img{
max-width:100%;
height:auto;
}

/* フッター内のグリッド(3カラム) */
#footer .grid{
color:#fff;
background:transparent;
}

#footer .grid p{padding:0;}


/*************
メイン コンテンツ
*************/

section.content{
padding:19px;
margin-bottom:5px;
border:1px solid #ebebeb;
border-radius:3px;
background:#fff;
overflow:hidden;
font-size:14px;
}

section.content3{
padding:19px;
margin-bottom:5px;
border:1px solid #ebebeb;
border-radius:3px;
background:#fff;
overflow:scroll;
font-size:14px;
width: 600px;
height: 200px;	
}

* html section.content{height:1%;}

section.content p{
    margin-bottom: 5px;
/*    font-family: "ＭＳ ゴシック", "MS Gothic", "Osaka－等幅", Osaka-mono, monospace;*/
}

p.heading{
    font-size: 18px;
    margin-top: 0px;
	font-weight   : bold; 
    font-family: "ＭＳ Ｐ明朝", "MS PMincho", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", serif;
}

h1.heading{
    padding-left: 7px;
    font-size: 20px;
	font-weight:bolder;
    border-left: 12px solid #68552a;
    color: #68552a;
    font-family: "ＭＳ Ｐ明朝", "MS PMincho", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", serif;
}

h2.heading{
    padding-left: 7px;
    margin-bottom: 10px;
    font-size: 18px;
    border-left: 5px solid #68552a;
    color: #68552a;
    font-family: "ＭＳ Ｐ明朝", "MS PMincho", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", serif;
}


h3.heading{
    padding-left: 7px;
    margin-bottom: 10px;
    font-size: 18px;
    border-left: 5px solid #68552a;
    color: #68552a;
    font-family: "ＭＳ Ｐ明朝", "MS PMincho", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", serif;

}

h3.heading2{
    padding-left: 7px;
    margin-bottom: 0px;
    font-size: 18px;
    border-left: 5px solid #68552a;
    color: #68552a;
    font-family: "ＭＳ Ｐ明朝", "MS PMincho", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", serif;

}

h4.heading{
    padding-left: 7px;
    margin-bottom: 10px;
    font-size: 18px;
    border-left: 5px solid #68552a;
    color: #68552a;
    font-family: "ＭＳ Ｐ明朝", "MS PMincho", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", serif;
}


.square_btn{
    display: inline-block;
    padding: 0.5em 1em;
    text-decoration: none;
    background: #668ad8;/*ボタン色*/
    color: #FFF;
    border-bottom: solid 4px #627295;
    border-radius: 3px;
}
.square_btn:active {/*ボタンを押したとき*/
    -ms-transform: translateY(4px);
    -webkit-transform: translateY(4px);
    transform: translateY(4px);/*下に動く*/
    border-bottom: none;/*線を消す*/
}

.square_btn2{
    display: inline-block;
    padding: 0.5em 1em;
    text-decoration: none;
    background: #68552a;/*ボタン色*/
    color: #FFFFFF;
	font-size: 18px;
    border-bottom: solid 4px #627295;
    border-radius: 3px;
}
.square_btn2:active {/*ボタンを押したとき*/
    -ms-transform: translateY(4px);
    -webkit-transform: translateY(4px);
    transform: translateY(4px);/*下に動く*/
    border-bottom: none;/*線を消す*/
}

.square_btn3{
    display: inline-block;
    padding: 0.5em 1em;
    text-decoration: none;
    background: #badcad;/*ボタン色*/
    color: #000000;
	font-size: 18px;
    border-bottom: solid 4px #627295;
    border-radius: 3px;
}
.square_btn3:active {/*ボタンを押したとき*/
    -ms-transform: translateY(4px);
    -webkit-transform: translateY(4px);
    transform: translateY(4px);/*下に動く*/
    border-bottom: none;/*線を消す*/
}

.box4{
    padding: 8px 19px;
    margin: 2em 0;
    color: #2c2c2f;
    background: #cde4ff;
    border-top: solid 5px #5989cf;
    border-bottom: solid 5px #5989cf;
}
.box4 p {
    margin: 0; 
    padding: 0;
}

section.content img{
max-width:100%;
height:auto;
}

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

.alignleft{
float:left;
clear:left;
margin:3px 10px 10px 0;
}

.alignright{
float:right;
clear:right;
margin:3px 0 10px 10px;
}

img.frame,#gallery img{
border:4px solid #fff;
box-shadow:0 0 2px rgba(0, 0, 0, 0.5);
-webkit-box-shadow:0 0 2px rgba(0, 0, 0, 0.5);
}

#gallery .grid{padding:5px 0 0;}

span.sample7 {font-size: xx-small; }

 ul .mokuji{
  padding: 0;
}

 ul li.mokuji, ol li.mokuji {
  color: #404040;
  border-left: solid 6px #68552a;/*左側の線*/
  border-bottom: solid 2px #dadada;/*下に灰色線*/
  background: whitesmoke;
  margin-bottom: 5px;/*下のバーとの余白*/
  line-height: 1.5;
  padding: 0.5em;
  list-style-type: none!important;/*ポチ消す*/
  font-weight: bold;

}

ul.kyozai, ol .kyozai{
  color: #1e366a;
  border-top: solid #1e366a 1px;/*上のボーダー*/
  border-bottom: solid #1e366a 1px;/*下のボーダー*/
  padding: 0.1em 0 0.1em 1.0em;
}

ul li.kyozai, ol li.kyozai {
  line-height: 1.5;
  padding: 0.5em 0;
  font-family: "ＭＳ Ｐ明朝", "MS PMincho", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", serif;
}

ul li.kyozai2, ol li.kyozai2 {
  line-height: 1.5;
  padding: 0.5em 0;
  font-size: 13px;
  color: #A9A9A;
  font-family: "ＭＳ Ｐ明朝", "MS PMincho", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", serif;
}

a.kyozai {
  text-decoration: underline;
  font-weight: bolder;
  font-size: 16px;
  font-family: "ＭＳ Ｐ明朝", "MS PMincho", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", serif;
}

ul.cp_list {
	padding: 0.5em;
	list-style-type: none;
}
ul.cp_list li {
	position: relative;
	padding: 0.5em 1em 0.5em 2.3em;
	margin-bottom:5px;
	border-bottom: 1px solid #68552a;
}
ul.cp_list li:before,
ul.cp_list li:after{
	content:'';
	position: absolute;
	border-radius: 50%;
}
ul.cp_list li:after {
	top: 50%;
	left: 0.2em;
	width: 17px;
	height: 17px;
	background: #68552a;
	transform: translateY(-50%);
}
ul.cp_list li:before {
	top: 1em;
	left: 0.55em;
	width: 14px;
	height: 14px;
	background: hsla(43,47%,78%,0.63);
}


/*************
テーブル
*************/
table.table{
border-collapse:collapse;
/*width:100%;*/
margin:10px auto;
}

table.table th,table.table td{
padding:5px;
border:1px solid #48370d;
}

table.table th{
text-align:right;
font-weight:bold;
letter-spacing:1px;
white-space:nowrap;
color:#fff;
background:#68552a;
border-left:#48370d 5px solid
}

table.table td{border-left:#48370d 3px double}

table.table2{
border-collapse:collapse;
margin:10px auto;
}

table.table2 th,table.table2 td{
padding:5px;
border:1px solid #48370d;
}

/*************
サブ（フッター前）コンテンツ
*************/
#sub ul{padding:10px;}

#sub li{
margin-bottom:10px;
padding-bottom:10px;
border-bottom:1px dashed #ebebeb;
}

#sub li:last-child{
border:0;
margin-bottom:0;
}

#sub li a{display:block;}

#sub ul.list{padding-bottom:7px;}

#sub ul.list li{
clear:both;
margin-bottom:5px;
padding:5px 0;
overflow:hidden;
}

* html #sub ul.list li{height:1%;}

#sub ul.list li img{
float:left;
margin-right:10px;
}

#sub ul.list li{
font-size:12px;
line-height:1.35;
}


/*************
/* フッター
*************/
#footer{
clear:both;
padding:20px 0;
overflow:hidden;
background:#2F1C00;
border-top:1px solid #48370d;
}

* html #footer{height:1%;}

.tel strong{
font-size:20px;
font-weight:bold;
}

#footer a{color:#fff;}
#footer a:hover{color:#ccc;}

#footer .copyright{font-size:11px;}


/* PC用 */
@media only screen and (min-width : 940px ){	
	#wrapper,.inner{
	width:940px;
	padding:0;
	}
	
	#wrapper{padding-bottom:20px;}
	
	/* グリッド全体 */
	.gridWrapper{
	width:960px;
	margin:0 0 0 -20px;
	}
	
	/* グリッド共通 ベース:トップページ4カラム */
	.grid{
	float:left;
	width:220px;
	margin-left:20px;
	}
	
	/* サブコンテンツ + フッター グリッド(3カラム) */
	#sub .grid, #footer .grid{
	width:300px;
	}
	
	/* ギャラリー グリッド(4カラム) */
	#gallery{
	width:920px;
	}
	
  #gallery .grid{
	width:210px;
	}	
}


/* モニター幅940px以下 */
@media only screen and (max-width : 768px ){
	#header h1{padding:0 0 5px 10px;}
	#header .logo{padding-left:10px;}
	
	.grid{
	float:left;
	width:48%;
	margin:10px 2% 0 0;
	}
	
	.grid img{
	float:left;
	margin-right:5px;
	}
	
	#gallery{padding-left:1px;}
	
	#gallery .grid{
	width:23%;
	margin:0 2% 0 0;
	padding:0;
	}
	
	#gallery .grid img{
	float:none;
	margin:0;
	}
	
	#sub .grid{
	width:32%;
	margin:10px 1%;
	}
	
	#sub .grid:first-child{
	margin-left:0;
	}
	
	#sub .grid:last-child{
	margin-right:0;
	}
	
	#footer .grid{
	float:none;
	width:100%;
	text-align:center;
	}
	
	#footer .grid:last-child{padding-top:20px;}
}


/* iPad 縦 */
@media only screen and (max-width:768px){
  #header{padding-bottom:0;}	

	#header h1{text-align:center;}
	
	#header .logo{
	float:none;
	text-align:center;
	padding:10px 5px 20px;
	}

	ul#topnav{
	clear:both;
	width:100%;
	}

	ul#topnav li{
	width:33%;
	margin:0;
	border-top:1px solid #48370d;
	border-right:1px dashed #48370d;
	 box-sizing:border-box;
  -webkit-box-sizing:border-box;
  -moz-box-sizing:border-box;
	}

	ul#topnav li:nth-child(3n){border-right:0;width:34%;}

	ul#topnav li.active a,ul#topnav a:hover{
    border-radius: 0;
	}
		
	ul#topnav2{
	clear:both;
	width:100%;
	}

	ul#topnav2 li{
	width:33%;
	margin:0;
	border-top:1px solid #48370d;
	border-right:1px dashed #48370d;
	 box-sizing:border-box;
  -webkit-box-sizing:border-box;
  -moz-box-sizing:border-box;
	}

	ul#topnav2 li:nth-child(3n){border-right:0;width:34%;}

	ul#topnav2 li.active a,ul#topnav2 a:hover{
    border-radius: 0;
}
	
	#sub ul.list{padding:10px 10px 11px;}
	
	#sub ul.list li{
	padding-bottom:10px;
	margin-bottom:8px;
	}
}


/* スマートフォン 横(ランドスケープ) */
@media only screen and (max-width:640px){
	#header .logo{
	float:none;
	text-align:center;
	padding:2px 5px 2px;
	}
	#footer .grid p{text-align:center;}
	
	.grid img{
	float:none;
	margin:20px auto 10px;
	}
	
	.grid p,#sub .grid li{text-align:left;}
	
	img.frame,#gallery img{border-width:2px;}

  .alignleft,.alignright{
	float:none;
	display:block;
	margin:0 auto 10px;
	}
}

/* スマートフォン 縦(ポートレート) */
@media only screen and (max-width:480px){
	#header .logo{
	float:none;
	text-align:center;
	padding:2px 5px 2px;
	}
	
	#wrapper,.inner{
	text-align:left;
	}
	
	ul#topnav li{width:50%;}

	ul#topnav li:nth-child(3n){
	border-right:1px dashed #48370d;
	width:50%;
	}
	
	ul#topnav li:nth-child(2n),ul#topnav li:nth-child(6n){border-right:0;}

	ul#topnav2 li{width:50%;}

	ul#topnav2 li:nth-child(3n){
	border-right:1px dashed #48370d;
	width:50%;
	}
	
	ul#topnav2 li:nth-child(2n),ul#topnav2 li:nth-child(6n){border-right:0;}	
	#mainBanner{margin-left:1px;}
	#mainBanner h2,#mainBanner h3{font-size:80%;}
	
	#sub .grid{
	float:none;
	width:98%;
	}
	
	#sub .grid h3{padding:10px 5px;}
	
	#sub ul.list{padding:10px;}
	
	#sub ul.list li{
	padding-bottom:3px;
	margin-bottom:3px;
	}
	
	#sub ul.list li img{margin:0 5px 0 0;}
	
}


/*************
/* 動画レスポンシブ
*************/

.youtube {
  position:relative;
  width: 100%;
  max-width: 480px;
}
 
.youtube::before {
  content: "";
  display: block;
  width: 100%;
  padding-top: 56.25%;
}
 
.youtube iframe{
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
}

.youtube2 {
  position:relative;
  width: 100%;
  max-width: 800px;
}
 
.youtube2::before {
  content: "";
  display: block;
  width: 100%;
  padding-top: 56.25%;
}
 
.youtube2 iframe{
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
}

/* ===============================
   Footer base　2026 以降
   =============================== */
#footer {
  background-color: #2b2118;
  color: #f5f0ea;
  margin-top: 40px;
  font-size: 0.95rem;
}

#footer .inner {
  padding: 24px 12px;
}

/* フッター内リンク：他CSSの影響で色が変わるのを防ぐ */
#footer a,
#footer a:link,
#footer a:visited,
#footer a:hover,
#footer a:active {
  color: inherit !important;
  text-decoration: none;
}

/* ===============================
   Sections (共通)
   =============================== */
.footer-sections {
  gap: 1.5rem;
}

.footer-section {
  margin-bottom: 1.5rem;
}

/* 見出し（ボタン想定だったが、アコーディオン廃止のため“見出し”として使う）
   HTMLが<button>でも見た目を見出しに寄せる */
.footer-section-toggle {
  width: 100%;
  border: none;
  background: none;
  color: inherit;
  text-align: left;
  font-weight: 700;
  padding: 0.4rem 0 0.8rem 0;
  display: block;          /* 横並び解除 */
  cursor: default;         /* クリック誘導しない */
}

/* ＋アイコンは不要 */
.footer-toggle-icon {
  display: none !important;
}

/* リンクリスト */
.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* ここが重要：アコーディオンの「display:none」を完全に廃止 */
.footer-section .footer-links {
  display: block !important;
}

/* ===============================
   Mobile: リンクを大きく＋区切り線（下線）でタップしやすく
   =============================== */
@media screen and (max-width: 767px) {
  #footer {
    font-size: 1rem; /* 全体を少し大きく */
  }

  .footer-links li {
    margin: 0;
  }

  /* リンクをブロック化して押しやすく */
  .footer-links a {
    display: block;
    padding: 0.85rem 0;
    line-height: 1.4;
    border-bottom: 1px solid rgba(245, 240, 234, 0.25); /* “下に線” */
  }

  /* 最後だけ線を消したい場合はコメント解除
  .footer-links li:last-child a {
    border-bottom: none;
  }
  */
}

/* ===============================
   PC: 3カラム横並び
   =============================== */
@media screen and (min-width: 768px) {
  #footer .inner {
    padding: 12px 24px;
  }

  .footer-sections {
    display: flex;
  }

  .footer-section {
    flex: 1 1 0;
    margin-bottom: 0;
  }

  .footer-links li {
    margin: 0.25rem 0;
  }

  #footer a:hover {
    text-decoration: underline;
  }
}

/* 下段補助 */
#footer .logo2 span {
  font-size: 0.9rem;
  opacity: 0.9;
}
#footer .tel {
  font-weight: 700;
}

/* ===============================
   Footer CTA link color fix
   （お問い合わせ／店舗予約／講座がオレンジになる問題の解消）
   =============================== */

/* aタグ本体 */
#footer #topnav2 a,
#footer #topnav2 a:link,
#footer #topnav2 a:visited,
#footer #topnav2 a:hover,
#footer #topnav2 a:active {
  color: #f5f0ea !important;   /* フッター文字色に統一 */
  text-decoration: none !important;
}

/* <u>タグが色を持っているケース対策 */
#footer #topnav2 a u {
  color: #f5f0ea !important;
  text-decoration: none;
}

/* スマホ時：行ブロック化しても色を固定 */
@media (max-width: 767px) {
  #footer #topnav2 a {
    display: block;
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(245, 240, 234, 0.25);
  }
}

/* ===============================
   Footer 下部ボタンナビ（topnav2）
   =============================== */

/* ul自体 */
#footer #topnav2 {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: flex;
  gap: 12px;
  justify-content: flex-start;
}

/* li */
#footer #topnav2 li {
  margin: 0;
}

/* リンク */
#footer #topnav2 a {
  color: #f5f0ea;            /* ← フッター基本文字色 */
  text-decoration: none;
  font-weight: 600;
  padding: 6px 10px;
  border: 1px solid rgba(245, 240, 234, 0.4);
  border-radius: 4px;
  transition: all 0.2s ease;
}

/* hover */
#footer #topnav2 a:hover {
  background-color: rgba(245, 240, 234, 0.15);
  text-decoration: none;
}

/* activeクラスの色を無効化 */
#footer #topnav2 li.active a {
  color: #f5f0ea;
}

/* PCのみ表示の制御はそのまま活かす */
@media screen and (max-width: 767px) {
  #footer #topnav2 li.pc {
    display: none;
  }
}

/* 480–768px：下部ボタンナビを2つで埋める */
@media screen and (min-width: 480px) and (max-width: 768px) {
  #footer #topnav2 {
    display: flex;
    gap: 12px;
    justify-content: stretch;  /* 余白を作らない */
  }

  #footer #topnav2 li {
    flex: 1 1 0;               /* 2つを同じ幅に */
  }

  #footer #topnav2 a {
    display: block;
    width: 100%;
    text-align: center;         /* ボタンっぽく整う */
  }
}
/* ===============================
   フッター下部：ボタンナビとコピーライトの余白調整
   =============================== */

/* 下部ボタンナビの下に余白をつくる */
#footer #topnav2 {
  margin-bottom: 14px;
}

/* コピーライトを少し下げる */
#footer .copyright {
  margin-top: 6px;
  font-size: 0.8rem;
  opacity: 0.85;
}

/* ヘッダーナビを少し下げる */
#header #topnav {
  margin-top: 8px;  /* 4〜8pxで微調整 */
}

/* ===== Header layout ===== */
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}

.site-logo{
  display:block;
  height:64px;           /* PC基準。必要なら調整 */
  width:auto;
}

.header-cta{
  display:flex;
  gap:10px;
  align-items:center;
}

.cta-link{
  text-decoration:none;
  color:inherit;
  padding:8px 10px;
  border:1px solid rgba(255,255,255,0.25);
  border-radius:10px;
  font-size:0.95rem;
  white-space:nowrap;
}

.cta-link.cta-strong{
  background:rgba(255,255,255,0.12);
  border-color:rgba(255,255,255,0.35);
}

/* ハンバーガー */
.menu-toggle{
  border:none;
  background:none;
  color:inherit;
  padding:10px;
  cursor:pointer;
  border-radius:10px;
}

.menu-toggle:focus-visible,
.menu-close:focus-visible,
.menu-cta-btn:focus-visible{
  outline:2px solid rgba(255,255,255,0.6);
  outline-offset:2px;
}

.menu-bars{
  display:inline-flex;
  flex-direction:column;
  gap:5px;
}

.menu-bars span{
  display:block;
  width:22px;
  height:2px;
  background:currentColor;
  border-radius:2px;
}

/* PC/スマホ表示切替 */
.pc-only{ display:block; }
@media (max-width: 767px){
  .pc-only{ display:none; }
  .site-logo{ height:52px; } /* スマホ */
}

/* スマホ時：CTA＋ハンバーガーは表示、PCではCTAを非表示にするなら下記ON */
@media (min-width: 768px){
  .header-cta{ display:none; }     /* PCではCTAをナビに任せる場合 */
  .menu-toggle{ display:none; }    /* PCではハンバーガー不要 */
}

/* ===== Drawer menu ===== */
.menu-overlay{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,0.45);
  z-index:9998;
}

.menu-drawer{
  position:fixed;
  top:0;
  right:0;
  height:100%;
  width:min(88vw, 360px);
  background:#2b2118;       /* フッターと合わせた渋めブラウン */
  color:#f5f0ea;
  z-index:9999;
  box-shadow:-12px 0 28px rgba(0,0,0,0.25);
  transform:translateX(0);
  display:flex;
  flex-direction:column;
}

.menu-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 16px;
  border-bottom:1px solid rgba(255,255,255,0.12);
}

.menu-title{
  margin:0;
  font-weight:700;
  letter-spacing:0.06em;
}

.menu-close{
  border:none;
  background:none;
  color:inherit;
  font-size:22px;
  cursor:pointer;
  padding:6px 10px;
  border-radius:10px;
}

.menu-list{
  list-style:none;
  margin:0;
  padding:10px 0;
  overflow:auto;
}

.menu-list a{
  display:block;
  color:inherit;
  text-decoration:none;
  padding:12px 16px;
  border-bottom:1px solid rgba(255,255,255,0.08);
  font-size:1.05rem;        /* スマホで大きめ */
}

.menu-list a:hover{
  background:rgba(255,255,255,0.06);
}

.menu-cta{
  padding:14px 16px 18px;
  border-top:1px solid rgba(255,255,255,0.12);
  display:grid;
  gap:10px;
}

.menu-cta-btn{
  display:block;
  text-align:center;
  text-decoration:none;
  color:inherit;
  padding:12px 14px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,0.28);
}

.menu-cta-btn.strong{
  background:rgba(255,255,255,0.10);
  border-color:rgba(255,255,255,0.38);
}

/* ドロワー表示はスマホだけ（保険） */
@media (min-width: 768px){
  .menu-overlay, .menu-drawer{ display:none !important; }
}

/* hidden を確実に効かせる（Safari対策含む） */
.menu-drawer[hidden],
.menu-overlay[hidden]{
  display: none !important;
}

/* ハンバーガーボタン本体 */
.menu-toggle {
  background: none;
  border: none;
  padding: 8px;
}

/* 三本線 */
.menu-bars span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: #ffffff; /* ← 白 */
  margin: 5px 0;
  border-radius: 1px;
}

/* ヘッダー左右余白で高級感 */
.header-inner{
  padding-left: 12px;
  padding-right: 12px;
}

/* ハンバーガー位置を内側へ */
.menu-toggle{
  margin-left: 8px;
  margin-right: 20px;
  padding: 10px; /* タップ領域は確保 */
}

/* 三本線を短く・細身に */
.menu-bars span{
  width: 30px;
  height: 3px;
  margin: 1px 0;
  border-radius: 2px;
  background-color: #ffffff;
}


#header{
  position: relative;   /* fixed / absolute を解除する意図 */
  height: auto;         /* 100vh を打ち消す */
}

#topnav2 a{
  display: inline-block;
  padding: 10px 14px;
  position: relative;
  z-index: 1;
}
/* ヘッダーは画面を覆わないことを保証（スマホ） */
@media (max-width: 767px){
  #header{
    max-height: 200px; /* 実際のヘッダー高さに合わせて調整 */
    overflow: visible;
  }
}

.footer-section-toggle{
  font: inherit;          /* これが本命：Safariのフォーム要素差異を潰す */
  font-size: 1rem;        /* 念のため固定（bodyが16pxなら16px相当） */
  line-height: 1.5;
  letter-spacing: inherit;
}

/* ================================
   シンプル・モダンなボタン
================================ */

/* 共通 */
.square_btn,
.square_btn2{
  display: inline-block;
  padding: 0.8em 1.2em;
  border-radius: 8px;
  font-size: 0.95rem;
  line-height: 1.2;
  text-decoration: none;
  text-align: center;
  transition: background-color .15s ease, color .15s ease, box-shadow .15s ease;
  cursor: pointer;
}

/* メインCTA */
.square_btn{
  background: #111;
  color: #fff;
  border: 1px solid #111;
}

.square_btn:hover{
  background: #333;
}

.square_btn:active{
  background: #000;
}

/* サブCTA */
.square_btn2{
  background: #fff;
  color: #111;
  border: 1px solid #bbb;
}

.square_btn2:hover{
  background: #f3f3f3;
}

.square_btn2:active{
  background: #e5e5e5;
}

/* スマホはタップしやすく */
@media (max-width: 768px){
  .square_btn,
  .square_btn2{
    padding: 1em 1.3em;
    font-size: 1rem;
  }
}

    .box {
      padding: 1rem 1.1rem;
      border: 1px solid rgba(0,0,0,.15);
      border-radius: 14px;
      background: rgba(0,0,0,.02);
      margin: 1rem 0;
    }

.content strong{
  font-weight: 700;
  color: #302F2F;
}

.square_btn:hover{
  background: #111;
  color: #fff;

  /* 控えめな光と影 */
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.15),
    0 4px 10px rgba(0,0,0,0.25),
    0 0 6px rgba(255,255,255,0.25);

  /* ほとんど動かさない */
  transform: translateY(-1.0px);
}