@charset "UTF-8";

@font-face {
  font-family: "SF-Pro";
  src: url(font/SF-Pro.ttf) format("truetype");
}

.rwd_ox {
  display: block;
}

.base-w {
  max-width: 1000px;
  margin: auto;
}

.letter-body {
  line-height: 1.6;
}

.img {
  width: 100%;
}

.btn {
  color: #fff;
  border-radius: 50px;
  display: block;
  text-align: center;
  font-size: 18px;
}

.btn.or-gradation {
  background: -webkit-gradient(linear, right top, left top, from(#FF9600), to(#FCBA23));
  background: linear-gradient(270deg, #FF9600, #FCBA23);
  padding: 20px 32px;
}

.btn.gr-gradation {
  background: -webkit-gradient(linear, right top, left top, from(#118816), to(#69C01D));
  background: linear-gradient(270deg, #118816, #69C01D);
  padding: 20px 32px;
}

.btn.gy {
  background: #999;
  padding: 20px 32px;
  pointer-events: none;
}

.btn.gr-bd {
  border: 2px solid #118816;
  color: #118816;
  background: #fff;
  padding: 20px 32px;
}

.btn.gy-bd {
  border: 2px solid #999;
  color: #999;
  pointer-events: none;
}

.btn.shadow {
  -webkit-box-shadow: 0 10px 20px 0 rgba(0, 0, 0, 0.2);
  box-shadow: 0 10px 20px 0 rgba(0, 0, 0, 0.2);
}

.btn-l {
  color: #fff;
  border-radius: 50px;
  display: block;
  text-align: center;
  font-size: 26px;
}

.btn-l.or-gradation {
  background: -webkit-gradient(linear, right top, left top, from(#FF9600), to(#FCBA23));
  background: linear-gradient(270deg, #FF9600, #FCBA23);
  padding: 20px 32px;
}

.btn-l.gr-gradation {
  background: -webkit-gradient(linear, right top, left top, from(#118816), to(#69C01D));
  background: linear-gradient(270deg, #118816, #69C01D);
  padding: 20px 32px;
}

.btn-l.gy {
  background: #999;
  padding: 20px 32px;
  pointer-events: none;
}

.btn-l.gr-bd {
  border: 2px solid #118816;
  color: #118816;
  background: #fff;
  padding: 20px 32px;
}

.btn-l.gy-bd {
  border: 2px solid #999;
  color: #999;
  pointer-events: none;
}

.btn-l.shadow {
  -webkit-box-shadow: 0 10px 20px 0 rgba(0, 0, 0, 0.2);
  box-shadow: 0 10px 20px 0 rgba(0, 0, 0, 0.2);
}


.blinking{
  -webkit-animation:blink 1s ease-in-out infinite alternate;
  -moz-animation:blink 1s ease-in-out infinite alternate;
  animation:blink 1s ease-in-out infinite alternate;
}
@-webkit-keyframes blink{
  0% {opacity:0;}
  100% {opacity:1;}
}
@-moz-keyframes blink{
  0% {opacity:0;}
  100% {opacity:1;}
}
@keyframes blink{
  0% {opacity:0;}
  100% {opacity:1;}
}

body {
  font-family: "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", "Noto Sans JP", sans-serif;
  -webkit-font-smoothing: antialiased;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.5;
  background: #F5F5F5;
  color: #222;
  position: relative;
}

body.hidden {
  overflow: hidden;
}

body.hidden::before {
  content: "";
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.7);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 5;
}

.header .base-w {
  background: #fff;
}

.header .logo {
  width: 300px;
  display: block;
}

.header .g-nav ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  font-size: 14px;
}

.header .g-nav ul li {
  -webkit-transition: 0.3s;
  transition: 0.3s;
}

.header .g-nav ul li:hover {
  opacity: 0.6;
}

.header .g-nav ul li a {
  font-size: 16px;
  white-space: nowrap;
}

.header .btn {
  border-radius: 0 50px 50px 0;
  height: 100%;
  font-size: 18px;
}

.header .h-menu {
  background: url(../img/common/btn_menu_sp.png) no-repeat center/24px;
  position: relative;
  padding: 26px;
}

.header .h-menu.is-active::before {
  content: "";
  background: #fff url(../img/common/btn_menu_close_sp.png) no-repeat center/24px;
  width: 100%;
  height: 100%;
  display: block;
  position: absolute;
  left: 0;
  top: 0;
}

.footer {
  background: #fff;
  padding: 90px 0 30px;
}

.footer .base-w {
  max-width: 1200px;
}

.footer__item {
  margin-bottom: 30px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.footer__item .site-name {
  font-size: 24px;
  margin-bottom: 30px;
}

.footer__item .address {
  font-weight: 500;
  line-height: 1.4;
}

.footer__item__text + .footer__item__text {
  margin-top: 12px;
}

.footer__item ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin-top: 30px;
}

.footer__item ul .logo-cyusyokikou {
  width: 120px;
}

.footer__item ul .logo-cyusyokigyoucho {
  width: 126px;
  margin-left: 30px;
}

.footer__item ul img {
  -webkit-transition: 0.3s;
  transition: 0.3s;
}

.footer__item ul img:hover {
  opacity: 0.8;
}

.footer .copyright {
  font-size: 12px;
  text-align: center;
  color: #999;
  width: 100%;
}

.history {
  background-image: url(../img/top/img_history_decoration_top.png), url(../img/top/img_history_decoration_under.png), url(../img/top/bg_history.jpg);
  background-size: 100% auto, 100% auto, 338px 408px;
  background-repeat: no-repeat, no-repeat, repeat;
  background-position: top center, bottom center, center;
  max-width: 1200px;
  margin: 100px auto 0;
}

.history__ttl {
  font-size: 40px;
  padding: 20px 0;
  background: #118816;
  color: #fff;
  text-align: center;
}

.history__ttl + p {
  line-height: 1.5;
  font-weight: 500;
  font-size: clamp(20px, 5.3vw, 22px);
  text-align: justify;
}

.history__wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  grid-gap: 20px 20px;
}

.history__item {
  width: 230px;
}

.pageTop {
  position: fixed;
  right: 20px;
  bottom: 30px;
  z-index: 5;
  width: 72px;
  height: 72px;
}

.pageTop a {
  width: 100%;
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.pageTop:hover {
  opacity: 0.8;
}

.youtube-embed {
  margin-top: 20px;
  width: 100%;
  text-align: center;
  aspect-ratio: 16 / 9;
}
.youtube-embed iframe {
  width: 90%;
  height: 90%;
}

@media only screen and (min-width: 768px) {
  .btn {
    -webkit-transition: 0.3s;
    transition: 0.3s;
  }

  .btn.or-gradation:hover,
  .btn.gr-gradation:hover,
  .btn.gy:hover {
    opacity: 0.8;
  }

  .btn.gr-bd:hover {
    background: rgba(17, 136, 22, 0.1);
  }

  .btn.gy-bd:hover {
    background: rgba(247, 247, 247, 0.9);
  }

  .btn.shadow:hover {
    -webkit-box-shadow: 0 0 0;
    box-shadow: 0 0 0;
    translate: 0 10px;
  }

  .btn-l {
    -webkit-transition: 0.3s;
    transition: 0.3s;
  }

  .btn-l.or-gradation:hover,
  .btn-l.gr-gradation:hover,
  .btn-l.gy:hover {
    opacity: 0.8;
  }

  .btn-l.gr-bd:hover {
    background: rgba(17, 136, 22, 0.1);
  }

  .btn-l.gy-bd:hover {
    background: rgba(247, 247, 247, 0.9);
  }

  .btn-l.shadow:hover {
    -webkit-box-shadow: 0 0 0;
    box-shadow: 0 0 0;
    translate: 0 10px;
  }

  body {
    min-width: 1200px;
  }

  .header {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    min-width: 1000px;
    padding-left: 30px;
    left: 50%;
    translate: -50% 20px;
    border-radius: 50px;
    position: fixed;
    z-index: 2;
    background: #fff;
    -webkit-box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.2);
    box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.2);
  }

  .header .base-w {
    display: contents;
  }

  .header .logo {
    -webkit-box-ordinal-group: 2;
    -ms-flex-order: 1;
    order: 1;
  }

  .header .g-nav {
    -webkit-box-ordinal-group: 3;
    -ms-flex-order: 2;
    order: 2;
    margin-left: auto;
  }

  .header .g-nav ul li span {
    display: block;
    margin-top: -5px;
  }

  .header .g-nav ul li + li {
    position: relative;
    margin-left: 16px;
    padding-left: 16px;
  }

  .header .g-nav ul li + li::before {
    content: "";
    width: 1px;
    height: 1em;
    display: block;
    background: #ccc;
    position: absolute;
    left: 0;
    top: 50%;
    translate: 0 -50%;
  }

  .header .btn {
    margin-left: 20px;
    white-space: nowrap;
    -webkit-box-ordinal-group: 4;
    -ms-flex-order: 3;
    order: 3;
    padding-top: 25px;
    padding-bottom: 25px;
  }

  .header .h-menu {
    display: none;
  }

  .footer .base-w {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }

  .footer__item {
    padding: 26px 0;
    font-size: 18px;
    width: 50%;
  }

  .footer__item:nth-of-type(2) {
    border-left: 1px solid #ccc;
    padding-left: 100px;
  }

  .footer__item:nth-of-type(1) {
    padding-right: 100px;
  }

  .footer__item:nth-of-type(1) > div {
    margin-left: auto;
  }

  .history {
    border-radius: 12px;
    padding: 0 100px 80px;
  }

  .history__ttl {
    border-radius: 12px;
    translate: 0 -40px;
  }

  .history__wrap {
    margin-top: 50px;
  }

  .history__item img {
    -webkit-transition: 0.3s;
    transition: 0.3s;
  }

  .history__item img:hover {
    opacity: 0.8;
  }
}

@media only screen and (max-width: 767px) {
  .rwd_ox {
    display: none;
  }

  .btn.gr-bd {
    padding: 20px 0;
  }

  body {
    font-size: 14px;
  }

  .header {
    background: #fff;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 5;
    width: 100%;
  }

  .header .base-w {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    width: 100%;
    -webkit-box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.2);
    box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 2;
  }

  .header .logo {
    width: clamp(150px, 48vw, 240px);
    margin-left: 20px;
  }

  .header .g-nav {
    display: none;
    padding: 55px 40px 20px;
    position: absolute;
    width: 100vw;
    top: 0;
    left: 0;
    z-index: 1;
    background: #fff;
  }

  .header .g-nav ul {
    width: 100%;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
  }

  .header .g-nav ul li {
    width: 100%;
  }

  .header .g-nav ul li a {
    display: block;
    padding: 20px;
    text-align: center;
  }

  .header .g-nav ul li + li {
    border-top: 1px solid #ccc;
  }

  .header .btn {
    border-radius: 6px;
    font-size: 11px;
    padding: 15px 10px;
    margin-left: auto;
  }

  .footer {
    padding: 60px 5vw 70px;
  }

  .footer__item .site-name {
    font-size: clamp(15px, 5.5vw, 20px);
    margin-bottom: 20px;
  }

  .footer__item .address p + p {
    margin-top: 10px;
  }

  .footer__item .address span {
    display: block;
  }

  .footer__item:nth-of-type(2) {
    border-top: 1px solid #ccc;
    margin-top: 40px;
    padding-top: 40px;
  }

  .footer .copyright {
    font-size: 11px;
    line-height: 1.6;
  }

  .history {
    margin: 40px auto 0;
    background: url(../img/top/bg_history.jpg) repeat center/338px 408px;
  }

  .history__ttl {
    font-size: clamp(21px, 6.5vw, 28px);
    padding: 20px 30px;
    line-height: 1.5;
    margin-bottom: 30px;
  }

  .history__ttl span {
    display: block;
  }

  .history__ttl + p {
    padding: 0 30px 30px;
    text-align: justify;
  }

  .history__ttl + p br {
    display: none;
  }

  .history__wrap {
    padding: 0 30px 30px;
    grid-gap: 16px;
  }

  .history__item {
    width: 100%;
  }

  .pageTop {
    bottom: 10px;
    right: 10px;
    width: 52px;
    height: 52px;
  }

  .btn-l {
    font-size: clamp(16px, 6.5vw, 22px);
    -webkit-transition: 0.3s;
    transition: 0.3s;
  }

}