﻿article, aside, details, figcaption, figure, header, hgroup, menu, nav, section {
	display: block;
}

body {
	background-color: #000;
	font-family: 'Noto Sans JP',	sans-serif, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic";
	color: #FFF;
	line-height: 1.8em;
	font-size: 2.5em;
  padding-bottom: 25px;
}

h1 {
    font-size: 0.9em;
    margin: 0px;
}

h2 {  
    font-size: 0.9em;
    margin: 30px 0px 0px 0px;
}

h3 {
	margin: 60px 0px 60px 0px;
	line-height: 1.5em;
}

img {
	border: 0px;
}

a {
	text-decoration: none;
}
a:link {
	color: #FF0;
}
a:visited {
	color: #FF0;
}
a:hover {
	color: #FF0;
	text-decoration: underline;
}
a:active {
	color: #FF0;
}


#wrap {
    margin: 0 auto;
    width: 960px;
}

#menu {
    margin: 0px;
    padding: 0px;
}

#menu li {
	float: left;
    list-style-type: none;
}

#mainimg {
    width: 960px;
    height: 350px;
    margin: 0px 0px 50px 0px;
}

#contents {
	width: 960px;
}

#wideContents {
	width: 960px;
}

#newsbox {
	width: 933px;
	height: auto;
	padding: 10px;
	margin-bottom: 50px;
	background-color: #000;
}

#newsbox p {
	border-bottom: solid 1px #CCC;
	margin: 0px 0px 0px 0px
}

.contentsbox {
	width: 933px;
	height: auto;
	padding: 10px;
	margin-bottom: 15px;
	background-color: #000;
}

.wideContentsbox {
	width: 933px;
	height: auto;
	padding: 10px;
	margin-bottom: 15px;
	background-color: #000;
}

.imgbox {
	width: 370px;
	height: 400px;
	float: right;
	margin: 20px 0px 10px 25px;
}

.imgbox2 {
	width: 370px;
	height: 500px;
	float: left;
	margin: 20px 25px 10px 0px;
}

.midashi {
	font-weight: bold;
	color: #FF0;
	font-size: 1.5em;
}

.clear {
	clear: both;
}

.topLogo {
	margin-top: 35px;
}

#sidenavi {
	width: 330px;
	margin-left: 15px;
	float: left;
}

#goannai {
	font-size: 1.2em;
	border-bottom: solid 2px #C30;
	margin: 0px 0px 15px 0px;
	color: #FF0;
}

.sidebox {
	width: 330px;
	height: 130px;
	margin-bottom: 15px;
}

footer {
	background-color: #000;
	clear: both;
	text-align: center;
	font-size: 0.85em;
	background-repeat: no-repeat;
	padding-top: 30px;
	display: block;
}

.minibox {
	width: 180px;
	height: 200px;
	margin: 0px 40px 10px 40px;
	float: left;
}

.tablestyle {
	text-align: left;
	width: 593px;
}
.tablestyle th {
	background-color: #FF0;
	color: #000;
	text-align: center;
}
.tablestyle td {
	border-bottom: dashed 1px #FF0;
}

.sinquiry {
	width: 500px;
	height: 20px;
	margin-bottom: 40px;
}
.binquiry {
	width: 502px;
	height: 200px;
}
.tinquiry {
	width: 508px;
	height: 30px;
	margin-bottom: 40px;
}
.submit {
	width: 200px;
	height: 60px;
	font-size: 1.0em;
}

#slideshow {
   position: relative;
   width: 960px; /* 画像の横幅に合わせて記述 */
   height: 350px; /* 画像の高さに合わせて記述 */
}
#slideshow img {
   position: absolute;

   z-index: 8;
   opacity: 0.0;
}
#slideshow img.active {
   z-index: 10;
   opacity: 1.0;
}
#slideshow img.last-active {
   z-index: 9;
}

.ad-area {
  clear: both;          /* 上のfloatをリセット */
  margin: 100px auto 40px auto;    /* 上下に余白 */
  text-align: center;   /* 真ん中寄せ */
  max-width: 900px;     /* 必要なら幅を制限 */
}

.footer-instagram {
  width: 100%;
  text-align: center;
  margin: 40px 0 20px 0;
}

.insta-icon {
  width: 120px;      /* スマホでも大きすぎないサイズ */
  height: auto;
  display: inline-block;
  filter: brightness(1.1);
  transition: 0.3s;
}

.insta-icon:hover {
  opacity: 0.7;
}


/* ========= PCレイアウト用 ========= */
@media (min-width: 769px) {

  /* PCでは文字を少し小さめに */
  body {
    font-size: 1.8em;
    line-height: 1.8em;
  }

  /* ヘッダーを横並びレイアウトに */
  header {
    position: relative;
    width: 960px;
    margin: 0 auto;
    padding: 20px 0 10px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  /* ロゴの余白をPCだけ調整（スマホは既存のまま） */
  .topLogo {
    margin-top: 0;
    max-width: 320px;
    height: auto;
  }

  /* navコンテナのインラインスタイルを打ち消し */
  .nav {
    width: auto !important;
    height: auto !important;
    float: none !important;
  }

  /* PCではハンバーガーアイコンを非表示 */
  .drawer_open {
    display: none;
  }

  /* チェックボックスも非表示（既に非表示だが念のため） */
  #drawer_input {
    display: none;
  }

  /* メニューをオーバーレイではなく通常表示に変更 */
  .nav_content {
    position: static;
    width: auto;
    height: auto;
    background: transparent;
    left: auto;
    top: auto;
    transition: none;
  }

  /* メニューを横並びに */
  .nav_list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 24px;
    align-items: center;
  }

  .nav_item {
    font-size: 0.85em;
    line-height: 1.2;
  }

  .nav_item a {
    color: #FF0;
    text-decoration: none;
  }

  .nav_item a:hover {
    text-decoration: underline;
  }

  /* メインのラッパーは中央寄せを明示（PCだけ） */
  #wrap {
    width: 960px;
    margin: 0 auto;
  }

  #contents,
  #wideContents {
    width: 960px;
    margin: 0 auto;
  }

  #mainimg,
  #slideshow {
    width: 960px;
    margin: 0 auto 50px auto;
  }

  /* 広告ブロックの余白をPC用に少し詰める */
  .ad-area {
    margin: 60px auto 40px auto;
    max-width: 900px;
    text-align: center;
  }

  /* コンテンツボックスはPCでも横幅いっぱい使う */
  #newsbox,
  .contentsbox,
  .wideContentsbox {
    width: 933px;
    box-sizing: border-box;
  }

  /* 画像ボックスはPCでも同じく横並び前提
     高さ指定を外しておくと崩れにくい */
  .imgbox,
  .imgbox2 {
    height: auto;
  }

  .imgbox img,
  .imgbox2 img {
    width: 100%;
    height: auto;
    display: block;
  }

  /* フッターも中央寄せを明示 */
  footer {
    width: 960px;
    margin: 60px auto 0 auto;
    padding-top: 30px;
    height: auto;
  }

  .insta-icon {
    width: 100px;
  }
}

/* ========= SPレイアウト用 ========= */
@media (max-width: 769px) {

/* ハンバーガーメニューここから */
  
/* チェックボックスを非表示にする */
.drawer_hidden {
  display: none;
}

/* ハンバーガーアイコンの設置スペース */
.drawer_open {
  display: flex;
  height: 115px;
  width: 110px;
  justify-content: right;
  align-items: center;
  position: fixed;
  z-index: 100;/* 重なり順を一番上にする */
  cursor: pointer;
  margin: 0px 20px 0px 0px;
}

/* ハンバーガーメニューのアイコン */
.drawer_open span,
.drawer_open span:before,
.drawer_open span:after {
  content: '';
  display: block;
  height: 6px;
  width: 65px;
  border-radius: 0px;
  background: #FF0;
  transition: 0.5s;
  position: absolute;
}

/* 三本線の一番上の棒の位置調整 */
.drawer_open span:before {
  bottom: 25px;
}

/* 三本線の一番下の棒の位置調整 */
.drawer_open span:after {
  top: 25px;
}

/* アイコンがクリックされたら真ん中の線を透明にする */
#drawer_input:checked ~ .drawer_open span {
  background: rgba(255, 255, 255, 0);
}

/* アイコンがクリックされたらアイコンが×印になように上下の線を回転 */
#drawer_input:checked ~ .drawer_open span::before {
  bottom: 0;
  transform:rotate(45deg);
}

#drawer_input:checked ~ .drawer_open span::after {
  top: 0;
  transform:rotate(-45deg);
}
  
/* メニューのデザイン*/
.nav_content {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 100%; /* メニューを画面の外に飛ばす */
  z-index: 99;
  background: #000;
  transition: .5s;
}

/* メニュー黒ポチを消す */
.nav_list {
  list-style: none;
}

/* アイコンがクリックされたらメニューを表示 */
#drawer_input:checked ~ .nav_content {
  left: 0;/* メニューを画面に入れる */
}

/* チェックボックス非表示 */
input[type="checkbox" i] {
    appearance: none;
}

/* 表示リスト調整 */
.nav_item {
	font-size: 2.5em;
	line-height: 1.5em;
}

header {
	position: relative;
}

/* ハンバーガーメニューここまで */

}