@charset "utf-8";
/*
Theme Name: sapporo moiwa snow square
Description: sapporo moiwa snow square template.
Version: 1
Author: sapporo moiwa snow square
Author URI: sapporo moiwa snow square
Version: 1.0
License: sapporo moiwa snow square
*/
/* --------------------------------------------------
reset
-------------------------------------------------- */
/* Reset box-model and set borders */
/* ============================================ */
*,
::before,
::after {
  box-sizing: border-box;
  border-style: solid;
  border-width: 0;
}

/* Document */
/* ============================================ */
/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 * 3. Remove gray overlay on links for iOS.
 */
html {
  line-height: 1.15;
  /* 1 */
  -webkit-text-size-adjust: 100%;
  /* 2 */
  -webkit-tap-highlight-color: transparent;
  /* 3*/
  font-size: 100%;
  scroll-behavior: smooth;
}

/* Sections */
/* ============================================ */
/**
 * Remove the margin in all browsers.
 */
body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
  display: block;
}

/* Vertical rhythm */
/* ============================================ */
p,
table,
blockquote,
address,
pre,
iframe,
form,
figure,
dl {
  margin: 0;
}

/* Headings */
/* ============================================ */
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
}

/* Lists (enumeration) */
/* ============================================ */
ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Lists (definition) */
/* ============================================ */
/* dt {
  font-weight: bold;
} */
dd {
  margin-left: 0;
}

/* Grouping content */
/* ============================================ */
/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
  box-sizing: content-box;
  /* 1 */
  height: 0;
  /* 1 */
  overflow: visible;
  /* 2 */
  border-top-width: 1px;
  margin: 0;
  clear: both;
  color: inherit;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
  font-family: monospace, monospace;
  /* 1 */
  font-size: inherit;
  /* 2 */
}

address {
  font-style: inherit;
}

/* Text-level semantics */
/* ============================================ */
/**
 * Remove the gray background on active links in IE 10.
 */
a {
  background-color: transparent;
  text-decoration: none;
  color: inherit;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
  -webkit-text-decoration: underline dotted;
  text-decoration: underline dotted;
  /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
  font-family: monospace, monospace;
  /* 1 */
  font-size: inherit;
  /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */
small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Replaced content */
/* ============================================ */
/**
 * Prevent vertical alignment issues.
 */
svg,
img,
embed,
object,
iframe {
  vertical-align: bottom;
}

/* Forms */
/* ============================================ */
/**
 * Reset form fields to make them styleable.
 * 1. Make form elements stylable across systems iOS especially.
 * 2. Inherit text-transform from parent.
 */
button,
input,
optgroup,
select,
textarea {
  -webkit-appearance: none;
  /* 1 */
  -moz-appearance: none;
  appearance: none;
  vertical-align: middle;
  color: inherit;
  font: inherit;
  background: transparent;
  padding: 0;
  margin: 0;
  border-radius: 0;
  text-align: inherit;
  text-transform: inherit;
  /* 2 */
}

/**
 * Correct cursors for clickable elements.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
  cursor: pointer;
}

button:disabled,
[type="button"]:disabled,
[type="reset"]:disabled,
[type="submit"]:disabled {
  cursor: default;
}

/**
 * Improve outlines for Firefox and unify style with input elements & buttons.
 */
:-moz-focusring {
  outline: auto;
}

select:disabled {
  opacity: inherit;
}

/**
 * Remove padding
 */
option {
  padding: 0;
}

/**
 * Reset to invisible
 */
fieldset {
  margin: 0;
  padding: 0;
  min-width: 0;
}

legend {
  padding: 0;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
  overflow: auto;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * Correct the outline style in Safari.
 */
[type="search"] {
  outline-offset: -2px;
  /* 1 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Fix font inheritance.
 */
::-webkit-file-upload-button {
  -webkit-appearance: button;
  /* 1 */
  font: inherit;
  /* 2 */
}

/**
 * Clickable labels
 */
label[for] {
  cursor: pointer;
}

/* Interactive */
/* ============================================ */
/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
  display: list-item;
}

/*
 * Remove outline for editable content.
 */
[contenteditable]:focus {
  outline: auto;
}

/* Tables */
/* ============================================ */
/**
1. Correct table border color inheritance in all Chrome and Safari.
*/
table {
  border-color: inherit;
  /* 1 */
  border-collapse: collapse;
}

caption {
  text-align: left;
}

td,
th {
  vertical-align: top;
  padding: 0;
}

th {
  text-align: left;
}

html {
  height: 100%;
  overflow-y: scroll;
  font-size: 14px;
}

a {
  cursor: pointer;
  outline: none;
}

*,
*::after,
*::before {
  box-sizing: border-box;
}

/* --------------------------------------------------
root
-------------------------------------------------- */

:root {
  --color-white: #fff;
  --color-black: #000;
  --color-green: #01897d;
  --color-light-green: #61af66;
  --color-ice-green: #edf5e9;
  --color-dark-green: #006b5f;
  --color-arrow-green: #b3d59f;
  --color-bg-green: #eaf3e6;
  --color-answer-green: #b3d59f;
  --color-blue: #87b7db;
  --color-light-blue: #e4eef7;
  --color-ice-blue: #bad5ea;
  --color-bg-blue: #e2eef7;
  --color-live-blue: #bbd6ea;
  --color-thin-blue: #e4eff8;
  --color-arrow-blue: #e8f1f9;
  --color-pink: #e87683;
  --color-light-pink: #fde6e6;
  --color-gray: #f4f4f4;
  --color-orange: #FCEDE5;

  --color-border: #a4a4a4;

  --color-course-green: #009844;
  --color-course-red: #ff0000;
  --color-course-blue: #3495dd;
}

.green {
  color: var(--color-green);
}

/* --------------------------------------------------
common
-------------------------------------------------- */
.pc-only {
  display: block;
}
@media screen and (max-width: 768px) {
  .pc-only {
    display: none;
  }
}

.sp-only {
  display: none;
}
@media screen and (max-width: 768px) {
  .sp-only {
    display: block;
  }
}

body {
  font-family: "Zen Kaku Gothic New", sans-serif;
  letter-spacing: 0.5px;
}

.en {
  font-family: "Lexend", sans-serif;
  font-weight: 700;
}

.btn-opacity {
  transition: all 0.3s;

  &:hover {
    opacity: 0.6;
  }
}

a.btn-swing {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  border: 1px solid var(--color-black);
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2);
  transition: all 0.3s;
  border-radius: 14px;

  &:hover {
    background-color: var(--color-green);
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
    transform: translateY(4px);
  }

  p {
    font-weight: 500;
    font-size: 16px;
  }

  &.green {
    background-color: var(--color-green);

    p {
      color: var(--color-white);
    }
  }

  &.white {
    background-color: var(--color-white);

    p {
      color: var(--color-black);
    }
  }
}

a.btn-icon {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  position: relative;
  padding: 20px;
  max-width: 280px;
  height: 100px;
  background-color: var(--color-white);
  border: 1px solid var(--color-black);
  border-radius: 14px;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2);
  transition: all 0.3s;

  @media screen and (max-width: 768px) {
    padding: 10px 20px;
    max-width: 250px;
    height: auto;
  }

  &:hover {
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
    transform: translateY(4px);
  }

  &::after {
    content: "";
    position: absolute;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    top: 50%;
    transform: translateY(-50%);
    right: 10px;
    background-image: url(img/common/icon_arrow_green.svg);
    width: 28px;
    height: 28px;

    @media screen and (max-width: 768px) {
      width: 20px;
      height: 20px;
    }
  }

  img {
    width: 70px;
    border: none !important;

    @media screen and (max-width: 768px) {
      width: 35px;
    }
  }
  p {
    margin: 0 0 0 20px;
    font-size: 16px;
    font-weight: 500;
    white-space: nowrap;
  }
}

a.btn-push {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-black);
  box-shadow: 10px 10px 0 0 var(--color-blue),
    10px 10px 0 1px var(--color-black);
  transition: all 0.3s;
  border-radius: 14px;
  transform: translate(0, 0);

  &:hover {
    box-shadow: none !important;
    transform: translate(10px, 10px);
  }

  p {
    font-weight: 500;
    font-size: 16px;

    @media screen and (max-width: 768px) {
      font-size: 12px;
    }
  }

  &.green {
    background-color: var(--color-green);

    p {
      color: var(--color-white);
    }
  }

  &.white {
    background-color: var(--color-white);

    p {
      color: var(--color-black);
    }
  }
}

img {
  width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  font-optical-sizing: auto;
  line-height: 1.5;
  color: #1d1d1d;
}

p {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  font-optical-sizing: auto;
  line-height: 1.5;
  color: #1d1d1d;

  @media screen and (max-width: 768px) {
    font-size: 11px;
  }
}

dt {
  font-weight: 600;
  line-height: 1.5;
}

dd {
  line-height: 1.5;
}

.inner-1120 {
  max-width: 1220px;
  padding: 0 50px;
  margin: 0 auto;

  @media screen and (max-width: 768px) {
    max-width: 100%;
    padding: 0 5%;
  }
}

.inner-1020 {
  position: relative;
  max-width: 1120px;
  padding: 0 50px;
  margin: 0 auto;

  @media screen and (max-width: 768px) {
    max-width: 100%;
    padding: 0 5%;
  }
}

.inner-920 {
  max-width: 1020px;
  padding: 0 50px;
  margin: 0 auto;

  @media screen and (max-width: 768px) {
    max-width: 100%;
    padding: 0 5%;
  }
}

.inner-600 {
  max-width: 700px;
  padding: 0 50px;
  margin: 0 auto;

  @media screen and (max-width: 768px) {
    max-width: 100%;
    padding: 0 10%;
  }
}

/* post list news */
/* ============================================ */

ul.post-list__news {
  @media screen and (max-width: 768px) {
    padding: 0 10%;
  }
  li {
    border-radius: 14px;
    background-color: var(--color-white);
    border: 1px solid var(--color-black);
    position: relative;

    a {
      display: flex;
      padding: 30px;

      @media screen and (max-width: 768px) {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
      }

      img {
        aspect-ratio: 16/9;
        object-fit: cover;
        max-width: 350px;
        max-height: 200px;

        @media screen and (max-width: 768px) {
          max-width: 100%;
        }
      }

      .date-wrapper {
        display: flex;
        justify-content: space-between;
        align-items: center;

        p.date {
          font-size: 14px;
          color: var(--color-green);
          font-weight: 500;

          @media screen and (max-width: 768px) {
            font-size: 12px;
          }
        }

        .tag-warpper {
          display: flex;
          gap: 10px;

          p.event {
            font-size: 10px;
            padding: 2px 15px;
            background-color: var(--color-light-green);
            color: var(--color-white);
            border-radius: 15px;
            line-height: 18px;
          }

          p.notice {
            font-size: 10px;
            padding: 2px 15px;
            background-color: var(--color-blue);
            color: var(--color-white);
            border-radius: 15px;
            line-height: 18px;
          }
        }
      }

      h3.post-title {
        font-weight: 500;
      }

      p.excerpt {
        margin: 30px 0 0;
        font-size: 14px;

        @media screen and (max-width: 768px) {
          margin: 15px 0 0;
          font-size: 12px;
          line-height: 1.8;
        }
      }

      p.more {
        text-align: right;
        position: relative;
        color: var(--color-green);
        font-weight: 500;

        @media screen and (max-width: 768px) {
          font-size: 10px;
          margin: 10px 30px 0 auto;
        }

        &::after {
          content: "";
          position: absolute;
          background-size: contain;
          background-repeat: no-repeat;
          background-position: center;
          top: 50%;
          right: -30px;
          transform: translateY(-50%);
          width: 28px;
          height: 5px;
          background-image: url(img/common/icon_arrow_black.svg);
        }
      }
    }
  }
}

ul.post-list__pickup {
  li {
    &::after {
      content: "";
      position: absolute;
      background-size: contain;
      background-repeat: no-repeat;
      background-position: center;
      top: -30px;
      left: -30px;
      width: 60px;
      height: 60px;
      background-image: url(img/common/icon_pickup.svg);
    }

    a {
      gap: 70px;

      @media screen and (max-width: 768px) {
        gap: 20px;
      }

      h3.post-title {
        margin: 30px 0 0;

        @media screen and (max-width: 768px) {
          margin: 15px 0 0;
          font-size: 12px;
        }
      }

      p.more {
        margin: 30px 30px 0 auto;
      }
    }
  }
}

ul.post-list__regular {
  display: flex;
  flex-direction: column;
  margin: 50px auto 0;
  gap: 6px;

  @media screen and (max-width: 768px) {
    margin: 10px auto 0;
    gap: 10px;
  }

  li {
    a {
      align-items: center;

      @media screen and (max-width: 768px) {
        align-items: flex-start;
        gap: 10px;
      }

      .date-wrapper {
        display: flex;
        gap: 20px;

        @media screen and (max-width: 768px) {
          justify-content: space-between;
          width: 100%;
        }

        .tag-warpper {
          min-width: 180px;

          @media screen and (max-width: 768px) {
            min-width: auto;
          }
        }
      }

      h3.post-title {
        font-size: 14px;

        @media screen and (max-width: 768px) {
          font-size: 12px;
        }
      }

      p.more {
        margin: 0 30px 0 auto;
      }
    }
  }
}

/* post list change */
/* ============================================ */
ul.post-list {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 50px 0;
  position: relative;
  z-index: 2;

  &::after {
    content: "";
    display: block;
    width: 30%;
  }

  @media screen and (max-width: 768px) {
    padding: 20px 0;
  }

  li.post-item {
    width: 30%;
    background-color: var(--color-white);
    border: 1px solid var(--color-black);
    border-radius: 14px;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2);
    margin-bottom: 40px;

    @media screen and (max-width: 768px) {
      width: 100%;
      margin-bottom: 20px;
    }

    a {
      display: flex;
      flex-direction: column;
      height: 100%;
      padding: 20px;

      img {
        object-fit: cover;
        max-height: 130px;
      }

      .date-wrapper {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
        margin: 15px 0 0;
        row-gap: 5px;

        .tag-wrapper {
          display: flex;
          justify-content: space-between;
          gap: 5px;

          p.tag {
            font-size: 10px;
            padding: 2px 10px;
            background-color: var(--color-black);
            color: var(--color-white);
            border-radius: 10px;
          }

          p.change {
            background-color: var(--color-pink);
          }

          p.event {
            background-color: var(--color-light-green);
          }

          p.notice {
            background-color: var(--color-blue);
          }
        }
      }

      h3.post-title {
        font-size: 14px;
        text-align: left;
        font-weight: 500;
        margin: 20px 0 0;
        flex: 1 0 auto;
      }

      p.more {
        position: relative;
        font-size: 10px;
        margin: 20px 30px 0 auto;
        color: var(--color-green);

        &::after {
          content: "";
          position: absolute;
          background-size: contain;
          background-repeat: no-repeat;
          background-position: center;
          top: 50%;
          right: -30px;
          transform: translateY(-50%);
          width: 28px;
          height: 5px;
          background-image: url(img/common/icon_arrow_black.svg);
        }
      }
    }
  }
}

/* breadcrumb */
/* ============================================ */
.breadcrumb {
  padding: 0 50px;

  @media screen and (max-width: 1160px) {
    padding: 0 5%;
  }

  .inner-1120 {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 100px 0 20px;

    a {
      font-size: 12px;
      color: var(--color-black);
      font-weight: 500;
    }

    p {
      color: var(--color-black);
      font-weight: 500;
    }

    img {
      height: 15px;
      width: 6px;
    }
  }
}

/* lower-page */
/* ============================================ */
.lower-page {
  overflow: hidden;

  section#main-visual {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 140px;

    @media screen and (max-width: 768px) {
      height: 125px;
    }

    .title {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 10px;

      h1 {
        font-size: 42px;
        color: var(--color-green);

        @media screen and (max-width: 768px) {
          font-size: 28px;
          line-height: 1.2;
        }
      }
      p {
        font-weight: 500;
      }
    }
  }

  .icon-title {
    display: flex;
    align-items: center;
    gap: 25px;

    img {
      width: 60px;
      height: 60px;
      object-fit: contain;

      @media screen and (max-width: 768px) {
        width: 40px;
      }
    }

    .text-wrapper {
      h2 {
        font-size: 26px;
        color: var(--color-green);

        @media screen and (max-width: 768px) {
          font-size: 18px;
        }
      }

      p {
        font-size: 16px;
        font-weight: 300;

        @media screen and (max-width: 768px) {
          font-size: 13px;
        }
      }
    }
  }
}

/* price-table */
/* ============================================ */
.price-table,
.time-table {
  &.green-table {
    th {
      background-color: var(--color-arrow-green) !important;
    }
  }

  table {
    margin: 30px 0 0;
    width: calc(100% + 12px);
    text-align: center;
    border-collapse: separate;
    border-spacing: 6px;
    margin-left: -6px;

    @media screen and (max-width: 768px) {
      border-spacing: 3px;
    }

    thead {
      background-color: var(--color-green);

      th.white {
        background-color: var(--color-white);
      }
    }

    tbody {
      position: relative;

      th {
        @media screen and (max-width: 768px) {
          width: 150px;
        }
      }
    }

    th,
    td {
      vertical-align: middle;
      font-size: 13px;
      font-weight: 500;
      text-align: center;
      padding: 15px;
      border: 1px solid var(--color-black);
      min-height: 60px;
      max-height: 120px;

      @media screen and (max-width: 768px) {
        font-size: 10px;
        padding: 8px 0;
        letter-spacing: 0;
      }
    }

    th {
      background-color: var(--color-blue);
      display: table-cell;
    }

    th.age-header {
      font-size: 12px;

      @media screen and (max-width: 768px) {
        font-size: 8px;
        width: 50px;
      }

      span.age-text {
        font-size: 10px;

        @media screen and (max-width: 768px) {
          font-size: 8px;
        }
      }
    }

    th.discount {
      position: relative;

      &::before {
        content: "";
        position: absolute;
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        background-image: url(img/common/icon_hokkaido_discount.png);
        width: 30%;
        height: 30px;
        top: 50%;
        transform: translateY(-50%);
        right: 10px;

        @media screen and (max-width: 768px) {
          width: 20%;
          height: 20px;
        }
      }
    }

    th.left {
      text-align: left;
      width: 260px;

      @media screen and (max-width: 768px) {
        padding-left: 10px;
        padding-right: 10px;
        width: 90px;
      }
    }

    th.left-wide {
      @media screen and (max-width: 768px) {
        width: 60px;
        text-align: left;
        padding: 6px;

      }
    }

    th.left-thin {
      @media screen and (max-width: 768px) {
        width: 50px;
        font-size: 8px;
      }
    }

    th.last-column {
      text-align: center;
    }

    td {
      background-color: var(--color-white);
    }

    td.web-price {
      vertical-align: middle;
      line-height: 1.8;

      p {
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 500;
        gap: 5px;

        @media screen and (max-width: 950px) {
          flex-direction: column;
        }
      }

      span {
        img {
          width: 60px;
          height: 20px;
        }
      }
    }
  }
}

p.table-note {
  line-height: 2;
  font-weight: 300;
  position: relative;
  margin: 5px 0 0;
}

p.note {
  font-weight: 300;
}

/* notice */
/* ============================================ */

section#notice {
  padding: 60px 50px 90px;

  @media screen and (max-width: 768px) {
    padding: 40px 0;
  }

  p.note {
    margin: 60px 0 0;
    line-height: 2.5;

    @media screen and (max-width: 768px) {
      margin: 30px 0 0;
    }
  }
}

/* 404 */
/* ============================================ */
#not_found {
  height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
}