@charset "utf-8";

/*
Theme Name: パタヤ夜遊び情報
Theme URI: 
Description: 
Author: Toru Takahashi
Author URI:
Version: 9999
*/

/*-----------------------------------------------------------
	Reset Style
---------------------------------------------------------- */

body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,
fieldset,legend,input,textarea,p,blockquote,th,td {
	margin:0;
	padding:0;
}

table {
	border-collapse:collapse;
	border-spacing:0;
}

fieldset,img {
	border:0;
}

address,caption,cite,code,dfn,em,th,var {
	font-style:normal;
	font-weight:normal;
}

ol,ul {
	list-style:none;
}

caption,th {
	text-align:left;
}

h1,h2,h3,h4,h5,h6 {
	font-size:100%;
	font-weight:normal;
}

input,textarea,select {
	font-family:inherit;
	font-size:inherit;
	font-weight:inherit;
	border: none;
}



/*-----------------------------------------------------------
	body,背景
---------------------------------------------------------- */

body{
	/* 本文font-size: */
	font-size: 16px;
	font-family: "ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro","メイリオ","Meiryo",arial,Osaka,"ＭＳ Ｐゴシック","MS PGothic",Sans-Serif;
	color: #ffffff;
	line-height: 1.5em;
	background-color: #000000;
}

#backgroundimage{
	position: fixed;
	bottom: 50px;
	left: calc(50%+354px);
	left: 50%;
	width: 30vw;
	height: 100lvh;    /* ここにlvhを使うのがミソ */
	object-fit: cover;
	z-index: -1;
}



/*-----------------------------------------------------------
	decoration
---------------------------------------------------------- */

/* text */
a{
	color: #F3B400;
	font-weight: bold;
	text-decoration: none;
}

a:hover{
color:#f60;
}

a:active, a:focus {
outline: 0;
}

p{
line-height: 20px;
}

.gosic{
font-family :'Hiragino Kaku Gothic Pro','ヒラギノ角ゴ Pro W3','メイリオ', Meiryo, 'ＭＳ Ｐゴシック', sans-serif;
}

.serif{
font-family:"ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "ＭＳ Ｐ明朝", "MS PMincho",  serif;
}





/* clearfix */
.clearfix {
	width:100%;
}
.clearfix:after {
	content: "";
	display: table;
	clear: both;
}


/*-----------------------------------------------------------
	全体のWrapper構成
---------------------------------------------------------- */
#contents{
	width: 980px;
	margin: 10px auto;
	dislplay: flex;
}

#header{
	float: left;
	width: calc(100% - 10px);
	margin-top: 10px;
	margin-bottom: 10px;
	margin-right: 5px;
	margin-left: 5px;
	height: auto;
	/* border-top:5px solid #000000;	 上部の線 */
	font-family: "Century Gothic", sans-serif;
}

#banner{
	float: left;
	width: calc(100% - 10px);
	margin-top: 10px;
	margin-bottom: 10px;
	margin-right: 5px;
	margin-left: 5px;
}

#main{
	float: left;
	width: calc(100% - 10px);
	margin-top: 10px;
	margin-bottom: 10px;
	margin-right: 5px;
	margin-left: 5px;
}

#footer{
	width: calc(100% - 20px);
	margin:  50px auto;
	height: auto;
	border-radius: 4px;
	background-color: #000000;
	background-color: rgba(0, 0, 0, 0.26);/*背景透過*/
	font-size:16px;
}

#copyright{
	width: calc(100% - 20px);
	margin: 0 auto 10px;
	text-align: center;
	background-color: #000000;
	background-color: rgba(0, 0, 0, 0.26);/*背景透過*/

}


/*-----------------------------------------------------------
	header
---------------------------------------------------------- */
#header .info{
	position:relative
}

#header .info img{
	width: 100%;
	height:auto;
	object-fit: cover;
}

#header .text{
	position: absolute;
	top: 10px;
	left: 10px;
	font-size: 22px;
	font-weight: bold;
	font-family: "Century Gothic", sans-serif;
	color: #F3B400;/*文字色*/
	line-height: normal; /* 適正に行間を保つ */
	background-color: rgba(0, 0, 0, 0);/*背景透過*/
}

#header .box{
	margin-top: 10px;
	margin-bottom: 0px;
	padding-left: 15px;
	padding-right: 15px;
	width: calc(100% - 30px);
	padding-top: 0px;
	padding-bottom: 0px;
	height: auto;
	float: none;
	font-size: 16px;
	text-align: left;
	color: #ffffff;/*文字色*/
	color: #F3B400;/*文字色*/
	background-color: rgba(0, 0, 0, 0.5);/*背景透過*/
	display: flex;
	flex-direction: row; /* バナーを横並び */	
}


/*-----------------------------------------------------------
	banner
---------------------------------------------------------- */
#banner .box{
	margin-top: 10px;
	margin-bottom: 0px;
	padding-left: 15px;
	padding-right: 15px;
	width: calc(100% - 30px);
	padding-top: 0px;
	padding-bottom: 0px;
	height: auto;
	float: none;
	font-size: 16px;
	text-align: left;
	color: #ffffff;/*文字色*/
	text-align: left;
	background-color: rgba(0, 0, 0, 0.5);/*背景透過*/
}


#banner .banner_container{
	display: flex;
	flex-direction: row; /* 横並び */
	background-color: rgba(0, 0, 0, 0);/*背景透過*/
	text-align: center;
	gap: 20px; /* 画像間の上下左右スペースを調整 */
}

#banner .banner_container img{
	width: 100%;
	object-fit: cover; /* 縦横比を保ちつつ、指定した幅に合わせる */
}

#banner h2.decoration1{
	position: relative;
	margin-top: 20px;
	margin-bottom: 20px;
	width: calc(100% - 2em);
	padding-left: 1em;
	padding-right: 1em;
	padding-top: 0.2em;
	padding-bottom: 0.2em;
	font-size: 20px;
	font-weight: bold;
	font-family: "Century Gothic", sans-serif;
	border: 1px solid #ff1493;
	color: #ff1493;/*文字色*/
	background-color: rgba(0, 0, 0, 0.5);/*背景透過*/
}


/*-----------------------------------------------------------
	main
---------------------------------------------------------- */
#main .box{
	margin-top: 10px;
	border-radius: 5px;
	width: 100%;
	height: auto;
	border: 1px solid #ff1493;
	float: none;
	text-align: left;
	background-color: rgba(0, 0, 0, 0.5);/*背景透過*/
}

#main-view-list{
	margin-top: 5px;
	display: flex;
	flex-direction: row; /* 写真とboxを横並び */
}

#main-view-list .data-section{	/* 説明文表示エリアの幅 */
	width: 50%;
	float: none;
	line-height: normal; /* 適正に行間を保つ */
	overflow-wrap: break-word; /* 適宜に改行する */
	padding-left: 30px;
	padding-right: 30px;
	padding-top: 0px;
	padding-bottom: 15px;

}


#main-view-list .data-section .googlemap{
	aspect-ratio: 16/9;
	width: calc(100% - 10px);
	width: 100%;
	height: auto;
}


#main-view-list .photo-section{
	width: 50%;	/* 写真表示エリアの幅 */
	float: none;
	text-align: center;
	margin-top: 15px;
}

#main-view-list .photo-section img{ 	/* メイン写真 写真の大きさはここで調整するので、個別に大きさは書かなくてよい*/
	max-width: 94%;
	height: auto;
	object-fit: cover;
}

#main .box2{
	margin-top: 20px;
	padding-left: 30px;
	padding-right: 30px;
	width: calc(100% - 60px); /* 100%-padding */
	padding-top: 15px;
	padding-bottom: 15px;
	height: auto;
	border-radius: 5px;
	border: 1px solid #ff1493;
	float: none;
	text-align: left;
	background-color: rgba(0, 0, 0, 0.5);/*背景透過*/
}

#main h2.decoration1{
	position: relative;
	margin-top: 20px;
	margin-bottom: 10px;
	width: calc(100% - 2em);
	padding-left: 1em;
	padding-right: 1em;
	padding-top: 0.2em;
	padding-bottom: 0.2em;
	font-size: 20px;
	font-weight: bold;
	font-family: "Century Gothic", sans-serif;
	color: #000000;/*文字色*/
	background: #ff1493;
}

#main h2.decoration2{
	position: relative;
	margin-top: 0px;
	margin-bottom: 10px;
	width: 100%;
	padding-top: 0.2em;
	padding-bottom: 0.2em;
	font-size: 22px;
	font-weight: bold;
	font-family: "Century Gothic", sans-serif;
	color: #ffffff;/*文字色*/
	background-color: rgba(0,0,0,0);/*背景透過*/
}


#main .table_decoration1{
	margin-top: 10px;
	width: 100%;
}

#main .table_decoration1 th{
	padding: 10px;
	text-align: center;
	font-weight: bold;
	border: 0.5px solid #ff1493;
	background: #000000;
	background-color: rgba(0, 0, 0, 0.5);/*背景透過*/
}

#main .table_decoration1 td{
	padding: 10px;
	border: 0.5px solid #ff1493;
	background: #000000;
	background-color: rgba(0, 0, 0, 0.5);/*背景透過*/
	word-break: break-all;
}


/*-----------------------------------------------------------
	footer
---------------------------------------------------------- */

#footer .footer_container{
	color: #ff1493;
	max-width: 980px;
	margin: 0 auto;
	padding: 2rem;
	font-size: 16px;
}

#footer h2{
	width: 980px;
	max-width: 100%;
	margin: 0px auto 10px;
	font-size: 20px;
	font-family: "Century Gothic", sans-serif;
	font-weight: bold;
	color:#ff1493;
	padding: 10px 0;
	border-bottom: 2px solid;
}

#footer h5{
	font-size: 18px;
	font-family: "Century Gothic", sans-serif;
	font-weight: bolder;
	color:#004A68;
}

#footer table{
	border: 2px #32cd32 solid;
}


/*-----------------------------------------------------------
	ハンバーガーメニュー
---------------------------------------------------------- */
#menu_hamburger{
	position: relative;
	padding: 20px;
}

#menu_hamburger .menu_moji { /* メニュー文字 */
	position: fixed;
	top: 16px;
	right: 62px;	/* 16*4文字*/
	z-index: 100;
	width: auto;
	height: auto;
	font-size: 16px;
}

#menu_hamburger .hamburger {
	position: fixed;
	top: 0px;
	right: 20px;
	z-index: 100;
	width: 48px;
	height: 48px;
	border: none;
	background: transparent;
	cursor: pointer;
}

#menu_hamburger .hamburger__line {
	position: absolute;
	left: 11px;
	width: 26px;
	height: 2px;
	background-color: #ffffff;
	transition: all .4s;
}

/* ハンバーガーの三本線 */
#menu_hamburger .hamburger__line:nth-of-type(1) {
	top: 14px;
}
#menu_hamburger .hamburger__line:nth-of-type(2) {
	top: 23px;
}
#menu_hamburger .hamburger__line:nth-of-type(3) {
	top: 32px;
}

/* メニューオープン時の×印 */
.hamburger.active .hamburger__line:nth-of-type(1) {
	 transform: translateY(9px) rotate(-45deg);
}
.hamburger.active .hamburger__line:nth-of-type(2) {
	opacity: 0;
}
.hamburger.active .hamburger__line:nth-of-type(3) {
	transform: translateY(-9px) rotate(45deg);
}

.nav {			/* メニューオープン時の枠 */
	position: fixed;
	top: 0;
	left: 0;
	width: 300px;
	height: 100vh;	/* 100vh = 画面の縦100% */
	background-color: #fff;
	box-shadow: 2px 0 4px rgba(0,0,0,.1);
	transform: translateX(-100%);
	transition: transform .4s;
	z-index: 90;
}

.nav.active {
	transform: translateX(0);
}

.nav__list {
	margin: 0;
	padding: 10px 0 0;	/* メニュー内、最初の文字の上の余白*/
	list-style: none;
}

.nav__item {
	padding: 0 40px;	/* メニュー内、文字左の余白*/
}

.nav__link {
	display: block;
	padding: 15px 0;
	color: #333;
	text-decoration: none;
	border-bottom: 1px solid #eee;
}



/*-----------------------------------------------------------
	スマホ・タブレット用サイズ調整
---------------------------------------------------------- */
@media screen and (max-width: 480px) { /* スマホのとき */
}


@media screen and (min-width: 981px) { /* 981px以上のとき */
/*
	#menu_hamburger{
		display: none;
	}

	.nav-menu{
		display: none;
	}
*/
}


@media screen and (max-width: 980px) { /* CONTENTS幅である980pxより小さい画面のとき */

	body{
		background-image: none;
	}

	#backgroundimage{
		top: 0;
		left: 0;
		width: 100vw;
		height: 100lvh;    /* ここにlvhを使うのがミソ */
	}

	#contents{
		width: calc(100% - 10px);
	}

	#header{
		width: 100%;
		margin-top: 10px;
		margin-bottom: 10px;
		margin: 0px auto;
	}

	#banner .banner_container{
		flex-direction: column;  /* 縦並び */
	}

	#header .relative {
	        max-width:100%;
		object-fit: contain;
	}

	#main{
		width: 100%;
		margin-top: 10px;
		margin-bottom: 10px;
		margin: 0px auto;
	}

	#main-view-list{
		flex-direction: column;  /* photoとdataを縦並び */
	}

	#main-view-list .photo-section{
		width: 100%;
	}

	#main-view-list img{ 	/* メイン写真 写真の大きさはここで調整するので、個別に大きさは書かなくてよい*/
		width: 100%;
	}

	#main-view-list .data-section{
		width: calc(100% - 20px);
		padding-left: 10px;
		padding-right: 10px;
	}

	#main .box2{
		width: calc(100% - 20px);
		padding-left: 10px;
		padding-right: 10px;
	}




	#footer{
		width: 100%;
	}

}

