:root {
  --color-bg: #ffffff;
  --color-fg: #333333;
  --color-accent: #2563eb;
  --brown: #422b2c;
  --gold: #b28850;
  --gray: #edf6f6;
  --green: #226c7b;
  --green2: #f3f9f8;
  --lightgreen: #c6ddd5;
  --green-yellow: #f2edda;
  --max-width: 1440px;
  --font-sans: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", system-ui, -apple-system, Segoe UI, Roboto,
    Ubuntu, "Helvetica Neue", Arial, sans-serif;
  --font-serif: "游明朝体", "Yu Mincho", YuMincho, Georgia, "Times New Roman", Times, serif;
  --font-gothic: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Helvetica Neue",
    Arial, Meiryo, sans-serif;
}

html {
  box-sizing: border-box;
  font-size: 16px;
}
*,
*::before,
*::after {
  box-sizing: inherit;
}
body {
  margin: 0;
  padding: 0;
  font-family: var(--font-sans);
  line-height: 1.6;
  color: var(--color-fg);
  background: var(--color-bg);
  font-size: 1rem;
  @media (min-width: 1120px) {
    font-size: 1.125rem;
  }
}
p,
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  padding: 0;
}
a {
  color: var(--color-accent);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
.wrapper {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}
nav.primary-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1rem;
}
main {
  padding: 0;
}
footer.site-footer {
  border-top: 1px solid #e5e5e5;
  font-size: 0.875rem;
  color: #555;
  padding: 2rem 0;
}
.grid {
  display: grid;
  gap: 1.5rem;
}
.os-button {
  display: inline-block;
  background: var(--color-accent);
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: 4px;
  font-weight: 600;

  &:hover {
    color: #fff;
    opacity: 0.9;
    text-decoration: none;
  }

  &[data-variant="outline"] {
    height: 35px;
    line-height: 35px;
    padding: 0 16px;
    background: transparent;
    font-size: 0.8rem;
    color: var(--color-fg);
    border: 1px solid var(--color-fg);
    border-radius: 35px;

    &::after {
      content: "";
      display: inline-block;
      width: 0;
      height: 0;
      border-top: 5px solid transparent;
      border-bottom: 5px solid transparent;
      border-left: 9px solid var(--color-fg);
      margin-left: 10px;
      position: relative;
    }

    @media (min-width: 1120px) {
      font-size: 1rem;
      height: 40px;
      line-height: 40px;
      padding: 0 20px;

      &::after {
        border-top: 6px solid transparent;
        border-bottom: 6px solid transparent;
        border-left: 10px solid var(--color-fg);
        top: 1px;
      }
    }
  }

  &[data-variant="primary"] {
    background-color: var(--green);
    background: linear-gradient(
      120deg,
      #66abb2 0%,
      var(--green) 56%,
      #0b4f48 96%
    );

    border-radius: 12px;

    padding: 16px 48px;

    @media (min-width: 1120px) {
      padding-top: 20px;
      padding-left: 30px;
      padding-right: 30px;
    }
  }

  &[data-variant="secondary"] {
    background: var(--brown);
  }
}
.button-tel,
.button-web {
  position: relative;

  display: block;
  text-align: center;

  height: 80px;

  span {
    display: block;
  }

  color: #fff;

  border: 1px solid #fff;

  font-size: 0.875rem;

  span {
    margin-left: 24px;
  }

  &::before {
    display: block;
    width: auto;
    height: 42px;

    position: absolute;
    left: 24px;
    top: 50%;
    transform: translateY(-50%);
  }

  &::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 24px;
    transform: translateY(-50%);
    display: block;
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 12px solid #fff;
    border-left-color: #fff;
  }

  &[data-theme="light"] {
    background: #fff;

    color: var(--green);

    border: 1px solid #fff;
  }

  &[data-theme="dark"] {
    background-color: var(--green);

    color: #fff;

    border: none;
  }

  &[data-theme="transparent"] {
    background: transparent;

    color: #fff;

    border: 1px solid #fff;
  }
}

.button-tel {
  font-size: 0.875rem;

  span:first-child {
    font-size: 1.25rem;
    margin-top: -4px;
  }

  span {
    display: block;
    margin-left: 24px;
  }
  
  .time {
    font-weight: 400;
    font-family: "Noto Sans JP", sans-serif;
  }

  .os-number {
    height: 30px;
    background-image: url("../img/button-tel-num-white.svg");
    background-repeat: no-repeat;
    background-position: center center;
    margin-bottom: 0px;
    margin-left: 8px;

    font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
    font-size: 2rem;
    font-weight: bold;

    text-indent: -9999px;
  }

  &::before {
    content: url("../img/button-tel-ico-white.svg");
  }

  &[data-theme="light"] {
    .os-number {
      background-image: url("../img/button-tel-num-colored.svg");
    }

    &::before {
      content: url("../img/button-tel-ico-colored.svg");
    }

    &::after {
      border-left-color: var(--green);
    }
  }

  &[data-theme="dark"] {
    .os-number {
      background-image: url("../img/button-tel-num-white.svg");
    }

    &::before {
      content: url("../img/button-tel-ico-white.svg");
    }
  }

  &[data-theme="transparent"] {
    background: transparent;

    color: #fff;

    border: 1px solid #fff;

    .os-number {
      background-image: url("../img/button-tel-num-white.svg");
    }

    &::before {
      content: url("../img/button-tel-ico-white.svg");
    }
  }
}

.button-web {
  background: transparent;

  font-size: 0.875rem;

  span:first-child {
    margin-top: -4px;
    font-size: 1.25rem;
    font-family: var(--font-gothic);
    letter-spacing: 0.2rem;
  }

  .time {
    font-weight: 400;
    font-family: "Noto Sans JP", sans-serif;
  }

  &::before {
    content: url("../img/button-web-ico-white.svg");
  }

  &[data-theme="light"] {
    &::before {
      content: url("../img/button-web-ico-colored.svg");
    }
  }

  &[data-theme="dark"] {
    &::before {
      content: url("../img/button-web-ico-white.svg");
    }
  }

  &[data-theme="transparent"] {
    background: transparent;

    color: #fff;

    border: 1px solid #fff;

    &::before {
      content: url("../img/button-web-ico-white.svg");
    }
  }
}

.actions {
  text-align: center;
}

.d-none {
  display: none;
}
.pc-only {
  display: none;
}
@media (min-width: 1120px) {
  .pc-none {
    display: none;
  }
  .pc-only {
    display: block;
  }
}
