:root {
  --grey-font-color: #333334;
  --pink-font-color: #dd6465;
  --dark-pink-color: #dd6465;
  --dark-grey-color: #eceaea;
  --light-grey-color: #fbfaf9;
  --light-pink-color: #f9cacb;
  --header-height-desktop: 800px;
  --header-height-mobile: 50vh;
  --border-radius: 10px;
  --container-width: 1000px;
}

/* Typography */
body,
p,
a,
div,
button {
  font-family: "noto-sans-cjk-jp", sans-serif;
  font-weight: 500;
  font-size: 1.125rem;
  line-height: 2;
  color: var(--grey-font-color);
}

h1,
h2,
h3,
h4 {
  font-family: "source-han-serif-japanese", serif;
  font-weight: 700;
  color: var(--grey-font-color);
  line-height: 1.25;
}

h1 {
  font-size: 2.5rem;
  line-height: 1.5;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.75rem;
}

hr {
  border: 1px solid #fff;
  background-color: #fff;
  outline: none;
  margin: 0;
}

/* Layout */
header,
section {
  position: relative;
  overflow: hidden;
}

.padding-v {
  padding-top: 60px;
  padding-bottom: 60px;
}

.section,
.section-with-background {
  padding: 80px 0;
  position: relative;
}

.section-with-background {
  background-color: #efefef;
}

.content-wrapper {
  width: var(--container-width);
  max-width: 100vw;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.indent {
  padding: 0 60px;
}

.bg-light-grey {
  background-color: var(--light-grey-color);
}

.bg-dark-grey {
  background-color: var(--dark-grey-color);
}

.text-center {
  text-align: center;
}

.mt-50 {
  margin-top: 50px;
}

.margin-top-20 {
  margin-top: 20px;
}

.flex {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.small {
  font-size: 1rem;
}

/* Header */
.header-content-container {
  width: calc(100vw - 60px);
  height: calc(var(--header-height-desktop) - 60px);
  position: relative;
  padding: 30px;
  z-index: 1;
}

.header-logo-container img {
  max-width: 200px;
  height: auto;
}

.header-content-wrapper {
  position: absolute;
  top: 50%;
  right: 10rem;
  display: flex;
  align-items: center;
  transform: translateY(-50%);
}

.header-content-wrapper p {
  margin-top: 1rem;
  margin-left: auto;
  color: var(--grey-font-color);
  line-height: 1.2;
}

.header-content-wrapper img {
  border-radius: 50%;
  margin-left: 2rem;
  width: 174px;
  height: 174px;
  object-fit: cover;
}

.header-background-container {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.header-background-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Titles */
.title {
  font-family: "Annapurna SIL", serif;
  font-weight: 400;
  color: var(--pink-font-color);
}

/* Checked Box List */
.checked-box {
  margin-top: 30px;
  background-color: #fff;
  border-radius: 20px;
  padding: 60px 80px;
  margin-bottom: 60px;
}

.checked-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.checked-box li {
  display: flex;
  align-items: flex-start;
  padding: 20px 10px;
  border-bottom: 1px solid #efefef;
}

.checked-box li:last-child {
  border-bottom: none;
}

.tick-box {
  width: 25px;
  height: auto;
  margin-top: 10px;
  margin-right: 15px;
}

/* Section Images */
.image-cover {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.content-arrow {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 30px;
  z-index: 1;
}

/* Profile Section */
.image {
  float: right;
  width: 230px;
  height: auto;
  border-radius: 50%;
  shape-outside: url(./public/src/emi-pf.png);
}

.container {
  overflow: clip;
}

#profile {
  margin-bottom: 60px;
}

/* Button */
.button {
  background-color: var(--dark-pink-color);
  text-decoration: none;
  text-align: center;
  padding: 10px;
  border-radius: 40px;
  width: 350px;
  display: block;
  margin: 0 auto;
  color: #fff;
  filter: drop-shadow(0 5px 4px #bbb);
  transition: filter 0.3s;
}

.button img {
  transform: translateY(7px);
  margin-right: 5px;
}

.button:hover {
  filter: drop-shadow(0 5px 4px #dd6465);
}

/* Ticket Container (Curriculum) */
.ticket-container {
  margin-top: 50px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 50px;
}

.ticket {
  color: #fff;
  border-radius: 15px;
  background-color: var(--dark-pink-color);
  padding: 5px;
}

.ticket-title {
  padding: 5px;
  background-color: #fff;
  border-radius: 10px 10px 5px 5px;
  text-align: center;
}

.ticket-title p {
  color: #fff;
}

.ticket-title h4 {
  color: var(--dark-pink-color);
  text-align: center;
}

.ticket-content-description {
  min-height: 70px;
  text-align: center;
  padding: 15px 30px;
}

.ticket-content {
  padding: 20px;
  border-radius: var(--border-radius);

  text-align: left;
}

.ticket-content p {
  color: #fff;
}

.ticket ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ticket ul li {
  border: none;
  padding-bottom: 0;
}

/* Grid Utilities */
.grid {
  display: grid;
  gap: 30px;
}

.col-2 {
  grid-template-columns: 1fr 1fr;
}

.col-2-auto {
  grid-template-columns: 1fr auto;
}

.col-3 {
  grid-template-columns: 1fr 1fr 1fr;
}

.col {
  padding: 30px;
  border-radius: 10px;
  border: 4px solid var(--dark-pink-color);
}

/* Changes Section */
.changes-title {
  display: flex;
  align-items: center;
}

.changes-title div {
  width: 32px;
  height: 32px;
  line-height: 32px;
  color: #fff;
  text-align: center;
  background-color: var(--dark-pink-color);
  border-radius: 50%;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.changes-title p {
  margin-top: 3px;
  margin-left: 15px;
  font-size: 0.9rem;
}

.col img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: bottom;
  margin-top: 15px;
  border-radius: 10px;
}

/* Participate Section */
#participate ul {
  margin-top: 40px;
  list-style: none;
  padding: 0;
}

#participate ul li {
  padding-left: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

/* Course Price Section */
#course-price h3 {
  margin-bottom: 20px;
}

/* Mail Section */
#mail p {
  text-align: center;
  margin-bottom: 30px;
}

/* FAQ Section */
.question-container {
  margin-top: 40px;
}

.question {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 30px;
  padding: 30px;
  margin-top: 30px;
  border-radius: 10px;
  border: 4px solid var(--dark-pink-color);
  background-color: #fff;
}

.question hr {
  margin: 15px 0;
  border-color: var(--dark-pink-color);
}

/* Overview Section */
#overview .ticket-content-description {
  height: unset;
}

.overview-container {
  display: flex;
  flex-direction: column;
  gap: 40px;
  flex-wrap: wrap;
  max-height: 1400px;
  margin-bottom: 80px;
}

.overview-container .ticket {
  width: calc(50% - 30px);
}

.overview-container .ticket-title {
  text-align: center;
  background-color: var(--dark-pink-color);
}

.overview-container .ticket hr {
  margin-top: 30px;
  margin-bottom: 30px;
}

.overview-container .ticket:nth-child(1) {
  border-color: #f19fa0;
  background-color: #f19fa0;
}

.overview-container .ticket:nth-child(1) .ticket-title {
  background-color: #f19fa0;
}

.overview-container .ticket:nth-child(1) hr {
  border-color: #f19fa0;
}

.overview-container .ticket:nth-child(2) {
  order: 3;
}

.overview-container .ticket:nth-child(2) hr {
  border-color: var(--dark-pink-color);
}

.overview-container .ticket:nth-child(3) {
  order: 2;
  border-color: #626263;
  background-color: #626263;
}

.overview-container .ticket:nth-child(3) .ticket-title {
  background-color: #626263;
}

.overview-container .ticket:nth-child(3) hr {
  border-color: #626263;
}

.overview-container .ticket-title h3 {
  color: #fff;
}

.overview-container .ticket-content {
  padding: 0;
  border-radius: 5px 5px 10px 10px;
  text-align: left;
  background-color: #fff;
}

.overview-container .ticket-content p {
  color: var(--grey-font-color);
  background-color: #fff;
}

.overview-ticket-wrapper .legal {
  margin-top: 20px;
  font-size: 0.9rem !important;
  line-height: 1.5;
}

.overview-container .ticket-content .overview-ticket-wrapper {
  padding: 30px;
}

#overview .button {
  margin-bottom: 30px;
}

/* Cancel Policy Section */
#cancel-policy ul {
  margin-top: 20px;
}

/* Misc */
.visually-hidden {
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

/* Footer */
footer {
  text-align: center;
}

footer p {
  padding: 30px;
}

#schedule .ticket p {
  text-align: center;
}

#schedule .ticket hr {
  margin: 20px 0;
}

#schedule .ticket .ticket-content {
  height: unset;
}

#freeze-title span {
  white-space: pre;
}

.mobile {
  display: none;
}

.img-hor {
  transform: rotateY(180deg);
}

#emotional-freeze h2 span {
  position: relative;
}

#emotional-freeze h2 span::before {
  content: "";
  position: absolute;
  bottom: 3px;
  left: 0;
  right: 0;
  background: var(--light-pink-color);
  height: 6px;
  border-radius: 10px;
  z-index: -1;
  width: 95%;
  margin: 0 auto;
  display: block;
}

#emotional-freeze p {
  margin-top: 20px;
}

.overview-container .ticket-title h3 {
  margin-bottom: 10px;
}

/* Responsive (optional, minimal) */
@media (max-width: 1100px) {
  .content-wrapper {
    width: 90vw;
  }
  .header-content-wrapper {
    right: 50px;
  }
}

@media (max-width: 800px) {
  .header-logo-container img {
    margin: 0 auto;
  }
  .header-logo-container h1 {
    text-align: center;
  }

  .desktop {
    display: none;
  }

  .mobile {
    display: block;
  }

  .col-2 {
    grid-template-columns: 1fr;
  }
  .content-wrapper {
    width: 85vw;
  }
  .header-content-container {
    padding-right: 30px;
    height: var(--header-height-mobile);
  }

  .header-background-container {
    height: 100%;
  }

  .header-content-wrapper {
    display: block;
    position: relative;
    width: 95%;
    top: 0;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    transform: unset;
    margin-top: 30px;
  }
  .header-content-wrapper img {
    margin-left: 0;
    margin-top: 1rem;
    width: 120px;
    height: 120px;
  }
  .ticket-container,
  .grid.col-3 {
    grid-template-columns: 1fr;
  }
  .overview-container .ticket {
    width: 100%;
  }
  #profile .image {
    float: none;
  }
  .indent {
    padding-left: 0;
    padding-right: 0;
  }

  .checked-box {
    margin-bottom: 30px;
    padding: 20px;
  }

  .button {
    width: 100%;
    padding: 10px 0;
  }

  .ticket-content hr {
    margin: 15px 0;
  }

  .ticket-content-description {
    height: auto;
  }

  .tick-box {
    margin-right: 5px;
  }

  .question {
    display: block;
  }

  .overview-container {
    display: block;
    max-height: unset;
  }

  .overview-container .ticket {
    margin-bottom: 30px;
  }

  h1 {
    font-size: 1.45rem;
    line-height: 2;
    text-align: center;
  }
  h2 {
    font-size: 1.45rem;
    line-height: 1.6;
  }
  #emotional-freeze h2,
  h3 {
    font-size: 1.3rem;
  }
  p {
    font-size: 1rem;
  }

  .checked-box {
    padding: 10px;
  }

  .checked-box li {
    padding: 10px;
  }

  .section-with-background {
    padding: 30px 0;
  }

  .content-arrow {
    width: 30px;
    bottom: 18px;
  }

  #profile {
    margin-bottom: 30px;
  }

  #profile img {
    display: block;
    margin: 0 auto;
  }

  #profile .padding-v {
    padding-bottom: 0;
  }

  .padding-v,
  .section {
    padding-top: 30px;
    padding-bottom: 30px;
  }

  .ticket-container {
    margin-top: 30px;
    gap: 30px;
  }

  .ticket-content-description {
    padding: 0;
  }

  .changes-title p {
    font-size: 1rem;
  }

  .col {
    padding: 15px 15px 10px 15px;
  }

  footer .small {
    padding: 15px;
    font-size: 0.7rem;
  }

  .mt-50 {
    margin-top: 30px;
  }

  #schedule .ticket-content-description {
    margin-top: 10px;
  }

  #schedule hr {
    margin: 10px 0 !important;
  }

  #schedule .ticket-content-description p:nth-last-child(1) {
    margin-bottom: 5px;
    line-height: 1.5;
  }

  #participate ul {
    margin-top: 20px;
  }

  .overview-ticket-wrapper {
    padding: 15px !important;
  }

  .overview-container .ticket hr {
    margin-top: 10px;
    margin-bottom: 10px;
  }

  .overview-container {
    margin-bottom: 40px;
  }

  #overview .button {
    margin-bottom: 20px;
  }

  .question {
    padding: 15px;
  }

  .question h4 {
    line-height: 1.7;
  }
}

@keyframes pulse-grow-shrink {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

.button {
  animation: pulse-grow-shrink 1.2s ease-in-out infinite;
}

.button img {
  width: 25px;
  margin-left: 5px;
  transform: translateY(2px);
}

#cancel-policy-title {
  margin-bottom: 20px;
}

#cancel-policy .content-wrapper {
  padding-bottom: 0px;
}
