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

/* スライドショー用 */
.img-frame{
   position: relative;
   width: 70%;
   height: 300px;
   overflow: hidden;
   margin: 0 auto;
}
@media screen and (max-width: 767px){
	.img-frame{
		width: 100%;
		height: 200px;
	}
	.img-01, .img-02, .img-03{
		position: absolute;
		top:0;
		left:0;
		width: 100%;
		height: 100%;
		background-size: cover;
		background-repeat: no-repeat;
	}
	.img-01{
		background-image: url('./img/top-1_600.png"');
		animation: slide-animation-01 24s infinite;
	}
	.img-02{
		background-image: url('./img/top-2_600.png');
		animation: slide-animation-02 24s infinite;
	}
	/*.img-03{
		background-image: url('./img/top-1_600.png');
		animation: slide-animation-03 24s infinite;
	}*/

@keyframes slide-animation-01 {
	0% {opacity: 1; transform: scale(1.0);}
	30% {opacity: 1;}
	40% {opacity: 0; transform: scale(1.15);}
	90% {opacity: 0}
	100% {opacity: 1; transform: scale(1.0);}
}
@keyframes slide-animation-02 {
0% {opacity: 0;}
30% {opacity: 0; transform: scale(1.1);}
40% {opacity: 1;}
60% {opacity: 1;}
70% {opacity: 0; transform: scale(1.0);}
100% {opacity: 0;}
}
@keyframes slide-animation-03 {
0% {opacity: 0;}
60% {opacity: 0;  transform: scale(1.0);}
70% {opacity: 1;}
90% {opacity: 1;}
100% {opacity: 0; transform: scale(1.1);}
	}}
/* __スライドショー用 */



.main {
	margin-left: 6px;
	margin-right: 6px;
}
h2,h3,#news {
	font-family: "Zen Old Mincho", serif;
	font-weight: 400;
	font-style: normal;
	font-size: 2.4rem;
	line-height:0.95em;
	color: transparent;
	background: repeating-linear-gradient(0deg, #B67B03 0.1em, #DAAF08 0.2em, #FEE9A0 0.3em, #DAAF08 0.4em, #B67B03 0.5em); 
	-webkit-background-clip: text;
	margin-top: 40px;
}
.main p {
	margin-left: 10px;
	margin-right: 10px;
}
.main .a-link a,
a:hover,
a:visited{
	color: inherit;
}
.main #link-none[href^="fax:"]{
	pointer-events: none;
}
.main .bnr img {
	width: 640px;
	max-width: 100%;
}
.ayumi-second h4 {
  border-bottom: 1px dotted #b2d5de;
  display:inline;
  padding-bottom: 1px;
}
.ayumi-start,
.ayumi-second {
	padding: 0 15px;
}
/* ポップアップ用 */
.overlay {
display: none;
width: 100%;
height: 100%;
background: rgba(0,0,0,0.6);
position: fixed;
z-index: 1;
}
.btn_area {
width: 460px;
height: 300px;
max-width: 90%;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%,-50%);
background: #fff;
text-align: center;
z-index: 2;
color: #000;
}
.btn_area .ttl {
font-weight: bold;
}
.btn_area p {
padding: 15px;
}
.btn_area button {
display: block;
margin: 0 auto;
background: #333;
color: #fff;
padding: 20px 40px;
border: none;
}
.btn_area button:hover {
background: #777;
}
/* __ポップアップ用 */


@media screen and (min-width:768px){
	/*	body {
		font-size: 1.5rem;
	} */
	.bnr {
		width: 420px;
	}
	a[href^="tel:"]{
    pointer-events: none;
  }
}
@media screen and (min-width:960px){
	/*body {
		font-size: 1.6rem;
	}*/
}



/* 表レイアウト */
.hyo {
	padding: 10px;
}
.box {
  display:flex;
  flex-direction: column;
  padding: 20px;
}

.text {
  width: 100%;
  text-align: center;
}

.hyo h4 {
  /*font-size: 21px;*/
  margin: 0;
}

.pict {
  width: 100%;
  text-align: center;
  min-height: 0%;
}

.pict img {
  max-width: 300px;
  height:auto;
}
.box:nth-child(even) {
  background-color: #414141;
  padding: 20px;
}

@media (min-width:768px) {
  .hyo {
	padding: 0px;
	margin: 0 auto;
	max-width: 800px;
  }
  .box {
    flex-direction: row;
    justify-content: space-between;
    margin-bottom: 0px;
  }
  .box:nth-child(even) {
    flex-direction: row-reverse;
  }
  
  .text {
    text-align: left;
  }
  .box:nth-child(even) .text {
    text-align: right;
  }
  .pict {
    width: 30%;
  }
  .pict img {
    width: 100%;
    height:auto;
  }
  .box:nth-child(even) .pict {
    margin-left: 0;
    margin-right: 3%;
  }
}