@charset "UTF-8";
/*-----------------------------------------------------------------------------------
outlineを全要素で表示させる*/

/* body * {
  outline: 2px dotted rgba(255, 0, 0, 1) !important;
}

body * * {
  outline: 2px dotted rgba(0, 128, 0, 1) !important;
}

body * * * {
  outline: 2px dotted rgba(255, 165, 0, 1) !important;
}

body * * * * {
  outline: 2px dotted rgba(0, 0, 255, 1) !important;
}

body * * * * * {
  outline: 1px solid rgba(255, 0, 0, 1) !important;
}

body * * * * * * {
  outline: 1px solid rgba(0, 128, 0, 1) !important;
}

body * * * * * * * {
  outline: 1px solid rgba(255, 165, 0, 1) !important;
}

body * * * * * * * * {
  outline: 1px solid rgba(0, 0, 255, 1) !important;
} */

/*ブレイクポイント検証*/
/* デフォルト（モバイルファースト） */

/* 指定以下(min-width: 359px) */
body {
  /* background-color: #ffebeb; */
  /* スマホ.タブレット: ピンク */
  transition: background-color 0.3s ease;
}

@media (max-width: 359px) {
  body {
    /* background-color: #fff; */
    /* 指定以下白 */
  }
}

/* 中サイズPC (min-width: 768px) and (max-width: 1100px) */
@media (min-width: 768px) and (max-width: 1100px) {
  body {
    /* background-color: #fff3c2; */
    /* 中サイズPC: イエロー */
  }
}

/* デスクトップ (1101px以上) */
@media (min-width: 1101px) {
  body {
    /* background-color: #fff; */
    /* 大サイズPC:白 */
  }
}

/*
================================================ */
:root {
  /*カラー*/
  --main_bg_color: #ffffff;
  --main_text_color: #333333;
  --title_color: #222222;
  --brown: #c5a18c;
  --d_brown: #b8876b;
  --l_brown: #fffaf8;
  --blue: #90afc7;
  --pale_blue: #e4f1fc;
  --l_blue: #f9fcff;
  --red: #cb7373;
  /*角丸*/
  --radius_l: clamp(1.25rem, -1.642rem + 6.02vw, 2.5rem);
  /*20.40-768.1110*/
  --radius_s: clamp(0.625rem, 0.074rem + 2.45vw, 1.25rem);
  /*10.20-360.768*/
  /*セクションの下*/
  --sec_bottom: clamp(6.25rem, 3.25rem + 13.33vw, 12.5rem);
  /*100.200-360.1110*/
}

body {
  font-family: "BIZ UDPGothic", "noto-sans-jp", "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN",
    "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  font-feature-settings: "palt";
  font-size: 16px;
  letter-spacing: 0.1em;
  line-height: 1.2;
  /* ライトモード */
  /* background-color: var(--main_bg_color); */
  color: var(--main_text_color);
}

/* -------------------------------- */
.inner {
  width: 100%;
  max-width: 1100px;
  margin-right: auto;
  margin-left: auto;
  padding: 0 20px;
}

.pc-visible {
  display: none;
}

.sp-visible {
  display: block;
}

span.break {
  display: inline-block;
}

.btn_l {
  display: block;
  width: clamp(18.75rem, 11.757rem + 31.08vw, 33.125rem);
  /*300.530-360.1110*/
  height: clamp(3.75rem, 3.142rem + 2.7vw, 5rem);
  /*60.80-360-1110*/
  margin: clamp(2.813rem, 2.063rem + 3.33vw, 4.375rem) auto 0;
  /*45.70-360.1110*/
  border-radius: clamp(1.875rem, 1.571rem + 1.35vw, 2.5rem);
  /*30.40-360.1110*/
  font-size: 1.125rem;
  color: var(--main_bg_color);
  letter-spacing: clamp(0.063rem, -0.333rem + 1.76vw, 0.875rem);
  /*1.14-360.1110*/
  text-align: center;
}

.btn_s {
  border-style: solid;
  border-width: 1px;
  border-radius: 0.7em;
  height: 1.4em;
  padding: 0 1.5em;
}

.brown {
  background-color: var(--brown);
}

.blue {
  background-color: var(--blue);
}

@media screen and (min-width: 768px) {
  .pc-visible {
    /*仮設時非表示*/
    display: none;
    /*仮設時非表示
    display: block;*/
  }

  .sp-visible {
    display: none;
  }
}

@media screen and (min-width: 1141px) {
  .inner {
    padding: 0;
  }
}

/*--ダークモード-----------------*/
@media (prefers-color-scheme: dark) {
  body {
    background-color: var(--main_text_color);
    color: var(--main_bg_color);
  }
  html header,
  section.main_about .main_message,
  section.main_facility .wrap_main_facility .main_facility_datail,
  section.main_santa .wrap_santa div::before,
  section button.brown {
    background-color: var(--main_text_color);
  }
  section button.brown {
    color: var(--main_bg_color);
  }
  section button.brown {
    border: 5px solid var(--main_bg_color);
  }
  html header::after,
  section.main_about,
  section.main_facility,
  section.main_santa {
    background-image: url(../images/kari_paper_dark_pattern.png);
  }
}

/*--仮設時インスタナビ-----------------*/
.wrap_nav {
  position: relative;
}

.kari_insta {
  width: clamp(2rem, 1.453rem + 2.43vw, 3.125rem);
  /*32.50-360.1110*/
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 20px;
}

@media (min-width: 768px) {
  .kari_insta {
  }
}

/*--仮設時インスタナビ-----------------*/

/*ヘッダー
================================================ */
header {
  height: 100px;
  /* ヘッダー全体の高さ */
  width: 100%;
  /* 横幅いっぱい */
  position: fixed;
  top: 0;
  z-index: 1000;
  background-color: var(--main_bg_color);

  &::after {
    position: absolute;
    width: 100%;
    content: "";
    display: inline-block;
    height: 15px;
    background-image: url("../images/kari_paper_pattern.jpg");
    background-size: 300px;
    top: 0;
  }

  .wrap_nav {
    padding: 25px 20px;

    h1 {
      img {
        width: clamp(6.25rem, 4.426rem + 8.11vw, 10rem);
        /*100.160-360.1110*/
      }
    }

    nav {
      ul {
        li {
          img {
            width: 40px;
          }
        }
      }
    }
  }
}

@media (min-width: 768px) {
  header {
    .wrap_nav {
      display: flex;
      justify-content: space-between;
      align-items: center;

      nav {
        div {
          ul {
            display: inline-block;

            li {
              background-color: #fff;
              display: inline-block;

              img {
                margin-left: 20px;
              }
            }
          }
        }
      }
    }
  }
}

/* --ナビ------------------------------ */
/* overlay-styles.css */
.hamburger-overlay {
}

.hamburger-overlay {
  /*仮設時非表示*/
  display: none;
  /*
 position: fixed;
  top: 0;
  right: 0;
  z-index: 501;
  width: 48px;
  height: 48px;
  border: none;
  background: transparent;
  cursor: pointer; */
}

.hamburger-overlay__line {
  position: absolute;
  left: 11px;
  width: 26px;
  height: 1px;
  background-color: var(--main_text_color);
  transition: all 0.6s;
}

.hamburger-overlay__line:nth-of-type(1) {
  top: 14px;
}

.hamburger-overlay__line:nth-of-type(2) {
  top: 23px;
}

.hamburger-overlay__line:nth-of-type(3) {
  top: 32px;
}

.hamburger-overlay.active .hamburger-overlay__line {
  background-color: var(--main_bg_color);
}

.hamburger-overlay.active .hamburger-overlay__line:nth-of-type(1) {
  transform: translateY(9px) rotate(-45deg);
}

.hamburger-overlay.active .hamburger-overlay__line:nth-of-type(2) {
  opacity: 0;
}

.hamburger-overlay.active .hamburger-overlay__line:nth-of-type(3) {
  transform: translateY(-9px) rotate(45deg);
}

.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.6);
  visibility: hidden;
  opacity: 0;
  transition: all 0.6s;
  z-index: 500;
}

.nav-overlay.active {
  visibility: visible;
  opacity: 1;
}

.nav-overlay__content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  text-align: center;
}

.nav-overlay__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-overlay__item {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s;
}

.nav-overlay.active .nav-overlay__item {
  opacity: 1;
  transform: translateY(0);
}

.nav-overlay.active .nav-overlay__item:nth-child(1) {
  transition-delay: 0.1s;
}

.nav-overlay.active .nav-overlay__item:nth-child(2) {
  transition-delay: 0.2s;
}

.nav-overlay.active .nav-overlay__item:nth-child(3) {
  transition-delay: 0.3s;
}

.nav-overlay.active .nav-overlay__item:nth-child(4) {
  transition-delay: 0.4s;
}

.nav-overlay__link {
  display: inline-block;
  padding: 20px;
  color: var(--main_bg_color);
  font-size: 24px;
  text-decoration: none;
  transition: color 0.3s;
}

/*フッター
================================================ */
footer {
  position: relative;
  padding-bottom: 90px;

  &::after {
    position: absolute;
    width: 100%;
    content: "";
    display: inline-block;
    height: 70px;
    background-image: url("../images/kari_bottom_pattern.png");
    background-size: 400px;
    bottom: 0;
  }

  .copy {
    font-size: clamp(0.625rem, 0.514rem + 0.49vw, 0.75rem);
    /*10.12-360.767*/
    letter-spacing: 0;
    margin-bottom: 0.5em;
  }
}

.wrap_footer_nav {
  display: flex;
  flex-direction: column;
  border: #cb7373 5px sold;

  .footer_info {
    order: 2;
    position: relative;

    &::after {
      content: "";
      display: inline-block;
      height: 100px;
      aspect-ratio: 1 / 1;
      background-image: url("../images/img_mark.png");
      background-size: contain;
      background-repeat: no-repeat;
      opacity: 0.2;
      top: 0.5em;
      left: 40px;
      position: absolute;
    }

    dl {
      margin-bottom: 2rem;

      dt {
        font-size: 1.1rem;
        margin-bottom: 1em;
      }

      dd {
        line-height: 1.5em;

        img {
          width: 40px;
          margin-top: 1em;
          position: relative;
        }
      }
    }
  }

  .footer-nav {
    /*仮設時非表示*/
    display: none;
    /* ul {
      display: block;
      margin-bottom: 2em;

      li {
        &::before {
          content: ">";
          margin-right: 0.2em;
          line-height: 1.5em;
        }
      }
    } */
  }
}

@media (min-width: 1101px) {
  footer .copy {
    text-align: right;
  }

  .wrap_footer_nav {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;

    .footer_info {
      order: 1;
    }

    .footer-nav {
      order: 2;

      ul {
        display: grid;
        grid-template-columns: 6em 8em 12em;
        grid-auto-rows: auto;
        gap: 1em;

        /* Gridの順番指定 */
        li:nth-child(1) {
          /*TOP*/
          grid-column: 1 / 2;
          grid-row: 1 / 2;
        }

        li:nth-child(2) {
          /*法人概要*/
          grid-column: 1 / 2;
          grid-row: 2 / 3;
        }

        li:nth-child(3) {
          /*施設紹介*/
          grid-column: 1 / 2;
          grid-row: 3 / 4;
        }

        li:nth-child(4) {
          /*採用情報*/
          grid-column: 2 / 3;
          grid-row: 1 / 2;
        }

        li:nth-child(5) {
          /*お知らせ*/
          grid-column: 2 / 3;
          grid-row: 2 / 3;
        }

        li:nth-child(6) {
          /*お問い合わせ*/
          grid-column: 2 / 3;
          grid-row: 3 / 4;
        }

        li:nth-child(7) {
          /*プライバシーポリシー*/
          grid-column: 3 / 4;
          grid-row: 1 / 2;
        }

        li:nth-child(8) {
          /*サイトマップ*/
          grid-column: 3 / 4;
          grid-row: 2 / 3;
        }
      }
    }
  }
}

/*TOP
================================================ */
.main_h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: clamp(2.5rem, -0.5rem + 13.33vw, 8.75rem);

  /*40.140-360.1110*/
  .dots {
    display: block;
    font-size: 1.6rem;

    .dot_blue {
      color: var(--blue);
    }

    .dot_brown {
      color: var(--brown);
    }
  }
}

.main_inner {
  padding: 0 10vw 0 10vw;
  max-width: none;
  width: 100%;
}

p.read {
  text-align: left;
  max-width: none;
  position: relative;
  font-size: 0;

  .break {
    font-size: 1rem;
    display: inline;
  }
}

@media (min-width: 768px) {
  .main_h2 {
    .dots {
      .dot_blue {
      }

      .dot_brown {
      }
    }
  }

  .main_inner {
    max-width: none;
  }

  p.read {
    font-size: 1.25rem;

    /* text-align: right; */
    /* max-width: 25em;
    position: absolute;
    top: 0;
    right: 0; */
    .break {
      display: block;
    }
  }
}

/*--メインビジュアル------------------------------*/
.main_visual {
  margin-top: 100px;
  display: flex;
  flex-direction: column;
  margin-bottom: 0;

  .wrap_logo {
    order: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-end;
    width: 100%;
    height: 55vw;
    margin-top: 0;
    position: relative;

    &::before {
      position: absolute;
      width: 100%;
      content: "";
      display: inline-block;
      width: 36.3vw;
      height: 25.9vw;
      background-image: url("../images/img_mv_t.png");
      background-repeat: no-repeat;
      background-size: 100%;
      top: 0;
      left: 0;
      z-index: 100;
    }

    &::after {
      position: absolute;
      width: 100%;
      content: "";
      display: inline-block;
      width: 12vw;
      height: 12vw;
      background-image: url("../images/img_mv_b.png");
      background-repeat: no-repeat;
      background-size: 100%;
      bottom: 0;
      left: 0;
      z-index: 100;
    }

    img {
      width: 56vw;
      max-width: 352px;
      margin-left: 5vw;
      margin-right: 5vw;
      margin-bottom: 2vw;
    }

    img.string {
      width: 80%;
      max-width: none;
      margin-right: 0;
      margin-left: 0;
      margin-bottom: 10vw;
    }
  }

  .wrap_mv {
    order: 1;
    width: 100%;
    text-align: right;
    position: relative;
    margin-bottom: 10vw;

    img {
      width: 75vw;
      border-radius: var(--radius_s);
      aspect-ratio: 1 / 0.6;
      border: #fff 5px solid;
      margin-right: 4vw;
    }

    &::before {
      position: absolute;
      width: 100%;
      content: "";
      display: inline-block;
      width: 33vw;
      height: 16.8vw;
      background-image: url("../images/img_mv_r.png");
      background-repeat: no-repeat;
      background-size: 100%;
      bottom: -16.8vw;
      right: 2vw;
      z-index: 100;
    }

    &::after {
      content: "";
      position: absolute;
      width: 90vw;
      height: 45vw;
      right: 0;
      top: 6vw;
      background-image: url("../images/kari_light_pattern.png");
      background-repeat: repeat;
      background-size: 210px;
      border-radius: var(--radius_s) 0 0 var(--radius_s);
      z-index: -1;
    }
  }
}

@media (min-width: 768px) {
  .main_visual {
    /* align-items: flex-end;
    justify-content: flex-end; */
    flex-direction: row;

    .wrap_logo {
      order: 1;
      width: 36%;
      height: 33vw;
      margin-top: 0;

      &::before {
        width: 19.1vw;
        /*366px*/
        height: 13.5vw;
        /*260px*/
        top: 0;
        left: 0;
      }

      &::after {
        width: 6.3vw;
        /*121px*/
        height: 6.1vw;
        /*117px*/
        content: "";
        display: inline-block;
        bottom: 0;
        left: 0;
      }

      img {
        width: 18.4vw;
        /*352px*/
        max-width: 352px;
        margin-right: 3vw;
        margin-left: 0;
        /* padding-bottom: 2vw; */
      }

      img.string {
        width: 80%;
        max-width: none;
        margin-right: 0;
        margin-bottom: 8vw;
        padding-bottom: 0;
      }
    }

    .wrap_mv {
      order: 2;
      width: 64vw;

      img {
        width: 50vw;
        border-radius: var(--radius_l);
        aspect-ratio: 1 / 0.6;
        margin-right: 4vw;
      }

      &::before {
        width: 17.2vw;
        /*330px*/
        height: 9.1vw;
        /*176px*/
        bottom: -9.1vw;
        right: 0;
        z-index: 2;
      }

      &::after {
        width: 100%;
        height: 30vw;
        /*mv画像幅の0.6倍*/
        right: 0;
        top: 3vw;
        z-index: -1;
      }
    }
  }
}

/*--メイン法人概要------------------------------*/
.main_about {
  background-image: url("../images/kari_paper_pattern.jpg");
  background-repeat: repeat;
  background-size: 300px;
  padding-top: 5em;
  padding-left: 10vw;
  padding-right: 10vw;
  padding-bottom: clamp(3.125rem, 1.625rem + 6.67vw, 6.25rem);

  /*50.100-360.1110*/
  .main_message {
    position: relative;
    background-color: var(--main_bg_color);
    border-radius: var(--radius_l);
    padding: clamp(1.25rem, -0.961rem + 9.83vw, 3.75rem);
    /*20.60-360.767*/
    padding-bottom: clamp(2.5rem, 1.394rem + 4.91vw, 3.75rem);
    /*40.60-360.767*/
    font-size: 1rem;
    font-weight: bold;
    line-height: 2;
    margin: 0 auto 5em;

    button.btn_l.brown {
      width: 85%;
      max-width: 530px;
    }

    &::before {
     position: absolute;
      content: "";
      display: inline-block;
      width: clamp(4.375rem, 2.164rem + 9.83vw, 6.875rem); */
      /*70.110-360.767*/
      aspect-ratio: 1 / 0.83;
      background-image: url("../images/img_aisatu_l2.png");
      background-repeat: no-repeat;
      background-size: 100%;
      top: -9vw;
      left: 1vw;
      z-index: 100; 
    }

    &::after {
      position: absolute;
      content: "";
      display: inline-block;
      width: clamp(8.125rem, 4.697rem + 15.23vw, 12rem);
      /*130.192-360.767*/
      aspect-ratio: 1 / 0.35;
      background-image: url("../images/img_aisatu_r.png");
      background-repeat: no-repeat;
      background-size: 100%;
      top: -6vw;
      right: 2vw;
      z-index: 100;
    }
  }
}

.main_dailyphot {
  height: 140vw;
  padding: 0;
  margin: 0 auto clamp(2.5rem, 0.7rem + 8vw, 6.25rem);
  /*40.100-360.1110*/
  position: relative;

  p {
    text-align: left;
    max-width: none;
    position: relative;
    font-size: 0;

    .break {
      font-size: 1rem;
      display: inline-block;
    }
  }

  .wrap_main_dailyphot {
    position: absolute;

    &::after {
      content: "";
      position: absolute;
      display: block;
      background-image: url("../images/kari_dark_pattern.png");
      background-repeat: repeat;
      background-size: 200px;
      border-radius: var(--radius_s);
      transform: rotate(2deg);
      top: 1vw;
      right: -1vw;
      z-index: 9;
    }

    img {
      position: relative;
      width: 100%;
      border-radius: var(--radius_l);
      z-index: 10;
    }
  }
}

.wrap_main_dailyphot.left {
  width: 50vw;
  top: 5em;
  left: 0;

  &::after {
    width: 50vw;
    height: 50vw;
  }
}

.wrap_main_dailyphot.middle {
  width: 40vw;
  z-index: 20;
  bottom: 38vw;
  right: 3vw;

  &::after {
    width: 40vw;
    height: 40vw;
  }

  img {
    z-index: 19;
  }
}

.wrap_main_dailyphot.right {
  width: 40vw;
  bottom: 1vw;
  left: 9vw;

  &::after {
    width: 40vw;
    height: 40vw;
  }
}

.main_insta {
  display: flex;
  justify-content: center;

  a {
    display: flex;
    align-items: center;

    img {
      width: 50px;
    }

    p {
      span {
        font-size: 1em;
        line-height: 1.5em;
      }

      font-size: 0.9em;
      margin-left: 1em;
    }
  }
}

@media (min-width: 768px) {
  .main_about {
    .main_message {
      padding: clamp(3.75rem, -1.84rem + 11.66vw, 6.25rem);
      /*60.100-767.1110*/
      font-size: 1.25rem;
      line-height: 2.5;

      &::before {
        width: clamp(6.813rem, 5.316rem + 3.12vw, 9.063rem);
        /*109.145-767-1920*/
        aspect-ratio: 1 / 0.9;
        top: -2vw;
        left: 1vw;
      }

      &::after {
        width: clamp(12rem, 9.256rem + 5.72vw, 16.125rem);
        /*192.258-767.1920*/
        aspect-ratio: 1 / 0.4;
        top: -1vw;
        right: 2vw;
      }
    }

    .main_dailyphot {
      height: 47vw;
      margin-bottom: 2em;
      position: relative;

      p.read {
        font-size: 1.25rem;
        max-width: 30em;
        position: absolute;
        top: clamp(0.063rem, -1.684rem + 3.64vw, 2.688rem);
        /*1.43-767.1920*/
        left: clamp(18.75rem, -2.454rem + 44.23vw, 50.625rem);

        /*300.810-767.1920*/
        .break {
          font-size: clamp(1.125rem, 0.845rem + 0.58vw, 1.25rem);
          /*18.20-767.1110*/
        }
      }

      .wrap_main_dailyphot {
        position: absolute;

        &::after {
          content: "";
          position: absolute;
          display: block;
          background-image: url("../images/kari_dark_pattern.png");
          background-repeat: repeat;
          background-size: 200px;
          border-radius: var(--radius_s);
          transform: rotate(2deg);
          top: 1vw;
          right: -1vw;
          z-index: 9;
        }

        img {
          position: relative;
          width: 100%;
          border-radius: var(--radius_l);
          z-index: 10;
        }
      }
    }

    .wrap_main_dailyphot.left {
      width: 34vw;
      top: 0;
      left: 0;

      &::after {
        width: 34vw;
        height: 34vw;
      }
    }

    .wrap_main_dailyphot.middle {
      width: 24vw;
      z-index: 20;
      left: 32vw;
      bottom: 2vw;

      &::after {
        width: 25vw;
        height: 25vw;
      }

      img {
        z-index: 19;
      }
    }

    .wrap_main_dailyphot.right {
      width: 24vw;
      top: 9vw;
      left: auto;
      right: 1vw;

      &::after {
        width: 25vw;
        height: 25vw;
      }
    }
  }

  .main_insta {
    a {
      img {
        width: 70px;
      }

      p {
        span {
          font-size: 1.2em;
          line-height: 1.5em;
        }
      }
    }
  }
}

/*--メインお知らせ------------------------------*/
.main_info {
  text-align: center;
  position: relative;
  padding-top: clamp(3.125rem, 0.635rem + 11.07vw, 8.313rem);
  /*50.133-360.1110 アイテムの高さ*/
  margin-bottom: var(--sec_bottom);

  h2 {
    margin-top: 0;
  }

  &::before {
    position: absolute;
    width: 100%;
    content: "";
    display: inline-block;
    width: 19vw;
    height: 13.5vw;
    background-image: url("../images/img_osirase_l.png");
    background-repeat: no-repeat;
    background-size: 100%;
    top: 1vw;
    left: 4vw;
    z-index: 100;
  }

  &::after {
    position: absolute;
    width: 100%;
    content: "";
    display: inline-block;
    width: 19.8vw;
    height: 29.7vw;
    background-image: url("../images/img_osirase_r2.png");
    background-repeat: no-repeat;
    background-size: 100%;
    bottom: -26vw;
    right: 4vw;
    z-index: 100;
  }

  .wrap_infoblog {
    margin: 0 auto;
    display: flex;
    flex-direction: column;

    .infoblog {
      width: 100%;
      margin-bottom: 3em;

      img {
      }

      .main_info_datail {
        display: flex;
        justify-content: space-between;

        .main_tag {
          font-size: 0.75rem;
        }

        span {
          font-size: 0.75rem;
        }
      }

      h3 {
      }

      p {
      }
    }
  }
}

/*インフォブログ*/
.infoblog {
  background-image: url("../images/kari_paper_pattern.jpg");
  background-repeat: repeat;
  background-size: 300px;
  text-align: left;
  border-radius: var(--radius_s);

  img {
    width: 100%;
    border-radius: var(--radius_s) var(--radius_s) 0 0;
    margin-bottom: 2em;
  }

  .main_info_datail {
    margin: 0 1.5em 1.5em;

    /*下記、paddingだとあふれる*/
    .main_tag {
      background-color: var(--d_brown);
      color: var(--main_bg_color);
      height: 1.2em;
      padding: 0 0.8em;
      border-radius: 0.6em;
      font-weight: bold;
    }

    span {
      font-weight: bold;
      letter-spacing: 0.1em;
    }
  }

  h3 {
    width: calc(100% - 3em);
    font-size: 1.125rem;
    font-weight: bold;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    box-sizing: border-box;
    margin: 0 1.5em 1em;
    /*paddingだとあふれる*/
  }

  p {
    width: calc(100% - 3em);
    font-size: 1.125rem;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    box-sizing: border-box;
    margin: 0 1.5em 3em;
    /*paddingだとあふれる*/
  }
}

@media (min-width: 768px) {
  .main_info {
    &::before {
      width: clamp(9rem, 7.004rem + 4.16vw, 12rem);
      /*144.192-767.1920*/
      aspect-ratio: 1 / 0.7;
    }

    &::after {
      width: clamp(9.313rem, 7.234rem + 4.34vw, 12.438rem);
      /*149.199-767.1920*/
      aspect-ratio: 1 / 1.6;
    }

    .main_h2 {
      .dots {
        .dot_blue {
        }

        .dot_brown {
        }
      }
    }

    .wrap_infoblog {
      flex-direction: row;
      justify-content: space-between;

      .infoblog {
        width: calc((100% - 6vw) / 3);
        margin-bottom: 0;

        img {
        }

        .main_info_datail {
          .main_tag {
          }

          span {
          }
        }

        h3 {
        }

        p {
        }
      }
    }
  }
}

/*--メイン施設紹介------------------------------*/
.main_facility {
  background-image: url("../images/kari_paper_pattern.jpg");
  background-repeat: repeat;
  background-size: 300px;
  margin: 0 auto;
  margin-top: 150px;
  /*後で消す*/
  padding-bottom: var(--sec_bottom);

  h2 {
    padding-top: clamp(3.125rem, 0.425rem + 12vw, 8.75rem);
    /*50.140-360.1110*/
  }

  p {
    width: auto;
    margin-bottom: clamp(2.813rem, 2.063rem + 3.33vw, 4.375rem);
    /*45.70-360.1110*/
  }

  p.read {
    padding-top: 0;

    .break {
      font-size: 1rem;
      display: block;
      margin-bottom: 0.5em;
    }
  }

  .wrap_main_facility {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 0 auto;
    padding-top: 0;
    padding-bottom: 0;
  }

  .main_facility_list {
    display: flex;
    flex-direction: row;
    width: 100%;
    height: clamp(7.5rem, 4.183rem + 14.74vw, 11.25rem);
    /*120.180-360.767*/
    border-radius: var(--radius_s);
    margin-bottom: 5vw;

    img {
      width: 50%;
      border-radius: var(--radius_s) 0 0 var(--radius_s);
      object-fit: cover;
    }

    .main_facility_datail {
      width: 50%;
      background-color: var(--main_bg_color);
      border-radius: 0 var(--radius_s) var(--radius_s) 0;
      padding: 1em;
      display: flex;
      flex-direction: column;
      justify-content: space-between;

      dl {
        font-weight: normal;
        margin-bottom: 0.2em;

        dt {
          margin-bottom: 0.5em;
          font-size: clamp(0.813rem, 0.481rem + 1.47vw, 1.188rem);
          /*13.19-360.767*/
        }

        dd {
          line-height: 1.2em;
          font-size: clamp(0.813rem, 0.481rem + 1.47vw, 1.188rem);
          /*13.19-360.767*/
        }
      }

      .btn_s {
        border-color: var(--d_brown);
        font-size: 0.75rem;
        margin: 0 auto;
      }
    }
  }

  .main_facility_list:last-child {
    margin-bottom: 0;
  }
}

@media (min-width: 768px) {
  .main_facility {
    flex-direction: column;

    p.read {
      max-width: 38em;
      margin: 0 auto clamp(2.813rem, 2.063rem + 3.33vw, 4.375rem);
      /*45.70-360.1110*/
      padding-left: 0;
      padding-right: 0;

      .break {
        font-size: 1.25rem;
      }
    }

    .wrap_main_facility {
    }

    .main_facility_list {
      width: calc((100% - 5vw) / 2);
      height: clamp(8.125rem, -1.658rem + 20.41vw, 12.5rem);

      /*130.200-767.1110*/
      img {
      }

      .main_facility_datail {
        dl {
          dt {
            font-size: clamp(0.813rem, -0.03rem + 1.75vw, 1.188rem);
            /*13.19-767.1110*/
          }

          dd {
            font-size: clamp(0.813rem, -0.03rem + 1.75vw, 1.188rem);
            /*13.19-767.1110*/
          }
        }

        .btn_s {
          font-size: 1rem;
        }
      }
    }
  }
}

/*--メイン採用情報------------------------------*/
.main_recruit {
  text-align: center;
  position: relative;
  margin-bottom: var(--sec_bottom);

  h2 {
    margin-top: clamp(3.125rem, 0.425rem + 12vw, 8.75rem);
    /*50.140-360.1110*/
  }

  .main_recruit_info {
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    width: 100%;

    .wrap_main_staffphot {
      position: relative;
      margin-bottom: 5em;
      max-width: 1070px;
      margin: 0 auto clamp(2.813rem, 2.063rem + 3.33vw, 4.375rem);

      /*45.70-360.1110*/
      &::after {
        content: "";
        width: 100%;
        height: 100%;
        position: absolute;
        display: block;
        background-image: url("../images/kari_dark_pattern.png");
        background-repeat: repeat;
        background-size: 200px;
        border-radius: var(--radius_s);
        transform: rotate(2deg);
        z-index: 9;
        top: 1vw;
        right: -1vw;
      }

      img {
        position: relative;
        width: 100%;
        border-radius: var(--radius_l);
        z-index: 10;
      }
    }

    p.read {
      padding-top: 0;

      .break {
        font-size: 1rem;
        display: block;
        margin-bottom: 0.5em;
      }
    }
  }
}

@media (min-width: 768px) {
  .main_recruit {
    .main_recruit_info {
      p.read {
        max-width: 40em;
        margin: 0 auto;

        .break {
          font-size: 1.25rem;
        }
      }
    }
  }
}

/*--メインサンタ------------------------------*/
.main_santa {
  max-height: none;
  height: calc(54vw * 2);
  margin-bottom: var(--sec_bottom);
  position: relative;
  background-image: url("../images/kari_paper_pattern.jpg");
  background-repeat: repeat;
  background-size: 300px;

  .wrap_santa {
    display: flex;
    justify-content: space-between;
    margin: 0 auto;
  }
}

[class^="santa_"] {
  max-width: 450px;
  width: 54vw;
  position: absolute;

  img {
    border: 5px solid var(--main_bg_color);
    border-radius: var(--radius_s);
  }

  &::before {
    position: absolute;
    width: 100%;
    display: inline-block;
    width: 250px;
    height: 6em;
    font-size: 0.7em;
    border: 5px solid var(--main_bg_color);
    border-radius: var(--radius_s);
    background-color: var(--pale_blue);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
  }

  &::after {
    position: absolute;
    width: 100%;
    content: "";
    display: inline-block;
    background-repeat: no-repeat;
    background-size: 100%;
    z-index: 100;
  }
}

.santa_nawate {
  top: -8vw;
  left: 10vw;
  transform: rotate(-2deg);

  &::before {
    content: "100にんサンタクロースプロジェクト\Aなわて更生園前・フラワーサンタ";
    white-space: pre;
    bottom: -4vw;
    left: 2vw;
  }

  &::after {
    width: clamp(5.375rem, 0.621rem + 21.13vw, 10.75rem);
    /*86.172-360.767*/
    aspect-ratio: 1 / 0.9;
    background-image: url("../images/img_footer_l2.png");
    right: -25vw;
    top: 10vw;
  }
}

.santa_minamino {
  right: 10vw;
  bottom: -8vw;
  transform: rotate(2deg);

  &::before {
    content: "100にんサンタクロースプロジェクト\Aみなみの公房前・工房サンタ";
    white-space: pre;
    bottom: -4vw;
    right: 2vw;
  }

  &::after {
    width: clamp(4.813rem, 0.113rem + 20.88vw, 10.125rem);
    /*77.162-360.767*/
    aspect-ratio: 1 / 0.8;
    background-image: url("../images/img_footer_r2.png");
    top: -7vw;
    left: -17vw;
  }
}

@media (min-width: 768px) {
  .main_santa {
    height: clamp(13.125rem, -20.417rem + 69.97vw, 28.125rem);

    /*210.450-767.1110*/
    [class^="santa_"] {
      width: 30vw;

      &::before {
        width: 300px;
        font-size: 0.8em;
      }
    }

    .santa_nawate {
      top: -4vw;
      left: clamp(3.875rem, -3.817rem + 16.05vw, 15.438rem);

      /*62.247-767.1920*/
      &::before {
        left: auto;
        right: -30px;
        bottom: -1vw;
      }

      &::after {
        top: auto;
        width: clamp(10.75rem, 7.757rem + 6.24vw, 15.25rem);
        /*172.244-767.1920*/
        right: -11vw;
        bottom: -10vw;
      }
    }

    .santa_minamino {
      bottom: -2vw;
      right: clamp(5.188rem, -1.631rem + 14.22vw, 15.438rem);

      /*83.247-767.1920*/
      &::before {
        left: auto;
        right: -30px;
        bottom: -1vw;
      }

      &::after {
        width: clamp(10.125rem, 7.215rem + 6.07vw, 14.5rem);
        /*162.232-767.1920*/
        left: auto;
        top: -7vw;
        right: -10vw;
      }
    }
  }
}

/**仮設部分***********************************************/

.wrap_kasetu.main_inner {
  border: var(--brown) solid 3px;
  border-radius: var(--radius_l);
  padding: 0;
  width: 90%;
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.5em;
  .kasetudownload {
    padding: 0;
    text-align: center;
    p {
      text-align: center;
      width: 90%;
      padding: 0;
      margin: 0 auto;
      font-size: 1rem;
    }
    p.read {
      font-size: 0;
      .break {
        font-size: 1rem;
        display: inline-block;
      }
    }
  }
  button.btn_l {
    width: clamp(14.375rem, -2.21rem + 73.71vw, 33.125rem); /*230.530-360.767*/
    margin: 2em auto 3em;
    transition: opacity 0.4s ease, transform 0.4s ease;
    will-change: transform, opacity;
    backface-visibility: hidden;
  }
}
button.btn_l:hover {
  opacity: 0.8;
  transform: scale(1.03);
}
.wrap_kasetu.main_inner .kasetudownload article {
  padding: 3em 0 0;
  /* margin: 0 0.5em 5em; */
  h3 {
    margin-bottom: 40px;
    font-size: 0;
    .break {
      font-size: 1rem;
      display: inline-block;
    }
  }
  .right {
    text-align: right;
    line-height: 1.2em;
    margin-bottom: 40px;
  }
  p {
    text-align: left;
  }

  img {
    width: 60%;
    margin-bottom: 2em;
  }
}
.main_facility {
  & .main_facility_list {
    .main_facility_datail {
      justify-content: center;
      padding-left: clamp(1rem, -0.603rem + 7.13vw, 2.813rem);
      /*16.45-360.767*/
    }
  }
}
section.main_facility {
  margin-top: 0 !important;
}
@media (min-width: 768px) {
  .main_kasetu.main_info {
    .kasetudownload {
      p {
        line-height: 2em;
      }

      p.read {
        font-size: 1.25rem;
      }
    }
  }

  .main_facility {
    & .main_facility_list {
      .main_facility_datail {
        justify-content: center;
        padding-left: clamp(1rem, -0.206rem + 2.52vw, 2.813rem);
        /*16.45-767.1920*/
      }
    }
  }
}
