/* SP/PC only*/
@media (max-width: 768px) {
  .u-sp {
    display: block;
  }
}
@media (min-width: 769px) {
  .u-sp {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .u-pc {
    display: none !important;
  }
}
@media (min-width: 769px) {
  .u-pc {
    display: block;
  }
}

/* SP/PC only*/
@media (max-width: 768px) {
  .u-sp {
    display: block;
  }
}
@media (min-width: 769px) {
  .u-sp {
    display: none !important;
  }
}
@media (max-width: 768px) {
  .u-pc {
    display: none !important;
  }
}
@media (min-width: 769px) {
  .u-pc {
    display: block;
  }
}
.c-card01 {
  width: 90.66%;
  margin: 0 auto 120px;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
}
.c-card01__item {
  box-sizing: border-box;
  border-radius: 8px;
  background-color: var(--content-background, #fff);
  cursor: pointer;
}
@media not all and (pointer: coarse) {
  .c-card01__item:hover img {
    transform: rotate(4deg);
  }
}
.c-card01__item img {
  display: block;
  transition: transform 0.3s ease-in;
}
.c-card01__item p {
  width: 90.58%;
  font-size: 12px;
  color: #503700;
}
@media (min-width: 500px) and (max-width: 768px) {
  .c-card01__item p {
    font-size: 15px;
  }
}
@media (max-width: 768px) {
  .c-card01__item {
    position: relative;
    display: grid;
    grid-template-columns: 40.58% 1fr;
    grid-column-gap: 13px;
    align-items: center;
  }
  .c-card01__item::before {
    content: "";
    display: inline-block;
    position: absolute;
    top: 16px;
    left: 12px;
    width: 30px;
    height: 30px;
    background: no-repeat center/contain;
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2260%22%20height%3D%2259.995%22%20viewBox%3D%220%200%2060%2059.995%22%3E%20%3Cg%20id%3D%22%E3%82%B0%E3%83%AB%E3%83%BC%E3%83%97_76%22%20data-name%3D%22%E3%82%B0%E3%83%AB%E3%83%BC%E3%83%97%2076%22%20transform%3D%22translate(0)%22%3E%20%3Cpath%20id%3D%22%E3%83%91%E3%82%B9_75%22%20data-name%3D%22%E3%83%91%E3%82%B9%2075%22%20d%3D%22M55.6%2C44.48h-6.1v-6.1a2.511%2C2.511%2C0%2C0%2C0-5.023%2C0v6.1h-6.1a2.511%2C2.511%2C0%2C1%2C0%2C0%2C5.022h6.1v6.1a2.511%2C2.511%2C0%2C0%2C0%2C5.023%2C0V49.5h6.1a2.511%2C2.511%2C0%2C1%2C0%2C0-5.022%22%20transform%3D%22translate(-19.059%20-19.057)%22%20fill%3D%22%23fff%22%2F%3E%20%3Cpath%20id%3D%22%E3%83%91%E3%82%B9_76%22%20data-name%3D%22%E3%83%91%E3%82%B9%2076%22%20d%3D%22M58.026%2C48.489%2C51.85%2C42.315a28%2C28%2C0%2C1%2C0-9.531%2C9.534l6.172%2C6.172a6.741%2C6.741%2C0%2C0%2C0%2C9.535-9.531M40.063%2C40.06a17.149%2C17.149%2C0%2C1%2C1%2C5.024-12.127A17.067%2C17.067%2C0%2C0%2C1%2C40.063%2C40.06%22%20transform%3D%22translate(0%200)%22%20fill%3D%22%23fff%22%2F%3E%20%3C%2Fg%3E%3C%2Fsvg%3E");
    pointer-events: none;
  }
  .c-card01__item:not(:last-of-type) {
    margin-bottom: 40px;
  }
}
@media (min-width: 769px) {
  .c-card01 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 30px;
    max-width: 1200px;
    margin: auto;
  }
  .c-card01__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 360px;
    margin-bottom: 70px;
    padding-bottom: 20px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 50%, var(--content-background) 50%);
  }
  .c-card01__item p {
    width: 88.59%;
    margin: auto;
    font-size: 14px;
  }
  .c-card01__item img {
    min-width: 103.61%;
    margin-bottom: 25px;
  }
  .c-card01__item p {
    width: 88.88%;
  }
}

/* MV */
.l-main-img {
  position: relative;
  text-align: center;
}
.l-main-img__txts {
  position: absolute;
  top: 37.023%;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  color: #503700;
}
.l-main-img__txts h2 {
  margin-bottom: 26px;
}
.l-main-img__txts h2 img {
  width: 51.79vw;
  max-width: 594px;
}
.l-main-img__txts p {
  line-height: 1.5;
  font-size: 15px;
}
.l-main-img__txts p span {
  display: inline-block;
}
@media (min-width: 412px) and (max-width: 768px) {
  .l-main-img__txts {
    width: 90%;
    margin: auto;
  }
  .l-main-img__txts h2 {
    margin-bottom: 6.93vw;
  }
  .l-main-img__txts p {
    font-size: 3vw;
  }
}
@media (min-width: 769px) {
  .l-main-img__txts {
    top: 37.913%;
  }
  .l-main-img__txts h2 {
    margin-bottom: 40px;
  }
}
@media (min-width: 769px) and (max-width: 1365px) {
  .l-main-img {
    margin-bottom: 0;
  }
  .l-main-img__txts p {
    font-size: 14px;
  }
  .l-main-img__bg {
    min-height: 600px;
  }
  .l-main-img__bg img {
    object-fit: cover;
    width: 100%;
    height: 600px;
  }
}

/* tab */
.js-switch-tab-list {
  position: relative;
  z-index: 10;
  margin-bottom: 80px;
}
@media (min-width: 540px) {
  .js-switch-tab-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
}
@media (min-width: 769px) {
  .js-switch-tab-list {
    flex-wrap: nowrap;
    margin-bottom: 60px;
  }
}
@media (min-width: 412px) {
  .js-switch-tab-list {
    margin-top: -14.84%;
  }
}
.js-switch-tab {
  --background: $orange;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
  width: min(87.73%, 329px);
  height: 64px;
  margin-left: auto;
  margin-right: auto;
  border-radius: 32px;
  border: 2px solid var(--background);
  background-color: #fff;
  font-family: "Noto Sans JP", sans-serif;
  color: var(--background);
  text-align: center;
  cursor: pointer;
}
.js-switch-tab > span {
  position: relative;
  display: inline-block;
  transform: translateX(1em);
}
.js-switch-tab > span::after {
  content: "";
  display: inline-block;
  position: relative;
  z-index: 2;
  pointer-events: none;
  width: var(--icon-width, 1.94em);
  height: var(--icon-height, 1.94em);
  margin-left: 1em;
  vertical-align: middle;
  background: no-repeat center/contain;
  background-image: var(--icon-image);
  transition: opacity 0.3s ease-in;
}
@media not all and (pointer: coarse) {
  .js-switch-tab {
    transition: opacity 0.3s ease-in;
  }
  .js-switch-tab:hover {
    opacity: 0.8;
  }
}
.js-switch-tab:first-of-type {
  --background: #E36832;
  --icon-image: url(../img/ico01.png);
  --icon-width: 1.98em;
}
@media not all and (pointer: coarse) {
  .js-switch-tab:first-of-type.is-active {
    --icon-image: url(../img/ico01_hover.png);
  }
}
.js-switch-tab:nth-of-type(2) {
  --background: #007CC9;
  --icon-image: url(../img/ico02.png);
}
@media not all and (pointer: coarse) {
  .js-switch-tab:nth-of-type(2).is-active {
    --icon-image: url(../img/ico02_hover.png);
  }
}
.js-switch-tab:nth-of-type(3) {
  --background: #73BA20;
  --icon-image: url(../img/ico03.png);
}
@media not all and (pointer: coarse) {
  .js-switch-tab:nth-of-type(3).is-active {
    --icon-image: url(../img/ico03_hover.png);
  }
}
.js-switch-tab.is-active {
  background-color: var(--background);
  color: #fff;
}
@media (max-width: 768px) {
  .js-switch-tab:not(:last-of-type) {
    margin-bottom: 10px;
  }
}
@media (min-width: 600px) and (max-width: 768px) {
  .js-switch-tab {
    width: min(43.33vw, 629px);
    margin: 0 15px 30px !important;
  }
  .js-switch-tab:last-of-type {
    margin-bottom: 0;
  }
}
@media (min-width: 769px) {
  .js-switch-tab {
    margin: 0 5px;
  }
}

.js-switch-content {
  display: none;
  position: relative;
  z-index: 10;
}
.js-switch-content:first-of-type {
  --content-background: #FFF0EA;
}
.js-switch-content:nth-of-type(2) {
  --content-background: #E5F3F7;
}
.js-switch-content:nth-of-type(3) {
  --content-background: #EDF4DE;
}
.js-switch-content.is-active {
  display: block;
}

/* modal */
.js-modal {
  display: none;
  position: fixed;
  z-index: 9000;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.85);
  overflow-y: auto;
}
.js-modal-content {
  box-sizing: border-box;
  width: min(90.66%, 373px);
  margin: auto;
  padding: 50px 0 100px;
}
.js-modal-content__card {
  box-sizing: border-box;
  max-width: 100vw;
  border-radius: 8px;
  background-color: #FAFAF8;
  color: #503700;
}
.js-modal-content__card img {
  display: block;
}
.js-modal-content__card p {
  box-sizing: border-box;
  width: 90.58%;
  margin: auto;
  padding: 1.5em 0;
  line-height: 1.5;
  font-size: 14px;
}
@media (min-width: 769px) {
  .js-modal-content {
    display: grid;
    place-content: center;
    width: max-content;
    max-width: 1200px;
    height: 100%;
  }
  .js-modal-content__card {
    display: grid;
    grid-template-columns: 373px 1fr;
    grid-column-gap: 30px;
    place-items: center;
  }
  .js-modal-content__card p {
    width: fit-content;
    min-width: 310px;
    padding-right: 30px;
    font-size: 16px;
  }
}

.js-modal-close {
  display: flex;
  justify-content: center;
  align-items: center;
  width: min(87.73%, 329px);
  margin: 24px auto 0;
  height: 64px;
  border-radius: 32px;
  background-color: #E36832;
  color: #fff;
  text-align: center;
  text-transform: uppercase;
  cursor: pointer;
}
@media not all and (pointer: coarse) {
  .js-modal-close {
    transition: opacity 0.3s ease-in;
  }
  .js-modal-close:hover {
    opacity: 0.8;
  }
}
@media (min-width: 769px) {
  .js-modal-close {
    margin-top: 32px;
  }
}