@charset "UTF-8";
/* ==================================================
Variables (CSS Custom Properties)
================================================== */
:root {
  /* Colors */
  --color-white: #fff;
  --color-black: #000;
  --color-text-body: #24292E;
  --color-line: #ccc;
  --color-blue-100: #EEF2F1;
  --color-blue-500: #6DA5A1;
  --color-blue-900: #2F7F78;
  --color-brown-100: #F6F6F6;
  --color-brown-200: #EFECEC;
  --color-brown-300: #C8BDBB;
  --color-brown-400: #AE938E;
  --color-brown-500: #917C78;
  --box-shadow: 6px 6px 12px #c5c5c5, -6px -6px 12px #ffffff;
  /* Fonts */
  --font-body: "Fustat", "Noto Sans JP", sans-serif;
}

/* ==================================================
Functions & Mixins
================================================== */
/* SCSS Variables for Breakpoints */
/* px to rem */
/* Media Queries */
/* Utopia */
:root {
  --font--2: clamp(0.64rem, 0.5706rem + 0.296vw, 0.8rem);
  --font--1: clamp(0.8rem, 0.7133rem + 0.3699vw, 1rem);
  --font-0: clamp(1rem, 0.8916rem + 0.4624vw, 1.25rem);
  --font-1: clamp(1.25rem, 1.1145rem + 0.578vw, 1.5625rem);
  --font-2: clamp(1.5625rem, 1.3932rem + 0.7225vw, 1.9531rem);
  --font-3: clamp(1.9531rem, 1.7414rem + 0.9032vw, 2.4414rem);
  --font-4: clamp(2.4414rem, 2.1768rem + 1.129vw, 3.0518rem);
  --font-5: clamp(3.0518rem, 2.721rem + 1.4112vw, 3.8147rem);
}

/* @link https://utopia.fyi/space/calculator?c=375,16,1.25,1240,20,1.25,5,2,&s=0.75|0.5|0.25,1.5|2|3|4|6,s-l&g=s,l,xl,12 */
:root {
  --size-3xs: clamp(0.25rem, 0.2229rem + 0.1156vw, 0.3125rem);
  --size-2xs: clamp(0.5rem, 0.4458rem + 0.2312vw, 0.625rem);
  --size-xs: clamp(0.75rem, 0.6687rem + 0.3468vw, 0.9375rem);
  --size-s: clamp(1rem, 0.8916rem + 0.4624vw, 1.25rem);
  --size-m: clamp(1.5rem, 1.3374rem + 0.6936vw, 1.875rem);
  --size-l: clamp(2rem, 1.7832rem + 0.9249vw, 2.5rem);
  --size-xl: clamp(3rem, 2.6749rem + 1.3873vw, 3.75rem);
  --size-2xl: clamp(4rem, 3.5665rem + 1.8497vw, 5rem);
  --size-3xl: clamp(6rem, 5.3497rem + 2.7746vw, 7.5rem);
  /* One-up pairs */
  --size-3xs-2xs: clamp(0.25rem, 0.0874rem + 0.6936vw, 0.625rem);
  --size-2xs-xs: clamp(0.5rem, 0.3103rem + 0.8092vw, 0.9375rem);
  --size-xs-s: clamp(0.75rem, 0.5332rem + 0.9249vw, 1.25rem);
  --size-s-m: clamp(1rem, 0.6207rem + 1.6185vw, 1.875rem);
  --size-m-l: clamp(1.5rem, 1.0665rem + 1.8497vw, 2.5rem);
  --size-l-xl: clamp(2rem, 1.2413rem + 3.237vw, 3.75rem);
  --size-xl-2xl: clamp(3rem, 2.1329rem + 3.6994vw, 5rem);
  --size-2xl-3xl: clamp(4rem, 2.4827rem + 6.474vw, 7.5rem);
  /* Custom pairs */
  --size-s-l: clamp(1rem, 0.3497rem + 2.7746vw, 2.5rem);
}

:root {
  --grid-max-width: 77.50rem;
  --grid-gutter: var(--space-s-l, clamp(1rem, 0.3497rem + 2.7746vw, 2.5rem));
  --grid-columns: 12;
}

/* ==================================================
Base / Reset
================================================== */
html {
  scroll-behavior: smooth;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  color: var(--color-text-body);
  background-color: var(--color-white);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.8s ease, color 0.8s ease;
}
body.bg-dark {
  --box-shadow: 6px 6px 12px rgba(0, 0, 0, 0.3),
  	-6px -6px 12px rgba(255, 255, 255, 0.1);
}

body.bg-dark {
  background-color: var(--color-brown-400);
}

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

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 600;
  letter-spacing: 0.02em;
}

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

li {
  list-style: none;
}

/* ==================================================
Layout & Common
================================================== */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.inline-block {
  display: inline-block;
}

.small {
  font-size: 0.8em;
}

.bold {
  font-size: 1.1em;
  font-weight: 600;
}

/* ==================================================
Components
================================================== */
.container {
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

.section {
  padding-block: var(--size-2xl-3xl);
}
.section__inner {
  width: 100%;
  max-width: var(--grid-max-width);
  padding-inline: var(--grid-gutter);
  margin-inline: auto;
}
.section__header {
  display: flex;
  flex-direction: column;
  row-gap: var(--size-m-l);
  position: relative;
  margin-bottom: var(--size-2xl-3xl);
  transition: background-color 0.8s ease, color 0.8s ease;
}
.section__header:after {
  display: block;
  content: "";
  background-color: var(--color-blue-900);
  width: 95%;
  height: 1px;
  position: absolute;
  bottom: -1em;
  right: 0;
  left: calc(50% - 50vw);
}
@media screen and (min-width: 768px) {
  .section__header:after {
    width: 85%;
  }
}
.section__title {
  font-size: var(--font--1);
  font-weight: 400;
}
.section__lead {
  font-size: var(--font-2);
  letter-spacing: 0.02em;
}

.text-wrap {
  max-width: 50rem;
  margin-inline: auto;
}

.move-left {
  transform: translateX(-0.8em);
}

.u-fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  /* JSで .is-show がついたら表示！ */
}
.u-fade-up.is-show {
  opacity: 1;
  transform: translateY(0);
}

/* ==================================================
loading
================================================== */
#splash {
  position: fixed;
  inset: 0;
  background: var(--color-white);
  z-index: 9999999;
  display: grid;
  place-items: center;
}

.splashbg {
  display: none;
  position: fixed;
  z-index: 999;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
  background-color: var(--color-blue-900);
  transform: translateY(0);
}

#splash-logo {
  width: min(60%, 600px);
  opacity: 1;
  transition: opacity 0.8s ease;
}

#splash-logo img {
  width: 100%;
  height: auto;
  display: block;
}

body.appear .splashbg {
  display: block;
  -webkit-animation-name: PageAnime;
          animation-name: PageAnime;
  -webkit-animation-duration: 0.8s;
          animation-duration: 0.8s;
  -webkit-animation-timing-function: cubic-bezier(0.8, 0, 0.2, 1);
          animation-timing-function: cubic-bezier(0.8, 0, 0.2, 1);
  -webkit-animation-fill-mode: forwards;
          animation-fill-mode: forwards;
}

@-webkit-keyframes PageAnime {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-100%);
  }
}

@keyframes PageAnime {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-100%);
  }
}
.container {
  opacity: 0;
}

body.appear .container {
  opacity: 1;
  transition: opacity 0.6s ease 0.4s;
}

/* ==================================================
header
================================================== */
.header {
  width: 100%;
  height: var(--size-2xl);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
}
.header__inner {
  width: 100%;
  max-width: var(--grid-max-width);
  padding-inline: var(--grid-gutter);
  margin-inline: auto;
  height: 100%;
  display: flex;
  align-items: center;
  position: relative;
}
.header__logo img {
  width: var(--size-3xl);
}
.header__logo .logo-text {
  font-size: var(--font-0);
  font-weight: 300;
}

.header__nav {
  display: block;
  position: fixed;
  top: 0;
  right: -100%;
  bottom: 0;
  width: clamp(13.75rem, 11.075rem + 10.98vw, 19.375rem);
  background: var(--color-white);
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  transition: all 0.5s;
  z-index: 1000;
  opacity: 0;
}
.header__nav ul {
  display: flex;
  flex-direction: column;
  margin-top: var(--size-l);
  border-top: 1px solid var(--color-line);
}
.header__nav ul li {
  width: 100%;
}
.header__nav ul li a {
  display: block;
  font-size: var(--font-1);
  padding-block: 1em;
  border-bottom: 1px solid var(--color-line);
  text-align: center;
}
.header__nav ul li a:hover {
  color: var(--color-white);
  background-color: var(--color-brown-400);
}

.open .header__nav {
  right: 0;
  opacity: 1;
}

.toggle-btn {
  border: none;
  background: transparent;
  padding: 0;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  display: block;
  position: fixed;
  top: 1.0625rem;
  right: clamp(1.25rem, -1.128rem + 9.76vw, 6.25rem);
  width: 1.875rem;
  height: 1.875rem;
  transition: all 0.5s;
  cursor: pointer;
  z-index: 1000;
}

.open .toggle-btn {
  right: clamp(15.625rem, 13.247rem + 9.76vw, 20.625rem);
}

.toggle-btn span {
  display: block;
  position: absolute;
  right: 0;
  width: 100%;
  height: 2px;
  background-color: var(--color-text-body);
  border-radius: 4px;
  transition: all 0.5s;
}

.toggle-btn span:nth-child(1) {
  top: 4px;
}

.toggle-btn span:nth-child(2) {
  top: 14px;
}

.toggle-btn span:nth-child(3) {
  bottom: 4px;
}

.open .toggle-btn {
  transform: rotate(360deg);
}
.open .toggle-btn span {
  background-color: var(--color-white);
}

.open .toggle-btn span:nth-child(1),
.open .toggle-btn span:nth-child(3) {
  width: 16px;
}

.open .toggle-btn span:nth-child(1) {
  transform: translate(1px, 4px) rotate(45deg);
}

.open .toggle-btn span:nth-child(3) {
  transform: translate(1px, -4px) rotate(-45deg);
}

/*============
#mask
=============*/
#mask {
  display: none;
  transition: all 0.5s;
}

.open #mask {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--color-text-body);
  opacity: 0.6;
  z-index: 2;
  cursor: pointer;
}

/* ==================================================
footer
================================================== */
.footer {
  -webkit-padding-before: calc(var(--size-2xl) * 2);
          padding-block-start: calc(var(--size-2xl) * 2);
  -webkit-padding-after: var(--size-2xl);
          padding-block-end: var(--size-2xl);
  background-color: var(--color-blue-900);
  position: relative;
}
.footer:before {
  display: block;
  content: "";
  width: 100%;
  height: var(--size-2xl);
  background-color: var(--color-brown-500);
  -webkit-clip-path: polygon(0 0, 0% 100%, 100% 0);
          clip-path: polygon(0 0, 0% 100%, 100% 0);
  position: absolute;
  top: -2px;
  left: 0;
}
.footer__inner {
  width: 100%;
  max-width: var(--grid-max-width);
  padding-inline: var(--grid-gutter);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  row-gap: var(--size-m);
}
.footer__logo {
  margin-inline: auto;
}
.footer__logo img {
  width: calc(var(--size-3xl) * 2);
}
.footer__box {
  display: flex;
  justify-content: center;
  align-items: baseline;
  -moz-column-gap: var(--size-m);
       column-gap: var(--size-m);
}
.footer__box > p,
.footer__box > a {
  color: var(--color-white);
}
.footer__box > a {
  font-size: var(--font--2);
  text-decoration: underline;
}

/* ==================================================
hero
================================================== */
.hero {
  display: flex;
  align-items: center;
  width: 100%;
  height: 76vh;
  position: relative;
  z-index: 1;
  padding-top: var(--size-2xl);
}
.hero__content {
  width: 72vw;
  max-width: var(--width-max);
  margin-left: clamp(1.625rem, 0.733rem + 3.66vw, 3.5rem);
  padding-top: var(--size-2xl);
}
@media screen and (min-width: 768px) {
  .hero__content {
    width: 43vw;
  }
}
.hero__title {
  font-size: var(--font-3);
  line-height: 1.4;
  letter-spacing: 0.02em;
  margin-bottom: var(--size-m);
}
@media screen and (min-width: 768px) {
  .hero__title {
    font-size: var(--font-4);
    margin-bottom: var(--size-l);
  }
}
.hero__sub-title {
  font-size: var(--font--1);
  margin-bottom: var(--size-2xl);
  font-weight: normal;
}
@media screen and (min-width: 768px) {
  .hero__sub-title {
    width: 70%;
    font-size: var(--font-0);
  }
}
.hero__link-btn a {
  display: inline-block;
  padding: var(--size-xs) var(--size-m);
  font-size: var(--font-0);
  color: var(--color-white);
  background-color: var(--color-blue-900);
  text-decoration: none;
  border-radius: 100vh;
  font-weight: bold;
  box-shadow: 6px 6px 12px #c5c5c5, -6px -6px 12px #ffffff;
  transition: opacity 0.3s;
}
.hero__link-btn a:hover {
  opacity: 0.8;
}

.monitor {
  width: 100%;
  max-width: var(--grid-max-width);
  height: 100vh;
  border-radius: 1.75rem;
  box-shadow: -5px 6px 10px 5px rgba(51, 51, 51, 0.25);
  position: absolute;
  top: 1.875rem;
  right: -72%;
  transform: rotate(12deg);
  overflow: hidden;
}
@media screen and (min-width: 768px) {
  .monitor {
    width: 60vw;
    height: 90vh;
    border-radius: 2.75rem;
    top: -7%;
    right: -7%;
    transform: rotate(6deg);
  }
}

/*swiper*/
.swiper {
  width: 100%;
  height: 100%;
  background-color: var(--color-white);
}

.swiper-slide {
  width: 100%;
  height: 100%;
}

/* 中の画像の設定 */
.swiper-slide img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
}

/* ==================================================
concept
================================================== */
.section.concept {
  -webkit-padding-before: calc(var(--size-2xl-3xl) + 9rem);
          padding-block-start: calc(var(--size-2xl-3xl) + 9rem);
  -webkit-padding-after: calc(var(--size-2xl-3xl) + 2rem);
          padding-block-end: calc(var(--size-2xl-3xl) + 2rem);
}

.concept {
  background-color: var(--color-brown-200);
  -webkit-clip-path: polygon(0 8%, 100% 0%, 100% 92%, 0% 100%);
          clip-path: polygon(0 8%, 100% 0%, 100% 92%, 0% 100%);
  position: relative;
}
.concept::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../img/concept_bg.webp");
  background-size: cover;
  background-position: center;
  opacity: 0.5;
  z-index: -1;
}
.concept__body {
  display: flex;
  flex-direction: column;
  row-gap: var(--size-m);
  font-size: var(--font-0);
}

/* ==================================================
service
================================================== */
.service__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--size-m);
}

.service-card {
  display: flex;
  flex-direction: column;
  row-gap: var(--size-s);
  padding: var(--size-m);
  background-color: var(--color-white);
  border-radius: 1.25rem;
  box-shadow: var(--box-shadow);
}
.service-card__header {
  display: flex;
  flex-direction: column;
  row-gap: var(--size-xs);
}
.service-card__img {
  width: 100%;
  aspect-ratio: 16/10;
  border-radius: 0.9375rem;
  background-color: var(--color-brown-200);
  overflow: hidden;
}
.service-card__img img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 0.9375rem;
}
.service-card__title {
  font-size: var(--font-1);
}
.service-card__subtitle {
  display: block;
  font-weight: 400;
  font-size: var(--font--1);
  line-height: 1;
}

/* ==================================================
works
================================================== */
.works__list {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: var(--size-m-l);
}

body.bg-dark .works .section__header {
  color: var(--color-white);
}

.work-item {
  border-radius: 1.25rem;
  box-shadow: var(--box-shadow);
  overflow: hidden;
  transition: transform 0.3s ease;
}
.work-item a {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--size-s-l);
  background-color: var(--color-white);
  padding: var(--size-m);
}
@media screen and (min-width: 768px) {
  .work-item a {
    grid-template-columns: 40% 1fr;
  }
}
.work-item__thumb {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: 0.9375rem;
}
.work-item__thumb img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: filter 0.5s ease, transform 0.5s ease;
}
@media screen and (min-width: 768px) {
  .work-item__thumb img {
    filter: grayscale(100%);
  }
}
.work-item:hover .work-item__thumb img {
  filter: sepia(0%);
  transform: scale(1.05);
}
.work-item__body {
  display: flex;
  flex-direction: column;
  row-gap: var(--size-s);
}
.work-item__title {
  font-size: var(--font-1);
}
.work-item__lead {
  font-size: var(--font-0);
  font-weight: 600;
}
.work-item__text {
  font-size: var(--font--1);
}

.work-label {
  position: relative;
}
.work-label:after {
  display: block;
  padding: 0.5em 1em;
  background-color: var(--color-blue-900);
  border-radius: 0 0.9375rem;
  color: var(--color-white);
  font-size: var(--font--1);
  font-weight: 700;
  position: absolute;
  bottom: 0;
  left: 0;
}
.work-label__demo:after {
  content: "Demo";
}
.work-label__wordpress:after {
  content: "Wordpress";
}
.work-label__photo:after {
  content: "Photo";
}

/* ==================================================
about
================================================== */
body.bg-dark .about .section__header {
  color: var(--color-white);
}

.section.about {
  padding-bottom: 0;
}

.about__body {
  display: flex;
  flex-direction: column;
  row-gap: var(--size-m);
}
.about__lead {
  font-size: var(--font-1);
  font-weight: 600;
  letter-spacing: 0.02em;
}
.about__text {
  font-size: var(--font-0);
}
.about__figure img {
  display: block;
  width: 80%;
  margin-inline: auto;
}
@media screen and (min-width: 768px) {
  .about__figure img {
    width: 60%;
  }
}

.about-list {
  display: grid;
  grid-template-columns: 1fr;
  background-color: var(--color-brown-200);
  position: relative;
  overflow: hidden;
}
@media screen and (min-width: 768px) {
  .about-list {
    grid-template-columns: repeat(2, 1fr);
    justify-items: center;
  }
  .about-list::before {
    display: block;
    content: "";
    width: 2px;
    background-color: var(--color-white);
    position: absolute;
    top: 10%;
    bottom: 10%;
    left: 50%;
  }
}
.about-list::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.4'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-blend-mode: overlay;
  z-index: 0;
}
.about-list__item {
  display: flex;
  flex-direction: column;
  row-gap: var(--size-s);
  padding-block: var(--size-l);
  position: relative;
  z-index: 10;
}
@media screen and (min-width: 768px) {
  .about-list__item {
    width: 70%;
  }
}
.about-list__item:first-child:after {
  content: "";
  display: block;
  width: 80%;
  height: 2px;
  background-color: var(--color-white);
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}
@media screen and (min-width: 768px) {
  .about-list__item:first-child:after {
    display: none;
  }
}
.about-list__header {
  display: flex;
  align-items: center;
  flex-direction: column;
}
.about-list__title {
  font-size: var(--font-1);
  margin-bottom: var(--size-3xs);
}
.about-list__job {
  display: inline-block;
  padding: 0.3em 1em;
  background-color: var(--color-blue-900);
  border-radius: 1.25rem;
  color: var(--color-white);
  font-size: var(--font--2);
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: var(--size-s);
}
.about-list__catch {
  font-weight: 600;
  font-size: var(--font-0);
}
.about-list__body {
  padding-inline: var(--size-m-l);
}

/* ==================================================
flow
================================================== */
.flow-list__item .section__inner {
  display: grid;
  grid-template-columns: auto 1fr;
  -moz-column-gap: var(--size-s-l);
       column-gap: var(--size-s-l);
  padding-block: var(--size-m);
  position: relative;
}
.flow-list__item .section__inner::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(var(--grid-gutter) + var(--size-xl) / 2);
  width: 1px;
  background-color: var(--color-brown-500);
  transform: translateX(-50%);
  z-index: 0;
}
.flow-list__item:first-child .section__inner::before {
  top: var(--size-m);
}
.flow-list__item:last-child .section__inner::before {
  bottom: calc(100% - var(--size-m));
}
.flow-list__number {
  display: flex;
  justify-content: center;
  align-items: center;
  width: var(--size-xl);
  font-size: var(--font-2);
  font-weight: 700;
  line-height: 1;
  aspect-ratio: 1;
  color: var(--color-white);
  background: linear-gradient(149.76deg, #2F7F78 28.81%, #917C78 86.67%);
  border-radius: 100vh;
  position: relative;
  z-index: 10;
}
.flow-list__content {
  display: flex;
  flex-direction: column;
  row-gap: var(--size-s);
  -webkit-padding-end: var(--size-xs);
          padding-inline-end: var(--size-xs);
}
.flow-list__title {
  font-size: var(--font-1);
  border-bottom: 1px solid var(--color-line);
  line-height: 1.3;
}
.flow-list__text {
  font-size: var(--font-0);
}
.flow-list__item:nth-child(1) {
  background-color: var(--color-brown-100);
}
.flow-list__item:nth-child(3) {
  background-color: var(--color-brown-200);
}
.flow-list__item:nth-child(5) {
  background-color: var(--color-blue-100);
}

.separator {
  width: 100%;
  height: calc(var(--size-3xl) + 3.125rem);
  -webkit-clip-path: polygon(0 20%, 100% 0%, 100% 80%, 0% 100%);
          clip-path: polygon(0 20%, 100% 0%, 100% 80%, 0% 100%);
  position: relative;
  z-index: 10;
}
@media screen and (min-width: 768px) {
  .separator {
    height: calc(var(--size-3xl) + 10rem);
  }
}
.separator::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../img/ga_01_pc.webp");
  background-size: cover;
  background-position: center;
  z-index: -1;
}

/* ==================================================
price
================================================== */
.section.price {
  -webkit-padding-before: calc(var(--size-3xl) + var(--size-l));
          padding-block-start: calc(var(--size-3xl) + var(--size-l));
  transform: translateY(-5%);
}
@media screen and (min-width: 768px) {
  .section.price {
    -webkit-padding-before: calc(var(--size-3xl) + 8rem);
            padding-block-start: calc(var(--size-3xl) + 8rem);
  }
}

.price {
  background-color: var(--color-brown-200);
}
.price__body {
  display: flex;
  flex-direction: column;
  row-gap: var(--size-l-xl);
}
.price__description {
  display: block;
  -webkit-margin-after: var(--size-l);
          margin-block-end: var(--size-l);
}
.price__caution {
  display: block;
  max-width: 25rem;
  font-size: var(--font--2);
  margin-inline: auto;
}

.price-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--size-m-l);
  -webkit-margin-after: var(--size-l);
          margin-block-end: var(--size-l);
}
@media screen and (min-width: 768px) {
  .price-list {
    grid-template-columns: repeat(3, 1fr);
  }
}
.price-list__item {
  background-color: var(--color-white);
  padding: var(--size-l) var(--size-m);
  box-shadow: 6px 6px 12px rgba(0, 0, 0, 0.3), -6px -6px 12px rgba(255, 255, 255, 0.1);
  border-radius: 1.25rem;
  position: relative;
  display: flex;
  flex-direction: column;
  row-gap: var(--size-s);
  overflow: hidden;
  border: 2px solid transparent;
  transition: border 0.4s ease;
}
@media screen and (min-width: 768px) {
  .price-list__item {
    padding: var(--size-l) var(--size-m);
  }
}
.price-list__item:hover {
  border: 2px solid var(--color-blue-900);
}
.price-list__inner {
  display: flex;
  flex-direction: column;
  row-gap: var(--size-s);
}
@media screen and (min-width: 768px) {
  .price-list__inner {
    height: 100%;
    justify-content: space-between;
  }
}
.price-list__header {
  display: flex;
  flex-direction: column;
  row-gap: var(--size-2xs);
}
.price-list__header > h3 {
  font-size: var(--font-0);
  line-height: 1.3;
  text-align: center;
}
.price-list__header > p {
  font-size: var(--font--1);
}
.price-list__price-box {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.2em;
  line-height: 1;
}
.price-list__yen {
  font-size: var(--font-1);
  font-weight: 700;
  position: relative;
  top: -0.1em;
}
.price-list__price {
  font-size: var(--font-3);
  font-weight: 800;
  color: var(--color-blue-900);
}
.price-list__tax {
  font-size: var(--font--1);
  font-weight: 700;
  position: relative;
  top: -0.2em;
}

@media screen and (min-width: 768px) {
  .price-list__item:nth-child(4) .price-list__inner,
.price-list__item:nth-child(5) .price-list__inner {
    flex-direction: row;
    align-items: center;
    gap: var(--size-2xs);
  }
  .price-list__item:nth-child(4) .price-list__header,
.price-list__item:nth-child(5) .price-list__header {
    display: grid;
    grid-template-columns: 15em 1fr;
    align-items: start;
    gap: var(--size-l);
  }
  .price-list__item:nth-child(4) .price-list__header > h3,
.price-list__item:nth-child(5) .price-list__header > h3 {
    font-size: var(--font-1);
    text-align: left;
  }
}

@media screen and (min-width: 768px) {
  .price-list__item:nth-child(4) {
    grid-column: 1/4;
    grid-row: 2/3;
  }
}

@media screen and (min-width: 768px) {
  .price-list__item:nth-child(5) {
    grid-column: 1/4;
    grid-row: 3/4;
  }
}

.price-badge {
  display: block;
  padding: 3em 5em 0.5em 5em;
  background-color: var(--color-blue-900);
  color: var(--color-white);
  font-size: var(--font--1);
  font-weight: 700;
  position: absolute;
  top: 0;
  left: 0;
  transform: translate(-34%, -36%) rotate(-30deg);
}

/* ==================================================
contact
================================================== */
.section.contact {
  -webkit-padding-before: 0;
          padding-block-start: 0;
}

.contact {
  position: relative;
}
.contact__intro {
  -webkit-margin-after: var(--size-l);
          margin-block-end: var(--size-l);
}
.contact__intro > p strong {
  font-size: var(--font-0);
  border-bottom: 2px dotted var(--color-blue-900);
  font-size: 1.05em;
}
.contact::before {
  display: block;
  content: "";
  width: 100%;
  height: 75vh;
  background-color: var(--color-brown-300);
  -webkit-clip-path: polygon(0 10%, 100% 0, 100% 100%, 0% 100%);
          clip-path: polygon(0 10%, 100% 0, 100% 100%, 0% 100%);
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 1;
}
.contact::after {
  display: block;
  content: "";
  width: 100%;
  height: 60vh;
  background-color: var(--color-brown-500);
  -webkit-clip-path: polygon(0 10%, 100% 0, 100% 100%, 0% 100%);
          clip-path: polygon(0 10%, 100% 0, 100% 100%, 0% 100%);
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 2;
}

.contact-form {
  display: flex;
  flex-direction: column;
  row-gap: var(--size-s-l);
  padding: var(--size-l-xl) var(--size-m-l);
  background-color: var(--color-white);
  border-radius: 1.25rem;
  box-shadow: 6px 6px 12px rgba(0, 0, 0, 0.3), -6px -6px 12px rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 10;
}

.form-group {
  display: grid;
  grid-template-columns: 1fr;
}
@media screen and (min-width: 768px) {
  .form-group {
    grid-template-columns: 35% 1fr;
    align-items: center;
    -moz-column-gap: var(--size-m);
         column-gap: var(--size-m);
  }
}
.form-group > label,
.form-group > fieldset legend {
  font-size: var(--font-0);
  font-weight: 600;
  position: relative;
}
.form-group > fieldset legend {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
  margin-bottom: 0.5em;
  border-bottom: none;
}
.form-group > input {
  width: 100%;
}
.form-group > input,
.form-group > textarea {
  width: 100%;
  font-size: var(--font--1);
  border: 1px solid var(--color-line);
  border-radius: 0.9375rem;
  padding: var(--size-xs) var(--size-s);
}
@media screen and (min-width: 768px) {
  .form-group--vertical {
    grid-template-columns: 1fr;
    row-gap: var(--size-xs);
  }
  .form-group--vertical > label {
    width: 35%;
  }
}

.badge {
  display: inline-block;
  padding: 0.1em 1em;
  border-radius: 1.25rem;
  font-size: var(--font--2);
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: var(--size-s);
  position: absolute;
  top: 0;
  right: 0;
}
.badge--required {
  background-color: var(--color-blue-900);
  color: var(--color-white);
  border: 1px solid var(--color-blue-900);
}
.badge--optional {
  background-color: var(--color-blue-white);
  color: var(--color-blue-900);
  border: 1px solid var(--color-blue-900);
}

.checkbox-group-wrapper {
  border: none;
  padding: 0;
  margin: 0;
}
@media screen and (min-width: 768px) {
  .checkbox-group-wrapper {
    display: contents;
  }
}

.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: var(--size-3xs);
}
@media screen and (min-width: 768px) {
  .checkbox-group {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    gap: var(--size-s);
  }
}
.checkbox-group label {
  display: flex;
  align-items: center;
  cursor: pointer;
  position: relative;
  padding-left: 2em;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
.checkbox-group input[type=checkbox] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}
.checkbox-group span.checkmark {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  height: 20px;
  width: 20px;
  background-color: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: 4px;
  transition: all 0.3s;
  /* 3. チェックマーク（L字の線）を準備しておく（最初は隠す） */
}
.checkbox-group span.checkmark::after {
  content: "";
  position: absolute;
  display: none;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid var(--color-white);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.checkbox-group label input:checked ~ span.checkmark {
  background-color: var(--color-blue-900);
  border-color: var(--color-blue-900);
}
.checkbox-group label input:checked ~ span.checkmark::after {
  display: block;
}
.checkbox-group label input:focus-visible ~ span.checkmark {
  outline: 2px solid var(--color-blue-900);
  outline-offset: 2px;
}

.form-submit {
  text-align: center;
}
.form-submit .button {
  color: var(--color-white);
  padding: 0.7em 3em;
  font-size: var(--font--1);
  font-weight: 600;
  border-radius: 100vh;
  background: var(--color-blue-900);
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 6px 6px 12px #c5c5c5, -6px -6px 12px #ffffff;
}
.form-submit .button:active {
  color: var(--color-white);
  box-shadow: inset 4px 4px 12px #c5c5c5, inset -4px -4px 12px #ffffff;
}

/* ==================================================
thanks
================================================== */
.page-thanks .container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.page-thanks .container main {
  flex: 1;
}

.thanks .section__inner {
  max-width: 50rem;
}
.thanks__content {
  display: grid;
  place-items: center;
  gap: var(--size-l-xl);
}
.thanks____figure {
  max-width: 31.25rem;
}
.thanks____figure img {
  width: 100%;
}

.page-thanks .footer:before {
  background-color: var(--color-white);
}

/* ==================================================
Accessibility
================================================== */
@media (prefers-reduced-motion: reduce) {
  *,
*::before,
*::after {
    -webkit-animation-duration: 0.01ms !important;
            animation-duration: 0.01ms !important;
    -webkit-animation-iteration-count: 1 !important;
            animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
/*# sourceMappingURL=style.css.map */