@charset "UTF-8";

:root {
    /* Font sizes */
    --fontsize-10: 0.625rem; /* 10px */
    --fontsize-11: 0.6875rem; /* 11px */
    --fontsize-12: 0.75rem; /* 12px */
    --fontsize-13: 0.8125rem; /* 13px */
    --fontsize-14: 0.875rem; /* 14px */
    --fontsize-15: 0.9375rem; /* 15px */
    --fontsize-16: 1rem; /* 16px */
    --fontsize-17: 1.0625rem; /* 17px */
    --fontsize-18: 1.125rem; /* 18px */
    --fontsize-19: 1.1875rem; /* 19px */
    --fontsize-20: 1.25rem; /* 20px */
    --fontsize-21: 1.3125rem; /* 21px */
    --fontsize-22: 1.375rem; /* 22px */
    --fontsize-23: 1.4375rem; /* 23px */
    --fontsize-24: 1.5rem; /* 24px */
    --fontsize-25: 1.5625rem; /* 25px */
    --fontsize-26: 1.625rem; /* 26px */
    --fontsize-27: 1.6875rem; /* 27px */
    --fontsize-28: 1.75rem; /* 28px */
    --fontsize-29: 1.8125rem; /* 29px */
    --fontsize-30: 1.875rem; /* 30px */
    --fontsize-31: 1.9375rem; /* 31px */
    --fontsize-32: 2rem; /* 32px */
    --fontsize-33: 2.0625rem; /* 33px */
    --fontsize-34: 2.125rem; /* 34px */
    --fontsize-35: 2.1875rem; /* 35px */
    --fontsize-36: 2.25rem; /* 36px */
    --fontsize-37: 2.3125rem; /* 37px */
    --fontsize-38: 2.375rem; /* 38px */
    --fontsize-39: 2.4375rem; /* 39px */
    --fontsize-40: 2.5rem; /* 40px */

    --fontsize-lp-title-pc: 3.125rem;
    --fontsize-lp-title-sp: 2.25rem;

    /* Colors */
    --main-color: #295249;
    --accent-color: #cc3d28;
    --white-color: #ffffff;
    --color-yellow: #ffc93c;

}

/* Reset */
html {
    block-size: 100%;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    min-height: 100vh;
    margin: 0;
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 500;
    font-optical-sizing: auto;
    color: var(--main-color);
    font-size: var(--fontsize-16);
    line-height: 1.7;
    font-weight: 400;
    font-style: normal;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
}

main {
    flex: 1;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    font-weight: 700;
}

h1 { line-height: 1.3; }
h2 { line-height: 1.4; }
h3 { line-height: 1.4; }
h4 { line-height: 1.5; }
h5,
h6 { line-height: 1.6; }

:where(p, h1, h2, h3, h4, h5, h6) {
    overflow-wrap: break-word;
}

h1, h2, h3, h4, h5, h6 {
    text-wrap: balance;
}

p {
    margin: 0 0 1.4em;
}

ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

:where(ul, ol)[class*=list] {
    list-style: none;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover,
a:focus {
    color: #0056b3;
}

img,
svg {
    display: block;
    max-width: 100%;
    height: auto;
}

button {
    cursor: pointer;
}

a:focus-visible,
button:focus-visible {
    outline-offset: 2px;
}

/* Layout ================================= */
.l-container {
  max-width: 1340px;
  width: 100%;
  margin-inline: auto;
  padding-inline: 20px;
}

.l-space-y-sm {
    padding-block: 30px;
}

.l-space-y-md {
    padding-block: 35px;
}

@media (min-width: 576px) {
    .l-space-y-md {
        padding-block: 70px;
    }
}

/* test ================================= */
.u-text-red {
  color: var(--accent-color);
}

/* pc sp view ================================= */
.is-sp-only {
  display: none !important;
}

.is-pc-only {
  display: block !important;
}

@media (max-width: 767.98px) {
  .is-sp-only {
    display: block !important;
  }
  .is-pc-only {
    display: none !important;
  }

  .is-sp-none {
    display: none;
  }
}