﻿@charset "utf-8";

:root {
  --main_color: #30a386;
  --sub_color_1: #deede6;
  --sub_color_2: #79c5b3;
  --main_width: min(100%, 1240px);
  --font_main: "Mochiy Pop One", sans-serif;
  --font_maru: "Kosugi Maru", sans-serif;
  --font_mincho: "游明朝", YuMincho, "Hiragino Mincho ProN W3",
    "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝",
    "ＭＳ 明朝", "Noto Serif JP", serif;
  --main_text_color: #333;
}

html {
  overflow-y: scroll;
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body {
  width: 100%;
  padding: 0px;
  margin: 0px auto;
}

body * {
  color: var(--main_text_color);
  font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ",
    Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  border: none;
  text-decoration: none;
  margin: 0px;
  padding: 0px;
  line-height: 1.5;
}

header,
article,
footer,
nav,
section,
div,
ul,
li,
td {
  box-sizing: border-box;
}
header,
article,
footer {
  width: 100%;
  height: auto;
}
header > *,
article > *,
article > section > *,
footer > * {
  margin-left: auto;
  margin-right: auto;
}
h1,
h2,
h3,
h4,
h5,
h6,
a {
  line-height: 0;
  box-sizing: border-box;
}

a {
  color: inherit;
  font-size: inherit;
  font-family: inherit;
  outline: none;
}

div#container {
  width: 100%;
}

header > div {
  width: var(--main_width);
  height: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto;
  column-gap: 2vw;
}
header > div > div {
  display: grid;
  grid-template-rows: repeat(3, auto);
  height: auto;
}
header > div > div nav > ul {
  list-style: none outside none;
  width: fit-content;
  display: grid;
  grid-template-columns: repeat(4, 110px);
  column-gap: 10px;
}
header > div > div nav > ul li {
  background-color: var(--main_color);
  color: #fff;
  padding: 3px 0px;
  font-size: 1.5rem;
  font-weight: bold;
  text-align: center;
}
header > div > div > div#tel {
  color: var(--main_color);
  font-size: min(4rem, calc(3.6vw + 2.205rem));
  font-weight: bold;
  margin-top: 10px;
}
header > div > div > div#mail {
  color: var(--main_color);
  font-size: 2rem;
  line-height: 0.7;
}
header > ul#slick_slider {
  width: var(--main_width);
  height: auto;
  margin-top: 30px;
}
header > ul#slick_slider li > img {
  width: min(1140px, 100%);
  height: auto;
  margin-bottom: 20px; /*slickのドットナビとの間隔*/
}
@media screen and (min-width: 800px) {
  header > div {
    padding: 0px min(40px, 3.2vw);
  }
  header > div h1 {
    margin-top: 20px;
  }
  header > div img {
    width: min(350px, 100%);
  }
  header > div > div {
    justify-items: right;
  }
  header > ul#slick_slider li[id^="slick-slide"] {
    padding-left: 100px;
  }
  header > ul#slick_slider li > img {
    border-top-left-radius: min(50px, 4.03vw);
    border-bottom-left-radius: min(50px, 4.03vw);
  }
}
@media screen and (max-width: 799px) {
  header > div {
    padding: 0px 4px;
  }
  header > div h1 {
    margin-top: 0px;
  }
  header > div img {
    width: min(290px, 100%);
  }
  header > div > div {
    justify-items: right;
  }
  header > ul#slick_slider li[id^="slick-slide"] {
    padding-left: 0px;
  }
}

@media screen and (max-width: 749px) {
  header > div {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    row-gap: 10px;
    justify-items: center;
  }
  header > div img {
    width: min(473px, 100%);
  }
  header > div > div {
    width: 100%;
    justify-items: center;
  }
}
@media screen and (max-width: 499px) {
  header > div > div nav {
    width: 100%;
  }
  header > div > div nav > ul {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 10px;
    grid-template-rows: repeat(2, auto);
    row-gap: 5px;
    width: 100%;
  }
  header > div > div nav > ul li {
    width: 100%;
    padding: 15px 0px;
    font-size: 2.3rem;
  }
}

article > section {
  width: 100%;
  height: auto;
}

footer {
  background-color: var(--main_color);
  padding-top: 40px;
  padding-bottom: 40px;
}
footer > div {
  padding: 0px min(80px, 6.5vw);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  width: var(--main_width);
}
footer > div > div:first-of-type {
  width: min(500px, 100%);
  height: 300px;
  overflow: hidden;
}
/*埋め込みGoogleMap用*/
footer > div > div:first-of-type iframe {
  width: 100%;
  height: 500px;
  margin-top: -90px;
}
/*GoogleMapスクリーンショット用*/
footer > div > div:first-of-type img {
  width: min(500px, 100%);
}
footer > div > div:last-of-type {
  display: grid;
  align-content: center;
  justify-items: right;
}
footer > div > div:last-of-type img {
  width: min(400px, 100%);
  height: auto;
  margin-bottom: 50px;
}
footer > div > div:last-of-type p {
  color: #fff;
  font-size: clamp(1.7rem, calc(4.71vw + 0.00588rem), 2.5rem);
  font-family: var(--font_maru);
  line-height: 1.3;
}
@media screen and (max-width: 1099px) {
  footer > div {
    padding: 0px 3vw;
  }
}
@media screen and (max-width: 1019px) {
  footer > div {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    row-gap: 20px;
    text-align: center;
  }
  footer > div > div:first-of-type {
    width: 100%;
    /*埋め込みGoogleMap用*/
    height: 300px;
    /*GoogleMapスクリーンショット用*/
    /* height: auto; */
    overflow: hidden;
  }
  footer > div > div:last-of-type {
    display: grid;
    /* align-content: center; */
    justify-items: center;
    grid-column: 1;
    grid-row: 1;
  }
  footer > div > div:last-of-type img {
    margin-bottom: 20px;
  }
}
/*  */
@media screen and (min-width: 820px) {
  a[href^="tel:"] {
    pointer-events: none;
  }
}

strong {
  color: inherit;
  font-style: inherit;
  font-weight: inherit;
  font-family: inherit;
}

#pagetop {
  position: fixed;
  bottom: -1px;
  right: 20px;
  display: none;
  text-align: right;
}

#pagetop img {
  width: 56px;
  height: auto;
}
#pagetop img:hover {
  opacity: 0.6;
}
/*animation*/
section .animate {
  visibility: hidden;
}
section .animate.is-show {
  animation: show 1.7s both;
  visibility: visible;
}
section .animate2.is-show {
  animation-delay: 0.4s;
}
section .animate3.is-show {
  animation-delay: 0.8s;
}
section .animate4.is-show {
  animation-delay: 1.2s;
}

@keyframes show {
  0% {
    opacity: 0;
    transform: translateY(100px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
