@charset "utf-8";

@import "https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css";
.icon{
	margin-right:5px;}

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, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

*, *:before, *:after {
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
         -o-box-sizing: border-box;
        -ms-box-sizing: border-box;
            box-sizing: border-box;
}


input[type="text"] {
margin: 0;
padding: 0;
background: none;
border: none;
border-radius: 0;
outline: none;
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
}

input:focus::-webkit-input-placeholder {color: transparent;}
	input:focus::-moz-placeholder {color: transparent;}
	input:focus::-ms-input-placeholder {color: transparent;}
	input:focus::placeholder {color: transparent;}

img{
	width:100%;
	max-width:100%;
	height:auto;
	border: 0px;
	vertical-align:top;}


a img:hover{
	/*opacity:0.7;*/}

.redb{
	color:#F00;
	font-weight:bold;}

	i.fa-caret-left,
	i.fa-caret-right{
		font-size: 4rem;
	}
	.fa-circle-xmark{
		font-size: 2rem;
	}

/*=======================================*/
.hidden_s{display:none;}

html{font-size:62.5%;}
body {
	font-size:1.3rem;
	-webkit-text-size-adjust: 100%;
	font-family:"メイリオ",Meiryo,"ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro",Osaka,"ＭＳ Ｐゴシック","MS PGothic",sans-serif;
	position: relative;
    right: 0;
    overflow-x: hidden;
	background:#fff;
	height: 100%;
	}
	
a{
	text-decoration:none;
	color:#333;}
a:hover{
	text-decoration:underline;}
	
h5{
	text-align:center;
	font-size:1.5rem;
	margin-bottom:20px;}

#container {
	width:100%;
	margin:auto;
	height: 100%;

}

.extxt{
	width: 100%;
	margin: 10px auto 20px auto;
	padding: 0 4%;
}
.extxt a{
	color: rgb(15, 108, 201);
}

/* index.php */
header{
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
	margin: 0 auto 20px auto;
	background-color: rgba(0, 0, 0, 0.7);
	height: auto;
	padding: 0;
}
.head_logo{
	padding: 10px;
}
.head_logo a{
	color: #fff;
	font-weight: bold;
	font-size: 2rem;
}

#top_main{
	display: flex;
	flex-direction: column;
	width: 100%;
	margin-bottom: 40px;
}
.mainiamge{
	width: 100%;
	margin: 0 auto 50px auto;
}
.mainiamge img{
	width: 100%;
}

.indexlist{
	width: 100%;
	margin: 0 auto;
	padding: 0 2%;
	text-align: center;
}
.toptxt{
	line-height: 1.4;
	margin-bottom: 40px;
	font-size: 1.4rem;
}
.indexlist h2{
	font-size: 1.6rem;
	font-weight: bold;
	padding-bottom: 15px;
}
.indexlist ul{
	display: flex;
	flex-wrap: wrap;
	gap:20px;
}

.indexlist ul li a {
	display: block;
	border: solid 1px #ccc;
	border-radius: 6px;
	padding: 10px 20px;
}


/* page.php */

#image-area {
  display: flex;
  justify-content: center;
  align-items: stretch;      /* ← 画像の高さに合わせて各列を同じ高さにする */
  flex-wrap: nowrap;         /* ← 折り返さない */
  width: 100%;
  max-width: 1000px;         /* 最大1000px（80+420+420+80） */
  margin: 0 auto;
  padding-top: 20px;
}

#image-area div {
  text-align: center;
}

/* 左右のボタン列 */
#image-area .prev,
#image-area .next {
  flex: 0 1 4%;              /* 比率（1000px中80px相当） */
  display: flex;             /* 中のaを中央に配置するため */
  align-items: center;       /* 縦方向中央揃え */
  justify-content: center;   /* 横方向中央揃え */
  background-color: rgb(228, 228, 228);
}

/* 中央の画像列 */
#image-area div:nth-child(2),
#image-area div:nth-child(3) {
  flex: 0 1 42%;             /* 比率（1000px中420px相当） */
}

/* 画像設定：420px上限、縮小可 */
#image-area div img {
  width: 100%;
  max-width: 420px;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* ボタンリンク */
#image-area .prev a,
#image-area .next a {
  display: flex;               /* ブロック化しつつ中身中央 */
  align-items: center;         /* 縦中央 */
  justify-content: center;     /* 横中央 */
  width: 100%;                 /* 親divいっぱい */
  height: 100%;                /* 親divいっぱい */
  color: #424242;
  text-decoration: none;
  padding: 0;                  /* paddingは親divで調整 */
  font-weight: bold;
  font-size: 14px;
  box-sizing: border-box;      /* サイズ計算のズレ防止 */
}


#navi{
	width: 100%;
	
	background-color: rgba(0, 0, 0, 0.7);
	height: 50%;
	position: fixed;
	bottom:0;
 
	display: flex;
	flex-flow: column;
	justify-content: flex-start;
align-items: center;
}
/* 
#navi > div {
  display: flex;            
  align-items: center;
  justify-content: center;
  height: auto;
  margin-bottom: 20px;
} */

#logo {
	background-color: #fff;
	padding-bottom: 10px;
	padding-right: 10px;
	width: 100%;
	text-align: right;
}
#logo a{
	color: #1d1d1d;
	font-weight: bold;
	font-size: 1.6rem;
	
}

.navi_pn{
	display: flex;
	gap:10px;
	margin: 40px 0;
	font-size: 2rem;
}
.navi_pn li a{
	display: block;
	padding: 10px;
	border: solid 1px #ccc;
	border-radius: 20px;
	background-color: #fff;
}


.h_mitumori form .headinqbtn {
  appearance: none;
  border: 0;
  border-radius: 5px;
  background: #f04f3b;
  color: #fff;
  padding: 15px 40px;
  font-weight:bold;
  cursor: pointer;
  font-size: 1.8rem;
}	



/**左目次**/
.left_mokuji{
	position: fixed;
    left: -240px;
    top: 0;
	display:flex;
	flex-wrap:wrap;
	width:240px;
	justify-content: space-between;
	
	z-index: 10;
	overflow: hidden;
	transition: .5s;
	}
	.left_mokuji.open-menu {
		left:0;
	  }
.left_mokuji ul{
	width: 210px;
	height:100vh;
	padding: 20px;
	background-color: #f1f1f1;
	border-right: 2px solid #69C;

	overflow-y: auto;
	overflow-x: hidden; /* 横スクロールは非表示 */
	scrollbar-gutter: stable;
}
.left_mokuji ul li{
	margin-bottom: 12px;
	padding-bottom: 12px;
	border-bottom: dotted 1px #666;
}

.mokuji_mk{
  display: block;
    cursor: pointer;
    z-index: 3;
	background-color: #fff;
	color:#505050;
	padding:10px;
	border-radius:20px;
	}










/******* form ********/
#form_container {
	width:100%;
	max-width:800px;
	margin:auto;
	height:auto;
	
	display: flex;
  	flex-direction: column;
  	min-height: 100vh;
}
#mainwrap{
	overflow:hidden;
	width:100%;
	}
#main{
	clear:both;
	padding:0 2%;
	margin-bottom:20px;
	line-height:1.2;}
#main h2{
	text-align:center;
	font-size:1.6rem;
	font-weight:bold;
	padding:20px;
	margin-bottom:18px;
	border-bottom:solid 1px #999999;}
	
	#main h2 span{
	display:block;}

.forminq{
	width:100%;
	margin-bottom:40px;}

	.forminq p{
		margin-bottom:15px;}
	
	.forminq p.inq_page{
		font-size:1.4rem;
		margin-bottom:20px;}


	.forminq dd span.inq-note a{
		display:block;
		padding:4px 0;}
	.forminq dd span.inq-note a i{
		margin-right:4px;}

.forminq dl {
        display: flex;
        flex-wrap: wrap;
		margin-bottom:20px;
    }
    
	.forminq dl dt{
		padding:18px 10px 0 10px;
		width: 100%;
    }
	.forminq dl dd {
        border-bottom: 1px dotted #ccc;
		padding:18px 10px;
		width:100%;
    }

	.noserv{
		padding: 10px 0 0 0;
		color: #F00;
		font-weight:bold;
		
	}
		
		.forminq dl dd textarea {
			width:100%;
			resize: vertical;}
		.forminq dl dd input{
			width:100%;}

.forminq label span{
	display:block;}
	
	.forminq label span.error{
		color:#F00;
		font-weight:bold;}

.forminq input[type="text"], .forminq input[type="tel"], .forminq input[type="email"], textarea{
    padding: 0.5em;
    border: 1px solid #ccc;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;}


	.forminq .inqbtn{
	display:block;
	-webkit-appearance: none;
	  border-radius: 6px;  
	  background-color:rgb(187, 29, 8);
	  border:solid 1px #FFFFFF;
    color: #fff;
    padding: 5px 10px;
	margin:20px auto;
	cursor:pointer;
	font-size:1.6rem;}
	
	.inqbtn-w{
		display:flex;
		flex-direction: row;
  flex-wrap: wrap;
		justify-content: center;}
		
		.inqbtn-w form{
			margin:0 20px;}


footer{
	text-align: center;
	padding: 20px 0;
}


.ex-wrap{
	width: 100%;
}
.ex-wrap img{
	width: 100%;
}


@media screen and (min-width: 600px) {
	html, body {
  		height: 100%;
	}

	.extxt{
	width: 1000px;
	margin: 10px auto 20px auto;
	padding: 0;
}

/* index.php */
header{
	display: flex;
	flex-direction: row;
	flex-wrap:nowrap;
	justify-content: space-between;
	align-items: center;
	width: 1000px;
	margin: 0 auto 20px auto;
	background-color: rgba(0, 0, 0, 0.7);
	height: 80px;
	padding: 0 20px;
}

.head_logo{
	padding: 0;
}
.head_logo a{
	color: #fff;
	font-weight: bold;
	font-size: 2rem;
}

#top_main{
	display: flex;
	flex-direction: row;
	flex-wrap:nowrap;
	gap: 20px;
	width: 1000px;
	margin: 0 auto;
}
.mainiamge{
	width: 400px;
	margin: 0 auto 50px auto;
}
.indexlist{
	flex: 1;
	margin: 0 auto;
	padding: 0;
	text-align: left;
}


/* page.php */

#image-area {
  padding-top: 0;
}
	
#navi{
	width: 100%;
	background-color: rgba(0, 0, 0, 0.7);
	height: 80px;
	position: fixed;
	bottom:0;

	display: flex;
	flex-flow:wrap;
  justify-content: space-between;
  align-items: center; 
}

#navi > div {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

/* 比率を1 : 2 : 1にする */
#navi > div:nth-child(1) {
  flex: 1;
  /* background: #aaa; */
}
#navi > div:nth-child(2) {
  flex: 2;
  /* background: #bbb; */
}
#navi > div:nth-child(3) {
  flex: 1;
  /* background: #aaa; */
}

#logo {
	background-color: transparent;
	padding-bottom: 0;
	padding-right: 0;
	width: auto;
	text-align: center;
}
#logo a{
	color: #fff;
	font-weight: bold;
	font-size: 1.6rem;
}

.navi_pn{
	display: flex;
	gap:10px;
	margin: 0;
	font-size: 1.4rem;
}
.navi_pn li a{
	display: block;
	padding: 10px;
	border: solid 1px #ccc;
	border-radius: 20px;
	background-color: #fff;
}

.h_mitumori form .headinqbtn {
  appearance: none;
  border: 0;
  border-radius: 5px;
  background: #f04f3b;
  color: #fff;
  padding: 8px 10px;
  font-weight:bold;
  cursor: pointer;
  font-size: 1.4rem;
}	

.ex-wrap{
	width: 1000px;
	margin: 0 auto;
}

}	
