*,
*::before,
*::after {
  min-width: 0px;
  min-height: 0px;
}

html {
  /* 最小値13pxを保証し、1200px未満では最大22pxまでフォントサイズが流動する */
  font-size: clamp(13px, var(--font-size-base), 22px);

  @media screen and (min-width: 1200px) {
    font-size: clamp(0.1rem, var(--font-size-base), 24px);
  }
}

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background-color: var(--snow);
  font-weight: 700;
}

#root {
  margin: 0 auto;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: inherit;
  line-height: inherit;
}

img,
iframe {
  max-width: 100%;
}
iframe {
  border: none;
  box-shadow: none;
}

a,
a:hover {
  color: var(--ink);
}

[id] {
  scroll-margin-top: 3.75rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

button {
  position: relative;
  appearance: none;
  cursor: pointer;
  box-shadow: none;
  border: 0;
  outline: none;
  background: none;
  padding: 0;
}

.list {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding-left: 1.5rem;
  list-style: disc outside none;

  & > p {
    margin: 0;
    display: list-item;
  }
}

.webgene-pagination {
  & ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 1.25rem;
    padding: 0;
    margin: 0;

    & li {
      & a {
        display: inline-block;
        width: 3rem;
        line-height: 3rem;
        text-align: center;
        border-radius: 9999px;
        background-color: hsl(from var(--ink) h s l / 30%);
        &:hover {
          text-decoration: none;
        }
      }

      &.selected {
        & a {
          background-color: var(--neon-green);
          color: var(--snow);
          &:hover {
          }
        }
      }
    }
  }
}

.blog-list .webgene-pagination ul li.selected a {
  background-color: var(--orange);
}

.webgene-no-items {
  width: 100%;
  text-align: center;
  font-size: 0.875rem;
}

.thumbnail {
  position: relative;

  &.thumbnail--16x9 {
    padding-top: 56.25%;
  }
  
  &.thumbnail--square {
    padding-top: 100%;
  }

  &.thumbnail--3x2 {
    padding-top: 66.6667%;
  }

  & img,
  & video,
  &:empty::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  &:empty::before {
    content: "";
    background-image: url("/system_panel/uploads/images/ogp.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
  }
}

/* 今後スタイルを定義するためのプレースホルダー */
.news-list {
  /* TODO: ニュース一覧のスタイルを定義 */
}
.blog-list {
  /* TODO: ブログ一覧のスタイルを定義 */
}

.article-body {
  & > p {
    margin: 1em 0;
  }

  & > h1,
  & > h2,
  & > h3,
  & > h4,
  & > h5,
  & > h6 {
    margin: 2em 0 1em;
  }

  & > *:first-child {
    margin-top: 0;
  }

  & > *:last-child {
    margin-bottom: 0;
  }

  & a,
  & a:hover {
    color: var(--blue);
    text-decoration: underline;
  }
}

.backdrop-object {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.__mat.__mat--processed {
  word-break: keep-all;
  word-wrap: break-word;
}

.page-hero {
  position: relative;
  padding: 20rem 1.25rem 5rem;
  --hero-color: var(--neon-green);
  @media (min-width: 768px) {
    padding-inline: 2.5rem;
  }
  @media (min-width: 1024px) {
    padding-inline: 3.75rem;
  }
  @media (min-width: 1200px) {
    padding-inline: 5rem;
  }
  
  & .page-hero__image {
    position: absolute;
    inset: 0;
    &::after {
      pointer-events: none;
      position: absolute;
      inset: 0;
      background-color: var(--hero-color);
      opacity: 0.1;
    }
    & img {
      object-fit: cover;
      width: 100%;
      height: 100%;
    } 
  }
  
  & .page-hero__title {
    position: relative;
    display: flex;
    flex-direction: column;
    max-width: 80rem;
    margin-inline: auto;
    gap: 1rem;
    line-height: 1.25;
    --tracking: 0.04em;
    font-weight: 900;
    & > p {
      color: var(--hero-color);
      font-size: 1.5rem;
    }
    & > h1 {
      color: var(--snow);
      font-size: 3rem;
    }
    & .page-hero__title-dots {
      display: flex;
      align-items: center;
      aspect-ratio: 1 / 1;
      width: 0.75rem;
      border-radius: 9999px;
      background-color: var(--hero-color);
      &::before,
      &::after {
        content: "";
        aspect-ratio: 1 / 1;
        width: 0.75rem;
        height: 0.75rem;
        border-radius: 9999px;
        background-color: var(--hero-color);
        flex-shrink: 0;
      }
      &::before {
        order: 1;
        opacity: 0.3;
        background-color: var(--snow);
        margin-left: 0.75rem;
      }
      &::after {
        opacity: 0.5;
        margin-left: 1.5rem;
      }
    }
    @media (min-width: 768px) {
      & > p {
        font-size: 1.75rem;
      }
      & > h1 {
        font-size: 3.5rem;
      }
    }
    @media (min-width: 1024px) {
      & > h1 {
        font-size: 4rem;
      }
    }
  }
  
  &.page-hero--bright-green {
    --hero-color: var(--bright-green);
    & .page-hero__image::after {
      content: "";
    }
  }
  &.page-hero--neon-yellow {
    --hero-color: var(--neon-yellow);
    & .page-hero__image::after {
      content: "";
    }
  }
  &.page-hero--orange {
    --hero-color: var(--orange);
    & .page-hero__image::after {
      content: "";
    }
  }
}

.section-title {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  line-height: 1.25;
  --tracking: 0.04em;
  font-weight: 900;
  --title-color: var(--neon-green);
  --dot-size: 0.75rem;
  & > p {
    color: var(--title-color);
    font-size: 1.25rem;
  }
  & > h2, & > h3, & > h4, & > h5 {
    color: var(--ink);
    font-size: 2rem;
  }
  & .section-title__dots {
    display: flex;
    align-items: center;
    aspect-ratio: 1 / 1;
    width: var(--dot-size);
    border-radius: 9999px;
    background-color: var(--title-color);
    &::before,
    &::after {
      content: "";
      aspect-ratio: 1 / 1;
      width: var(--dot-size);
      border-radius: 9999px;
      background-color: var(--title-color);
      flex-shrink: 0;
    }
    &::before {
      order: 1;
      opacity: 0.3;
      background-color: var(--ink);
      margin-left: var(--dot-size);
    }
    &::after {
      opacity: 0.5;
      margin-left: calc(var(--dot-size) * 2);
    }
  }
  @media (min-width: 768px) {
    & > p {
      font-size: 1.5rem;
    }
    & > h2, & > h3, & > h4, & > h5 {
      font-size: 2.5rem;
    }
  }
  @media (min-width: 1024px) {
    & > h2, & > h3, & > h4, & > h5 {
      font-size: 3rem;
    }
  }
  &.section-title--center {
    align-items: center;
    text-align: center;
    & .section-title__dots {
      transform: translateX(-200%);
    }
  }
  &.section-title--bright-green {
    --title-color: var(--bright-green);
  }
  &.section-title--neon-yellow {
    --title-color: var(--neon-yellow);
  }
  &.section-title--orange {
    --title-color: var(--orange);
  }
  &.section-title--no-dots {
    & .section-title__dots {
      display: none;
    }
  }
  &.section-title--32 {
    & > p {
      font-size: 1.25rem;
    }
    & > h2, & > h3, & > h4, & > h5 {
      font-size: 1.5rem;
    }
    @media (min-width: 768px) {
      & > p {
        font-size: 1.5rem;
      }
      & > h2, & > h3, & > h4, & > h5 {
        font-size: 1.75rem;
      }
    }
    @media (min-width: 1024px) {
      & > h2, & > h3, & > h4, & > h5 {
        font-size: 2rem;
      }
    }
  }
  &.section-title--28 {
    --dot-size: 0.625rem;
    & > p {
      font-size: 1rem;
    }
    & > h2, & > h3, & > h4, & > h5 {
      font-size: 1.25rem;
    }
    @media (min-width: 768px) {
      & > p {
        font-size: 1.125rem;
      }
      & > h2, & > h3, & > h4, & > h5 {
        font-size: 1.5rem;
      }
    }
    @media (min-width: 1024px) {
      & > h2, & > h3, & > h4, & > h5 {
        font-size: 1.75rem;
      }
    }
  }
}

.bright-green-filter {
  &::after {
    content: "";
    pointer-events: none;
    position: absolute;
    inset: 0;
    background-color: var(--bright-green);
    opacity: 0.1;
  }
}
.neon-yellow-filter {
  &::after {
    content: "";
    pointer-events: none;
    position: absolute;
    inset: 0;
    background-color: var(--neon-yellow);
    opacity: 0.1;
  }
}
.orange-filter {
  &::after {
    content: "";
    pointer-events: none;
    position: absolute;
    inset: 0;
    background-color: var(--orange);
    opacity: 0.05;
  }
}

.button {
  position: relative;
  padding: 1.5rem 4rem 1.5rem 2rem;
  background-color: var(--neon-yellow);
  line-height: 1.25;
  letter-spacing: 0.04em;
  font-weight: 700;
  font-size: 0.875rem;
  transition: all ease 200ms;
  &::after {
    content: "";
    aspect-ratio: 1 / 1;
    width: 1rem;
    background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20d%3D%22M12.3749%204V10.5C12.3749%2010.5995%2012.3354%2010.6948%2012.2651%2010.7652C12.1948%2010.8355%2012.0994%2010.875%2011.9999%2010.875C11.9005%2010.875%2011.8051%2010.8355%2011.7348%2010.7652C11.6644%2010.6948%2011.6249%2010.5995%2011.6249%2010.5V4.905L4.26492%2012.265C4.19384%2012.3312%204.09981%2012.3673%204.00266%2012.3656C3.90551%2012.3639%203.81282%2012.3245%203.74411%2012.2558C3.67541%2012.1871%203.63605%2012.0944%203.63434%2011.9973C3.63262%2011.9001%203.66868%2011.8061%203.73492%2011.735L11.0949%204.375H5.49992C5.40047%204.375%205.30508%204.33549%205.23476%204.26516C5.16443%204.19484%205.12492%204.09946%205.12492%204C5.12492%203.90054%205.16443%203.80516%205.23476%203.73483C5.30508%203.66451%205.40047%203.625%205.49992%203.625H11.9999C12.0994%203.625%2012.1948%203.66451%2012.2651%203.73483C12.3354%203.80516%2012.3749%203.90054%2012.3749%204Z%22%20fill%3D%22%232C332E%22%2F%3E%0A%3C%2Fsvg%3E%0A");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    position: absolute;
    top: 0.625rem;
    right: 0.625rem;
  }
  &:hover {
    text-decoration: none;
    color: var(--ink);
    opacity: 0.85;
    transform: scale(0.95);
  }
  @media (min-width: 768px) {
    font-size: 1rem;
  }
  
  &.button--bright-green {
    background-color: var(--bright-green);
  }
  &.button--orange {
    background-color: var(--orange);
    color: var(--snow);
    &::after {
      background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20d%3D%22M12.3754%204V10.5C12.3754%2010.5995%2012.3359%2010.6948%2012.2656%2010.7652C12.1953%2010.8355%2012.0999%2010.875%2012.0004%2010.875C11.901%2010.875%2011.8056%2010.8355%2011.7352%2010.7652C11.6649%2010.6948%2011.6254%2010.5995%2011.6254%2010.5V4.905L4.26541%2012.265C4.19432%2012.3312%204.1003%2012.3673%204.00315%2012.3656C3.906%2012.3639%203.81331%2012.3245%203.7446%2012.2558C3.67589%2012.1871%203.63654%2012.0944%203.63482%2011.9973C3.63311%2011.9001%203.66917%2011.8061%203.73541%2011.735L11.0954%204.375H5.50041C5.40096%204.375%205.30557%204.33549%205.23525%204.26516C5.16492%204.19484%205.12541%204.09946%205.12541%204C5.12541%203.90054%205.16492%203.80516%205.23525%203.73483C5.30557%203.66451%205.40096%203.625%205.50041%203.625H12.0004C12.0999%203.625%2012.1953%203.66451%2012.2656%203.73483C12.3359%203.80516%2012.3754%203.90054%2012.3754%204Z%22%20fill%3D%22white%22%2F%3E%0A%3C%2Fsvg%3E%0A");
    }
    &:hover {
      color: var(--snow);
    }
  }
}

.form-selector {
  padding: 0.75rem 1.5rem 0.625rem;
  border-radius: 9999px;
  border: 1px solid var(--orange);
  background-color: var(--snow);
  color: var(--orange);
  line-height: 1.25;
  font-weight: 500;
  opacity: 0.5;
  transition: all ease 200ms;
  &:hover {
    transform: scale(1.05);
  }
  &.selected {
    opacity: 1;
  }
}

.footer-map {
  position: relative;
  & iframe {
    filter: grayscale(1);
  }
  &::after {
    pointer-events: none;
    content: "";
    position: absolute;
    inset: 0;
    background-color: var(--bright-green);
    mix-blend-mode: color;
  }
}

.about-concept-image {
  position: absolute;
  border-radius: 9999px;
  border: 2px solid var(--neon-yellow);
  aspect-ratio: 1 / 1;
  overflow: hidden;
  & img {
    height: 100%;
    width: 100%;
    object-fit: cover;
  }
  &.about-concept-image--1 {
    width: 20%;
    min-width: 10rem;
    top: 0;
    left: 0;
    transform: translate(31.25%, -25%);
  }
  &.about-concept-image--2 {
    width: 10%;
    min-width: 5rem;
    top: 0;
    right: -5rem;
    transform: translate(-100%, 25%);
    @media (min-width: 768px) {
      right: 0;
    }
  }
  &.about-concept-image--3 {
    width: 12.5%;
    min-width: 6.25rem;
    bottom: 0;
    left: 0;
    transform: translate(20%, -30%);
  }
  &.about-concept-image--4 {
    width: 15%;
    min-width: 7.5rem;
    bottom: 0;
    right: 0;
    transform: translate(-16.6666666667%, 12.5%);
  }
}

.text-stroke-title {
  -webkit-text-stroke: 3px hsl(from var(--ink) h s l / 0.65);
  paint-order: stroke fill;
}

.swiper:not(.swiper-initialized) {
  & .swiper-wrapper {
    display: flex;
    overflow: auto;
  }
  & .swiper-slide {
    min-width: 90%;
  }
  &.gallery-slider .swiper-slide {
    min-width: 35%;
  }
}

.gallery-slider {
  width: 100%;
  & .swiper-wrapper {
    transition-timing-function: linear;
  }
  & .swiper-slide img {
    object-fit: cover;
    aspect-ratio: 16 / 9;
    width: 100%;
    border-radius: 0.75rem;
  }
}

.strikethrough {
  position: relative;
  &::after {
    pointer-events: none;
    content: "";
    height: 3px;
    background-color: var(--orange);
    position: absolute;
    inset: 50% -0.5rem auto;
    transform: translateY(-50%);
  }
}

.best-value {
  position: absolute;
  top: -2rem;
  left: 0;
  width: 100%;
  transform: translateY(-100%);
}

.schedule-slider {
  width: 100%;
  --swiper-pagination-color: var(--orange);
  & .swiper-slide {
    position: relative;
    &::after {
      content: "";
      aspect-ratio: 1 / 1;
      width: 2rem;
      background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2232%22%20height%3D%2232%22%20viewBox%3D%220%200%2032%2032%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Crect%20x%3D%220.75%22%20y%3D%220.75%22%20width%3D%2230.5%22%20height%3D%2230.5%22%20rx%3D%2215.25%22%20fill%3D%22white%22%2F%3E%0A%3Crect%20x%3D%220.75%22%20y%3D%220.75%22%20width%3D%2230.5%22%20height%3D%2230.5%22%20rx%3D%2215.25%22%20stroke%3D%22%23EF5200%22%20stroke-width%3D%221.5%22%2F%3E%0A%3Cpath%20d%3D%22M17%2014.25C17.4142%2014.25%2017.75%2014.5858%2017.75%2015C17.75%2015.4142%2017.4142%2015.75%2017%2015.75H13C12.5858%2015.75%2012.25%2015.4142%2012.25%2015C12.25%2014.5858%2012.5858%2014.25%2013%2014.25H17Z%22%20fill%3D%22%23EF5200%22%2F%3E%0A%3Cpath%20d%3D%22M19.25%2015C19.25%2012.6528%2017.3472%2010.75%2015%2010.75C12.6528%2010.75%2010.75%2012.6528%2010.75%2015C10.75%2017.3472%2012.6528%2019.25%2015%2019.25C17.3472%2019.25%2019.25%2017.3472%2019.25%2015ZM20.75%2015C20.75%2018.1756%2018.1756%2020.75%2015%2020.75C11.8244%2020.75%209.25%2018.1756%209.25%2015C9.25%2011.8244%2011.8244%209.25%2015%209.25C18.1756%209.25%2020.75%2011.8244%2020.75%2015Z%22%20fill%3D%22%23EF5200%22%2F%3E%0A%3Cpath%20d%3D%22M18.0053%2018.0053C18.2982%2017.7124%2018.773%2017.7124%2019.0659%2018.0053L22.5302%2021.4697C22.8231%2021.7626%2022.8231%2022.2373%2022.5302%2022.5302C22.2373%2022.8231%2021.7626%2022.8231%2021.4697%2022.5302L18.0053%2019.0659C17.7124%2018.773%2017.7124%2018.2982%2018.0053%2018.0053Z%22%20fill%3D%22%23EF5200%22%2F%3E%0A%3Cpath%20d%3D%22M14.25%2017V13C14.25%2012.5858%2014.5858%2012.25%2015%2012.25C15.4142%2012.25%2015.75%2012.5858%2015.75%2013V17C15.75%2017.4142%2015.4142%2017.75%2015%2017.75C14.5858%2017.75%2014.25%2017.4142%2014.25%2017Z%22%20fill%3D%22%23EF5200%22%2F%3E%0A%3C%2Fsvg%3E%0A");
      background-size: 100% 100%;
      background-repeat: no-repeat;
      position: absolute;
      right: 0.625rem;
      bottom: 0.625rem;
      
    }
    & img {
      object-fit: contain;
      width: 100%;}
  }
  & .swiper-pagination {
    position: static;
    margin: 0;
  }
}

.concern-title {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
}

.concern-item {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
  --tracking: 0.04em;
  font-weight: 900;
  font-size: 0.625rem;
  text-align: center;
  width: 9.75rem;
  & img {
    width: 4rem;
  }
  @media (min-width: 768px) {
    width: 18.75rem;
    font-size: 1rem;
    & img {
      width: 5rem;
    }
  }
}


.news-list {
  & .webgene-blog {
    display: grid;
    gap: 1.25rem;
  }
  & .webgene-pagination {
    margin-top: 2rem;
  }
}

.blog-list {
  & .webgene-blog {
    display: grid;
    gap: 2rem;
  }
  & .webgene-pagination {
    margin-top: 2rem;
  }
  
  @media (min-width: 768px) {
    & .webgene-blog {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    & .webgene-pagination, & .webgene-no-items {
      grid-column: span 2 / span 2;
    }
  }
  @media (min-width: 1200px) {
    & .webgene-blog {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    & .webgene-pagination, & .webgene-no-items {
      grid-column: span 3 / span 3;
    }
  }
  
  & .thumbnail {
    border-radius: 1.5rem;
    box-shadow: var(--elevation-2);
    overflow: hidden;
  }
}
.insta-list {
  & .webgene-blog {
    display: grid;
    gap: 0.625rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  & .webgene-pagination, & .webgene-no-items {
    grid-column: span 3 / span 3;
  }
}





























