@charset "UTF-8";
/* デフォルト */
/* レスポンシブ設定 */
@media screen and (min-width: 400px) {
  .ssp {
    display: none;
  }
}
@media screen and (min-width: 541px) {
  .sp {
    display: none;
  }
}
@media screen and (max-width: 540px) {
  .pc {
    display: none;
  }
}
@media screen and (min-width: 769px) {
  .tb {
    display: none;
  }
}
@media screen and (max-width: 768px) {
  .nb {
    display: none;
  }
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Noto Sans JP", sans-serif;
  background-color: white;
  color: #3b3978;
  line-height: 1.6;
  margin: auto !important;
}

img {
  width: 100%;
  display: block;
}

section {
  padding: 50px 0;
}
@media screen and (max-width:1024px) {
  section {
    padding: 30px 0;
  }
}

h2.section-title {
  font-weight: 700;
  font-size: 32px;
  color: #3b3978;
  text-align: center;
  margin-bottom: 60px;
  position: relative;
}
.symptom h2.section-title,  h2.section-title{
  font-size: 23px;
}
@media screen and (max-width:540px) {
  h2.section-title {
    font-size: 32px;
  }
}
h2.section-title::after {
  position: absolute;
  content: "";
  width: 45px;
  bottom: -25px;
  left: 50%;
  transform: translateX(-50%);
  border-bottom: solid 2px #3B3978;
}
@media screen and (max-width:540px) {
  h2.section-title::after {
    bottom: -25px;
  }
}

a {
  text-decoration: none;
}
a.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.5rem 1rem;
    padding-left: 1.5rem;
    border: none;
    border-start-start-radius: 1.5rem;
    border-end-start-radius: 1.5rem;
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: white;
    cursor: pointer;
    transition: opacity 0.2s;
    position: relative;
}
a.btn::before {
  display: none;
}
a.btn:hover {
  opacity: 0.9;
}
a.btn.btn-line {
    background-color: #E06A3F;
    margin-bottom: 3px;
}
a.btn.btn-orange {
  background-color: #e0693e;
  margin-bottom: 3px;
}
a.btn.btn-purple {
  background-color: #3b3978;
}
a.btn img {
  flex-shrink: 0;
  width: 32px;
}
@media screen and (max-width:540px) {
  a.btn img {
    width: 22px;
  }
}

/* Header */
header {
    left: 0;
}
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0 1rem 2rem;
  background-color: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(5px);
  width: 100%;
  position: fixed;
  z-index: 100;
}
@media screen and (max-width:540px) {
  .header {
    padding: 10px 0;
    align-items: flex-start;
  }
}
.header img.logo {
  width: 121.47px;
}
@media screen and (max-width:540px) {
  .header img.logo {
    width: 90px;
    margin-top: 18px;
    margin-left: 18px;
  }
}
.header .nav {
  display: flex;
  gap: 1rem;
}
@media screen and (max-width:540px) {
  .header .nav {
    display: block;
  }
}


/* ヒーローセクション */
.hero {
    position: relative;
    height: 901px;
    background: url(../img/hero-section.png)no-repeat center/cover;
    overflow: hidden;
    margin-top: -40px;
}

.hero-bg {
    position: absolute;
    top: 25px;
    left: 0;
    width: 100%;
    height: 905px;
    object-fit: cover;
}

.hero-mask {
    position: absolute;
    top: 148px;
    left: 0;
    width: 100%;
    height: 472px;
    object-fit: cover;
}

.hero-title-1 {
    position: absolute;
    top: 94px;
    left: 0;
    right: 0;
    padding: 0 20px;
    font-weight: 700;
    font-size: 32px;
    line-height: 1.2;
}

.hero-title-blue {
    color: #64abd9;
}

.hero-title-normal {
    color: #3b3978;
    font-size: 23px;
}

.hero-highlight-bg {
    position: absolute;
    top: 142px;
    left: 0;
    right: 0;
    margin: 0 20px;
    height: 61px;
    width: 300px;
    background: #64abd9;
}
@media screen and (max-width:540px) {
    .hero-highlight-bg {
        width: 285px;
    }
}
@media screen and (max-width:400px) {
    .hero-highlight-bg {
        width: 255px;
    }
}

.hero-title-2 {
    position: absolute;
    top: 142px;
    left: 6px;
    right: 0;
    padding: 0 20px;
    font-size: 48px;
    font-weight: 700;
    color: white;
    line-height: 1.2;
}
@media screen and (max-width:540px) {
    .hero-title-2 {
        font-size: 45px;
    }
}
@media screen and (max-width:400px) {
    .hero-title-2 {
        font-size: 40px;
        top: 146px;
    }
}

.hero-title-3 {
    position: absolute;
    top: 153px;
    right: 20px;
    font-size: 32px;
    font-weight: 700;
    color: #3b3978;
}
@media screen and (max-width:380px) {
    .hero-title-3 {
    top: 149px;
    right: 7px;
    font-size: 30px;
    }
}

/* ヒーローカード */
.hero-card {
    position: relative;
    top: 355px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(7px);
    border: 1.42px solid #e2e1ed;
    border-radius: 14px;
    padding: 30px;
}
@media screen and (max-width:540px) {
.hero-card {
    top: 370px;
}
}

.hero-card-product {
    width: 75px;
    height: 64px;
    margin-bottom: 10px;
}

.hero-card-title {
    font-size: 52px;
    font-weight: 700;
    color: #3b3978;
    margin-bottom: 5px;
}

.hero-card-title-sub {
    font-size: 24px;
    font-weight: 700;
    color: #3b3978;
    margin-left: 10px;
}

.hero-card-subtitle {
    font-size: 20px;
    font-weight: 500;
    color: #3b3978;
    margin-bottom: 30px;
}

.xolair-brand-title {
    text-align: center;
    margin-bottom: 10px;
    line-height: 1;
    padding-left: 40px;
    position: relative;
}
.xolair-brand-title::before {
    position: absolute;
    content: "";
    width: 74px;
    height: 64px;
    top: 55%;
    transform: translateY(-50%);
    left: -10px;
    background: url(../img/injection-image.png) no-repeat center/100%;
}
 
.xolair-brand-name {
    font-size: 52px;
    font-weight: 700;
    color: #3b3978;
}
@media screen and (max-width:540px) {
    .xolair-brand-name {
        font-size: 45px;
    }
}
 
.xolair-brand-suffix {
    font-size: 24px;
    font-weight: 700;
    color: #3b3978;
}

.xolair-brand-subtitle {
    text-align: center;
    font-size: 20px;
    line-height: 1.2;
    font-weight: 500;
    color: #3b3978;
    margin-bottom: 25px;
}

.feature-list {
    list-style: none;
    margin-bottom: 30px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 5px;
}

.check-icon {
    width: 24px;
    height: 24px;
    color: #e06a3f;
    flex-shrink: 0;
    margin-top: 5px;
}

.feature-text-highlight {
    color: #e06a3f;
    font-size: 20px;
    font-weight: 500;
}

.feature-text-normal {
    color: #3b3978;
    font-size: 16px;
    font-weight: 500;
}

.hero-note {
    text-align: center;
    color: #3b3978;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 5px;
}

.cta-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 246px;
    height: 58px;
    gap: 10px;
    padding-left: 15px;
    background: #e06a3f;
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 3px 4.6px rgba(0, 0, 0, 0.25), 0 0 4px rgba(0, 0, 0, 0.25);
    margin: 0 auto 10px;
}

.cta-button:hover {
    background: #c85a35;
}

.disclaimer {
    text-align: center;
    font-size: 15px;
    color: #3b3978;
}

/* セクション共通 */
.section {
    padding: 30px 21px;
}

.section-bg-gray {
    background: #f5f4f3;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    color: #3b3978;
    text-align: center;
    margin-bottom: 8px;
}

.section-title-small {
    font-size: 24px;
}

.section-line {
    width: 43px;
    height: 1px;
    background: #3b3978;
    margin: 0 auto 24px;
}

.section-description {
    font-size: 16px;
    color: #3b3978;
    text-align: center;
    margin-bottom: 24px;
    line-height: 1.8;
}

/* 症状カード */
.symptom-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px;
    background: #f5f4f3;
    border: 1px solid #e2e1ed;
    border-radius: 14px;
    margin-bottom: 18px;
}

.symptom-icon {
    width: 28px;
    height: 28px;
    color: #3b3978;
    flex-shrink: 0;
}

.symptom-text {
    font-size: 18px;
    font-weight: 500;
    color: #3b3978;
    line-height: 1.4;
}

.emphasis-box {
    background: #3b3978;
    color: white;
    padding: 11px 20px;
    border-radius: 14px;
    text-align: center;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.7;
    margin-top: 18px;
}
@media screen and (max-width:400px) {
.emphasis-box {
    font-size: 15px;
}
}

/* 治療オプション */
.treatment-box {
    background: #f7f7f7;
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 48px;
}

.treatment-box-title {
    font-size: 22px;
    font-weight: 700;
    color: #3b3978;
    text-align: center;
    margin-bottom: 24px;
}

.treatment-card {
    background: white;
    border: 1px solid #e2e1ed;
    border-radius: 14px;
    padding: 19px;
    margin-bottom: 20px;
}

.treatment-card:last-child {
    margin-bottom: 0;
}

.treatment-title {
    font-size: 20px;
    font-weight: 700;
    color: #3b3978;
    line-height: 1;
    margin-bottom: 12px;
}

@media screen and (max-width:400px) {
    .treatment-title {
        font-size: 17px;
    }
}

.treatment-category {
    font-size: 14px;
    font-weight: 500;
    color: #63abd7;
    margin-bottom: 12px;
}

.treatment-detail {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.badge {
    display: inline-block;
    padding: 2px 12px;
    border-radius: 12px;
    font-size: 13px;
    color: white;
    font-weight: 400;
    min-width: 50px;
}

.badge-effect {
    background: #3b3978;
}

.badge-caution {
    background: #e06a3f;
}

.detail-text {
    font-size: 14px;
    color: #3b3978;
}

.detail-text-gray {
    color: #918fa4;
}

/* 新しい選択肢 */
.new-treatment {
    text-align: center;
    margin-top: 48px;
}

.new-treatment img {
    margin: 35px auto 35px;
    width: 215px;
    height: auto;
    background-repeat: no-repeat;       
}

.new-badge {
    display: inline-block;
    background: #ff6b6b;
    color: white;
    padding: 12px 56px;
    border-radius: 8px;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 48px;
}

.xolair-card {
    background: #3b3978;
    border-radius: 24px;
    padding: 40px;
    color: white;
    margin-top: -75px;
    box-shadow: 0 4.73px 4.73px #d9d9d9;
}

.xolair-title {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 8px;
}
@media screen and (max-width:400px) {
    .xolair-title {
        font-size: 18px;
    }
}

.xolair-title-large {
    font-size: 40px;
}

.xolair-generic {
    font-size: 11px;
    line-height: 1;
    text-align: right;
    padding-right: 13px;
    margin-bottom: 25px;
}

.xolair-description {
    font-size: 16px;
    line-height: 1.65;
    margin-bottom: 12px;
    text-align: left;
}

.xolair-note {
    font-size: 12px;
    color: #d9ecf9;
    text-align: center;
}

/* 治療の流れ */
.flow-step {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 40px;
}

.flow-step:last-child {
    margin-bottom: 0;
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background: #3b3978;
    border-radius: 50%;
    color: white;
    font-size: 23px;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
    background: white;
    border: 1px solid #e2e1ed;
    border-radius: 14px;
    padding: 23px;
    min-height: 70px;
    display: flex;
    align-items: center;
}

.step-text {
    font-size: 18px;
    font-weight: 700;
    color: #3b3978;
}

.arrow-down {
    position: absolute;
    left: 60%;
    transform: translateX(-60%);
    bottom: -28px;
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-top: 14px solid #3b3978;
}

.time-card {
    background: #d9ecf9;
    border: 1px solid #e2e1ed;
    border-radius: 16px;
    padding: 22px;
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 32px 0;
}

.time-label {
    color: #3b3978;
}

.clock-icon {
    width: 24px;
    height: 24px;
    color: #3b3978;
    flex-shrink: 0;
}

.time-text {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.5;
}

.time-highlight {
    color: #e06a3f;
}

.time-temp {
    color: #ff0000;
}

.note-list {
    list-style: none;
}

.note-item {
    font-size: 14px;
    color: #3b3978;
    margin-bottom: 8px;
}

.flow-section-inner {
    margin-top: 30px;
}

/* 費用セクション */
.price-card {
    background: #f5f4f3;
    border: 1px solid #e2e1ed;
    border-radius: 23px;
    padding: 40px 36px 32px;
    text-align: center;
    margin-bottom: 56px;
}

.price-label {
    font-size: 32px;
    font-weight: 700;
    color: #3b3978;
    margin-bottom: 10px;
}

.price-amount {
    font-size: 48px;
    font-weight: 700;
    color: #e06a3f;
    line-height: 1;
}

.price-currency {
    font-size: 32px;
    color: #3b3978;
}

.price-tax {
    font-size: 32px;
    font-weight: 700;
    color: #3b3978;
    margin: 10px 0 28px;
}

.price-notes {
    text-align: left;
}

.price-note {
    font-size: 15px;
    color: #3b3978;
    margin-bottom: 10px;
}

/* 安全性セクション */
.safety-card {
    background: #f5f4f3;
    border: 1px solid #e2e1ed;
    border-radius: 14px;
    padding: 28px;
    margin-bottom: 56px;
}

.safety-subtitle {
    font-size: 16px;
    font-weight: 700;
    color: #3b3978;
    margin-bottom: 20px;
}

.safety-text {
    font-size: 16px;
    color: #3b3978;
    line-height: 1.65;
    margin-bottom: 15px;
}

.safety-text:last-child {
    margin-bottom: 0;
}

/* 注意事項 */
.notice-item {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #f5f4f3;
    border: 1px solid #e2e1ed;
    border-radius: 14px;
    padding: 18px 20px;
    margin-bottom: 14px;
}

.notice-dot {
    width: 7px;
    height: 7px;
    background: #3b3978;
    border-radius: 50%;
    flex-shrink: 0;
}

.notice-text {
    font-size: 16px;
    color: #3b3978;
    line-height: 1.55;
}

/* CTA セクション */
.cta-section {
    background: #f5f4f3;
    padding: 56px 20px;
    text-align: center;
}

.cta-title {
    font-size: 28px;
    font-weight: 700;
    color: #3b3978;
    margin-bottom: 32px;
}

.cta-description {
    font-size: 16px;
    color: #3b3978;
    line-height: 1.8;
    margin-bottom: 32px;
}

@media screen and (max-width:400px) {
    .cta-description {
        font-size: 14px;
    }
}

.cta-button-large {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 250px;
    padding: 6px 16px;
    padding-left: 35px;
    height: 58px;
    background: #e06a3f;
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 0 4px rgba(0,0,0,0.25), 0 4px 4px rgba(0,0,0,0.25);
}

.cta-button-large:hover {
    background: #d05a2f;
}

.cta-arrow {
    font-weight: 900;
}

/* Footer */
#footer {
  background-color: #3b3978;
  padding: 2.5rem 2rem 7rem;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}
@media screen and (max-width:540px) {
  #footer.footer {
    padding-bottom: 120px;
  }
}
.footer .footer-nav {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
}
.footer .footer-nav a {
    color: white;
    text-decoration: none;
    font-size: 0.875rem;
    transition: opacity 0.2s;
    text-align: center;
}
.footer .footer-nav a:hover {
  opacity: 0.8;
}
.footer .copyright {
  color: white;
  font-size: 0.875rem;
}
@media screen and (max-width:540px) {
  .footer .copyright {
    font-size: 12px;
  }
}


.fixed__btn {
  position: fixed;
  width: 100%;
  right: 18%;
  bottom: 0;
  z-index: 998;
  padding: 25px 0;
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 23px;
  transform: translateX(50%);
}
@media screen and (max-width:1024px) {
  .fixed__btn {
    padding: 20px;
  }
}
@media screen and (max-width:540px) {
  .fixed__btn {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    gap: 7px;
    right: 50%;
  }
}
.fixed__btn a {
  display: block;
  width: 450px;
  text-decoration: none;
  text-align: center;
}
.fixed__btn a.cta-btn {
    background: #e06a3f;
    border: none;
    border-radius: 64px;
    padding: 20px 60px;
    font-family: "Noto Serif JP", Helvetica;
    font-weight: 900;
    font-size: 26px;
    color: #ffffff;
    cursor: pointer;
    display: block;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.25), 0 4px 4px rgba(0, 0, 0, 0.25); 
}
@media screen and (max-width:540px) {
  .fixed__btn a.cta-btn {
    font-size: 25px;
    padding: 20px 0;
  }
}
.fixed__btn a.cta-btn:hover {
  opacity: 0.9;
}

main.screen {
    max-width: 440px;
}

main.under-page {
  padding: 208px 0 120px;
  min-height: calc(100vh - 80px);
}
@media screen and (max-width:540px) {
  main.under-page {
    padding: 166px 0 80px;
  }
}
main.under-page h1 {
  font-size: 32px;
  font-weight: bold;
  color: #3b3978;
  text-align: center;
  margin-bottom: 64px;
}
main.product {
  max-width: 1200px;
  width: 90%;
  margin: 0 auto;
}
main.product .pricing-section {
  display: flex;
  align-items: center;
  gap: 40px;
  width: 100%;
  flex-direction: row;
  padding: 0 0 120px;
}
@media screen and (max-width:540px) {
  main.product .pricing-section {
    flex-wrap: wrap;
    padding-bottom: 80px;
  }
}
main.product .pricing-section img.product-image {
  width: 400px;
}
@media screen and (max-width:768px) {
  main.product .pricing-section img.product-image {
    width: 250px;
  }
}
@media screen and (max-width:540px) {
  main.product .pricing-section img.product-image {
    width: 100%;
  }
}
main.product .pricing-section .product-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}
main.product .pricing-section .product-info h2.product-title {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  color: #3b3978;
  font-size: 24px;
  line-height: normal;
}
main.product .pricing-section .product-info p.product-description {
  font-family: "Noto Sans JP", sans-serif;
  color: #3b3978;
  font-size: 16px;
}
@media screen and (max-width:540px) {
  main.product .pricing-section .product-info p.product-description {
    font-size: 15px;
  }
}
main.product .pricing-section .product-info .price-info {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
}
main.product .pricing-section .product-info .price-info span.price-badge {
  border: 1px solid #3b3978;
  color: #3b3978;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-size: 16px;
  padding: 4px 12px;
  border-radius: 4px;
  background: transparent;
}
main.product .pricing-section .product-info .price-info span.current-price {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  color: #3b3978;
  font-size: 20px;
  white-space: nowrap;
}
main.product .pricing-section .product-info .price-info span.original-price {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  color: #e06a3f;
  font-size: 16px;
  text-decoration: line-through;
  white-space: nowrap;
}
main.product {
  /* 使用方法セクション */
}
main.product .usage-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 0;
  width: 100%;
}
main.product .usage-section .instruction-card {
  display: flex;
  align-items: stretch;
  width: 100%;
  background: transparent;
}
@media screen and (max-width:540px) {
  main.product .usage-section .instruction-card {
    display: block;
    margin-bottom: 12px;
  }
}
main.product .usage-section .instruction-card .instruction-label {
  display: flex;
  width: 160px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 24px 32px;
  background-color: #e2e1ee;
  border-radius: 30px 0px 0px 0px;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  color: #3b3978;
  font-size: 16px;
  line-height: 26px;
  white-space: nowrap;
}
@media screen and (max-width:540px) {
  main.product .usage-section .instruction-card .instruction-label {
    width: 100%;
  }
}
main.product .usage-section .instruction-card .instruction-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 10px;
  padding: 40px 32px;
  flex: 1;
  background-color: white;
  border-radius: 0px 0px 30px 0px;
  border-right: 2px solid #e2e1ee;
  border-bottom: 2px solid #e2e1ee;
  font-family: "Noto Sans JP", sans-serif;
  color: #3b3978;
  font-size: 16px;
  line-height: 26px;
}
@media screen and (max-width:540px) {
  main.product .usage-section .instruction-card .instruction-content {
    padding: 32px 20px;
    font-size: 15px;
  }
}
main.privacy-policy .content {
  max-width: 1200px;
  width: 90%;
  margin: 0 auto;
}
main.privacy-policy ol {
  margin-left: 20px;
  margin-bottom: 16px;
}
main.privacy-policy ol.policy-text {
  font-size: 15px;
  line-height: 1.5;
  color: #3b3978;
  margin-bottom: 32px;
}
main.privacy-policy ol.policy-text li {
  margin-bottom: 16px;
}
main.privacy-policy ol.policy-text li strong {
  font-weight: bold;
  color: #3b3978;
  font-size: 16px;
}
main.privacy-policy ol > li > ol {
  padding-top: 16px;
  list-style-type: lower-alpha;
}
main.privacy-policy ol > li > ol > li > ol {
  padding-top: 16px;
  list-style-type: lower-roman;
}
main table.contact-table {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  border-collapse: collapse;
  border: 2px solid #f5f4f3;
}
main table.contact-table td {
  border: 2px solid #f5f4f3;
  vertical-align: center;
}
main table.contact-table td.contact-label {
  width: 280px;
  padding: 1.5rem 2rem;
  background-color: #f5f4f3;
  font-weight: 500;
  color: #3b3978;
  font-size: 15px;
  text-align: center;
}
main table.contact-table td.contact-content {
  padding: 2.5rem 2rem;
  background-color: white;
  color: #3b3978;
  font-size: 15px;
  line-height: 1.73;
  white-space: pre-line;
}
main table.contact-table {
display: block;
border: none;
}
main table.contact-table td {
display: block;
width: 100%;
}
main table.contact-table td.contact-label {
width: 100%;
padding: 20px;
}
main table.contact-table td.contact-content {
font-size: 14px;
margin-bottom: 10px;
padding: 24px 20px;
}
main.contact {
  max-width: 1200px;
  width: 85%;
  margin: 0 auto;
  padding: 128px 0;
  /* Contact Form */
}
main.contact .contact-form {
  width: 100%;
  background-color: #f5f4f3;
  padding: 8px 0;
}
main.contact .contact-form .form-row {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 4px 8px;
  min-height: 60px;
}
main.contact .contact-form .form-row {
flex-wrap: wrap;
gap: 0px 24px;
justify-content: space-between;
padding: 4px 12px;
}
main.contact .contact-form .form-row .form-label {
  width: 240px;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

main.contact .contact-form .form-row .form-label {
text-align: left;
justify-content: flex-start;
padding-left: 15px;
align-items: center;
}

@media screen and (max-width:380px) {
  main.contact .contact-form .form-row .form-label {
    width: 180px;
    padding-left: 0;
  }
}
main.contact .contact-form .form-row .form-label label {
  font-size: 15px;
  color: #3b3978;
  text-align: center;
  white-space: nowrap;
}
main.contact .contact-form .form-row .required-badge {
  background-color: #e06a3f;
  color: white;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 500;
  line-height: 26px;
  min-width: 40px;
  text-align: center;
}
main.contact .contact-form .form-row .required-badge.optional {
  opacity: 0;
}
main.contact .contact-form .form-row .form-input {
  flex: 1;
  background-color: white;
  padding: 16px 32px;
}
main.contact .contact-form .form-row .form-input {
width: 100%;
padding: 16px;
padding-bottom: 12px;
}
main.contact .contact-form .form-row .form-input input, main.contact .contact-form .form-row .form-input textarea {
  width: 100%;
  border: none;
  background: transparent;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 15px;
  color: #181c20;
  outline: none;
  resize: none;
}
main.contact .contact-form .form-row .form-input input::-moz-placeholder, main.contact .contact-form .form-row .form-input textarea::-moz-placeholder {
  color: #918fa4;
}
main.contact .contact-form .form-row .form-input input::placeholder, main.contact .contact-form .form-row .form-input textarea::placeholder {
  color: #918fa4;
}
main.contact .error {
  color: #e74c3c;
  font-size: 14px;
  margin-top: 5px;
}
main.contact .error input, main.contact .error textarea {
  border: 2px solid #e74c3c;
}
main.contact .error-messages {
  background-color: #fff5f5;
  border: 1px solid #fed7d7;
  color: #e53e3e;
  padding: 15px;
  margin-bottom: 20px;
  border-radius: 4px;
}
main.contact .error-messages p {
  margin: 5px 0;
}
main.contact {
  /* Form Footer */
}
main.contact .form-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  padding: 0 120px;
  margin-top: 64px;
}

  main.contact .form-footer {
    padding: 0;
  }

main.contact .form-footer {
  /* Checkbox */
}
main.contact .form-footer .checkbox-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

  main.contact .form-footer .checkbox-container {
    flex-wrap: wrap;
  }

main.contact .form-footer .checkbox-container input[type=checkbox] {
  width: 16px;
  height: 16px;
  accent-color: #3b3978;
}
main.contact .form-footer .checkbox-container label {
  font-size: 16px;
  font-weight: 500;
  color: #3b3978;
  white-space: nowrap;
}
main.contact .form-footer button.submit-btn {
  background-color: #3b3978;
  color: white;
  border: none;
  border-radius: 24px;
  padding: 8px 40px;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 18px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
main.contact .form-footer button.submit-btn:hover {
  background-color: rgba(59, 57, 120, 0.9);
}
main.contact .form-footer button.submit-btn:disabled {
  background-color: #bdc3c7;
  cursor: not-allowed;
}
main.contact .thanks-container {
  max-width: 630px;
  width: 90%;
  margin: 0 auto;
}

  main.contact .thanks-container {
    width: 100%;
  }

main.contact .thanks-container .thanks-message {
  line-height: 1.8;
  margin-bottom: 50px;
}
main.contact .thanks-container .thanks-message p {
  font-size: 15px;
}
main.contact .thanks-container .btn-home {
  display: block;
  padding: 12px 30px;
  background-color: #3B3978;
  color: white;
  text-decoration: none;
  border-radius: 100px;
  font-size: 16px;
  transition: background-color 0.3s;
  width: 50%;
  margin: 0 auto;
  text-align: center;
}

  main.contact .thanks-container .btn-home {
    width: 80%;
  }

main.contact .thanks-container .btn-home:hover {
  background-color: #4d4a9e;
  color: white;
  text-decoration: none;
}
main.contact .confirm-container p {
  text-align: center;
  margin-bottom: 50px;
}
main.contact .confirm-container .confirm-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 30px;
}
main.contact .confirm-container .confirm-table th, main.contact .confirm-container .confirm-table td {
  padding: 15px;
  border-bottom: 1px solid #ddd;
  text-align: left;
}
main.contact .confirm-container .confirm-table th {
  background-color: #f8f9fa;
  width: 30%;
  font-weight: bold;
}
main.contact .confirm-container .confirm-table td {
  width: 70%;
}
main.contact .confirm-container .button-group {
  text-align: center;
  margin-top: 30px;
  display: flex;
  justify-content: center;
  gap: 20px;
}
main.contact .confirm-container .button-group .btn {
  display: inline-block;
  padding: 12px 30px;
  margin: 0 10px;
  border: none;
  border-radius: 100px;
  font-size: 16px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.3s;
}

  main.contact .confirm-container .button-group .btn {
    display: block;
    margin: 0;
  }


  main.contact .confirm-container .button-group .btn {
    font-size: 14px;
    padding: 12px 20px;
  }

main.contact .confirm-container .button-group .btn:disabled {
  background-color: #bdc3c7;
  cursor: not-allowed;
}
main.contact .confirm-container .button-group .btn.btn-primary {
  background-color: #3B3978;
  color: white;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
}
main.contact .confirm-container .button-group .btn.btn-primary:hover {
  background-color: #4d4a9e;
}
main.contact .confirm-container .button-group .btn.btn-secondary {
  background-color: #6c757d;
  color: white;
}
main.contact .confirm-container .button-group .btn.btn-secondary:hover {
  background-color: #545b62;
}
main.contact .error-container {
  text-align: center;
  max-width: 600px;
  margin: 50px auto;
  padding: 40px 20px;
  background-color: #fff5f5;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border: 2px solid #fed7d7;
}
main.contact .error-container .error-title {
  color: #e53e3e;
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
}
main.contact .error-container .error-message {
  line-height: 1.8;
  margin-bottom: 30px;
  color: #333;
}
main.contact .error-container .btn-group {
  margin-top: 30px;
}
main.contact .error-container .btn-group .btn {
  display: inline-block;
  padding: 12px 30px;
  margin: 0 10px;
  text-decoration: none;
  border-radius: 4px;
  font-size: 16px;
  transition: background-color 0.3s;
}

  main.contact .error-container .btn-group .btn {
    display: block;
  }

main.contact .error-container .btn-group .btn.btn-retry {
  background-color: #3B3978;
  color: white;
}
main.contact .error-container .btn-group .btn.btn-retry:hover {
  background-color: #0056b3;
  color: white;
  text-decoration: none;
}

  main.contact .error-container .btn-group .btn.btn-retry {
    margin-bottom: 10px;
  }

main.contact .error-container .btn-group .btn.btn-home {
  background-color: #6c757d;
  color: white;
}
main.contact .error-container .btn-group .btn.btn-home:hover {
  background-color: #545b62;
  color: white;
  text-decoration: none;
}