@charset "UTF-8";

/**************************************************************
* WP OVERRIDES
**************************************************************/

/* wp-block-cover
************************************************/
.wp-block-cover,
.wp-block-cover-image {
  min-height: 100%;
}

/* wp-block-button
************************************************/
.wp-block-button {
  position: relative;
  overflow: hidden;
  height: 100%;
}

.wp-block-button__link {
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.wp-block-button__link > i {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 1.5rem;
  z-index: 10;
  display: flex;
  align-items: center;
  width: 0.5rem;
  height: 0.5rem;
  margin: auto;
  border-top: 2px solid #ffffff;
  border-bottom: 2px solid transparent;
  border-left: 2px solid transparent;
  border-right: 2px solid #ffffff;
  transform: rotate(45deg);
}

/* hovers */
@media (hover: hover) {
  .wp-block-button,
  .wp-block-button__link,
  .wp-block-button__link::before,
  .wp-block-button__link::after {
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }

  .wp-block-button__link::before,
  .wp-block-button__link::after {
    content: "";
    position: absolute;
    z-index: -1;
    width: 0%;
    height: 100%;
    display: block;
    background-color: var(--wp--preset--color--foreground);
    transform: skew(30deg);
  }
  .wp-block-button__link::before {
    top: 0;
    left: -20%;
  }
  .wp-block-button__link::after {
    bottom: 0;
    right: -20%;
  }

  .wp-block-button:hover .wp-block-button__link::before,
  .wp-block-button:hover .wp-block-button__link::after {
    width: 120%;
  }

  .form-submit-area .wp-block-button[class*="--backward"]:hover .wp-block-button__link {
    color: #ffffff;
  }
}



/**************************************************************
* HERO
**************************************************************/

/* hero-heading
************************************************/
.hero-heading__line2 {
  opacity: 0.9;
  mix-blend-mode: overlay;
}



/**************************************************************
* グロバル要素
**************************************************************/

/* gnav
************************************************/
@media (max-width: 1023px) {
  .g-nav {
    width: 100vw;
    height: 100vh;
    position: absolute;
    top: 0;
    left: 0;
    background-repeat: no-repeat;
    background-position: center 0;
    background-size: cover;
    background-color:rgba(0, 0, 0, 1);
  }
}

/* states */
@media all and (max-width: 1023px) {
  .g-nav {
    z-index: 999;
    display: block;
    visibility: hidden;
    padding-top: calc(45/14 * 1rem);
    opacity: 0;
    pointer-events: none;
    transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
  }

  html[class*="ui-state-nav-opened"] .g-nav {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
  }
}



/**************************************************************
* その他の要素 (2)
**************************************************************/

/* nav-entry-btn
************************************************/
.nav-entry-btn .wp-block-button__link {
  font-size: 130%;
}
.nav-entry-btn .wp-block-button__link > i {
  transform: rotate(45deg);
}


/* hamburger-block
************************************************/
@media all and (min-width: 1024px) {
  .hamburger-block {
    display: none;
  }
}

/* hamburger-btn
************************************************/
.hamburger-btn {
  all: unset;
  display: revert;
}

.hamburger-btn {
  position: absolute;
  top: 16px;
  z-index: 9999;
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  width: calc(80/750 * 100vw);
  height: calc(80/750 * 100vw);
  cursor: pointer;
  color: var(--wp--preset--color--primary);
}

.hamburger-btn > span {
  content: "";
  position: absolute;
  left: 0;
  display: block;
  width: 100%;
  height: 2px;
  background: currentColor;
}

.hamburger-btn > span:nth-child(1) {
  transform: translateY(-10px);
}

.hamburger-btn > span:nth-child(2) {
  transform: translateY(10px) scaleX(0.75);
  transform-origin: 0 0;
}

@media all and (max-width: 1023px) {
  .hamburger-btn {
    position: fixed;
    right: 5.333%;
  }

  .g-nav {
    position: fixed;
  }
}

@media all and (min-width: 1024px) {
  .hamburger-btn {
    display: none;
  }
}

/* hovers / states */
.hamburger-btn > span:nth-child(1),
.hamburger-btn > span:nth-child(2) {
  transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}
.hamburger-btn > span:nth-child(3) {
  transition: all 0.2s ease-out;
  transition-delay: 0.125s;
}

@media (hover: hover) {
  .hamburger-btn {
    transition: color 0.3s;
  }

  .hamburger-btn:hover {
    color: var(--wp--preset--color--foreground);
  }

  html[class*="ui-state-nav-opened"] .hamburger-btn {
    color: var(--wp--preset--color--background);
  }

  .hamburger-btn:hover > i:before,
  .hamburger-btn:hover > i:after {
    transform: translateY(0) scaleX(1);
    filter: blur(0.5px);
  }
}

/* states */
html[class*="ui-state-nav-opened"] .hamburger-btn > span:nth-child(1) {
  transform-origin: center;
  transform: translateY(0) rotateZ(-135deg) scaleX(0.75);
  filter: blur(0);
}

html[class*="ui-state-nav-opened"] .hamburger-btn > span:nth-child(2) {
  transform-origin: center;
  transform: translateY(0) rotateZ(135deg) scaleX(0.75);
  filter: blur(0);
}

html[class*="ui-state-nav-opened"] .hamburger-btn > span:nth-child(3) {
  transform-origin: center;
  transform: scaleX(0);
  filter: blur(0);
}

/* nav-links
********************************/
@media all and (max-width: 1023px) {  
  .nav-links {
    display: grid;
    grid-template-columns: 80%;
    justify-content: center;
    align-items: center;
    gap: 10px;
    width: 100%;
    height: 50%;
    margin-top: 100px;
    text-align: center;
  }
}

@media (max-width: 1023px) {
  .nav-entry-btn {
    height: 80px;
    margin-top: 2rem;
    padding-left: 5%;
    padding-right: 5%;
  }

  .nav-entry-btn .wp-block-button,
  .nav-entry-btn .wp-block-button__link {
    width: 100%;
    height: 100%;
  }
}

/* states */
@media all and (max-width: 1023px) {
  html[class*="ui-state-nav-opened"] .nav-links > li {
    overflow: hidden;
  }

  .nav-links > li {
    display: block;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    transition-delay: 0.6s;
  }

  html[class*="ui-state-nav-opened"] .nav-links > li {
    opacity: 1;
    transform: translateY(0);
  }

  .nav-entry-btn {
    opacity: 0;
    transition: opacity 0.3s ease;
    transition-delay: 0.8s;
  }

  html[class*="ui-state-nav-opened"] .nav-entry-btn {
    opacity: 1;
  }
}

/* hovers */
@media (hover: hover) and (min-width: 1024px) {
  .nav-link a,
  .nav-links > li,
  .nav-links > li.is-current {
    position: relative;
    transition: all 0.3s ease-out;
    transition-delay: 0.15s;
  }

  .nav-links > li::after,
  .nav-links > li.is-current::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 0;
    right: 0;
    display: block;
    width: 10px;
    height: 10px;
    margin: auto;
    opacity: 0;
    border-radius: 15px;
    background-color: var(--wp--preset--color--secondary);
    transition: all 0.3s ease-out;
  }

  .nav-links > li:hover,
  .nav-links > li.is-current {
    display: block;
    transform: translateY(-5px);
  }

  .nav-links > li:hover::after,
  .nav-links > li.is-current::after {
    opacity: 1;
    transform: translateY(-2.5px) rotateZ(90deg);
  }

  .nav-link a:hover {
    color: var(--wp--preset--color--primary);
  }
}

/* horizontal-ticker
********************************/
@media all and (min-width: 1024px) {
  .horizontal-ticker > span {
    font-size: clamp(60px, calc(60px + (180 - 60) * ((100vw - 375px) / (1920 - 375))), 180px);
  }
}

/* sub-sections
********************************/
.sub-sections {
  background-color: var(--wp--preset--color--primary-background);
}



/**************************************************************
* HERO
**************************************************************/

/* mv-slider-holder
************************************************/
.mv-slider-holder {
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1;
}
.mv-slider-holder::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0.25;
  background: #000000;
}

/* scrolldown-indicator
************************************************/
.scrolldown-indicator {
  position: absolute;
  bottom: 10%;
  right: 0;
  left: 0;
  z-index: 10;
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  width: 10px;
  height: 80px;
  margin-left: auto;
  margin-right: auto;
}

.scrolldown-indicator__txt {
  position: absolute;
  top: 0;
  left: 0;
  text-align: center;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 10px;
  line-height: 2.75;
  color: var(--wp--preset--color--secondary);
}

.scrolldown-indicator__line {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 1.5px;
  height: 100px;
  margin-left: auto;
  margin-right: auto;
  background-color: var(--wp--preset--color--secondary);
  transform-origin: 0 0;
}

@media all and (min-width: 1024px) {
  .scrolldown-indicator {
    bottom: 20%;
    left: 0;
    right: 0;
  }
}

/* animations */
.scrolldown-indicator__line {
animation: stretching-effect 2.5s cubic-bezier(0.77, 0, 0.175, 1) infinite;
will-change: animation, clip-path;
}

@keyframes stretching-effect {
  0% {
    clip-path: inset(0 0 100% 0);
    bottom: 5%;
  }
  40%, 60% {
    clip-path: inset(0 0 0 0);
    bottom: 0;
  }
  100% {
    clip-path: inset(100% 0 0 0);
    bottom: -5%;
  }
}



/**************************************************************
* CONCEPT
**************************************************************/

.concept::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.5);
  -webkit-backdrop-filter: blur(40px);
  backdrop-filter: blur(40px);
}



/**************************************************************
* BUSINESS
**************************************************************/

.business::before,
.business::after {
  content: "";
  position: absolute;
  top: 0;
  z-index: 0;
  background-color: var(--wp--preset--color--secondary-background);
}
.business::before {
  right: 0;
  width: calc(100% - 400px);
  height: 346px;
}
.business::after {
  right: 0;
  width: 420px;
  height: 700px
}

@media all and (max-width: 1023px) {
  .business::before,
  .business::after {
    content: unset;
  }
}

@media all and (min-width: 768px) and (max-width: 1366px) {
  .business__body {
    padding-left: 2%;
    padding-right: 2%;
  }
}



/**************************************************************
* INTERVIEW
**************************************************************/

@media all and (min-width: 1024px) {
  .interview .horizontal-ticker {
    margin-top: calc(150/1920 * 100vw);
  }

  .interview__body {
    width: 35%;
    padding-top: 10%;
    margin-left: auto;
  }
}

/* interview-primary-visuals
************************************************/
.interview-primary-visuals {
  position: absolute;
}
.interview-primary-visuals::after {
  content: "";
  display: block;
  padding-top: calc(750/750 * 100%);
}

@media all and (max-width: 1023px) {
  .interview-primary-visuals {
    top: 0;
    left: 0;
    width: 56vw;
  }
}

@media all and (min-width: 1024px) {
  .interview-primary-visuals {
    top: 0;
    left: 0;
    width: 38.5%;
  }
}

/* interview-secondary-visuals
************************************************/
.interview-secondary-visuals {
  position: absolute;
  right: 0;
}

@media all and (max-width: 1023px) {
  .interview-secondary-visuals {
    top: 8%;
    width: 20vw;
  }
}

@media all and (min-width: 1024px) {
  .interview-secondary-visuals {
    top: clamp(180px, calc(180px + (360 - 180) * ((100vw - 375px) / (1920 - 375))), 360px);
    width: 17.4%;
  }
}

/* interview-visual-*
************************************************/
.interview-visual-1,
.interview-visual-2,
.interview-visual-3 {
  position: absolute;
  z-index: 9;
}

.interview-visual-1 {
  top: 0;
  left: -1px;
  width: 100%;
  height: 100%;
}


.interview-visual-2 {
  bottom: 0;
  right: 0;
  z-index: 99;
  width: 55%;
  transform: translateY(60%) translateX(20%);
}
.interview-visual-2::after {
  padding-top: calc(174/272 * 100%);
}

.interview-visual-3 {
  top: 0;
  left: 0;
  width: 100%;
}

@media all and (max-width: 767px) {
  .interview-visual-2 {
    height: 70px;
  }

  .interview-visual-3 {
    height: 120px;
  }

  .interview-visual-1 > .wp-block-cover,
  .interview-visual-2 > .wp-block-cover,
  .interview-visual-3 > .wp-block-cover {
    height: 100%;
    min-height: inherit;
  }
}

@media all and (min-width: 768px) {
  .interview-visual-2 {
    width: calc(272/1920 * 100vw);
    height: 170px;
    transform: translateY(75%) translateX(25%);
  }

  .interview-visual-1 .wp-block-cover {
    height: 100%;
  }

  .interview-visual-3 .wp-block-cover {
    min-height: 540px;
  }
}

/* interview-catch
************************************************/
.interview-catch {
  position: absolute;
  z-index: 99;
  writing-mode: vertical-rl;
  height: 100%;
}

.interview-catch .wp-block-heading {
  letter-spacing: 0.2em;
  color: var(--wp--preset--color--inverted-foreground);
}
.interview-catch .wp-block-heading > strong {
  display: inline-block;
  margin-left: 10px;
  padding: 10px 4px;
  font-weight: normal;
  background-color: var(--wp--preset--color--primary);
}

@media all and (max-width: 1023px) {
  .interview-catch {
    position: absolute;
    top: 20px;
    right: 8vw;
  }

  .interview-catch .wp-block-heading {
    font-size: 4vw;
  }
}

@media all and (min-width: 1024px) {
  .interview__body {
    padding-right: 20%;
  }

  .interview-catch {
    top: calc(240/1920 * 100vw);
    right: 2rem;
  }

  .interview-catch .wp-block-heading {
    font-size: clamp(18px, calc(18px + (36 - 18) * ((100vw - 375px) / (1920 - 375))), 36px);
  }
}

@media all and (min-width: 1260px) {
  .interview-catch {
    right: 6.5rem;
  }
}

@media all and (min-width: 1600px) {
  .interview__body {
    width: 40%;
    padding-right: 15%;
  }

  .interview-catch {
    right: 0;
  }
}

/* interview-contents
************************************************/
.interview-contents {
  position: relative;
}

.interview-contents :is(h2, h3, h4, h5, h6) {
  margin-bottom: clamp(20px, calc(20px + (25 - 20) * ((100vw - 375px) / (1920 - 375))), 25px);
}

.interview-contents :is(p, li, dt, dd):not(:last-child) {
  margin-bottom: clamp(12px, calc(12px + (25 - 12) * ((100vw - 375px) / (1920 - 375))), 25px);
}

.interview-contents table {
  width: 100%;
  border-collapse: collapse;
}
.interview-contents table tr td:first-child {
  min-width: calc(120/500 * 100vw);
}
.interview-contents table td {
  padding-bottom: calc(30/500 * 100vw);
  vertical-align: top;
}
.interview-contents table tr:last-child > td {
  padding-bottom: inherit;
}

@media all and (min-width: 1024px) {
  .interview-contents table tr td:first-child {
    min-width: calc(100/1920 * 100vw);
  }
  .interview-contents table td {
    padding-bottom: calc(30/1920 * 100vw);
  }
}



/**************************************************************
* INFORMATION
**************************************************************/

/* information-contents
************************************************/
.information-contents table {
  width: 100%;
  border-collapse: collapse;
}
.information-contents table tr td:first-child {
  min-width: calc(140/500 * 100vw);
}
.information-contents table td {
  padding-bottom: calc(30/500 * 100vw);
  vertical-align: top;
}
.information-contents table tr:last-child > td {
  padding-bottom: inherit;
}

@media all and (min-width: 768px) {
  .information-contents table tr td:first-child {
    min-width: calc(140/768 * 100vw);
  }

  .information-contents table td {
    padding-bottom: calc(30/768 * 100vw);
  }

  .information-contents table td {
    padding-bottom: calc(30/768 * 100vw);
  }
}

@media all and (min-width: 1024px) {
  .information-contents table tr td:first-child {
    min-width: calc(180/1920 * 100vw);
  }

  .information-contents table tr td:first-child {
    min-width: calc(140/1920 * 100vw);
  }

  .information-contents table td {
    padding-bottom: calc(30/1920 * 100vw);
  }
}



/**************************************************************
* ABOUT
**************************************************************/

@media all and (max-width: 1023px) {
  .about-fullbleed-media .wp-block-cover,
  .about-fullbleed-media .wp-block-cover-image {
    min-height: 25vh;
  }
}

@media all and (min-width: 1024px) {
  .about-fullbleed-media .wp-block-cover,
  .about-fullbleed-media .wp-block-cover-image {
    min-height: 45vh;
  }
}

@media (min-width: 1800px) {
  .about-heading-holder {
    position: absolute;
    writing-mode: vertical-rl;
    text-orientation: sideways;
    transform: translateX(calc(-100% - 80px));
  }
}

/* about-contents
************************************************/
.about-contents {
  position: relative;
}

.about-contents :is(p, ul):not(:last-child) {
  padding-bottom: calc(30/500 * 100vw);
}

.about-contents table {
  width: 100%;
  border-collapse: collapse;
}
.about-contents table tr td:first-child {
  min-width: calc(120/500 * 100vw);
}
.about-contents table td {
  padding-bottom: calc(30/500 * 100vw);
  vertical-align: top;
}
.about-contents table tr:last-child > td {
  padding-bottom: inherit;
}

@media all and (min-width: 1024px) {
  .about-contents :is(p, ul):not(:last-child) {
    padding-bottom: calc(30/1920 * 100vw);
  }
  
  .about-contents table tr td:first-child {
    min-width: calc(100/1920 * 100vw);
  }
  .about-contents table td {
    padding-bottom: calc(30/1920 * 100vw);
  }
}

/* about-visuals
************************************************/
.about-visuals {
  position: absolute;

}
.about-visuals::after {
  content: "";
  display: block;
  padding-top: calc(774/914 * 100%);
  pointer-events: none;
}

@media all and (max-width: 1023px) {
  .about-visuals {
    bottom: 10vmin;
    left: 0;
    right: 0;
  }
}

@media all and (min-width: 1024px) {
  .about-visuals {
    bottom: 12vmin;
    right: 0;
  }
}

/* about-visual-*
************************************************/
.about-visual-1,
.about-visual-2 {
  position: absolute;
}

.about-visual-2 {
  bottom: -15%;
  right: calc(60/1920 * 100%);
}

@media all and (max-width: 1023px) {
  .about-visual-1 {
    bottom: 0;
    height: 55vmin;
  }
  .about-visual-1 > .wp-block-cover {
    height: 100%;
    min-height: inherit;
  }

  .about-visual-2 {
    display: none;
  }
}

@media all and (min-width: 1024px) {
  .about-visual-1 {
    top: 0;
    left: 0;
    width: calc(780/914 * 100%);
  }
}



/**************************************************************
   * 追従ボタン（2024/09/05 追記）
**************************************************************/
.floating-btns {
  position: fixed;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5%;
  bottom: 3%;
  right: 5.8vw;
  z-index: 100;
}

.floting-btns__free-link .wp-block-button__link {
	background-color:#b0b0b0;
}

@media (max-width: 767px) {
  .floating-btns {
    left: unset;
    bottom: 0;
    width: 100%;
    gap:0;
  }

  .floating-btns .wp-block-button {
    min-width:0;
  }

  .floating-btns .wp-block-button {
    height: 48px;
  }

  .floating-btns .wp-block-button__link {
    border-radius:0;
  }
}

@media (min-width: 1024px) {
  .wp-block-button:not(.has-custom-width) {
    max-width: 300px;
    min-width: 300px;
  }
}



/**************************************************************
* フォーム
**************************************************************/

:root {
  --form-control-readonly-bg: #dfdfdf;
  --form-control-border-radius: 0.5rem;
  --required-mark-border-radius: 3.5px;
}

#form {
  --wp--preset--color--background: #f2f2f2;
}

.form-area {
  background-color: var(--wp--preset--color--primary-background);
}

#form {
  max-width: 860px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

form {
  padding-bottom: clamp(40px, calc(40px + (80 - 40) * ((100vw - 375px) / (1920 - 375))), 80px);
}



/**************************************************************
* フォーム系のコンポーネント
**************************************************************/

/* c-form-steps
************************************************/
.c-form-steps {
  counter-reset: form-steps-counter;
}

.c-form-steps {
  display: grid;
  grid-template-columns: repeat(3, calc(120/550 * 100%));
  gap: 1rem;
  justify-content: center;
  margin-bottom: calc(60/16 * 1rem);
}

.c-form-steps > li {
  position: relative;
  height: calc(120/550 * 100%);
  counter-increment: form-steps-counter;
}

.c-form-steps__item {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  text-align: center;
  font-weight: bold;
  letter-spacing: 0.1em;
  color: var(--wp--preset--color--foreground-inverted);
  border-radius: 50%;
  background-color: #ffffff;
}

.c-form-steps__item > span {
  position: relative;
  top: 0.1rem;
}
.c-form-steps__item > span::before {
  content: counter(form-steps-counter, decimal-leading-zero);
  display: block;
  font-family: var(--alphabetic-font);
  font-size: var(--wp--preset--font-size--small);
}

@media all and (min-width: 768px) {
  .c-form-steps {
    gap: calc(20/16 * 1rem);
  }
}

/* states */
.c-form-steps__item[class*="--current"] {
  background: var(--wp--preset--color--primary);
  animation: step-item-blinking 1s ease-out forwards;
  animation-delay: 0.5s;
}

@keyframes step-item-blinking {
  0% {
    background: var(--wp--preset--color--primary);
  }
  50% {
    background: #ffffff;
  }
  100% {
    background: var(--wp--preset--color--primary);
  }
}

/* c-form-control
************************************************/
.c-form-control {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 2fr;
  align-items: flex-start;
}

.c-form-control > p {
  margin: 0;
  padding: 0;
  text-align: left;
}

.c-form-control[class*="--special"],
[data-layout="bundle"] .c-form-control[class*="--special"] {
  grid-template-columns: 100%;
  border-bottom: none;
  margin-top: clamp(28px, calc(28px + (40 - 28) * ((100vw - 375px) / (1920 - 375))), 40px);
} 

.c-form-control__label {
  position: relative;
  display: block;
  margin-bottom: 10px;
  padding-top: 0.85rem;
  /* font-size: clamp(14px, calc(14px + (16 - 14) * ((100vw - 375px) / (1920 - 375))), 16px); */
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.05em;
}

.c-form-control__box {
  display: grid;
  gap: 0.5rem;
  width: 100%;
}

.c-form-control__input,
.c-form-control__textarea {
  position: relative;
  display: block;
  padding: 0.7rem 1rem;
  font-size: 16px;
  border-radius: var(--form-control-border-radius);
  border: none;
  color: #000000;
  border-radius: var(--form-control-border-radius);
  background: var(--wp--preset--color--background);
}

.c-form-control__special-box .c-form-control__input:read-only {
	width: calc(100% - (0.65rem * 2 ));
}

.c-form-control__input {
  height: clamp(20px, calc(20px + (40 - 20) * ((100vw - 375px) / (1920 - 375))), 40px);
}

.c-form-control__textarea {
  height: 200px;
}

.c-form-control__box > span {
  padding: 0.5rem auto;
  align-self: center;
}

.c-form-control__box[class*="--graduation"] {
  grid-template-columns: clamp(60px, calc(60px + (144 - 60) * ((100vw - 375px) / (1920 - 375))), 144px) 1fr;
}

.c-form-control__box[class*="--contact"] {
  align-self: center;
}

.c-form-control__box[class*="--contact"] > div {
  display: flex;
}

.c-form-control__box[class*="--contact"] .c-form-control__option {
  margin-top: 0;
}

.c-form-control__box[class*="--birthday"] {
  grid-auto-flow: column;
  justify-content: flex-start;
}

.c-form-control__box[class*="--birthday"] .c-form-control__input {
  width: clamp(38px, calc(38px + (100 - 38) * ((100vw - 375px) / (1920 - 375))), 100px);
}
.c-form-control__box[class*="--birthday"] .c-form-control__input + span {
  margin-right: 0.5vw;
}

.c-form-control__box[class*="--address-postno"] {
  grid-template-columns: 20px 1fr;
}

.c-form-control__box[class*="--address-postno"]  .c-form-control__input {
  width: clamp(125px, calc(125px + (250 - 125) * ((100vw - 375px) / (1920 - 375))), 250px);
}

.c-form-control__box[class*="--address-address"] {
  margin-top: clamp(8px, calc(8px + (20 - 8) * ((100vw - 375px) / (1920 - 375))), 20px);
  grid-column: 2 / 3;
}

.c-form-control[class*="--special"] .c-form-control__textarea {
  width: calc(100% - (1rem * 2));
}

@media all and (max-width: 1023px) {
  .c-form-control {
    display: block;
    margin-bottom: 28px;
  }

  .c-form-control__label {
    padding-top: 0;
  }

  .c-form-control__special-box .c-form-control__input:read-only {
    margin-bottom: 15%;
  }
}

@media all and (min-width: 1024px) {
  .c-form-control__special-box .c-form-control__input:read-only {
    margin-bottom: 5%;
  }
}

/* input */
.c-form-control__input:placeholder-shown,
.c-form-control__textarea:placeholder-shown {
  font-size: 16px;
  color: rgba(0, 0, 0, 0.5);
}
.c-form-control__input:focus,
.c-form-control__textarea:not(.privacy-textarea):focus {
  font-size: 16px;
  outline: auto;
}

.c-form-control__input + .c-form-control__input {
  margin-top: calc(20/16 * 1rem);
}

/* checkbox / radio */
.c-form-control__option {
  display: block;
  margin-top: 1rem;
  margin-right: calc(35/16 * 1rem);
  cursor: pointer;
}

.c-form-control__option br {
  display: none;
}

.c-form-control__option input[type="radio"],
.c-form-control__option input[type="checkbox"] {
  all: revert;
}

.c-form-control__option input[type="checkbox"] {
  position: relative;
  top: 2px;
  height: 20px;
  width: 20px;
  
}

.c-form-control__option:first-child {
  margin-top: 0;
}

.c-form-control__option label {
  cursor: pointer;
}

/* textarea */
.c-form-control__textarea {
  font-family: var(--wp--preset--font-family--kana-font);
  resize: vertical;
}

.c-form-control__textarea:is(.privacy-textarea) {
  font-family: var(--wp--preset--font-family--kana-font);
  font-size: 12px;
  font-weight: bold;
  color: var(--wp--preset--color--inverted-foreground);
  border: 1px solid currentColor;
  background-color: transparent;
}

@media all and (max-width: 1023px) {
  .c-form-control__option input[type="radio"],
  .c-form-control__option input[type="checkbox"] {
    position: relative;
    top: 0.15rem;
  }
}

@media all and (min-width: 1024px) {
  [data-layout="bundle"] .c-form-control {
    grid-template-columns: calc(250/16 * 1rem) 1fr;
    align-items: flex-start;
    gap: 1rem;
  }

  .c-form-control:not(:last-child) {
    padding-top: calc(30/16 * 1rem);
    padding-bottom: calc(30/16 * 1rem);
    border-bottom: 1px solid var(--wp--preset--color--inverted-foreground);
  }

  .c-form-control[class*="--special"] {
    padding-bottom: 0;
  }

  .c-form-control__option input[type="radio"],
  .c-form-control__option input[type="checkbox"] {
    margin-right: 0.5rem;
    filter: grayscale(1);
  }
}

/* states */
.c-form-control__input:read-only,
.c-form-control__textarea:not(.privacy-textarea):read-only {
  background: var(--form-control-readonly-bg);
  border-color: var(--form-control-readonly-bg);
}

.c-form-control__box .c-form-control__input[class*="is-invalid"],
.c-form-control__box .c-form-control__textarea[class*="is-invalid"] {
  border-color: var(--wp--preset--color--warning, #ff4040);
}

/* c-required-mark
************************************************/
.c-required-mark {
  position: relative;
  top: 5px;
  display: inline-flex;
  align-items: center;
  margin-left: 1rem;
  padding-top: 3px;
  padding-bottom: 1px;
  padding-left: 5px;
  padding-right: 5px;
  font-size: calc(12/16 * 1rem);
  line-height: 1;
  letter-spacing: 0.1em;
  color: var(--wp--preset--color--inverted-foreground, #ffffff);
  text-align: center;
  border-radius: var(--required-mark-border-radius);
  border: 1px solid var(--wp--preset--color--warning, #ff4040);
  background-color: var(--wp--preset--color--warning, #ff4040);
}

@media all and (min-width: 1024px) {
  .c-required-mark {
    font-size: 75%;
  }
}

/* c-form-acceptance
************************************************/
.c-form-acceptance {
  display: flex;
  text-align: center;
  justify-content: center;
  align-items: center;
  margin-top: clamp(24px, calc(24px + (32 - 24) * ((100vw - 375px) / (1920 - 375))), 32px);
}

.c-form-acceptance__checkbox {
  all: revert;
  position: relative;
  top: 0.1rem;
  left: -0.1rem;
  cursor: pointer;
  transform: scale(1.5);
}

.c-form-acceptance__label {
  position: relative;
  top: 0.1rem;
  margin-left: 0.5rem;
  line-height: 1;
  cursor: pointer;
  text-shadow: none;
}

@media all and (max-width: 1023px) {
  .c-form-acceptance {
    text-align: center;
  }

  .c-form-acceptance__checkbox {
    position: relative;
    vertical-align: baseline;
    margin-right: 1rem;
  }
}



/**************************************************************
* フォーム その他
**************************************************************/

/* honeypot （スパム対策）
************************************************/
.form-honeypot {
  display: none;
}

/* form-onward
************************************************/
.form-onward {
  display: grid;
  justify-content: center;
  margin-bottom: calc(60/16 * 1rem);
}

@media all and (min-width: 1024px) {
  .form-onward {
    max-width: calc(515/16 * 1rem);
    margin-left: auto;
    margin-right: auto;
  }
}

/* form-comfirm
************************************************/
.form-comfirm {
  padding-top: calc(60/16 * 1rem);
  text-align: center;
}

.form-comfirm > p {
  color: var(--wp--preset--color--foreground);
}

/* form-thanks
************************************************/
.form-thanks {
  position: relative;
}

.form-thanks__txt {
  text-align: left;
}

.form-check-mark {
  display: block;
  max-width: 60%;
  margin: auto;
  opacity: 0;
}
i.form-check-mark {
  opacity: 0;
  transform: translateY(15%);
}

.form-check-mark > svg {
  width: 20rem;
  height: 20rem;
}

@media all and (min-width: 1024px) {
  .form-check-mark {
    max-width: 100%;
  }

  .form-thanks__txt {
    letter-spacing: 0;
  }
}

/* form-processing-status
************************************************/
.form-processing-status {
  display: grid;
  justify-content: center;
  text-align: center;
  padding-top: 10%;
  padding-bottom: 10%;;
}

.form-processing-status__msg {
  margin-top: 2rem;
  font-size: calc(18/16  * 1rem);
  font-weight: bold;
  margin-bottom: 1rem;
  padding-left: 0;
  padding-right: 0;
  color: var(--wp--preset--color--inverted-foreground);
}

/* form-processing-animation
************************************************/
.form-processing-animation {
  transform: scale(0.7);
}

/* form-submit-area
************************************************/
.form-submit-area {
  display: grid;
  grid-template-columns: 100%;
  justify-content: center;
  margin-top: clamp(30px, calc(30px + (50 - 30) * ((100vw - 375px) / (1920 - 375))), 50px);
  text-align: center;
}

.form-submit-area .wp-block-buttons {
  display: flex;
  justify-content: center;
  gap: calc(40/16 * 1rem);
}

.form-submit-area .wp-block-button[class*="--backward"] .wp-block-button__link {
  background-color: #cccccc;
  color: #000000;
}

.form-submit-area .wp-block-button__link {
  padding: clamp(18px, calc(18px + (6 * ((100vw - 375px) / 1545))), 24px) 100px;
  font-size: clamp(16px, calc(16px + 1.1765vw), 20px);
  letter-spacing: 0.1rem;
}

@media all and (max-width: 1023px) {
  .form-submit-area .wp-block-buttons {
    flex-flow: column;
  }

  .form-submit-area .wp-block-buttons > .wp-block-button,
  .form-submit-area .wp-block-button__link  {
    width: 100%;
  }
}

/* animations */
.form-processing-animation.is-loading .spinner-icn {
  display: block;
  border-radius: 50%;
  border: 1rem dotted var(--wp--preset--color--primary, #000000);
  animation: form-spinner-rotation 2s linear backwards infinite;
}

.spinner-icn:not([class*="is-loading"]) {
  border-color: transparent;
  box-shadow: none;
}

.form-processing-animation[class*="is-animated"] .form-check-mark {
  animation: form-checkmark-animation 0.5s cubic-bezier(0.39, 0.575, 0.565, 1) forwards;
}

@keyframes form-spinner-rotation {
  to {
    transform: rotate(360deg);
  }
}

@keyframes form-checkmark-animation {
  0% {
    opacity: 0;
    transform: scale(0);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}