@charset "UTF-8";
*,
*::before,
*::after {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

html,
body,
h1,
h2,
h3,
h4,
h5,
h6,
ul,
ol,
dl,
li,
dt,
dd,
p,
div,
span,
img,
a,
table,
tr,
th,
td,
small,
button,
time,
figure {
  border: 0;
  font: inherit;
  font-size: 100%;
  margin: 0;
  padding: 0;
  vertical-align: baseline;
}

html {
  line-height: 1;
}

ol,
ul {
  list-style: none;
}

li,
dd {
  list-style-type: none;
}

header,
footer,
nav,
section,
article,
main,
aside,
figure,
figcaption {
  display: block;
}

img {
  border: none;
  vertical-align: bottom;
}

@media screen and (max-width: 1119px) and (min-width: 768px) {
  html {
    font-size: calc(16 / 1120 * 100vw);
  }
}
@media screen and (max-width: 374px) {
  html {
    font-size: calc(16 / 375 * 100vw);
  }
}

body {
  color: #4a2107;
  font-family: "Noto Sans JP", sans-serif;
}

a {
  text-decoration: none;
  -webkit-transition: 0.3s;
  transition: 0.3s;
  color: inherit;
}
@media (hover: hover) {
  a:hover {
    cursor: pointer;
  }
}

picture,
img,
a,
span {
  display: inline-block;
}

video,
img,
svg {
  width: 100%;
  height: 100%;
}

button {
  font: inherit;
  color: inherit;
  background: transparent;
  background: none;
  border: none;
}

input,
textarea,
select {
  font: inherit;
}

@media (min-width: 768px) {
  a[href*="tel:"] {
    pointer-events: none;
    cursor: default;
    text-decoration: none;
  }
}
.l-header {
  position: fixed;
  z-index: 102;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  padding-inline: 1.25rem;
  background-color: #fff6e3;
}

.l-header__inner {
  display: grid;
  grid-template-columns: 18.75rem 1fr;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding-block: 1.0625rem;
}

.l-header__logo {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  font-size: 2rem;
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-weight: bold;
  font-style: italic;
  color: #4a2107;
}
.l-header__logo::before {
  content: "";
  display: block;
  width: 4rem;
  height: 2rem;
  margin-right: 0.5rem;
  background-image: url("/assets/img/tio's Portfolio.png");
  background-repeat: no-repeat;
  background-position: center -0.5625rem;
  background-size: cover;
}
@media screen and (max-width: 767px) {
  .l-header__logo::before {
    margin-right: 0;
  }
}

.l-header__nav {
  display: none;
}
@media (min-width: 768px) {
  .l-header__nav {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: end;
        -ms-flex-pack: end;
            justify-content: end;
    -webkit-column-gap: 3.75rem;
       -moz-column-gap: 3.75rem;
            column-gap: 3.75rem;
  }
}

.l-header__list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-column-gap: 2rem;
     -moz-column-gap: 2rem;
          column-gap: 2rem;
}
.l-header__list li a {
  color: #4a2107;
  font-size: 1.25rem;
}
@media (any-hover: hover) {
  .l-header__list li a:hover {
    opacity: 0.7;
    height: 1.5px;
  }
  .l-header__list li a span {
    display: inline-block;
    position: relative;
  }
  .l-header__list li a span::after {
    content: "";
    position: absolute;
    scale: 0;
    -webkit-transform-origin: left center;
            transform-origin: left center;
    -webkit-transition: scale 0.5s ease;
    transition: scale 0.5s ease;
    left: 0;
    bottom: -4px;
    width: 100%;
    height: 1.5px;
    background: #5e3a1c;
  }
}
@media (any-hover: hover) and (any-hover: hover) {
  .l-header__list li a span:hover::after {
    scale: 1;
  }
}

.l-main {
  min-height: 100vh;
}

.l-inner {
  position: relative;
  width: 100%;
  max-width: 1120px;
  height: inherit;
  padding: 0 2.5rem;
  margin-inline: auto;
}
@media screen and (max-width: 767px) {
  .l-inner {
    width: 100%;
    max-width: 640px;
    padding: 0 1.25rem;
  }
}

.l-inner__narrow {
  max-width: 50rem;
}
@media screen and (max-width: 767px) {
  .l-inner__narrow {
    padding: 0 1.25rem;
    max-width: 600px;
  }
}

.l-footer {
  text-align: center;
  padding: 10px;
  background-color: #fff3e6;
}

.l-footer__copy {
  font-size: 0.875rem;
}

.c-loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 100;
  background: #fef1da;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-transition: translate 1s ease;
  transition: translate 1s ease;
}
.c-loading.js-loading-end {
  translate: 0 -100%;
}

.c-loading__circle {
  position: relative;
  display: inline-block;
  height: 37px;
  width: 15px;
  margin-inline: 10px;
}

.c-loading__circle:before {
  position: absolute;
  content: "";
  display: block;
  top: 0;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background-color: #885c39;
  -webkit-transform-origin: 50%;
          transform-origin: 50%;
  -webkit-animation: bounce 500ms alternate infinite ease;
          animation: bounce 500ms alternate infinite ease;
}

.c-loading__circle:nth-child(1):before {
  -webkit-animation-delay: 0s;
          animation-delay: 0s;
}

.c-loading__circle:nth-child(2):before {
  -webkit-animation-delay: 0.2s;
          animation-delay: 0.2s;
}

.c-loading__circle:nth-child(3):before {
  -webkit-animation-delay: 0.4s;
          animation-delay: 0.4s;
}

@-webkit-keyframes bounce {
  0% {
    top: 50px;
    height: 5px;
    border-radius: 60px 60px 20px 20px;
    -webkit-transform: scaleX(2);
            transform: scaleX(2);
  }
  35% {
    height: 15px;
    border-radius: 50%;
    -webkit-transform: scaleX(1);
            transform: scaleX(1);
  }
  100% {
    top: 0;
  }
}

@keyframes bounce {
  0% {
    top: 50px;
    height: 5px;
    border-radius: 60px 60px 20px 20px;
    -webkit-transform: scaleX(2);
            transform: scaleX(2);
  }
  35% {
    height: 15px;
    border-radius: 50%;
    -webkit-transform: scaleX(1);
            transform: scaleX(1);
  }
  100% {
    top: 0;
  }
}
.c-btn {
  display: inline-block;
  width: 17.5rem;
  max-width: 100%;
  padding: 1.25rem 0.625rem;
  background: #885c39;
  border: 2px solid transparent;
  -webkit-box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
          box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
  color: #fff;
  font-size: 1.25rem;
  text-align: center;
  border-radius: 40px;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.c-btn:focus, .c-btn:hover {
  background: #fff;
  border-color: currentColor;
  color: #885c39;
}
@media screen and (max-width: 767px) {
  .c-btn {
    width: 12.5rem;
    padding: 0.9375rem 0.3125rem;
    font-size: 1rem;
  }
}

.c-animated__fadeIn {
  translate: 0 20px;
  opacity: 0;
  -webkit-transition: translate 0.6s ease-out, opacity 0.6s ease-out;
  transition: translate 0.6s ease-out, opacity 0.6s ease-out;
}
.c-animated__fadeIn.js-show {
  translate: 0;
  opacity: 1;
}

/* ボタン全体の位置（固定位置） */
.c-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  -webkit-transition: opacity 0.3s ease;
  transition: opacity 0.3s ease;
}
.c-to-top.js-show {
  opacity: 1;
  visibility: visible;
}

/* 丸いボタンのスタイル */
.c-to-top__link {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  width: 60px;
  height: 60px;
  background: #f4e5d8; /* やさしいベージュ */
  color: #333;
  font-weight: bold;
  font-size: 0.8rem;
  border-radius: 50%;
  text-decoration: none;
  -webkit-box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
          box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

/* ホバー時のアニメーション */
.c-to-top__link:hover {
  background: #f0dbca;
  -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
          box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* スマホサイズ対応 */
@media screen and (max-width: 768px) {
  .c-to-top {
    bottom: 1rem;
    right: 1rem;
  }
  .c-to-top__link {
    width: 50px;
    height: 50px;
    font-size: 0.75rem;
  }
}
.p-drawer__icon {
  position: fixed;
  z-index: 102;
  top: 1.5rem;
  right: 1.25rem;
  width: 1.5rem;
  height: 1rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}
@media (min-width: 768px) {
  .p-drawer__icon {
    display: none;
  }
}

.p-drawer__icon--bar {
  width: 100%;
  height: 1px;
  background: #4a2107;
  -webkit-transition: all 0.5s ease;
  transition: all 0.5s ease;
}

.p-drawer__icon.js-show .p-drawer__icon--bar:nth-of-type(1) {
  rotate: 45deg;
  translate: 0 7.5px;
  -webkit-transition: all 0.5s ease;
  transition: all 0.5s ease;
}
.p-drawer__icon.js-show .p-drawer__icon--bar:nth-of-type(2) {
  display: none;
}
.p-drawer__icon.js-show .p-drawer__icon--bar:nth-of-type(3) {
  rotate: -45deg;
  translate: 0 -7.5px;
  -webkit-transition: all 0.5s ease;
  transition: all 0.5s ease;
}

.p-drawer {
  position: fixed;
  z-index: -1;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #fef1da;
  overflow-y: auto;
  opacity: 0;
  -webkit-transform: scale(0.9);
          transform: scale(0.9);
  -webkit-transition: opacity 0.5s ease, -webkit-transform 0.5s ease;
  transition: opacity 0.5s ease, -webkit-transform 0.5s ease;
  transition: opacity 0.5s ease, transform 0.5s ease;
  transition: opacity 0.5s ease, transform 0.5s ease, -webkit-transform 0.5s ease;
  pointer-events: none;
}
.p-drawer.js-show {
  z-index: 101;
  pointer-events: auto;
  opacity: 1;
  -webkit-transform: scale(1);
          transform: scale(1);
}

.p-drawer__body {
  width: 100%;
  height: -webkit-fit-content;
  height: -moz-fit-content;
  height: fit-content;
  padding-block: 9.375rem;
}

.p-drawer__list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  row-gap: 32px;
}
.p-drawer__list li a {
  color: #4a2107;
  font-size: 20px;
  font-weight: 500;
  line-height: normal;
}

.p-drawer__btn {
  display: inline-block;
  padding: 6px 30px;
  background: f6e7ca;
  border-radius: 100vmax;
  color: #4a2107;
  font-size: 20px;
  font-weight: 400;
  line-height: normal;
}

.p-hero {
  position: relative;
  margin-top: 4.125rem;
  background: #fef1da;
  height: 50rem;
  overflow: hidden;
}
@media screen and (max-width: 767px) {
  .p-hero {
    height: 31.25rem;
  }
}
.p-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url(/assets/img/hero-bg.png) no-repeat center center/cover;
  opacity: 0.65;
  z-index: 0;
  pointer-events: none;
}
@media screen and (max-width: 767px) {
  .p-hero::before {
    background: url(/assets/img/hero-bg-sp.png) no-repeat center center/cover;
  }
}

.p-hero__catch-copy {
  position: absolute;
  top: 25%;
  translate: 0 -50%;
  left: 5%;
  width: 100%;
  font-weight: 600;
  font-style: italic;
  color: #5e3a1c;
}
@media screen and (max-width: 767px) {
  .p-hero__catch-copy {
    text-align: center;
    top: 5%;
    left: 50%;
    translate: -50%;
  }
}

.p-hero__title {
  font-size: 3.75rem;
  letter-spacing: 0.2rem;
  line-height: 1.2;
}
@media screen and (max-width: 767px) {
  .p-hero__title {
    font-size: 1.75rem;
  }
}
.p-hero__title .char {
  opacity: 0;
}

.p-hero__text {
  margin-top: 1.25rem;
  font-size: 1.875rem;
  overflow: hidden;
}
@media screen and (max-width: 767px) {
  .p-hero__text {
    margin-top: 0.625rem;
    font-size: 1.25rem;
  }
}
.p-hero__text span {
  display: inline-block;
  -webkit-animation: 0.5s 4.5s ease forwards slideUp;
          animation: 0.5s 4.5s ease forwards slideUp;
  translate: 0 100%;
}
@-webkit-keyframes slideUp {
  0% {
    translate: 0 100%;
  }
  100% {
    translate: 0 0;
  }
}
@keyframes slideUp {
  0% {
    translate: 0 100%;
  }
  100% {
    translate: 0 0;
  }
}

.p-hero__btn {
  margin-top: 2.5rem;
}
@media screen and (max-width: 767px) {
  .p-hero__btn {
    margin-top: 1.25rem;
  }
}

.p-hero__scroll {
  position: absolute;
  bottom: 1%;
  right: 10%;
  -webkit-animation: arrowmove 4.5s ease-in-out infinite;
          animation: arrowmove 4.5s ease-in-out infinite;
}

.p-hero__scroll-text {
  position: absolute;
  left: -24px;
  bottom: 17px;
  text-transform: uppercase;
  -webkit-writing-mode: vertical-rl;
      -ms-writing-mode: tb-rl;
          writing-mode: vertical-rl;
}

.p-hero__scroll:before {
  content: "";
  position: absolute;
  bottom: 5px;
  right: -6px;
  width: 2px;
  height: 20px;
  background: #4a2107;
  -webkit-transform: skewX(-31deg);
          transform: skewX(-31deg);
}

.p-hero__scroll:after {
  content: "";
  position: absolute;
  bottom: 5px;
  right: 0;
  width: 2px;
  height: 85px;
  background: #4a2107;
}

@-webkit-keyframes arrowmove {
  0% {
    bottom: 1%;
  }
  50% {
    bottom: 5%;
  }
  100% {
    bottom: 1%;
  }
}

@keyframes arrowmove {
  0% {
    bottom: 1%;
  }
  50% {
    bottom: 5%;
  }
  100% {
    bottom: 1%;
  }
}
.p-title {
  color: #5e3a1c;
}
.p-title__main {
  font-size: 2.5rem;
  font-weight: 600;
  line-height: 1.2;
}
@media screen and (max-width: 767px) {
  .p-title__main {
    font-size: 2rem;
  }
}
.p-title__sub {
  font-size: 1.25rem;
  line-height: 1.2;
}
@media screen and (max-width: 767px) {
  .p-title__sub {
    font-size: 1rem;
  }
}

.p-about {
  background-color: #fffcf4;
}

.p-about__inner {
  padding-block: 3.75rem 1.25rem;
}
@media screen and (max-width: 767px) {
  .p-about__inner {
    padding-block: 2.5rem 1.25rem;
  }
}

.p-about__head-sub {
  margin-left: 0.625rem;
}

.p-about__container {
  margin-top: 1.25rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 2.5rem;
}
@media screen and (max-width: 767px) {
  .p-about__container {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 1.25rem;
    text-align: center;
  }
}

.p-about__img {
  width: 60%;
}
@media screen and (max-width: 767px) {
  .p-about__img {
    width: 100%;
  }
}
.p-about__img img {
  border-radius: 50%;
  -webkit-box-shadow: 0 4px 15px 0 rgba(0, 0, 0, 0.15);
          box-shadow: 0 4px 15px 0 rgba(0, 0, 0, 0.15);
}

@media screen and (max-width: 767px) {
  .p-about__text-contents {
    width: 100%;
    text-align: left;
  }
}

.p-about__thoughts {
  color: #885c39;
  font-style: italic;
  font-weight: 600;
  font-size: 2.5rem;
}
@media screen and (max-width: 767px) {
  .p-about__thoughts {
    font-size: 1.875rem;
  }
}

.p-about__text {
  margin-top: 1.25rem;
  font-size: 1.25rem;
  line-height: 1.6;
}

.p-skills {
  background-color: #fffbee;
}

.p-skills__inner {
  padding-block: 3.75rem 1.25rem;
}
@media screen and (max-width: 767px) {
  .p-skills__inner {
    padding-block: 2.5rem 1.25rem;
  }
}

.p-skills__wrapper {
  padding: 2.5rem;
}
@media screen and (max-width: 767px) {
  .p-skills__wrapper {
    padding: 0;
  }
}

.p-skills-items {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  height: 100%;
  text-align: center;
}
@media screen and (max-width: 767px) {
  .p-skills-items {
    grid-template-columns: repeat(1, 1fr);
    grid-template-rows: repeat(4, auto);
    gap: 0.625rem;
    padding: 0.625rem;
  }
}

.p-skills-item {
  border: 1px solid #4a2107;
  padding: 1.25rem 0.625rem;
  height: 15.5rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  border-radius: 8px;
  -webkit-box-shadow: 4px 4px 6px rgba(0, 0, 0, 0.1);
          box-shadow: 4px 4px 6px rgba(0, 0, 0, 0.1);
}

.p-skills-item:hover {
  -webkit-transform: translateY(-4px);
          transform: translateY(-4px);
  -webkit-box-shadow: 6px 6px 10px rgba(0, 0, 0, 0.15);
          box-shadow: 6px 6px 10px rgba(0, 0, 0, 0.15);
}

.p-skills-item i {
  display: inline-block;
  width: 6.25rem;
  height: 6.25rem;
  line-height: 6.25rem;
  text-align: center;
  border-radius: 50%;
  font-size: 2.1875rem;
}

.fa-code {
  background-color: #fce8d5;
  color: #fca311;
}

.fa-js {
  background-color: #fff4c3;
  color: #c79c00;
}

.fa-wordpress {
  background-color: #d9e7f4;
  color: #4a6b8a;
}

.fa-php {
  background-color: #e6daf0;
  color: #7a4da2;
}

.p-skills__title {
  font-size: 1.25rem;
  font-weight: bold;
  color: #4a2107;
  margin-top: 0.625rem;
  text-align: center;
}

.p-skills-text {
  font-size: 1rem;
  margin-top: 1rem;
  text-align: left;
}

.p-skills__env {
  font-size: 1rem;
  margin-top: 0.625rem;
  text-align: left;
}

.p-works {
  background-color: #f6e7ca;
}

.p-works__inner {
  padding-block: 3.75rem 1.25rem;
}
@media screen and (max-width: 767px) {
  .p-works__inner {
    padding-block: 2.5rem 1.25rem;
  }
}

.p-works__lead-text {
  margin-top: 0.625rem;
  line-height: 1.2;
}

.p-works__title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.p-works__scope {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 0.5em;
}

.p-works__label {
  white-space: nowrap;
  font-weight: bold;
}

.p-works__swiper-container,
.p-works__swiper,
.p-works__swiper-wrapper,
.p-works__swiper-slide {
  position: relative;
}

.p-works__swiper-container {
  padding: 2.5rem 0;
}
@media screen and (max-width: 767px) {
  .p-works__swiper-container {
    padding: 1.25rem 0;
  }
}

.swiper-button-prev,
.swiper-button-next,
.swiper-pagination-bullets.swiper-pagination-horizontal {
  top: unset;
  bottom: unset;
  left: unset;
  right: unset;
  margin: 0;
  padding: 0;
}

.swiper-button-prev,
.swiper-button-next {
  bottom: 0;
}

.swiper-button-prev {
  left: 0;
}

.swiper-button-next {
  right: 0;
}

.swiper-pagination-bullets.swiper-pagination-horizontal .swiper-pagination-bullet {
  opacity: 1;
}

.p-works__item-img {
  text-align: center;
}
.p-works__item-img img {
  -webkit-box-shadow: 0 4px 15px 0 rgba(0, 0, 0, 0.15);
          box-shadow: 0 4px 15px 0 rgba(0, 0, 0, 0.15);
  width: 100%;
  height: 250px;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 10px;
  margin-bottom: 1.25rem;
}

.p-works__item-text {
  margin-top: 0.625rem;
  line-height: 1.5;
  text-align: center;
}

.p-price {
  background-color: #fdfaf6;
}

.p-price__inner {
  padding-block: 3.75rem 1.25rem;
}
@media screen and (max-width: 767px) {
  .p-price__inner {
    padding-block: 2.5rem 1.25rem;
  }
}

.p-price__container {
  margin-top: 0.625rem;
}

.p-price__text {
  line-height: 1.6;
}

table {
  -webkit-animation: fadeInUp 1s ease both;
          animation: fadeInUp 1s ease both;
  width: 100%;
  border-collapse: collapse;
  margin-top: 2.5rem;
  border-radius: 12px;
  overflow: hidden;
  -webkit-box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
          box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  background-color: #fff;
}
@media screen and (max-width: 767px) {
  table {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-shadow: inherit;
            box-shadow: inherit;
    background-color: inherit;
  }
}

th,
td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid #eee;
}

th {
  background-color: #faf5ef;
  color: #333;
  font-weight: bold;
}

td {
  color: #555;
}

.p-price__note {
  font-size: 0.875rem;
  color: #666;
  margin-top: 0.625rem;
}

@-webkit-keyframes fadeInUp {
  0% {
    opacity: 0;
    -webkit-transform: translateY(30px);
            transform: translateY(30px);
  }
  100% {
    opacity: 1;
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    -webkit-transform: translateY(30px);
            transform: translateY(30px);
  }
  100% {
    opacity: 1;
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
}
@media screen and (max-width: 767px) {
  table thead {
    display: none;
  }
  table tbody tr {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 0.625rem;
    -webkit-box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    background-color: #fff;
  }
  table tbody tr:not(:last-child) {
    margin-bottom: 1.25rem;
  }
  table td {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    padding: 0.625rem;
  }
  table td::before {
    content: attr(data-label);
    font-weight: bold;
    color: #333;
    margin-right: 0.625rem;
    -ms-flex-negative: 0;
        flex-shrink: 0;
  }
}
.p-contact {
  background-color: #fff3e6;
}

.p-contact__inner {
  padding-block: 3.75rem 1.25rem;
}
@media screen and (max-width: 767px) {
  .p-contact__inner {
    padding-block: 2.5rem 1.25rem;
  }
}

.p-contact__container {
  margin-top: 0.625rem;
}

/* フォーム全体 */
.p-contact__form {
  margin-top: 2.5rem;
  background: #fff;
  padding: 2.5rem 1.25rem;
  border-radius: 8px;
  -webkit-box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
          box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* 各入力行 */
.p-contact__row {
  margin-bottom: 1.25rem;
}

.p-contact__header {
  font-weight: bold;
  margin-bottom: 0.625rem;
  font-size: 1.125rem;
}

.p-contact__header span {
  background-color: #e74c3c;
  color: #fff;
  font-size: 0.75rem;
  padding: 0.25rem 0.375rem;
  border-radius: 3px;
  margin-left: 0.3125rem;
}
.p-contact__header span.p-contact__any {
  background-color: #ada09f;
}

/* 入力欄共通 */
.p-contact__data input,
.p-contact__data textarea,
.p-contact__select-wrap select {
  width: 100%;
  padding: 0.625rem 0.875rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 0.875rem;
  background-color: #fff;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  -webkit-transition: border-color 0.2s;
  transition: border-color 0.2s;
}

.p-contact__data input:focus,
.p-contact__data textarea:focus,
.p-contact__select-wrap select:focus {
  border-color: #3498db;
  outline: none;
}

.p-contact__data textarea {
  height: 120px;
  resize: vertical;
}

/* チェックボックス */
.p-contact__data-checkbox {
  margin: 1.25rem 0;
  font-size: 0.875rem;
  text-align: center;
}

.p-contact__data-checkbox input[type=checkbox] {
  margin-right: 0.5rem;
}

/* 送信ボタン */
.p-contact__submit {
  width: 12.5rem;
  margin-inline: auto;
}

.p-contact__submit input[type=submit] {
  background-color: #3498db;
  color: #fff;
  border: none;
  padding: 0.75rem 0;
  width: 100%;
  border-radius: 6px;
  cursor: pointer;
  -webkit-transition: background-color 0.3s;
  transition: background-color 0.3s;
}

.p-contact__submit input[type=submit]:hover {
  background-color: #2980b9;
}

/* プライバシーポリシーリンク */
.p-contact__data-checkbox a {
  color: #3498db;
  text-decoration: underline;
}

/* レスポンシブ調整 */
@media (max-width: 600px) {
  .p-contact__form {
    padding: 1.25rem;
  }
}
.g-recaptcha {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  margin-block: 1.25rem;
}

.p-test {
  padding-block: 7.5rem;
}
@media screen and (max-width: 767px) {
  .p-test {
    padding-block: 4.375rem;
  }
}

.p-test__container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}
@media screen and (max-width: 767px) {
  .p-test__container {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    row-gap: 1.25rem;
  }
}

.p-test__title {
  font-size: max(3.125rem, 40px);
  font-weight: 700;
  line-height: 0.94;
  letter-spacing: 0em;
  text-transform: uppercase;
}
@media screen and (max-width: 767px) {
  .p-test__title {
    font-size: 3.125rem;
  }
}

.p-test__text {
  margin-block: 2.5rem;
  font-size: max(1.75rem, 22.4px);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0em;
}
@media screen and (max-width: 767px) {
  .p-test__text {
    font-size: 1.75rem;
  }
}

.p-test__text-wrap {
  width: min(25rem, 100%);
}

.p-test__img {
  width: min(37.5rem, 100%);
  height: auto;
}

@media (min-width: 768px) {
  .u-sp {
    display: none !important;
  }
}
@media screen and (max-width: 767px) {
  .u-pc {
    display: none !important;
  }
}
.u-font {
  font-family: "Noto Sans JP", sans-serif;
}
.u-font__jp {
  font-family: "Noto Sans JP", sans-serif;
}
.u-font__en {
  font-family: "M PLUS Rounded 1c", sans-serif;
}

.u-text__center {
  text-align: center !important;
}
@media screen and (max-width: 767px) {
  .u-text__center--sp {
    text-align: center !important;
  }
}
@media (min-width: 768px) {
  .u-text__center--pc {
    text-align: center !important;
  }
}

.u-text__left {
  text-align: left !important;
}
@media screen and (max-width: 767px) {
  .u-text__left--sp {
    text-align: left !important;
  }
}
@media (min-width: 768px) {
  .u-text__left--pc {
    text-align: left !important;
  }
}

.u-text__right {
  text-align: right !important;
}
@media screen and (max-width: 767px) {
  .u-text__right--sp {
    text-align: right !important;
  }
}
@media (min-width: 768px) {
  .u-text__right--pc {
    text-align: right !important;
  }
}

.u-text__nowrap {
  white-space: nowrap;
}
@media screen and (max-width: 767px) {
  .u-text__nowrap--sp {
    white-space: nowrap;
  }
}
@media (min-width: 768px) {
  .u-text__nowrap--pc {
    white-space: nowrap;
  }
}

.u-pointer__none {
  pointer-events: none !important;
}
@media screen and (max-width: 767px) {
  .u-pointer__none--sp {
    pointer-events: none !important;
  }
}
@media (min-width: 768px) {
  .u-pointer__none--pc {
    pointer-events: none !important;
  }
}