charset "utf-8";

*{
    box-sizing:border-box; /*余白や線を幅や高さに含める*/
}


body {
  width:100%;
   background-color:#fff;
    margin:0;
    padding:0;
font-family: '游明朝','Yu Mincho',YuMincho,'Hiragino Mincho Pro',serif;
}

header {
   position: fixed;
   padding: 10px 4% 10px;
   top: 0;
   width: 100%;
height: 110px;
   background-color: #fff;
   display: flex;/*ロゴとulを横に並べる*/
   align-items: center;
z-index: 10;
}

@media (max-width: 1000px) {

.logo img {text-align:left;  margin: 10px  0 0 0;}
.logo img {width: 90%;}
}

img {
	max-width:100%;
	height: auto;/*高さ自動*/
}

/*========= ヘッダーナビ ===============*/
ul{            
    display:flex;
    list-style:none;                
  color: #666;  
font-weight: bold;
}
li{
    margin-left:40px;
}
a{
    text-decoration:none;
    color:#e6b422;
}
nav{
    margin-right:auto; /*メニューを右端に置く方法その２*/
}
a:hover{
    opacity: 0.5;
}   /*２個閉じ？*/

@media (max-width: 1000px) {
.logo img {text-align:left;  margin: 0 0 0 0px;}
.logo img {width: 85%;}
}


.sm {
  display: none;
}

/**********************************　
以下、ハンバーガーメニューの設定　
************************************/
@media (max-width: 1000px) {
  .pc {
    display: none;　
  }

  #hamburger {
    background-color: transparent;
    position: relative;　
    cursor: pointer;
    margin: 0 7px 0 0px;
    height: 60px;
    width: 60px;
  }

  .icon span {
    position: absolute;
    left: 0px;
    width: 30px;
    height: 4px;
    background-color: #444;
    border-radius: 8px;
    transition: ease 0.75s;
  }

  .icon span:nth-of-type(1) {
    top: 16px;
  }
  .icon span:nth-of-type(2) {
    top: 28px;
  }
  .icon span:nth-of-type(3) {
    bottom: 16px;
  }

  .close span:nth-of-type(1) {
    transform: rotate(45deg);
    top: 28px;
  }

  .close span:nth-of-type(2) {
    opacity: 0;
  }

  .close span:nth-of-type(3) {
      transform: rotate(-45deg);
      top: 28px;
  }

  .sm {
      top: 100px;
      left: 0px;
      position: absolute;
      z-index: 10;
      width: 100%;
line-height: 33px;
    background-color: #ffffff;
  }

  ul {
    flex-direction: column;
  }

  a {
    text-align: center; 
    border-top: solid 0.5px rgba(242,214,117,1);
  }
}

/*========= レイアウトのためのCSS ===============*/
/*メインコンテンツ
-------------------------------------*/
main {
  padding:25px;
margin-top: 160px;
}


h1{
.logo img {                                           /*ロゴ*/
  width: 100%; /*bodyの幅に対する割合 */
  max-width: 100%;
}

}

                                                 /*見出し*/
h2{                                                        
  font-size:1.6rem;
  text-align: center;
  margin: 0 0 30px 0;
font-family: '游明朝','Yu Mincho',YuMincho,'Hiragino Mincho Pro',serif;
}

h3{                                                        
  font-size:1.2rem;
  text-align: center;
  margin: 20px 0 10px 0;
font-family: '游明朝','Yu Mincho',YuMincho,'Hiragino Mincho Pro',serif;
}

h4{             
  writing-mode: vertical-rl;                                           
  font-size:1.2rem;
font-family: '游明朝','Yu Mincho',YuMincho,'Hiragino Mincho Pro',serif;
}
h5{             
  font-size:1.2rem;
  text-align: left;
  margin: 10px 0 0px 0;
font-family: '游明朝','Yu Mincho',YuMincho,'Hiragino Mincho Pro',serif;
}

h6{             
  font-size:1.6rem;
  text-align: center;
  margin: 10px 0 0px 0;
   padding: 15px;
font-family: '游明朝','Yu Mincho',YuMincho,'Hiragino Mincho Pro',serif;
}

/* モバイル表示 */
@media (min-width: 900px) {
  h2 { font-size: 1.8rem; }
  h3 { font-size: 1.2rem; }
}

.wrapper1 {
    display: grid;
}

.wrapper1 {
    max-width: 960px;
    margin: 0 auto;
   padding: 15px;
    text-align: center;
 background-image: url(./images/back_3.png);  /*背景画像*/
  }

}
  .txt1 {
    display: inline-block;
    text-align: left;
line-height: 35px;
  }

.wrapper2 {
    max-width: 960px;
    margin: 0 auto;
   padding: 15px;
    text-align: center;
    background: #f0f8ff;
  margin-top: 50px;
  }
  .txt2 {
    display: inline-block;
  margin-top:30px;  
    text-align: center;
  }
.wrapper3 {
    max-width: 960px;
    margin: 0 auto;
   padding: 0px;
    text-align: center;
    background: #ffffff;
  }
  .txt3 {
    display: inline-block;
  margin-top:60px;  
    text-align: left;
line-height: 35px;
  }
.wrapper4 {
    max-width: 960px;
    margin: 0 auto;
   padding: 10px;
    text-align: center;
    background: #ffffff;
  }
  .txt4 {
    display: inline-block;
  margin: 10px  0 0 0;
    text-align: left;
line-height: 35px;
  }

.wrapper5 {
    max-width: 960px;
    margin: 0 auto;
   padding: 15px;
    text-align: center;
 background-image: url(./images/back.png);  /*背景画像*/
  margin-top: 40px;
  }
  .txt5 {
    display: inline-block;
  margin: 10px  0 0 0;
    text-align: left;
line-height: 35px;
  }

table1{
  border-collapse: collapse;
  width: 100%;
}
.tb01 th,
.tb01 td{
  padding: 10px;
  color: #oooooo;
  border: solid 1px #ccc;
  text-align:center;
  box-sizing:border-box;
  background: #89c3eb;
}
.tb01 th {
  background: #89c3eb;
  color: #000000;
  
}
@media screen and (max-width: 900px) {
  .tb01 {
    width: 100%;
  }
  table.tb01 th,
  table.tb01 td {
    display: block;
    width: 100%;
    border-bottom:none;
  }
  .tb01 tr:last-child{
    border-bottom: solid 1px #ccc;
  }
}


/* sp */
@media only screen and (max-width: 480px) {
  #table01 th,
  #table01 td {
    width: 100%;
    display: block;
  }

  #table01 th {
    width: 100%;
  }

  #table01 td {
    padding-top: 0;
  }
}


p{
  margin-top:10px;  
}

p.sabu{
  margin-top:15px;  
  font-size:1.2rem;
}

p.fooper{
  margin-top:10px;  
  font-size:1.2rem;
}

table2{
  border-collapse: collapse;
  width: 100%;
}
.tb02 th,
.tb02 td{
  padding: 10px;
  color: #oooooo;
  border: solid 1px #ccc;
  text-align:center;
  box-sizing:border-box;
  background: #84b9cb;
}
.tb02 th {
  background: #84b9cb;
  color: #ffffff;
  
}
@media screen and (max-width: 900px) {
  .tb02 {
    width: 100%;
  }
  table.tb02 th,
  table.tb02 td {
    display: block;
    width: 100%;
    border-bottom:none;
  }
  .tb02 tr:last-child{
    border-bottom: solid 1px #ccc;
  }
}


/* sp */
@media only screen and (max-width: 480px) {
  #table02 th,
  #table02 td {
    width: 100%;
    display: block;
  }

  #table02 th {
    width: 100%;
  }

  #table02 td {
    padding-top: 0;
  }
}


p{
  margin-top:10px;  
}

p.sabu{
  margin-top:15px;  
  font-size:1.2rem;
}

p.fooper{
  margin-top:10px;  
  font-size:1.2rem;
}

/*========= 本文 ===============*/

section{
  padding:60px;
margin-top: 120px;
}

section:nth-child(2n){
  background:#ffffff;                /*背景色 */
}


.mainimg img {                                                  /*top写真*/
  width: 100%; /*bodyの幅に対する割合 */
  max-width: 100%;
}

.oshirase_photo img {                                                  /*お知らせ写真*/
  width: 90%; /*bodyの幅に対する割合 */
  max-width: 90%;
}

.photo_gallery img {                                                  /*写真*/
  width: 90%; /*bodyの幅に対する割合 */
  max-width: 100%;
}
.photo_giyouji1 img {                                                  /*写真*/
  width: 100%; /*bodyの幅に対する割合 */
  max-width: 100%;
}
.photo_giyouji img {                                                  /*写真*/
  width: 100%; /*bodyの幅に対する割合 */
  max-width: 100%;
}


.reisai_sozai img {                                                  /*写真*/
  width: 80%; /*bodyの幅に対する割合 */
  max-width: 80%;
}

.px {
  font-size: 20px
}

.vertical-rl {
  /* 縦書きモード */
  writing-mode: vertical-rl;
  /* 高さ調節 */
  height: 400px;
  /* 右寄せ */
  margin-left: auto;
  /* 行間を調整 */
  line-height: 31px;
  /* 文字間を調整 */
  letter-spacing: 2px;
}
@media (max-width: 767px) {
  .vertical-contents {
    /* コンテンツを縦並びに変更 */
    flex-direction: column;
  }
  .vertical-rl {
    /* 縦書きモード解除 */
    writing-mode: unset;
    /* 高さ調節 */
    height: auto;
  }
  .vertical-btn {
    /* コンテンツを縦並びに変更 */
    writing-mode: unset;
  }
}


figure.side_image {                                /*地図*/
  display: inline-block;

}
p,figure {
  margin-bottom: 20px;
  text-align: left;
}
/*========= レスポンシブ用（スマホ）CSS ===============*/ 
@media screen and (min-width: 767px) { /* 767px以上の画面のみ横並びを適用 */
 
  p,figure {
    margin-bottom: 0;
    text-align: left;
  }
 
  figure.side_image {
    display: inline-block;
  }
 
  p.side_text {
    display: inline-block;
    width: 300px;
    margin-left: 5px;
line-height: 30px;
    vertical-align: top;
  }

}　　　　　　
footer .container {
  padding: 60px 0;
}

footer .template {
  text-align: center;
  width: 100%;
  padding: 45px  0 40px 0;           /*フッター余白内側*/
 background-image: url(./images/footer_back1.png);  /*背景画像*/
background-repeat:repeat;    
  color: #ffffff;
  font-size: 14px;
line-height: 24px;
}

footer a.home {
  text-decoration: none;
  color: #fffffff;
  display: block;
  padding: 10px 20px;
  font-size: 14px;
}


/*ページトップへ戻るボタン
-------------------------------------*/
#pagetop {
    position: fixed;
    bottom: 15px;
    right: 15px;
}
#pagetop a {
    display: block;
   background-color:#fff;
    background-color: var(--base-color);
    color: var(--white-color);
    width: 50px;
    padding: 10px 5px;
    text-align: center;
}
#pagetop a:hover {
    background-color: var(--link-color);
}
