@charset "utf-8";
@import url("root.css");
/*-----*RESET CSS*-----*/
*:where(:not(iframe, canvas, img, svg, video):not(svg *)) {
  all: unset;
  display: revert;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
ol,
ul {
  list-style: none;
}
img {
  width: 100%;
  vertical-align: bottom;
}

/*-----*RESET CSS*-----*/

* {
  line-height: 160%;
  word-break: break-all;
}
@media (max-width: 768px) {
  * {
    line-height: 150%;
  }
}
a {
  transition: 0.3s;
}
a:hover {
  cursor: pointer;
  opacity: 0.6;
  transition: 0.3s;
}
a:hover img {
  opacity: 0.85; /*--IE,FF対応--*/
  filter: alpha(opacity=85);
  -ms-filter: "alpha( opacity=85)";
}
/*-----------------------------------------
h2
------------------------------------------*/
.home h2 {
  color: var(--base-color02);
  font-size: 3.2rem;
  line-height: 1;
  font-weight: 500;
  position: relative;
  border-bottom: 2px solid var(--base-color02);
  padding-bottom: 5px;
  margin-bottom: 10px;
  width: 100%;
}
.home h2 span {
  color: var(--base-color04);
  display: inline-block;
  font-size: 60%;
  margin-left: 10px;
}
.ttl_box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding: 20px;
}
.ttl_box h2 {
  border-bottom: none;
  padding: 0;
  margin: 0;
  width: auto;
}
@media (max-width: 1200px) {
  .home h2 {
    font-size: 26px;
  }
}
@media (max-width: 1024px) {
  .home h2 {
    letter-spacing: 0px;
  }
}
@media (max-width: 768px) {
  .home h2 {
    font-size: 2.8rem;
  }
}
@media (max-width: 599px) {
  h2 {
    margin-bottom: 14px;
  }
}
/*-----------------------------------------
ボタン
------------------------------------------*/
.more {
  display: inline-block;
}
.more a {
  position: relative;
  display: block;
  font-size: 1.4rem;
  padding-right: 44px;
  width: max-content;
}
.more a::before {
  content: "";
  display: block;
  width: 14px;
  height: 14px;
  box-sizing: border-box;
  border-bottom: 4px solid var(--base-color02);
  border-right: 4px solid var(--base-color02);
  transform: rotate(-45deg);
  position: absolute;
  top: 0px;
  bottom: 0;
  right: 13px;
  margin: auto;
  z-index: 1;
}
.more a::after {
  content: "";
  display: block;
  width: 36px;
  height: 36px;
  background-color: var(--base-color01);
  border-radius: 50%;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0px;
  margin: auto;
}
.more a:hover {
  opacity: 0.6;
}
@media (max-width: 768px) {
  .more a {
    padding-right: 35px;
  }
  .more a::before {
    width: 10px;
    height: 10px;
    border-bottom: 3px solid #fff;
    border-right: 3px solid #fff;
    right: 11px;
  }
  .more a::after {
    width: 28px;
    height: 28px;
  }
}
/***************************************
---------------- PARTS ----------------
***************************************/
html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  font: 62.5% "Hiragino Kaku Gothic Pro", Osaka, "メイリオ", "ＭＳ Ｐゴシック",
    "MS PGothic", Verdana, Arial, sans-serif;
}
body {
  counter-reset: number 0;
  color: var(--base-color02);
  background: var(--base-color03);
  position: relative;
  overflow-x: hidden;
  font-size: 1.8rem;
}
@media (max-width: 768px) {
  body {
    font-size: 1.6rem;
  }
}
.container {
  width: 96%;
  max-width: 1200px;
  margin: auto;
  padding: 50px 0;
  display: flex;
  flex-wrap: wrap;
}
@media (max-width: 1200px) {
  .container {
    padding: 40px 0;
  }
}
@media (max-width: 768px) {
  .container {
    padding: 30px 0 30px;
  }
}
@media (min-width: 769px) {
  .sp {
    display: none !important;
  }
}
@media (max-width: 768px) {
  .pc {
    display: none !important;
  }
  .sp {
    display: block !important;
  }
}
@media (min-width: 1025px) {
  .sp_1024 {
    display: none !important;
  }
}
@media (max-width: 1024px) {
  .pc_1024 {
    display: none !important;
  }
  .sp_1024 {
    display: inline-block !important;
  }
}

#main .main_innr {
  display: none;
}
.serif {
  font-family: "Noto Serif JP", serif;
}
#main_wrapper {
  overflow: hidden;
}
/***************************************
-------------- PAGENATION --------------
***************************************/
#pagination {
  width: 100%;
  margin: var(--sp-space) auto;
}
#pagination ul {
  display: flex;
  align-items: center;
  justify-content: center;
}
#pagination li {
  margin-right: 7px;
  margin-left: 7px;
  line-height: 1.5;
}
#pagination li a {
  display: flex;
  font-size: calc(var(--sp-fontsize_p) * 1);
  color: var(--base-color02);
  border: 1px solid var(--base-color02);
  width: min(10vw, 48px);
  height: 42px;
  /* padding-top: 3px; */
  align-items: center;
  justify-content: center;
}
#pagination li.active a {
  background: var(--base-color02);
  color: var(--base-color01);
}

/******************************************
HEADER
***************************************/
header {
  width: 100%;
}
header .header_wrapper {
  height: 80px;
  background: url(../img/stripe.svg) repeat top left / 190px;
}
@media (max-width: 1024px) {
  header .header_wrapper {
    position: fixed;
    top: 0;
    width: 100%;
    margin: 0px auto 0;
    padding: 0px 0 0px;
    z-index: 999999;
    background-color: #fff;
    border-bottom: 4px solid var(--base-color01);
  }
}
header .inner {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  width: 98%;
  max-width: 1200px;
  height: 100%;
  margin: 0rem auto;
  text-align: left;
  position: relative;
}

header .logo {
  width: min(30%, 200px);
  height: 65%;
  display: flex;
  align-items: center;
  h1 {
    height: 100%;
    img {
      width: 100%;
      height: 100%;
      object-fit: contain;
    }
  }
}
@media (max-width: 1024px) {
  header .logo {
    width: min(60%, 200px);
  }
}

header .link {
  width: min(65%, 700px);
  height: 65%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-left: auto;
  gap: 0 5%;
}

@media (max-width: 1024px) {
  header .link {
    width: min(37.5%, 400px);
  }
}

.link .tel_box {
  width: min(45%, 270px);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  .name {
    flex-grow: 1;
    height: 1em;
    img {
      aspect-ratio: 150/23;
      height: 100%;
      object-fit: contain;
      vertical-align: top;
    }
  }
  .Tel {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    font-size: 2rem;
    font-weight: 600 !important;
    line-height: 1;
    flex-shrink: 0;
  }
  .Tel::before {
    display: block;
    content: "";
    background: url("../img/icn_tel_bk.svg") no-repeat center center / contain;
    height: 0.8em;
    width: auto;
    aspect-ratio: 31/25;
    margin-right: 8px;
  }
  .bus_hour {
    font-size: clamp(1rem, 3vw, 1.2rem);
    letter-spacing: -0.05em;
    text-align: right;
    line-height: 1;
    flex-shrink: 0;
    font-weight: bold;
  }
}
@media (max-width: 1024px) {
  .link .tel_box {
    display: none;
  }
}

.link .line_btn,
.link .contacts_btn {
  height: 100%;
  a {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 1;
    border-radius: 4px;
  }
}
.link .line_btn {
  width: min(25%, 200px);
  a {
    color: #fff;
    background: #06c755;
  }
}
@media (max-width: 1024px) {
  .link .line_btn {
    width: min(75%, 150px);
  }
}

.link .contacts_btn {
  width: min(25%, 150px);
  a {
    color: #fff;
    background: var(--base-color04);
  }
  a::before {
    content: "";
    display: block;
    background: url(../img/mail_wh.svg) no-repeat center center / contain;
    height: 1em;
    aspect-ratio: 1/1;
    margin-right: 0.25em;
  }
}
@media (max-width: 1024px) {
  .link .contacts_btn {
    display: none;
  }
}

/***************************************
---------------- 共通パーツ ----------------
***************************************/
.back_design {
  background-color: var(--base-color05);
}
.back_design.bkdes {
  background: var(--base-color01);
}
.back_design .container {
  padding: 25px 0;
}
.back_design section:first-of-type .container {
  padding-top: 50px;
}
.back_design section:last-of-type .container {
  padding-bottom: 50px;
}
@media (max-width: 768px) {
  .back_design section:first-of-type .container {
    padding-top: 30px;
  }
  .back_design section:last-of-type .container {
    padding-bottom: 30px;
  }
}

/*result achievement*/
.achievement_lead {
  margin-bottom: 2rem;
}
.resultBox_wrap {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  gap: clamp(25px, 5vw, 50px) 2%;
}
.result_box {
  width: calc(94% / 4);
}
.result_img {
  width: 100%;
}
.result_img img {
  aspect-ratio: 5 / 3;
  object-fit: cover;
  width: 100%;
  height: auto;
  display: block;
}

.result_txt {
  .cate {
    width: 100%;
    background: var(--base-color02);
    padding: 5px;
    text-align: center;
    font-size: 1.4rem;
    color: var(--base-color01);
    font-weight: 700;
    margin: 0;
  }
  .comment {
    padding: 0.5rem;
    height: 6em;
    overflow-y: scroll;
  }
  .date {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    text-align: right;
    width: 100%;
    margin: 10px 0;
    line-height: 1;
  }
  .date::before {
    content: "";
    display: inline-block;
    background-repeat: no-repeat;
    background-position: center left;
    background-size: contain;
    width: calc(73px / 4.8);
    height: calc(75px / 4.8);
    margin-right: 5px;
    background-image: url(../img/cal_bla.svg);
  }
}

@media (max-width: 768px) {
  .result_box {
    width: calc(96% / 3);
  }
}
@media (max-width: 599px) {
  .result_box {
    width: calc(98% / 2);
  }
}

/***************************************
---------------- map ----------------
***************************************/
.map iframe {
  width: 100%;
  height: 400px;
  vertical-align: bottom;
}
@media (max-width: 599px) {
  .map iframe {
    height: 250px;
  }
}

.limited-banner {
  text-align: center;
  margin: 2em 0 1em 0;
}

img.limited-img {
  width: 60%;
  max-width: 1200px;
}
.limited-img--sp {
  display: none;
}
@media screen and (max-width: 767px) {
  .limited-img--pc {
    display: none;
  }
  .limited-img--sp {
    display: inline;
  }
  img.limited-img {
    width: 91%;
  }
}
