@charset "UTF-8";

/* =====================
  Custom Property
===================== */
:root {
  --debug: false;

  /* color */
  --white: #ffffff;
  --primary: #65a98f;
  --blue: #002d72;
  --color-text-primary: #000000;
  --form-form-input: #f0f3f7;
  --form-form-required: #b61024;
  --form-form-optional: #575757;
  --form-form-border: #b7b7b7;
  --form-form-input-placeholder: #bababa;
  --bg: #f6f5f3;
  --bg2: #e8eee6;
  --gradation: linear-gradient(90deg, #4aa487 0%, #327d64 100%);
  --gradation-end: #327d64;
  --green-extra-light: #edf6f3;
  --green-light: #b8dacf;

  /* font */
  --yumin: 'Yu Mincho Demibold', 'YuMincho Demibold', '游明朝', 'Yu Mincho Regular', 'Yu Mincho', 'YuMincho Medium', serif;
  --yugo: '游ゴシック', 'Yu Gothic', yugothic, 'Hiragino Kaku Gothic ProN', 'Hiragino Kaku Gothic Pro', 'メイリオ', meiryo, 'ＭＳ ゴシック', sans-serif;
  --sanserif: 'Noto Sans JP', sans-serif;
  --title: 'Ubuntu', sans-serif;
  --zen: 'Zen Maru Gothic', sans-serif;
  --barlow: 'Barlow', sans-serif;

  /* icon */
  --icon-bracket: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="14" height="9" viewBox="0 0 14 9" fill="none"><path d="M6.70703 8.12109L-6.18106e-08 1.41406L1.41406 -5.24537e-07L6.70703 5.29297L12 -6.18106e-08L13.4141 1.41406L6.70703 8.12109Z" fill="currentColor"/></svg>');
  --icon-arrow: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="15" height="10" viewBox="0 0 15 10" fill="none"><path d="M10.1532 0L15 5.01099L10.1532 10L8.9415 8.74725L12.9109 5.01099L8.9415 1.25275L10.1532 0ZM0 5.84615V4.17582H13.7047V5.84615H0Z" fill="currentColor"/></svg>');
  --icon-plus: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M12.9729 11.0268V0H11.6757V11.0268H0V12.3241H11.6757V24H12.9729V12.3241H24V11.0268H12.9729Z" fill="currentColor"/></svg>');
  --icon-blank: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 15 15" fill="none"><path d="M7.5 0C7.72094 4.73394e-08 7.9326 0.0879621 8.08887 0.244141C8.24507 0.400344 8.33292 0.612112 8.33301 0.833008C8.33301 1.05402 8.24515 1.26657 8.08887 1.42285C7.93262 1.57893 7.72086 1.66699 7.5 1.66699H2.5C2.27899 1.66699 2.06741 1.75485 1.91113 1.91113C1.75485 2.06741 1.66699 2.27899 1.66699 2.5V12.5C1.66699 12.721 1.75485 12.9326 1.91113 13.0889C2.06741 13.2451 2.27899 13.333 2.5 13.333H12.5C12.721 13.333 12.9326 13.2451 13.0889 13.0889C13.2451 12.9326 13.333 12.721 13.333 12.5V7.5C13.333 7.27914 13.4211 7.06738 13.5771 6.91113C13.7334 6.75485 13.946 6.66699 14.167 6.66699C14.3879 6.66708 14.5997 6.75493 14.7559 6.91113C14.912 7.0674 15 7.27906 15 7.5V12.5C15 13.163 14.7364 13.7987 14.2676 14.2676C13.7987 14.7364 13.163 15 12.5 15H2.5C1.83696 15 1.20126 14.7364 0.732422 14.2676C0.263581 13.7987 7.89262e-08 13.163 0 12.5V2.5C0 1.83696 0.263581 1.20126 0.732422 0.732422C1.20126 0.263581 1.83696 0 2.5 0H7.5ZM14.167 0C14.3879 7.8134e-05 14.5997 0.0879396 14.7559 0.244141C14.9121 0.400344 14.9999 0.612111 15 0.833008V4.16699C14.9999 4.38789 14.9121 4.59966 14.7559 4.75586C14.5997 4.91206 14.3879 4.99992 14.167 5C13.946 5 13.7334 4.91214 13.5771 4.75586C13.4211 4.59967 13.3331 4.3878 13.333 4.16699V2.84961L8.0918 8.08301C8.01433 8.16111 7.92186 8.22332 7.82031 8.26562C7.7188 8.3079 7.60996 8.33008 7.5 8.33008C7.39003 8.33007 7.28121 8.30791 7.17969 8.26562C7.07814 8.22332 6.98567 8.16111 6.9082 8.08301C6.83025 8.00563 6.76785 7.91388 6.72559 7.8125C6.68328 7.71095 6.66211 7.60122 6.66211 7.49121C6.66217 7.38136 6.68334 7.27231 6.72559 7.1709C6.76784 7.06951 6.83026 6.97777 6.9082 6.90039L12.1504 1.66699H10.833C10.6122 1.6669 10.4003 1.57896 10.2441 1.42285C10.0879 1.26657 10 1.05402 10 0.833008C10.0001 0.612119 10.0879 0.400343 10.2441 0.244141C10.4003 0.0879442 10.6121 9.421e-05 10.833 0H14.167Z" fill="currentColor"/></svg>');
  --icon-search: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="21" height="21" viewBox="0 0 21 21" fill="none"><path d="M16 9.25C16 8.36362 15.8255 7.4859 15.4863 6.66699C15.1472 5.84819 14.6501 5.10427 14.0234 4.47754C13.3966 3.85072 12.652 3.3529 11.833 3.01367C11.0141 2.67455 10.1363 2.5 9.25 2.5C8.36363 2.50003 7.48589 2.67448 6.66699 3.01367C5.84802 3.3529 5.10435 3.85072 4.47754 4.47754C3.21168 5.7434 2.50005 7.45981 2.5 9.25C2.5 11.0403 3.21163 12.7575 4.47754 14.0234C5.74337 15.2891 7.45994 15.9999 9.25 16C11.0403 16 12.7575 15.2893 14.0234 14.0234C14.6503 13.3966 15.1471 12.652 15.4863 11.833C15.8255 11.0141 16 10.1364 16 9.25ZM18.5 9.25C18.5 10.4648 18.2608 11.6678 17.7959 12.79C17.4914 13.5251 17.0926 14.215 16.6133 14.8457L20.1338 18.3662C20.6219 18.8544 20.6219 19.6456 20.1338 20.1338C19.6456 20.6219 18.8544 20.6219 18.3662 20.1338L14.8457 16.6133C13.2453 17.8295 11.2828 18.5 9.25 18.5C6.79677 18.4999 4.44369 17.5257 2.70898 15.791C0.974363 14.0563 0 11.7032 0 9.25C5.45528e-05 6.79677 0.974283 4.44369 2.70898 2.70898C3.56787 1.8501 4.58779 1.16897 5.70996 0.704102C6.83218 0.239261 8.03532 2.70474e-05 9.25 0C10.4647 0 11.6678 0.239254 12.79 0.704102C13.9122 1.16893 14.9321 1.85012 15.791 2.70898C16.6499 3.56784 17.331 4.58784 17.7959 5.70996C18.2607 6.83219 18.5 8.03532 18.5 9.25Z" fill="currentColor"/></svg>');
  --icon-search-2: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 15 15" fill="none"><path d="M13.25 13.25L10.3547 10.3547M10.3547 10.3547C10.85 9.85945 11.2428 9.2715 11.5108 8.62442C11.7789 7.97734 11.9168 7.2838 11.9168 6.58341C11.9168 5.88302 11.7789 5.18948 11.5108 4.5424C11.2428 3.89532 10.85 3.30737 10.3547 2.81212C9.85945 2.31687 9.2715 1.92401 8.62442 1.65598C7.97734 1.38795 7.2838 1.25 6.58341 1.25C5.88302 1.25 5.18948 1.38795 4.5424 1.65598C3.89532 1.92401 3.30737 2.31687 2.81212 2.81212C1.81191 3.81233 1.25 5.1689 1.25 6.58341C1.25 7.99792 1.81191 9.35449 2.81212 10.3547C3.81233 11.3549 5.1689 11.9168 6.58341 11.9168C7.99792 11.9168 9.35449 11.3549 10.3547 10.3547Z" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"/></svg>');
  --icon-home: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="13" height="12" viewBox="0 0 13 12" fill="none"><path d="M12.7309 5.90169L6.82435 0.131418C6.78182 0.0897586 6.73131 0.056708 6.6757 0.0341577C6.62009 0.0116074 6.56047 0 6.50027 0C6.44006 0 6.38045 0.0116074 6.32484 0.0341577C6.26923 0.056708 6.21872 0.0897586 6.17619 0.131418L0.26959 5.90169C0.0975112 6.06991 0 6.29843 0 6.53675C0 7.03163 0.411555 7.43397 0.917752 7.43397H1.5401V11.5514C1.5401 11.7995 1.74516 12 1.99898 12H5.58252V8.85972H7.18858V12H11.0016C11.2554 12 11.4604 11.7995 11.4604 11.5514V7.43397H12.0828C12.3266 7.43397 12.5603 7.34005 12.7324 7.17041C13.0894 6.81994 13.0894 6.25216 12.7309 5.90169Z" fill="currentColor"/></svg>');
  --icon-download: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 14 14" fill="none"><path d="M2 9V12H12V9H14V12C14 12.5304 13.7891 13.039 13.4141 13.4141C13.039 13.7891 12.5304 14 12 14H2C1.46957 14 0.96101 13.7891 0.585938 13.4141C0.210865 13.039 0 12.5304 0 12V9H2ZM8 0V6.82617L10.6074 4.58984L11.9102 6.1084L7 10.3184L2.08984 6.1084L3.3916 4.58984L6 6.82617V0H8Z" fill="currentColor"/></svg>');
  --icon-zoom: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><path d="M14.25 9V10.5C14.25 10.8094 13.9969 11.0625 13.6875 11.0625H11.0625V13.6875C11.0625 13.9969 10.8094 14.25 10.5 14.25H9C8.69063 14.25 8.4375 13.9969 8.4375 13.6875V11.0625H5.8125C5.50313 11.0625 5.25 10.8094 5.25 10.5V9C5.25 8.69063 5.50313 8.4375 5.8125 8.4375H8.4375V5.8125C8.4375 5.50313 8.69063 5.25 9 5.25H10.5C10.8094 5.25 11.0625 5.50313 11.0625 5.8125V8.4375H13.6875C13.9969 8.4375 14.25 8.69063 14.25 9ZM23.6719 22.3453L22.3453 23.6719C21.9047 24.1125 21.1922 24.1125 20.7562 23.6719L16.0781 18.9984C15.8672 18.7875 15.75 18.5016 15.75 18.2016V17.4375C14.0953 18.7313 12.0141 19.5 9.75 19.5C4.36406 19.5 0 15.1359 0 9.75C0 4.36406 4.36406 0 9.75 0C15.1359 0 19.5 4.36406 19.5 9.75C19.5 12.0141 18.7313 14.0953 17.4375 15.75H18.2016C18.5016 15.75 18.7875 15.8672 18.9984 16.0781L23.6719 20.7516C24.1078 21.1922 24.1078 21.9047 23.6719 22.3453ZM16.125 9.75C16.125 6.225 13.275 3.375 9.75 3.375C6.225 3.375 3.375 6.225 3.375 9.75C3.375 13.275 6.225 16.125 9.75 16.125C13.275 16.125 16.125 13.275 16.125 9.75Z" fill="currentColor"/></svg>');

  /* ease */
  --slideInBezier: cubic-bezier(0.16, 0.5, 0.43, 1);
  --easeOutQuart: cubic-bezier(0.25, 1, 0.5, 1);
  --easeOutExpo: cubic-bezier(0.87, 0, 0.13, 1);
  --easeOutBack: cubic-bezier(0.34, 1.56, 0.64, 1);
  --easeOutQuint: cubic-bezier(0.22, 1, 0.36, 1);
  --easeInCirc: cubic-bezier(0.55, 0, 1, 0.45);
  --easeInOutBack: cubic-bezier(0.68, -0.6, 0.32, 1.6);
  --easeOutSine: cubic-bezier(0.61, 1, 0.88, 1);
  --easeOutBounce: cubic-bezier(0.68, -0.55, 0.27, 1.55);

  /* ==== project ==== */
  --header-height: 145px;
}

@media (width <=768px) {
  :root {
    --header-height: calc((100 / 390) * 74 * 1vw);
  }
}

/* =====================
  nudge
===================== */
:root {
  --nudge-1: 8px;
  --nudge-2: 16px;
  --nudge-3: 24px;
  --nudge-4: 32px;
  --nudge-5: 40px;
  --nudge-6: 48px;
  --nudge-7: 56px;
  --nudge-8: 64px;
  --nudge-9: 70px;
  --nudge-10: 80px;
}

@media (width <=768px) {
  :root {
    --nudge-1: calc((100 / 390) * 8 * 1vw);
    --nudge-2: calc((100 / 390) * 16 * 1vw);
    --nudge-3: calc((100 / 390) * 24 * 1vw);
    --nudge-4: calc((100 / 390) * 32 * 1vw);
    --nudge-5: calc((100 / 390) * 40 * 1vw);
    --nudge-6: calc((100 / 390) * 48 * 1vw);
    --nudge-7: calc((100 / 390) * 56 * 1vw);
    --nudge-8: calc((100 / 390) * 64 * 1vw);
    --nudge-9: calc((100 / 390) * 70 * 1vw);
    --nudge-10: calc((100 / 390) * 80 * 1vw);
  }
}

@container style(--debug:true) {
  * {
    outline: 1px solid tomato;

    &::before,
    &::after {
      outline: 1px solid tomato;
    }

    &:focus {
      outline: 2px solid var(--blue);
      outline-offset: 2px;
    }
  }
}

@layer style {
  :where(html, body) {
    font-family: var(--sanserif);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.8;
    color: var(--color-text-primary);

    @media (width <=768px) {
      font-size: calc((100 / 390) * 15 * 1vw);
    }
  }

  body {
    @media (width > 768px) {
      min-inline-size: 1440px;
    }
  }

  @media (width > 768px) {
    .sp {
      display: none;
    }
  }

  @media (width <=768px) {
    .pc {
      display: none;
    }
  }

  /* p */
  :where(p, li, dt, dd, th, td) {
    line-height: inherit;
  }

  .main {
    position: relative;
    margin-block-start: calc(var(--header-height) * -1);

    >article {
      position: relative;
      z-index: 2;
    }
  }

  @supports (view-transition-name: none) {
    @view-transition {
      navigation: auto;
    }

    ::view-transition-old(root),
    ::view-transition-new(root) {
      animation-duration: 0.4s;
      animation-timing-function: ease-in-out;
    }

    ::view-transition-old(root) {
      animation: slide-out 0.4s ease-in-out;
    }

    ::view-transition-new(root) {
      animation: slide-in 0.4s ease-in-out;
    }

    @keyframes slide-out {
      to {
        opacity: 0;
      }
    }

    @keyframes slide-in {
      from {
        opacity: 0;
      }

      to {
        opacity: 1;
      }
    }
  }
}

[data-page='error'] {
  .main {
    padding-block-end: 6em;

    .u-anchor {
      margin-block-start: 2em;
      margin-inline: auto;
    }
  }
}
