/* ========================================
   LP - ジェネリック医薬品バイオシミラー
   Mobile First → Desktop
   ======================================== */

/* ==== Reset CSS ==== */
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

body {
  line-height: 1;
}

ol,
ul {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

:root {
  --color-beige: #f5f0e6;
  --color-white: #fff;
  --color-text: #000;
  --color-text-light: #666;
  --font-baloo: "Baloo Bhaina 2", sans-serif;
  --font-kiwi: "Kiwi Maru", sans-serif;
  --font-noto: "Noto Sans JP", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-noto);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-white);
  background-image: url("../img/body-bg-items.png"), url("../img/body-bg-grad.png"), url("../img/main-bg.png");
  background-repeat: no-repeat, no-repeat, repeat;
  background-position:
    center top,
    right top,
    center top;
  background-size:
    min(1367px, 100%) auto,
    100% auto,
    100px 100px;
  @media (max-width: 767px) {
    background-size:
      min(1367px, 100%) auto,
      100% auto,
      50px 50px;
  }
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ========================================
   Hero
   ======================================== */
.hero {
  @media (max-width: 767px) {
  }
  h1 img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    max-width: 1367px;
  }
}

/* ========================================
   Main
   ======================================== */
.main {
  padding-top: clamp(16px, 14.28vw, 195px); /* 195px at 1366px = (195/1366)*100 ≈ 14.28vw */
  padding-bottom: clamp(16px, 14.64vw, 200px); /* 200px at 1366px = (200/1366)*100 ≈ 14.64vw */
  padding-left: 5%;
  padding-right: 5%;
  /* background: url("../img/main-bg.png") repeat;
  background-size: 100px 100px; */

  & > * {
    max-width: 880px;
    margin: 0 auto;
  }
}

.section {
}

/* ========================================
   What's? Section
   ======================================== */
.whats {
  margin-bottom: clamp(24px, 4.76vw, 65px); /* 65px at 1366px -> 65/1366*100 ≈ 4.76vw */
}

.whats__title {
  margin-bottom: clamp(32px, 6.52vw, 89px); /* 89px at 1366px -> 89/1366*100 ≈ 6.52vw */
  text-align: center;
  img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: calc(259.69 / 880 * 100%);
    max-width: 259.69px;
  }
}

.whats__deco {
  margin-bottom: clamp(24px, 17vw, 232px); /* 232px at 1366px -> (232/1366)*100 ≈ 17vw */
  text-align: center;
  img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: calc(720 / 880 * 100%);
    max-width: 720px;
  }
}

/* ========================================
   Q&A Section
   ======================================== */
.qa {
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 12.3vw, 168px); /* 168px at 1366px -> 168/1366*100 ≈ 12.3vw */
}

.qa__item {
  position: relative;
  background: var(--color-white);
  border-radius: clamp(12px, 2.93vw, 40px); /* 40px at 1366px -> (40/1366)*100 ≈ 2.93vw */
  border: 8px solid #e8ee68;
  padding-top: clamp(16px, 5.27vw, 72px); /* 72px at 1366px -> (72/1366)*100 ≈ 5.27vw */

  .qa__num {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%) translateY(-50%);
    img {
      width: auto;
      height: clamp(56px, 7.03vw, 96px); /* 96px at 1366px -> (96/1366)*100 ≈ 7.03vw */
    }
  }

  .qa__content {
    display: grid;
    grid-template-columns: auto -webkit-max-content;
    grid-template-columns: auto max-content;
    align-items: center;
    @media (max-width: 767px) {
    }
  }

  .qa__question {
    padding-left: 3%;
    padding-right: 3%;
    font-size: clamp(1.4rem, 2.93vw, 40px); /* 40px at 1366px -> (40/1366)*100 ≈ 2.93vw */
    color: #5ace76;
    letter-spacing: 0.08em;
    text-align: center;
  }

  .qa__answer {
    padding-left: clamp(16px, 5.3vw, 72px);
    font-size: clamp(1rem, 1.76vw, 24px);
    line-height: calc(40 / 24);
    letter-spacing: 0.04em;
  }

  .qa__image {
  }

  .qa__image img {
    width: 100%;
    height: auto;
  }

  /* 個別 */
  &.qa__item--1 {
    padding-bottom: clamp(16px, 3.15vw, 43px);
    .qa__question {
      margin-bottom: clamp(18px, 3.37vw, 46px);
    }
    .qa__image {
      margin-left: clamp(20px, 4.91vw, 67px);
      margin-right: clamp(18px, 4.39vw, 60px);
      width: clamp(90px, 19.04vw, 260px);
    }
  }
  &.qa__item--2 {
    padding-bottom: clamp(16px, 3.44vw, 47px); /* 47px at 1366px -> 47/1366*100 = 3.44vw */
    .qa__question {
      margin-bottom: clamp(16px, 2.12vw, 29px); /* 29px at 1366px -> 29/1366*100 = 2.12vw */
    }
    .qa__image {
      margin-left: clamp(16px, 5.93vw, 81px); /* 81px -> 5.93vw */
      margin-right: clamp(16px, 7.4vw, 101px); /* 101px -> 7.4vw */
      width: clamp(80px, 15.01vw, 205px); /* 205px -> 15.01vw */
    }
  }
  &.qa__item--3 {
    padding-bottom: clamp(16px, 3.08vw, 42px); /* 42px -> 3.08vw */
    .qa__question {
      margin-bottom: clamp(16px, 1.76vw, 24px); /* 24px -> 1.76vw */
    }
    .qa__image {
      margin-left: clamp(16px, 4.83vw, 66px); /* 66px -> 4.83vw */
      margin-right: clamp(16px, 6.29vw, 86px); /* 86px -> 6.29vw */
      width: clamp(80px, 17.2vw, 235px); /* 235px -> 17.2vw */
    }
  }
  &.qa__item--4 {
    padding-bottom: 0;
    .qa__question {
      margin-bottom: clamp(20px, 4.1vw, 56px); /* 56px -> 4.1vw */
    }
    .qa__answer {
      padding-bottom: clamp(24px, 4.69vw, 64px); /* 64px -> 4.69vw */
    }
    .qa__image {
      align-self: flex-end;
      margin-left: clamp(16px, 4.03vw, 55px); /* 55px -> 4.03vw */
      margin-right: clamp(16px, 3.51vw, 48px); /* 48px -> 3.51vw */
      width: clamp(100px, 20.79vw, 284px); /* 284px -> 20.79vw */
    }
  }
}

/* ========================================
   CTA Section
   ======================================== */
.cta {
  margin-bottom: clamp(40px, 11.72vw, 160px); /* 160px at 1366px -> 160/1366*100 ≈ 11.72vw */
}

.cta__title {
  margin-bottom: clamp(24px, 4.39vw, 60px); /* 60px at 1366px -> 60/1366*100 ≈ 4.39vw */
  img {
    display: block;
    margin-left: auto;
    width: calc(774 / 880 * 100%);
    max-width: 774px;
    @media (max-width: 500px) {
      width: 100%;
    }
  }
}

.cta__body {
  text-align: center;
}

.cta__text {
  font-family: var(--font-kiwi);
  font-size: clamp(1rem, 2.34vw, 32px); /* 32px at 1366px -> 32/1366*100 ≈ 2.34vw */
  line-height: calc(48 / 32);
  letter-spacing: 0.09em;
  color: var(--color-white);
  margin-bottom: clamp(24px, 6.44vw, 88px); /* 88px at 1366px -> 88/1366*100 ≈ 6.44vw */
}

.cta__btn {
  display: inline-flex;
  margin: 0 auto;
  transition: opacity 0.2s;
  img {
    width: 324px;
    @media (max-width: 767px) {
      width: 250px;
    }
  }
}

.cta__btn:hover {
  opacity: 0.8;
}

/* ========================================
   Movie Section
   ======================================== */
.movie {
  margin-bottom: 0;
}

.movie__title {
  font-family: var(--font-kiwi);
  font-size: clamp(1.5rem, 5vw, 2.5rem);
  line-height: calc(56 / 40);
  letter-spacing: 0.04em;
  text-align: center;
  color: #fafbde;
  text-shadow: 4px 4px 5px rgba(0, 0, 0, 0.16);
  margin-bottom: clamp(24px, 4.98vw, 68px); /* 68px at 1366px -> 68/1366*100 ≈ 4.98vw */
  img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: calc(569 / 880 * 100%);
    max-width: 569px;
  }
}

.movie__wrapper {
  aspect-ratio: 16 / 9;
  width: 90%;
  max-width: 620px;
  margin: 0 auto;
  border-radius: 40px;
  overflow: hidden;
  iframe {
    width: 100%;
    height: 100%;
  }
}

.movie__link {
  display: block;
  position: relative;
  aspect-ratio: 16 / 9;
}

.movie__cover {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

.movie__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.movie__play img {
  width: 68px;
  height: 48px;
  transition: transform 0.2s;
}

.movie__link:hover .movie__play img {
  transform: scale(1.1);
}

/* ========================================
   Footer
   ======================================== */
.footer {
  background: #f4f0e1;
  padding: clamp(40px, 5.86vw, 80px) 5vw clamp(62px, 9.08vw, 124px);
  text-align: center;
}

.footer__title {
  margin-bottom: clamp(26px, 4.39vw, 60px);
  img {
    width: 324px;
    @media (max-width: 767px) {
      width: 250px;
    }
  }
}

.footer__info {
  font-family: var(--font-kiwi);
  font-size: clamp(1.2rem, 4vw, 2rem);
  line-height: calc(48 / 32);
  letter-spacing: 0.09em;
  color: var(--color-text);
}

.footer__org {
  font-size: clamp(2rem, 3.95vw, 3.375rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  margin-bottom: 0.4em;
}

.footer__address {
  font-size: clamp(1.2rem, 2.93vw, 2rem);
  font-weight: 300;
  letter-spacing: 0.086em;
  margin-bottom: 1.4em;
}

.footer__contact {
  font-size: clamp(1.2rem, 3.52vw, 3rem);
  font-weight: 400;
  letter-spacing: 0.05em;
  color: #5ace76;
}

/* ========================================
   Scroll-in animation (fadeInUp)
   ======================================== */
.animate__fadeInUp {
  opacity: 0;
  transform: translateY(200px);
  transition:
    opacity 0.3s ease-out,
    transform 0.3s ease-out;
}

.animate__fadeInUp.is-visible {
  opacity: 1;
  transform: translateY(0);
}
