@charset "UTF-8";

.main_visual {
  background-color: var(--base_color);
  background-image: url(images/main_visual.webp);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  text-align: center;
  padding: 50px 0 30px;
}

.main_visual .container {
  position: relative;
}

.light_img {
  width: 120px;
  padding: 70px 0;
  margin: 0 auto;
    animation: korokoro 2.5s linear 0s infinite;
  }
  
  @keyframes korokoro {
    0%   { transform: translate(0%, 0%); }
    5%   { transform: translate(10%, 0%) rotate(10deg); }
    25%  { transform: translate(20%, 0%) rotate(20deg); }
    30%  { transform: translate(-10%, 0%) rotate(-10deg); }
    35%  { transform: translate(-15%, 0%) rotate(-15deg); }
    45%  { transform: translate(10%, 0%) rotate(10deg); }
    50%  { transform: translate(15%, 0%) rotate(15deg); }
    60%  { transform: translate(-5%, 0%) rotate(-5deg); }
    65%  { transform: translate(-7%, 0%) rotate(-7deg); }
    75%  { transform: translate(0%, 0%) rotate(0deg); }
    100% { transform: translate(0%, 0%) rotate(0deg); }
  }

.catch01 {
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
  position: absolute;
  right: 0;
  top: 0;
  font-family: "Times New Roman", "YuMincho", "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", serif;
  font-size: 2.2rem;
  margin-right: min(15vw, 5rem);
}
.catch02 {
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
  position: absolute;
  left: 0;
  top: 0;
  font-family: "Times New Roman", "YuMincho", "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", serif;
  font-size: 2.2rem;
  margin-left: min(15vw, 5rem);
}
.catch03 span {
  font-size: min(7vw, 2.3rem);
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 700;
  font-style: normal;
  background: linear-gradient(transparent 70%, #c2a790 70%);
}
.catch03 {
  margin-top: 2.5rem;
  font-size: min(6vw, 2rem);
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 500;
  font-style: normal;
  line-height: 2;
}

.musaigai {
  background-color: #333;
  color: #fff;
  padding: 1rem 0 2.5rem 0;
}

.musaigai_date {
  font-size: 1.3rem;
  letter-spacing: 0.05em;
}

.card {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin-bottom: 2rem;
}

.card a {
  display: block;
  color: #333;
  background-color: #fff;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 700;
  font-style: normal;
  text-align: center;
  padding: 0;
  height: 100%;
}
.card a:hover {
  color: var(--link_color);
  -webkit-transition: 0.3s ease-in-out;
  -moz-transition: 0.3s ease-in-out;
  -o-transition: 0.3s ease-in-out;
  transition: 0.3s ease-in-out;
}

.card figure {
  overflow: hidden;
}

.card figure img {
  transition: transform .6s ease;
}
.card div:hover img {
  transform: scale(1.1); /* 拡大 */
}

.card figcaption {
  padding: 10px;
}

.emergency_btn a {
  display: inline-block;
  background-image: url(images/arrow.svg);
  background-repeat: no-repeat;
  background-position:center 92%;
  background-size: 15px;
  background-color: var(--accent_color);
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
  color: #fff;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 700;
  font-style: normal;
  padding: 1.2rem 0.8rem 2.8rem 0.8rem;
  position: fixed;
  right: 0;
  top: 10rem;
  font-size: 1.2rem;
  z-index: 99;
  letter-spacing: 0.05em;
}
.emergency_btn a:hover {
  background-color: var(--accent_hover_color);
  -webkit-transition: 0.3s ease-in-out;
  -moz-transition: 0.3s ease-in-out;
  -o-transition: 0.3s ease-in-out;
  transition: 0.3s ease-in-out;
}

.emergency_btn a small {
  font-size: 0.7em;
  margin-top: 1px;
}

.news_area {
  padding: 3rem 0;
}

.news_area h2 {
  margin: 1rem 0 3rem 0;
  padding: 0;
  border: 0 solid;
  text-align: center;
}

.news_area h2 span {
  font-size: 1rem;
  color: var(--accent_color);
}

.news_area .btn {
  margin-top: 2rem;
}

.video_area {
  padding: 3rem 0;
  background-image: linear-gradient(90deg, #96cdcf, #dce6c4);
}

.video_container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 のアスペクト比 (9 ÷ 16 = 0.5625) */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
}

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

.tel_kakomi {
  position: relative;
  margin: 2em 0;
  padding: 3.5rem 1em 0.5rem 1rem;
  border: solid 6px var(--accent_color);
}
.tel_kakomi a {
  color: #333 !important;
}
.tel_kakomi .tel_catch {
  position: absolute;
  display: inline-block;
  top: -20px;
  left: 0;
  line-height: 1;
  font-size: min(6vw, 2.6rem);
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 700;
  font-style: normal;
  color: var(--accent_color);
  text-align: center;
  width: 100%;
}
.tel_kakomi .tel_catch span {
  background: #FFF;
  padding: 0 1rem 0 1.5rem;
}

.tel_area {
  padding: 2rem 0;
  text-align: center;
}

.tel span {
  font-size: min(8.5vw, 4rem);
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: 800;
  font-style: normal;
  position: relative;
}
.tel span::before {
  display: inline-block;
  content: '';
  height: min(8vw, 3.8rem);
  width: min(8vw, 3.8rem);
  background-image: url(images/tel.svg);
  background-repeat: no-repeat;
  background-size: 100%;
  background-position: left center;
  margin: auto 0.2em -0.1em 0;
}

.attention {
  font-size: 0.9rem;
  color: var(--accent_color);
}

footer {
  margin-top: 0;
}

@media (min-width:750px) {
  .main_visual {
    background-size: 100%;
    background-position: top center;

  }

  .light_img {
    padding: 0;
    width: 220px;
    }

  .card {
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
  }

  .musaigai {
    background-color: #333;
    color: #fff;
    padding: 3rem 0 2.5rem 0;
  }
  
  .musaigai_date .disp_sp {
    display: block;
  }

  .tel_area {
    padding: 3rem 0;
  }
}

@media (min-width:1025px) {
  .musaigai_date .disp_sp {
    display: none;
  }
}