@charset "utf-8";
@import "reset.css";
@import "cmn-options.css";
@import url('https://fonts.googleapis.com/css2?family=Kiwi+Maru&family=Dela+Gothic+One&display=swap');

:root {
  --blue: #004898;
}


body * {
  box-sizing : border-box;
}

#bodywrap {
  background-color:var(--blue);
  /*
  background: url(../img/back.webp) 0 0 repeat;
  */
 background-attachment: fixed;
  }


#wrapper_head {
  width: 100%;
  max-width: 780px;
  height: auto;
  margin: 0 auto;
}


#wrapper {
  width: 100%;
  max-width: 780px;
  height: auto;
  background-color:#fff;
  margin: 0 auto;
  overflow: hidden;
}

/* フォント */
.kiwi{font-family: 'Kiwi Maru', serif;}
.dela-gothic{
  font-family: "Dela Gothic One", sans-serif;
  font-weight: 400;
  font-style: normal;
}


a:hover{opacity: 0.5;}

.txt {
  font-size: 1.5em;
  line-height: 1.5;
}


/* ヘッダー */

#header{
  position:relative;
  background: url(../img/main.webp) 0 0 no-repeat;
  background-size: 100% auto;
  background-color:#fff;
  width: 100%;
  padding-top:120%;
  overflow: hidden;
  }



.font5 {
  font-size: 1.6em;
}

section h2{
text-align: center;
background: url(../img/midashi_back.png) 0 0 no-repeat;
background-size: 100% auto;
position: relative;
height:5.5em;
font-size: 4em;
color:var(--blue);
margin: 6% 0%;
filter: drop-shadow(0px 6px 5px rgba(170, 170, 170, 0.5));
}

/* SPでは見出し枠の天地中央に文字ブロックを配置する */
@media screen and (max-width: 767px) {
  section h2 {
    display: grid;
    place-items: center;
    line-height: 1.2 !important;
    padding-top: 0 !important;
    /* フォントのベースライン分を補正し、見た目の中心を枠の中心に合わせる */
    padding-bottom: 1.2em !important;
  }
}

.shadow{text-shadow: 0px 0px 8px #999;}


.midashi {
  font-size: 2.2em;
}

.midashi2 {
  font-size: 3.3em;
}


.wht{color: #fff;}

.bggrd {
  background: linear-gradient(#f3e3d1, #fff);
}

/* TOPボタン */
  .pagetop {
    display: none;
    position: fixed;
    bottom: 5px;
    right: 5px;
	z-index:999;
}
.pagetop a {
    display: block;
    text-align: center;
    font-size: 12px;
    text-decoration: none;
    padding: 5px 10px;
}
.pagetop a:hover {
    display: block;
    text-align: center;
    font-size: 12px;
    text-decoration: none;
    padding:5px 10px;
}

.dspflex{display: flex;flex-wrap: wrap;justify-content: space-between;padding:0 8%;gap:20px 0;}
.clm_rv{flex-direction:row-reverse;}




/* フッター
*******************************/
#footer {
  border-top: solid 1px #000;
  text-align: center;
  padding: 10px 0;
  width: 100%;
  margin-top: 5px;
}

#footer p {
  width: 100%;
  margin: 0 auto;
}

ul.example li {
background:#eeeeee;
text-align: center;	
width: 30%;
margin-left:2.2%;
display: inline-block;
}

ul.example li a{
color: #333333;
display: block;
text-decoration:none;
padding:5% 4% 5% 4%;
}



.youtube-container {
  position: relative;
  padding-bottom: 56.25%;
  padding-top: 0px;
  height: 0;
  overflow: hidden;
  background-color: #ffffff;
}
.youtube-container iframe {
  position: absolute;
  top: 0%;
  bottom:0%;
  left: 0%;
  width: 100%;
  height: 100%;
}


.fixed {
  position: fixed;
  width: 100%;
  height: 100%;
}
