@charset "utf-8";
/* CSS Document */

@keyframes fadeInAnime{ /* フェードイン必須 */
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
body{
	width: 100%;
	height: 100%;
}
*{/*デフォルトマージンを除去*/
  margin:0;
  padding: 0;
}
*{
  font-family:"Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, "sans-serif";
    text-align: justify;
}
h1,h2,h3,h4,h5,span,p,div,li,a,input,label {
	font-feature-settings: "palt";/*自動文字詰め*/
}
a:hover{
	display: block;
	opacity: .4;
	transition: .2s;
}
	
@media screen and  ( max-width : 750px ){
/*----------------メニューブロック設定ここから------------------*/
header{
  max-width: 100%;
  width: 100%;
  margin: 0 auto;
  height: fit-content;
	position: fixed;
	top:0;
	background:white;
	opacity: .9;
	z-index: 1;
    border-bottom: #9A9A9A solid 1px;
}
header .img{ 
     /*コレ*/object-fit: cover;
    width: 60%;
    max-width: 80%;
    margin: 0 0 0 .5em;
}  
header .img img{
    display: block;
    width: 100%;
    height: 100%;
}
header .img a{
    /*コレ*/object-fit: cover;
    width: 100%;
    height: 100%;
}
header .img2 {
	width: 60%;
}

	
/*========= ナビゲーションCSS ===============*/

/*==ナビゲーション全体の設定*/
nav#menu{
    width: 100%;
	position: absolute;
	right:0;
    top:200px;
    padding: 0;
}

/*ナビゲーションを横並びに*/
nav#menu ul{
    width: 100%;
    white-space: 100%;
  list-style: none;
    display: block;
    position: absolute;
	right:0;
}

/*下の階層のulや矢印の基点にするためliにrelativeを指定*/
nav#menu ul li{
  position: relative;
  width: 100%;
}
/*ナビゲーションのリンク設定*/
nav#menu ul li a{
  display: block;
  text-decoration: none;
  color: #000;
  padding:2em ;
}
nav#menu ul li a:hover{
    background-color:lightblue;
    color:#000;
    opacity: 1;
}

nav#menu ul li a{
  border-bottom:1px solid #ccc;
    font-size: 1em;
}
    
    
    
/* バーガーメニューここから------------------------- */
/*ボタン外側※レイアウトによってpositionや形状は適宜変更してください*/
#wrapper .btn-gnavi{	
	position: fixed;/*ボタン内側の基点となるためrelativeを指定*/
	cursor: pointer;
    width: 50px;
    height:50px;
	top:7px;
	right: 7px;
	z-index: 7;
}
/*ボタン内側*/
#wrapper .btn-gnavi span{
    display: inline-block;
    transition: all .4s;/*アニメーションの設定*/
    position: absolute;
    left: 7px;
    height: 4px;
    border-radius: 50px;
	background: #000;
  	width: 70%;
  }
#wrapper .btn-gnavi span:nth-of-type(1) {
	top:10px;	
}
#wrapper .btn-gnavi span:nth-of-type(2) {
	top:20px;
}
#wrapper .btn-gnavi span:nth-of-type(3) {
	top:30px;
}
#wrapper .btn-gnavi span:nth-of-type(3)::after {
	content:"MENU";/*3つ目の要素のafterにMenu表示を指定*/
	position: absolute;
	top:5px;
	left:2px;
	color: #000;
	font-size:0.7em;
	text-transform: uppercase;
}
/*openクラスが付与されると線が回転して×になり、Menu⇒Closeに変更*/
#wrapper .btn-gnavi.open span:nth-of-type(1) {
    top: 10px;
    left: 10px;
    transform: translateY(10.5px) rotate(-45deg);
    width: 60%;
}
#wrapper .btn-gnavi.open span:nth-of-type(2) {
	opacity: 0;
}
#wrapper .btn-gnavi.open span:nth-of-type(3){
    top: 30px;
    left: 10px;
    transform: translateY(-10.5px) rotate(45deg);
    width: 60%;
}
#wrapper .btn-gnavi.open span:nth-of-type(3)::after {
	content:"Close";/*3つ目の要素のafterにClose表示を指定*/
    transform: translateY(-20px) rotate(-45deg);
	top:30px;
	left:12px;
	font-size:0.7rem;
}
/*========= レイアウトのためのCSS ===============*/
#navi {
  min-height: 500px; /* */
  background-color:lightsteelblue;
  position: fixed;
  top: 0;
  right: 0px;
  z-index: 2;
  padding: 10px 0px 0px 10px ;
  opacity: 1;
  height: 100%;
}
/* 小見出し土台 */	
#wrapper nav {
    position: fixed;
    top: 0;
    right: -350px;
    width: 300px;
    height: 100%;
    padding: 5em 0em 0em 1em;
    background:#fff;
    box-sizing: border-box;
    z-index: 2;
	opacity: 1;
}
/* バーガーメニューここまで------------------------- */

/* ---------フェードイン設定　各部位 画面外にいる状態----------- */
.fadein {
	opacity : 0.1;
	transform : translate(0, 20px);
	transition : all 1800ms;
}
/* ---------フェードイン設定　各部位　画面内に入った状態 */
.fadein.scrollin {
	opacity : 1;
	transform : translate(0, 0);
}
/* ------------フェードイン設定　ヘッダー上部の@keyframes fadeInAnime必須-------- */
/* その場でふわっ */
.fadein2{
animation-name:fadeInAnime;
animation-duration:2s;
animation-fill-mode:forwards;
opacity:0;
}
/* ---------フェードイン設定　フッター 画面内に入った状態--------- */
/* 画面外にいる状態 */
.fadein3 {
	opacity : 1;
	transform : translate(0, 0px);
	transition : all 1500ms;
}
/* フェードイン設定　各部位　画面内に入った状態 */
.fadein3.scrollin {
	opacity : 1;
	transform : translate(0, 0);
}	
/* ---------フェードイン設定ここまで----------- */

/* パンくずリストここから（トップページのみ）--------------------- */	
.breadcrumb {
    width: 90%;
    display: flex;
    gap: 0 10px;
    list-style: none;
	margin: 0em 0 0em 1em;
	clear: both;
}
.breadcrumb li {
    width: fit-content;
    display: flex;
    align-items: center;
	text-decoration: none;
}

.breadcrumb li:first-child::before {/* 家マーク */
    display: block;
    width: 1.4em;
    height: 1.2em;
    margin-right: 1px;
    background-image: url('data:image/svg+xml;charset=utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M11.7%207.5%204%2013.8v6.8c0%20.4.3.7.7.7h4.7c.4%200%20.7-.3.7-.7v-4c0-.4.3-.7.7-.7h2.7c.4%200%20.7.3.7.7v4c0%20.4.3.7.7.7h4.7c.4%200%20.7-.3.7-.7v-6.8l-7.7-6.3h-.9zm12.1%204.4L20.3%209V3.2c0-.3-.2-.5-.5-.5h-2.3c-.3%200-.5.2-.5.5v2.9L13.3%203c-.7-.6-1.8-.6-2.5%200L.2%2011.8c-.2.2-.3.5-.1.7l1.1%201.3c.2.2.5.2.7.1l9.8-8.1h.6l9.8%208.1c.2.2.5.1.7-.1l1.1-1.3c.2-.2.1-.5-.1-.6z%22%20style%3D%22fill%3A%23000000%22%2F%3E%3C%2Fsvg%3E');
    background-repeat: no-repeat;
    content: '';
}
.breadcrumb li:not(:last-child)::after {
    display: inline-block;
    transform: rotate(45deg);
    width: .4em;
    height: .4em;
    margin-left: 10px;
    border-top: 1px solid #000000;
    border-right: 1px solid #000000;
    content: '';
}
.breadcrumb a {
    color: #000000;
    text-decoration: none; 
}
.breadcrumb a:hover {
    color:#7ACC4D;
    text-decoration: underline;
}
/* パンくずリストここまで--------------------- */	


/*トップページイメージここから--------------*/
.topimg {
	width: 100%;
}
.topimg img {
	width: 100%;
	margin: 5rem 0 0 0;
}
/*トップページイメージここまで--------------*/	

 h1 {
  position: relative;  
  width: 80%;
  margin: 2em auto 0em auto;
  font-size: 1.5em;
  color:#ffa07a;
 }
h1:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 5px;
  background: -webkit-repeating-linear-gradient(45deg,#ffa07a, #ffa07a 2px, #fff 2px, #fff 4px);
  background: repeating-linear-gradient(45deg, #6EADB0, #6EADB0 2px, #fff 2px, );
  border-radius: 15px;
}
h2{
	width: 80%;
	font-size:1.2em;
	margin: 1.5em auto 0 auto;
}	
.p{
	width: 80%;
	font-size:1.2em;
	line-height: 2em;
	margin: 0em auto ;
}
.p2{/* ページトップ紹介文 */
    width: 80%;
    font-size: 1.2em;
    margin: 1em auto 0em auto;
    text-align: center;
}
.p3{/* 項目紹介文 */
    width: 80%;
    text-align: center;
    margin: 2em auto 0em auto;
}
.p3 a{
    width:100%;
    display: block;
    font-size: 1.2em;
    text-align: center;
    text-decoration: none;
    color:#FFFFFF;
    background:#FFA07A;
    padding:.4em;
    border-radius: 10px; 
}  
.p4{/* 項目紹介文 */
    width: 80%;
    line-height: 1.8em;
    margin: 1.5em auto 0em auto;
    font-size: 1.2em;
}   
/*--------下層ページのトップイメージここから-----------*/    
.top{
   width: 100%; /* 最大幅 */
   height: auto; 
   margin: 5em 0 0 0;
}
.top img{
    width: 100%; /* 最大幅 */
    object-fit:contain;
}     
/*--------下層ページのトップイメージここまで-----------*/  

/*トップページのバナー------------------*/   
.banner{
    width: 90%;
    margin: 2em auto 1em auto;
}
.banner img{
    width: 100%;
    margin: 0em auto;
}

/* スマートフォンで見たときは"sp"のclassがついた画像が表示される */
.pc { display: none !important; }/*携帯の時に表示されるバナー*/
.sp { display: block !important; }/*携帯の時に表示されるバナー*/
    
    
.banner2 {
	width:90%;
	margin: 2em auto 0em auto ;
	justify-content:space-between; /* 子要素を均等に配置・両端揃え */
}
.banner2 a{
	display: block;
}
.banner2 a img{
	display: block;
	width: 100%;
    margin: 1.5em auto;
}

/*-------------バナーここまで-------------- */	
.photo2 {
	width:80%;
	margin: 2rem auto 1rem auto ;
}
.photo2 img{
	display: block;
    width:100%;
    margin: 1rem auto 1rem auto ;
}	
    
.wrapper1 { /* グーグルマップ */
    position: relative;
    width: 90%;
    padding-top: 100%; /* 高さ */
    height: 0;
    margin: 0 auto;
}

.wrapper1 iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.photo3{ /* 写真横並び3枚 */
	width:70%;
	margin: 1em auto ;
}
.photo3 img{
	display:block;
    width:100%;
    border: #8C8C8C 1px solid;
    margin: 1em auto ;
}
.photo4 {
	width:70%;
	margin: 2rem auto 1rem auto ;
	justify-content:space-between; /* 子要素を均等に配置・両端揃え */
}
.photo4 img{
	display: block;
    width:100%;
    margin: 2rem auto 1rem auto ;
    border: 1px #000000 solid;
    border-radius: 10px;
    } 
/*-------------小見出しここから-------------- */
.midashi{
    width: 90%;
    justify-content:space-between; /* 子要素を均等に配置・両端揃え */
    margin: 1em auto ;
}
.midashi a{
    display: block;
    text-decoration: none;
    width: 100%;
    padding:.5em;
    border: 1px #7D64B9 solid;
    margin: .5em auto ;
}
.midashi a:hover{
    display: block;
    background-color:#CEC4E4;
    transition: 1s;
    border: 1px #7D64B9 solid;
    color:#000;
}   
.midashi p{
    width: auto;
    font-size: 1.1em;
    display: block;
    text-align: center;
    color:#7D64B9;
}
/*-------------小見出しここまで-------------- */	  

.photo5{ /* 写真横並び5枚 */
	width:70%;
	margin: 1em auto ;
	justify-content:space-between; /* 子要素を均等に配置・両端揃え */
}
.photo5 img{
	display:block;
	width:100%;/*←画像を横に5つ並べる場合*/
	margin: 1em auto ; 
}
    
/* ----------------ページトップに戻るボタン------------------- */
#page-top{
	position: fixed;
	bottom: 40px;
	right: 10px;
	font-size:1.1em;
	line-height: .5em;
}
#page-top a {
	background:#A8A8F9;
	text-decoration: none;
	color: white;
	height: 3.5em;
	width: 3.5em;
	text-align: center;
	display: flex;
    justify-content:center;
    align-items: center;
    flex-direction: column;
	margin: 0;
	border-radius: 40px;
}
#page-top a:hover {
	text-decoration: none;
	opacity: .8;
	transition:.2s;
	background:#8DB6D4;

}
#page-top a::before {
    /* 絶対必要 */
    content: "";
    display: block;

    /* 三角のサイズ */
    width: 15px;
    height: 15px;
    /* 三角の線と回転角度 */
    border-top: 2px solid white;
    border-right: 2px solid white;
    transform: rotate(-45deg);
}  
/* ----------------ページトップに戻るボタンここまで------------------- */
	
/*-------フッター設定ここから------*/
footer{
	width: 100%;
	background-color:#eff7ff;
}
footer a,
footer a:hover{
    display: inline-block;
    width: 100%;
}
#address{/*フッター住所*/
    width: 100%;
    margin: 0em auto;
    padding:2em 0 1em 0;
}
#address img{
    width: 100%;
    margin: 0em auto 1em auto;
}
#address a{
    display: block;
    width: 55%;
    margin: 0em auto ;
}
.address{
	width: 100%;
	font-size: 1em;
    margin: 0 0 0 0%;
    color:  #000;
    text-align: center;
}
#menu1{/*フッターメニュー*/
	width: 100%;
	margin:4% auto 3% auto;
}
#menu1 ul{
	width: 80%;
	margin: 0 auto;
	text-align: center;
}
#menu1 ul li{
	font-size:1em;
	list-style:none; 
    margin: .8em .5em;
	display: inline-block;
	text-align: center;	
}
#menu1 ul li a{
	color: #000;
    text-decoration: none;
}
#menu1 a:hover{
	text-decoration: underline;
    color:#000;
}
.contents1{
    width: 80%;
    margin-left: 2em;
}
.cresit{
	width: 100%;
	padding: 0 auto 1em auto;
	font-size: .9em;
	text-align: center;
	color:#000;

}
/*-------フッター設定ここまで------*/
	
  
}
