@charset "UTF-8";

/* =========================
   Base
========================= */
:root {
  --color-bg: #f3f7f9;
  --color-text: #050505;
  --color-muted: #c0c0c0;
  --color-reflection: rgba(192, 192, 192, 0.2);

  --content-width: 1120px;
  --price-content-width: 540px;
  --side-padding: 20px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  color: var(--color-text);
  background-color: var(--color-bg);
  font-family: "Inter", sans-serif;
  font-feature-settings: "palt";
}

a {
  color: inherit;
  text-decoration: none;
}

.section {
  padding-inline: var(--side-padding);
}

.section-inner {
  width: min(100%, var(--content-width));
  margin-inline: auto;
}

.section-inner--price {
  max-width: var(--price-content-width);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* =========================
   Header
========================= */
.header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;

  width: 100%;
  padding: 22px 18px;


}

.header-nav {
  display: flex;
  justify-content: flex-end;
  gap: 18px;
}

.header-nav a {
  color: var(--color-muted);
  font-size: 14px;
  font-weight: 500;

  transition: color 0.25s ease;
}

.header-nav a:hover {
  color: var(--color-text);
}

/* =========================
   Shared Section Title
========================= */
.section-title {
  position: relative;

  width: fit-content;

  font-size: clamp(34px, 10vw, 50px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
}

.section-title::after {
  content: attr(data-reflection);

  position: absolute;
  top: 78%;
  left: 0;

  color: var(--color-reflection);

  transform: scaleY(-1);
  transform-origin: center;

  pointer-events: none;
}

/* =========================
   Price
========================= */
.price {
  padding-top: 120px;
}

.section-inner--price {
  max-width: var(--price-content-width);
  transform: translateX(20px);
}
.price section {
    padding-left: 20px;
}
.price-introduction {
  margin-top: 36px;

  font-size: 16px;
  font-weight: 600;
  line-height: 1.9;
}
.plan-list {
  margin-top: 30svh;
}
.price-plan {
  margin-top: 160px;
}

.plan-title {
  position: relative;

  width: fit-content;

  font-size: 30px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.03em;
}

.plan-title::after {
  content: attr(data-reflection);

  position: absolute;
  top: 74%;
  left: 0;
  z-index: -1;

  color: var(--color-reflection);

  transform: scaleY(-1);
  transform-origin: center;

  pointer-events: none;
}

.plan-title--light {
  color: #7d8b92;
}

.plan-title--standard {
  color: #3388b8;
}

.plan-title--premium {
  color: #a78645;
}

.plan-price {
  margin-top: 36px;

  font-size: 27px;
  font-weight: 900;
  line-height: 1;
}

.plan-description {
  margin-top: 22px;

  font-size: 12px;
  font-weight: 600;
  line-height: 1.75;
}

.plan-description span {
  font-size: 16px;
}
/* =========================
   Custom Plan
========================= */

.plan-title--custom {
  color: #5f6b72;
}

.custom-services {
  margin-top: 36px;
}

.custom-services p {
  position: relative;

  margin-top: 10px;
  padding-left: 16px;

  font-size: 12px;
  font-weight: 600;
  line-height: 1.8;
}

/* =========================
   Option
========================= */
.option {
  padding-top: 110px;
}

.section-title--option {
  margin-inline: auto;
}

.option-list {
  display: grid;
  gap: 50px;

  margin-top: 72px;
}

.option-item {
  width: min(100%, 330px);
  margin-inline: auto;
}

.option-title {
  font-size: 24px;
  font-weight: 900;
  line-height: 1.15;
}

.option-title-ja {
  margin-top: 3px;

  color: var(--color-muted);
  font-size: 16px;
  font-weight: 600;
}

.option-price {
  margin-top: 36px;

  font-size: 20px;
  font-weight: 900;
}

.option-note {
  margin-top: 6px;

  font-size: 12px;
  font-weight: 600;
  line-height: 1.6;
}

/* =========================
   Why Monthly
========================= */
.monthly {
  padding-top: 130px;
}

.monthly-title {
  width: fit-content;
  margin-inline: auto;
  padding: 8px 12px;

  border: 2px solid var(--color-text);
  border-radius: 9px;

  font-size: 20px;
  font-weight: 700;
  line-height: 1;
}

.monthly-text {
  margin-top: 54px;

  text-align: center;
  font-size: 12px;
  font-weight: 600;
  line-height: 2;
}

/* =========================
   Comparison Table
========================= */
.comparison {
  padding-top: 66px;
  padding-bottom: 72px;
}

.section-inner--table {
  max-width: 650px;
}

.comparison-table-wrapper {
  width: 100%;
  overflow-x: auto;
}

.comparison-table {
  width: 100%;
  min-width: 330px;
  border-collapse: collapse;

  font-size: 11px;
  font-weight: 600;
  text-align: center;
}

.comparison-table thead th {
  font-size: 10px;
  font-weight: 800;
}

.comparison-table th,
.comparison-table td {
  padding: 14px 6px;
}
.comparison-table th,
.comparison-table td {
  padding: 14px 6px;
  border-bottom: 1px solid rgba(5, 5, 5, 0.1);
}

.comparison-table thead th {
  font-size: 7px;
  font-weight: 800;
}

.comparison-table tbody th {
  width: 28%;

  text-align: left;
  font-weight: 700;
}

/* =========================
   Site Logo
========================= */
.site-logo {
  --logo-arai-size: 20px;
  --logo-works-size: 13px;

  position: relative;

  display: flex;
  flex-direction: column;
  align-items: center;

  width: fit-content;
  margin-inline: auto;

  line-height: 1;
}

.site-logo-main,
.site-logo-reflection {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.site-logo-arai {
  font-size: var(--logo-arai-size);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: 0.08em;
}

.site-logo-works {
  margin-top: 3px;

  font-size: var(--logo-works-size);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: 0.08em;
}

.site-logo-reflection {
  position: absolute;
  top: 88%;
  left: 50%;

  color: var(--color-reflection);

  transform: translateX(-50%) scaleY(-1);
  transform-origin: center;

  pointer-events: none;
}

/* =========================
   Footer
========================= */
.footer {
  padding: 36px 20px 22px;

  background-color: rgba(192, 192, 192, 0.2);
  text-align: center;
}

.footer-copy {
  margin-top: 42px;

  color: #777;
  font-size: 8px;
  letter-spacing: 0.08em;
}

/* =========================
   Scroll Animation
========================= */

.fade-up,
.fade-down {
  opacity: 0;

  transition:
    opacity 1s ease,
    transform 1s ease;
}

/* 下から上 */
.fade-up {
  transform: translateY(40px);
}

/* 上から下 */
.fade-down {
  transform: translateY(-40px);
}

/* 表示後 */
.fade-up.is-show,
.fade-down.is-show {
  opacity: 1;
  transform: translateY(0);
}


/* =========================
   Animation Delay
========================= */

.delay-1 {
  transition-delay: 0.2s;
}

.delay-2 {
  transition-delay: 0.4s;
}

.delay-3 {
  transition-delay: 0.6s;
}

.price-delay {
  transition-delay: 0.7s;
}

.plan-delay-1 {
  transition-delay: 0.6s;
}

.plan-delay-2 {
  transition-delay: 0.9s;
}

.header-nav a {
  display: inline-block;

  opacity: 0;
  transform: translateY(-20px);

  animation: nav-slide-down 0.8s ease forwards;
}

/* price */
.header-nav a:nth-child(1) {
  animation-delay: 0.2s;
}

/* about */
.header-nav a:nth-child(2) {
  animation-delay: 0.4s;
}

/* contact */
.header-nav a:nth-child(3) {
  animation-delay: 0.6s;
}

@keyframes nav-slide-down {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* =========================
   Tablet / Desktop
========================= */
@media (min-width: 768px) {
  :root {
    --side-padding: 40px;
    --price-content-width: 650px;
  }

  .header {
    padding: 28px 40px;
  }

  .header-nav {
    gap: 32px;
  }

  .header-nav a {
    font-size: 16px;
  }

  /* PRICE・OPTION・MONTHLYを少し左へ */
  .section-inner--price {
    margin-left: 15%;
    margin-right: auto;
    transform: none;
  }

  .price {
    padding-top: 140px;
  }

  .section-title {
    font-size: 58px;
  }

  .price-introduction {
    margin-top: 50px;
    font-size: 28px;
  }

  .price-plan {
    margin-top: 200px;
  }

  .plan-title {
    font-size: 50px;
  }

  .plan-price {
    margin-top: 80px;
    font-size: 33px;
  }

  .plan-description {
    margin-top: 25px;
    font-size: 20px;
    line-height: 1.8;
  }

  .plan-description span {
    font-size: 28px;
  }
  /* CUSTOM */
.custom-services {
  margin-top: 50px;
}

.custom-services p {
  margin-top: 14px;
  padding-left: 22px;

  font-size: 18px;
}

.custom-services p::before {
  width: 5px;
  height: 5px;
}

  .option {
    padding-top: 200px;
  }

  .option-list {
    gap: 68px;
    margin-top: 84px;
  }

  .option-item {
    width: min(100%, 440px);
    margin-left: 0;
    margin-right: auto;
  }

  .option-title {
    font-size: 26px;
  }

  .option-title-ja {
    font-size: 14px;
  }

  .option-price {
    margin-top: 34px;
    font-size: 25px;
  }

  .option-note {
    font-size: 13px;
  }

  .monthly {
    padding-top: 145px;
  }

  .monthly-title {
    margin-left: 0;
    margin-right: auto;
    padding: 9px 14px;
    font-size: 36px;
  }

  .monthly-text {
    margin-top: 58px;
    text-align: left;
    font-size: 20px;
  }

  .comparison {
    padding-top: 78px;
    padding-bottom: 95px;
  }

  .comparison-table {
    font-size: 12px;
  }

  .comparison-table thead th {
    font-size: 11px;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 15px 8px;
  }

  .site-logo--footer {
    --logo-arai-size: 29px;
    --logo-works-size: 19px;
  }

  .footer {
    padding: 66px 32px 30px;
  }

  .footer-copy {
    margin-top: 54px;
    font-size: 10px;
  }

  /* PRICEだけ左寄り */
.price .section-inner--price {
  margin-left: 13%;
  margin-right: auto;
  transform: none;
}

/* OPTIONから下は中央 */
.option .section-inner--price,
.monthly .section-inner--price {
  margin-inline: auto;
  transform: none;
}

.section-title--option {
  margin-inline: auto;
}

.option-item {
  margin-inline: auto;
  text-align: center;
}

.monthly-title {
  margin-inline: auto;
}

.monthly-text {
  text-align: center;
}

.section-inner--table {
  margin-inline: auto;
}
 .section-inner--table {
    max-width: 900px;
  }

  .comparison-table {
    font-size: 15px;
  }

  .comparison-table thead th {
    font-size: 14px;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 20px 14px;
  }

  .comparison-table tbody th {
    font-size: 14px;
  }
}