@charset "utf-8";

/* toppage
-------------------------------------------------------------------*/

.contents{
	background:#ffffff;
}

.main{
	text-align:center;
	position:relative;
	padding-top: 90px;
}

.main .img{
    position: relative;
	margin: 0 auto;
    width: 100%;
	max-width: 1920px;
	text-align:center;
	overflow: hidden;
}

.main .img img {
    position: relative;
    width: 100%;
	height: auto;
	text-align:center;

}

.maintxt{
	background:url(../img/common/bg.gif);
	text-align:center;
	padding:30px 0;
}


.topbox {
    position: relative;
    width: 100%;
    margin: 0 auto;
	line-height: 0; 
}

.topbox .img{
    position: relative;
    width: 100%;
    height: auto;
    text-align: center;
	margin: 0 auto;
}

.topbox .img img {
    max-width: 100%;
    height: auto;
    display: inline-block;
    position: static;
}

.topbox ul{
    position:absolute;
	right:0;
	bottom:25px;
	text-align:right;
}

.topbox ul.btn02{
	bottom:154px;
}

.topbox ul li{
    padding:23px 0 0 0;
}

/* button
-------------------------------------------------------------------*/

.button-container {
    display: flex;
    justify-content: center; /* ボタンは中央揃えさせる */
    gap: 1rem; /* ボタンの間の距離、調整可能*/
    flex-wrap: wrap; /* SP版で自動改行 */
	width: 100%;
}

.button {
	background:url(../img/top/botton-back.png);
	background-size: cover;
	position: relative;
	text-align:center;
	padding: 30px;
	box-sizing: border-box;
	max-width: 1920px;
	margin: 0 auto;
	transition: all 0.3s;
}

.button .img{
	max-width: 500px;
    height: auto;
	text-align: center;
	margin: 0 auto;
	transition: all 0.3s;
}

.button .img:hover {
	top:-3px;
	box-shadow: 0 rgba(0, 0, 0, 0.3);
	border-radius:50px;	
}

.button .img:active {
	top:-3px;
	box-shadow: 0 rgba(0, 0, 0, 0.3);
	border-radius:50px;	
	transform: translateY(5px);
}

/* 横並びボタン */
.parity-button {
    background: url(../img/top/sp/botton-back.png)no-repeat center center;
    background-size: cover;
	position: relative;
    text-align: center;
    padding: 30px;
    flex: 1 1; /* ボタン範囲の比率 */
    max-width: 960px; /* ボタン最大幅は960px固定 */
	transition: all 0.3s;
}

.parity-button .img {
	max-width: 500px;
    height: auto;
	display: inline-block; /* 横並びに */
	margin: 0 auto;
	transition: all 0.3s;
}

.parity-button .img:hover {
	top:-3px;
	box-shadow: 0 rgba(0, 0, 0, 0.3);
	border-radius:50px;	
}

.parity-button .img:active {
	top:-3px;
	box-shadow: 0 rgba(0, 0, 0, 0.3);
	border-radius:50px;	
	transform: translateY(5px);
}

@media (min-width: 768px) {
    .button-container {
        flex-direction: row; /* 横並び */
    }
}

/* section
-------------------------------------------------------------------*/

 /* アンカーリンク */
.section {
	scroll-margin-top: -60px; 
}

 /* SP版ヘッダー隠し問題解決 */
.anchor {
	display: block;
	height: 80px; /* headerの高さよって調整できる */
	margin-top: -80px; /* heightと同じ */
	visibility: hidden;
}

.area_02 .topbox .img{
    height: 1264px;	
}

.area_02 .topbox .img img {
    height: 1264px;
}

.area_02 .topbox ul{
	bottom:41px;
}


.area_03 .topbox .img{
    height: 1105px;	
}

.area_03 .topbox .img img {
    height: 1105px;
}

.area_03 .topbox ul{
	bottom:47px;
}

.area_04 h2{
	background:url(../img/top/bg.png) no-repeat center;
	background-size:cover;
	text-align:center;
	padding:10px 0;
}

.area_04 .topbox .img{
    height: 1127px;	
}

.area_04 .topbox .img img {
    height: 1127px;
}

.area_04 .topbox ul{
	bottom:57px;
}

.area_05 .topbox .img{
    height: 1179px;	
}

.area_05 .topbox .img img {
    height: 1179px;
}

.area_05 .topbox ul{
	bottom:39px;
}

.area_06 .topbox .img{
    height: 1174px;	
}

.area_06 .topbox .img img {
    height: 1174px;
}

.area_06 .topbox ul{
	bottom:22px;
}

.area_07 .topbox .img{
    height: 1221px;	
}

.area_07 .topbox .img img {
    height: 1221px;
}

.area_07 .topbox ul{
	bottom:32px;
}

.area_08{
    padding:85px 0 30px 0;
}

.area_08 ul{
    width:816px;
	padding:34px 0 0 0;
}

.area_08 ul li{
    float:left;
	width:377px;
	padding:20px 30px 30px 0;
}

.area_08 ul li .btn{
    padding:16px 0 0 0;
}

.area_09{
    padding:0 0 85px 0;
}

.area_09 ul li{
    padding:15px 0 0 6px;
	float:left;
}

#link01,
#link02{
	padding-top:60px;
	margin-top:-60px;
}

.gmap {
	display: flex;
	position: relative;
	justify-content: center;
	height: 500px;
	margin: 0 auto;
  }

  #access .gmap iframe {
	width: 1920px;
	height: 100%;
	max-width: 100%;
	margin: 0 auto;
	border: none;
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
  }


@media screen and (max-width:768px) {

.main{
	text-align:center;
	position:relative;
}

.topbox{
    position:relative;
	width:100%;
	margin:0 auto;
}

.topbox ul{
    position:static;
	text-align:center;
	width:70%;
	margin:0 auto 20px;
}

.maintxt{
	background:url(../img/common/bg.gif);
	text-align:center;
	padding:20px;
}

.topbox ul li{
    padding:15px 0 0 0;
}

.area_01,
.area_02,
.area_03,
.area_07{
	background:url(../img/common/bg06.png);
}

.area_04,
.area_05,
.area_06{
	background:url(../img/common/bg07.png);
}


.area_08{
    padding:40px 0;
}

.area_08 .left{
	float:none;
	text-align:center;
	width:60%;
	margin:0 auto;
}

.area_08 ul{
    width:100%;
	padding:20px 0 0 0;
}

.area_08 ul li{
	width:100%;
	padding:0 15px 20px 15px;
	box-sizing:border-box;
}

.area_08 ul li .left,
.area_08 ul li .right{
    float:none;
}

.area_08 ul li .btn{
    padding:15px 0 0 0;
	width:55%;
	margin:0 auto;
	text-align:center;
}

.area_09{
    padding:0 0 40px 0;
}

.area_09 .left{
	float:none;
	text-align:center;
	width:60%;
	margin:0 auto 20px;
}

.area_09 ul{
    padding:0 10px;
}

.area_09 ul li{
    padding:5px;
	float:left;
	width:50%;
	box-sizing:border-box;
}

#link01,
#link02{
	padding-top:48px;
	margin-top:-48px;
}

.button-container {
	flex-direction: column; /* 上下排列 */
}

.button {
	background:url(../img/top/sp/botton-back.png);
	background-size: cover;
	text-align:center;
	padding: 30px 30px 30px 30px;
}

.button .img{
	width: 100%;
    height: auto; /* 讓高度自動適應內容 */
	text-align: center;
}

#sp .gmap {
    height: 500px;
    margin: 0;
  }

}