@charset "utf-8";

/*****************BASE******************/
* {
  box-sizing: border-box;
}

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

html {
  font-size: 62.5%;
  overflow-x: hidden;
}

body {
  color: var(--text-color);
  background: var(--body-bg-color);
  font-family: var(--base-font-family);
  font-size: var(--base-font-size);
  font-optical-sizing: auto;
  font-style: normal;
  line-height: 1.5;
  height: auto;
  overflow: hidden;
  letter-spacing: 0.05em;
}

@media ( max-width: 599px ) {
  body {
    font-size: var(--sp-base-font-size);
  }
}

small {
  font-size: 80%;
}

p {
  margin: 0.5em 0 1em;
}

p:first-child {
  margin-top: 0;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--link-color);
  text-decoration: none;
}

a:not([class]), a:not([rel]) {
  transition: 0.2s;
}

a:not([class]):hover, a:not([rel]):hover {
  opacity: 0.8;
}

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

dl dt {
  margin: 0;
}

dl dd {
  margin: 0;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}


/***************************************
----------------- UTIL -----------------
***************************************/
/*light*/
.fw-300 {
  font-weight: 300;
}

/*regular*/
.fw-400 {
  font-weight: 400;
}

/*medium*/
.fw-500 {
  font-weight: 500;
}

/*semibold*/
.fw-600 {
  font-weight: 600;
}

/*bold*/
.fw-700 {
  font-weight: 700;
}

/*black*/
.fw-900 {
  font-weight: 900;
}

.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

@media ( min-width: 600px ) {
  .pc--text-center {
    text-align: center;
  }

  .pc-text-right {
    text-align: right;
  }
}

@media ( max-width: 599px ) {
  .sp-text-center {
    text-align: center;
  }

  .sp-text-right {
    text-align: right;
  }
}

.text-color01 {
  color: var(--base-color01);
}

.text-color02 {
  color: var(--base-color02);
}

.mt-0, .mt0 {
  margin-top: 0 !important;
}

.mt-1 {
  margin-top: 1em !important;
}

.mt-2 {
  margin-top: 2em !important;
}

.mt-3 {
  margin-top: 3em !important;
}

.mt-4 {
  margin-top: 4em !important;
}

.mt-5 {
  margin-top: 5em !important;
}

.mb-0, .mb0 {
  margin-bottom: 0 !important;
}

.mb-1 {
  margin-bottom: 1em !important;
}

.mb-2 {
  margin-bottom: 2em !important;
}

.mb-3 {
  margin-bottom: 3em !important;
}

.mb-4 {
  margin-bottom: 4em !important;
}

.mb-5 {
  margin-bottom: 5em !important;
}

@media (max-width: 599px) {
  .sp-mt-0 {
    margin-top: 0 !important;
  }

  .sp-mt-1 {
    margin-top: 1em !important;
  }

  .sp-mt-2 {
    margin-top: 2em !important;
  }

  .sp-mt-3 {
    margin-top: 3em !important;
  }

  .sp-mt-4 {
    margin-top: 4em !important;
  }

  .sp-mt-5 {
    margin-top: 5em !important;
  }

  .sp-mb-0 {
    margin-bottom: 0 !important;
  }

  .sp-mb-1 {
    margin-bottom: 1em !important;
  }

  .sp-mb-2 {
    margin-bottom: 2em !important;
  }

  .sp-mb-3 {
    margin-bottom: 3em !important;
  }

  .sp-mb-4 {
    margin-bottom: 4em !important;
  }

  .sp-mb-5 {
    margin-bottom: 5em !important;
  }
}

@media ( max-width: 599px ) {
  .sp-mt-1 {
    margin-top: 1em;
  }

  .sp-mt-2 {
    margin-top: 2em;
  }

  .sp-mt-3 {
    margin-top: 3em;
  }

  .sp-mt-4 {
    margin-top: 4em;
  }

  .sp-mt-5 {
    margin-top: 5em;
  }
}

.mt0 {
  margin-top: 0 !important;
}

.mb0 {
  margin-bottom: 0 !important;
}

a[href^="tel:"] {
  text-decoration: none;
}

@media (min-width: 600px) {
  a[href^="tel:"] {
    pointer-events: none;
    text-decoration: none;
  }
}

@media screen and (min-width: 1025px) {
  .tablet-only {
    display: none !important;
  }
}

@media (min-width: 600px) {
  .sp-only {
    display: none !important;
  }
}

@media screen and (max-width: 599px) {
  .pc-only {
    display: none !important;
  }

  .tablet-only {
    display: none !important;
  }
}
/***************************************
------------- gird -------------
https://web-grid.webjeda.com/
class名をrow colに変更
row-reverseは無いため SP時の表示順を基準にして order-* でPC時の表示順を変える
***************************************/
@media ( min-width: 600px ) {
  .row {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: auto;
    gap: 20px;
  }
}

@media ( max-width: 599px ) {
  .row {
    display: grid;
    grid-template-columns: auto;
    grid-auto-rows: auto;
    gap: 10px;
  }
}

@media ( max-width: 599px ) {
  .row.sp-2col {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: auto;
  }
}

@media ( min-width: 600px ) {
  .row.align-items-center {
    align-items: center;
  }
}

.row + .row {
  margin-top: 5%;
}

[class*="col-"] {
  /*grid-column: span 12;*/
  /*padding: 10px*/
}

/* 600px */
@media only screen and (min-width: 600px) {
  .col-50 {
    grid-column: span 6;
  }

  .col-25 {
    grid-column: span 3;
  }

  .col-75 {
    grid-column: span 9;
  }

  .col-100 {
    grid-column: span 12;
  }

  .col-1 {
    grid-column: span 1
  }

  .col-2 {
    grid-column: span 2
  }

  .col-3 {
    grid-column: span 3
  }

  .col-4 {
    grid-column: span 4
  }

  .col-5 {
    grid-column: span 5
  }

  .col-6 {
    grid-column: span 6
  }

  .col-7 {
    grid-column: span 7
  }

  .col-8 {
    grid-column: span 8
  }

  .col-9 {
    grid-column: span 9
  }

  .col-10 {
    grid-column: span 10
  }

  .col-11 {
    grid-column: span 11
  }

  .col-12 {
    grid-column: span 12
  }
}

@media ( min-width: 600px ) {
  .order-1 {
    order: 1;
  }

  .order-2 {
    order: 2;
  }

  .order-3 {
    order: 3;
  }

  .order-4 {
    order: 4;
  }

  .order-5 {
    order: 5;
  }

  .order-6 {
    order: 6;
  }
}

@media ( max-width: 599px ) {
  .row.sp-gap-y-20 {
    gap: 20px 10px;
  }

  .row.sp-gap-y-30 {
    gap: 30px 10px;
  }

  .row.sp-gap-y-40 {
    gap: 40px 10px;
  }
}

/* 600px - 800px */
@media only screen and (max-width: 800px) and (min-width: 600px) {
  .col-50 {
    grid-column: span 6;
  }

  .col-25 {
    grid-column: span 3;
  }

  .col-75 {
    grid-column: span 9;
  }

  .col-100 {
    grid-column: span 12;
  }
}