@charset "UTF-8";

html {
  font-size: 100%;
}

body {
  background-image: url(../img/main_bg.jpg);
  background-color: #000;
  /* 背景色 */
  background-size: cover;
  /* 全画面 */
  background-attachment: fixed;
  /* 固定 */
  background-position: center center;
  /* 縦横中央 */
  color: hsl(0, 0%, 100%);
  font-size: 0.8em;
  font-family: "Zen Kaku Gothic New", sans-serif;
  text-align: center;
}

img {
  max-width: 100%;
}

/* サイト全体のコンテンツ幅を設定 */
.container {
  max-width: 1100px;
  margin: 0 auto;
}

/* 中のコンテンツ部分の最大幅を設定 */
.inner {
  border: 0;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}


.section-title {
  background-image: url(../img/kazari.png);
  background-repeat: no-repeat;
  background-size: 14%;
  background-position: top;
  font-family: "Zen Old Mincho", serif;
  text-align: center;
  letter-spacing: 0.15em;
  font-size: 1.75rem;
  font-weight: bold;
  margin-bottom: 30px;
  padding-top: 60px;
}

.font-txt {
  font-family: "Zen Old Mincho", serif;
  font-size: 16px;
  letter-spacing: 0.1em;
}

.font-txt span {
  font-family: "Zen Old Mincho", serif;
  font-size: 270%;
  letter-spacing: 0.1em;
}

p {
  margin-top: 1.4em;
  font-size: 1.4rem;
}

.time{
 display: flex;
  justify-content: center;
  width: 100%;
  gap: 1em;
}



.item {
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: "Zen Old Mincho", serif;
  font-size: 140%;
  text-align: left;
  letter-spacing: 0.1em;
  margin-bottom: 0px;
  line-height: 80%;
  white-space: nowrap;
}

.item>div {
  justify-content: center;
  align-items: center;
  width: auto;
  padding: 10px;
}

/* .item2 {
  display: flex;
  justify-content: center;
  font-family: "Zen Old Mincho", serif;
  font-size: 150%;
  text-align: left;
  letter-spacing: 0.1em;
  margin-bottom: 0px;
  line-height: 80%;
}
.item2>div{
  justify-content: center;
  align-items: center;
  width: auto;
  padding: 10px;
text-align: center;} */

a.btn_01 {
  display: block;
  text-align: center;
  vertical-align: middle;
  text-decoration: none;
  width: 250px;
  margin: 50px auto;
  padding: 1rem 1rem;
  font-weight: bold;
  border: 2px solid #27acd9;
  background: #27acd9;
  color: #fff;
  border-radius: 100vh;
  transition: 0.5s;
}

a.btn_01:hover {
  color: #27acd9;
  background: #fff;
}

.gmap {
  height: 0;
  overflow: hidden;
  padding-bottom: 56.25%;
  position: relative;
}

.gmap iframe {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
}

/*-------------------------------------------
ヘッダー
-------------------------------------------*/

.header {
  z-index: 1;
  color: #000;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3em;
  background: #fff;

  display: flex;
  justify-content: center;
  align-items: center;
}

.nav ul {
  display: flex;
  justify-content: center;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav li::before {
  content: "｜";
  margin: 0 10px;
}

.nav li:last-child::after {
  content: "｜";
  margin-left: 10px;
}

.header a {
  color: #000;
  text-decoration: none;
}

html {
  scroll-behavior: smooth;
}

.switch{
    position:relative;
}

.switch-icon{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    transition:opacity .3s ease;
}

.icon-left{
    left:16px;
    opacity:0;   /* 初期は非表示 */
}

.icon-right{
    right:16px;
    opacity:1;   /* 初期は表示 */
}

.switch-icon img{
    width:24px;
    height:24px;
}
.icon-right{
    opacity:1;
}

.icon-left{
    opacity:0;
}

/* ON（ノブ右） */
#switch:checked + .image-area + .switch .icon-right{
    opacity:0;
}

#switch:checked + .image-area + .switch .icon-left{
    opacity:1;
}
/*-------------------------------------------
MAP
-------------------------------------------*/
.switch-area .image-area {
  position: relative;
}

.switch-area .image-area img {
  width: 100%;
}

.switch-area .img-a {
  display: block;
}

.switch-area .img-b {
  display: none;
}

#switch:checked~.image-area .img-a {
  display: none;
}

#switch:checked~.image-area .img-b {
  display: block;
}

.switch-area .switch {
  width: 110px;
  height: 50px;
  background:#fdc37d;
  border-radius: 999px;
  display: block;
  position: relative;
  cursor: pointer;
  margin: 1em auto 0;
  transition: background-color .3s ease;
}

#switch:checked + .image-area + .switch{
    background:#78a5ff; /* 赤 */
}

.switch-area .knob {
  width: 44px;
  height: 44px;
  background: #ff7c0a;
  border-radius: 50%;
  position: absolute;
  top: 3px;
  left: 4px;
  transition: .3s;
}

#switch:checked+.image-area+.switch .knob {
  left: 62px;
}

.knob {
  width: 56px;
  height: 56px;
  position: absolute;
  top: 8px;
  left: 8px;
  border-radius: 50%;
  overflow: hidden;
  transition:
        left .4s ease,
        background-color .4s ease;
  background:#fff; /* 左の色 */
}

#switch:checked + .image-area + .switch .knob{
    left:96px;
    background:#1e6dc1; /* 右の色 */
}

.knob img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.icon-a {
  display: block;
}

.icon-b {
  display: none;
}

/* ノブ移動 */
#switch:checked+.image-area+.switch .knob {
  left: 62px;
}

/* ノブ内の画像切替 */
#switch:checked+.image-area+.switch .icon-a {
  display: none;
}

#switch:checked+.image-area+.switch .icon-b {
  display: block;
}

/*-------------------------------------------
Mainvisual
-------------------------------------------*/
#mainvisual {
  margin-bottom: 30px;
  display: flex;
  justify-content: center;
  padding: 50px;
}



/*-------------------------------------------
news
-------------------------------------------*/
#news {
  display: inline-block;
  /* インラインブロックにする */
  background-image: url(../img/news_bg.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 95%;
  letter-spacing: 0.1em;
  padding: 100px 100px;
  margin-bottom: 100px;
  margin-top: 30px;
}

#news .text {
  font-size: 0.8em;
  letter-spacing: 0.1em;
  font-family: "Zen Old Mincho", sans-serif;
  text-align: center;
  padding: 0px 30px 20px 30px;
}

#news .site-title {
  text-align: center;
  /* 文字中央寄せ */
  font-family: "Zen Old Mincho", serif;
  font-size: 180%;
  letter-spacing: 0.2em;
  margin-bottom: 10px;
}



/*-------------------------------------------
contents
-------------------------------------------*/
#contents {
  margin-bottom: 60px;
  display: flex;
  justify-content: center;
  text-align: center;
}

#contents .box1 {
  display: flex;
  justify-content: center;
  text-align: center;
  color: #ffffff;
  width: 90%;
  margin: 0em auto;
  padding: 1em;
  /*内側余白*/
  border-radius: 10px;
  /*丸みを調整*/
}

#contents .box2 {
  text-align: center;
  color: #ffffff;
  width: 60%;
  margin: 1em auto;
  padding: 0.5em;
  /*内側余白*/
  background-color: rgb(65, 187, 0);
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 14px;
  font-weight: 700;
}

#contents .box3 {
  text-align: right;
  color: #ffffff;
  padding: 0.5em;
  /*内側余白*/
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 14px;
  font-weight: 700;
}


#contents .box4 {
  text-align: center;
  color: #ffffff;
  width: 60%;
  margin: 1em auto;
  padding: 0.5em;
  /*内側余白*/
  background-color: rgb(39, 128, 222);
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 14px;
  font-weight: 700;
}


#contents .box5 {
  text-align: center;
  color: #ffffff;
  width: 60%;
  margin: 1em auto;
  padding: 0.5em;
  /*内側余白*/
  background-color: rgb(1, 101, 44);
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 14px;
  font-weight: 700;
}

#contents .box7 {
  text-align: center;
  color: #ffffff;
  width: 60%;
  margin: 1em auto;
  padding: 0.5em;
  /*内側余白*/
  background-color: #c16291;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 14px;
  font-weight: 700;
}

#contents .box6 {
  text-align: center;
  color: #ffffff;
  width: 100%;
  margin: 1em auto;
  padding: 0.5em;
  /*内側余白*/
  border: solid 1px #dedede;
  border-radius: 5px;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 12px;
  font-weight: 500;
}


#contents .site-title {
  text-align: center;
  /* 文字中央寄せ */
  font-family: "Zen Old Mincho", serif;
  font-size: 180%;
  letter-spacing: 0.2em;
  margin-bottom: 10px;
}

#contents .box8 {
  color: #ffffff;
  margin: 1em auto;
  padding: 0.5em;
  /*内側余白*/
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 14px;
  font-weight: 700;
}

#contents .box9 {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

#contents .box9 div {
  display: flex;
}

#contents .box9 div img {
  width: 2em;
  height: 2em;
  margin: 0 0.2em;
}


/*-------------------------------------------
Detail
-------------------------------------------*/
#detail {
  margin-bottom: 0px;
}

#detail .content {
  display: flex;
  align-items: flex-start;
}

#detail .content .title {
  font-size: 1.125rem;
  font-weight: bold;
}

#detail .content .img {
  width: 270px;
  margin-right: 60px;
}

#detail .content .text p {
  margin-bottom: 20px;
}

#detail .content dl {
  display: flex;
  /* dt、ddを横並びにする */
  flex-wrap: wrap;
  /* dtとddが100%になったら、横並びを折り返す */
  padding: 16px 0;
  margin-bottom: 25px;
  border-top: solid 0px #dedede;
  border-bottom: solid 1px #dedede;
}

#detail .content dt {
  width: 25%;
}

#detail .content dd {
  width: 75%;
}

#detail .content .link {
  color: #333;
}

#detail .content .link:hover {
  opacity: 0.8;
}

/*-------------------------------------------
footer
-------------------------------------------*/
#footer {
  font-size: 0.8rem;
  background-color: #0e1d4a;
  height: 180px;
  bottom: 0;
}

#footer .span {
  text-align: left;
  font-size: 11px;
  font-family: "Zen Kaku Gothic New", sans-serif;
  color: #fff;
  line-height: 0.5em;
}

#footer .box1 {
  display: flex;
  justify-content: center;
  text-align: center;
  color: #ffffff;
  width: 90%;
  margin: 0;
  padding: 0;
  /*内側余白*/
}

[id] {
  scroll-margin-top: 5vh;
}

/*-------------------------------------------
TOPへ戻る
-------------------------------------------*/
.pagetop img {
  display: block;
  width: 100%;
  height: auto;
}

.pagetop {
  width: 50px;
  right: 3%;
  display: block;
  z-index: 1000;
  opacity: 1;
  visibility: visible;
}

/*-------------------------------------------
SP
-------------------------------------------*/
@media screen and (max-width: 1024px) {
  .inner {
    width: 80%;
  }

  .section-title {
    background-size: 30%;
  }

  /*-------------------------------------------
  ヘッダー
  -------------------------------------------*/
  #header {
    padding: 0 10px;
  }

  /*-------------------------------------------
  Mainvisual
  -------------------------------------------*/
  #mainvisual {
    padding: 0 10px;
    margin-top: 3em;
  }

  /*-------------------------------------------
news
-------------------------------------------*/

  #news {
    padding: 50px 30px;
  }



  /*-------------------------------------------
  font
  -------------------------------------------*/
  .zen-old-mincho-regular {
    font-family: "Zen Old Mincho", serif;
    font-weight: 400;
    font-style: normal;
  }

  .zen-kaku-gothic-new-regular {
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-weight: 400;
    font-style: normal;
  }

  #contents p {
    white-space: nowrap;
    font-size: 1.1rem;

  }

  #nonowrap p {
    white-space: normal !important;
  }
  #contents .box2 {
  width: 70%;
  }