/* ===================================
   Reset & Base Styles
   =================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  font-family:
    "Inter", "Noto Sans JP", "Helvetica Neue", "Arial",
    "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Meiryo", sans-serif;
  line-height: 1.6;
  color: #333;
  background: linear-gradient(135deg, #3a63ea 100%, #1e42c6 100%);
}

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

button {
  font-family: "Noto Sans JP", "Inter", sans-serif;
  cursor: pointer;
  border: none;
}

/* ===================================
   inner
   =================================== */
.inner {
  /*max-width: 1200px !important;*/ /* コンテンツの最大幅を1200pxに制限 */
  max-width: 1080px !important; /* コンテンツの最大幅を1200pxに制限 */
  width: 100% !important; /* 画面幅が1200px未満のときは画面に合わせる */
  margin-left: auto !important; /* 左右中央寄せ */
  margin-right: auto !important; /* 左右中央寄せ */
  padding-left: 20px !important; /* 画面が狭くなったときの左右の最低限の余白 */
  padding-right: 20px !important; /* 画面が狭くなったときの左右の最低限の余白 */
  box-sizing: border-box !important; /* パディングを含めた幅計算にする */
}

/* ===================================
   Typography
   =================================== */

h1 {
  font-weight: bold;
}

h2 {
  font-size: 32px;
}

h3 {
  font-size: 20px;
}

p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 16px;
}

.section-title {
  font-size: 28px;
  font-weight: 700;
  color: #12245f;
  text-align: center;
}

/* ===================================
   Header
   =================================== */
.header {
  background-color: #12245f;
  color: white;
  position: sticky;
  /*padding-top: 16px;
  padding-bottom: 16px;*/
  z-index: 100;
  outline: 1px solid #12245f;
  outline-offset: -1px;
}

/*
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
  */

.header__logo {
  font-size: 11px;
  font-weight: bold;
  color: white;
  padding-top: 20px;
  padding-bottom: 20px;
}

/* ===================================
   main
   =================================== */
.main {
  background: linear-gradient(135deg, #3a63ea 100%, #1e42c6 100%);
}

.main_container {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas:
    "hero"
    "hero__image"
    "features"
    "cta-section";
  gap: 20px;
}

/* ===================================
   Hero Section
   =================================== */

.hero {
  color: white;
  grid-area: hero;
}

.hero_container {
  padding-top: 25px;
}

.hero_heading {
  display: inline-block;
  padding-top: 2px;
  padding-bottom: 6px;
  line-height: 1.24;
  font-size: 17px;
  font-weight: 800;
  border-bottom: 2px solid #ffffff;
}

.hero__title {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 10px;
  line-height: 1.4;
}

.hero__subtitle {
  font-size: 13px;
  margin-bottom: 0;
  line-height: 1.75;
  opacity: 0.95;
}

/* ===================================
   hero__image Section
   =================================== */
.hero__iamge {
  grid-area: hero__image;
}

.hero__image-placeholder {
  width: 100%;
  height: 200px;
  object-fit: contain;
}

/* ===================================
   Features Section
   =================================== */

.features {
  padding-top: 5px;
  padding-bottom: 5px;
  grid-area: features;
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.feature-card {
  background-color: white;
  border-radius: 12px;
  height: 80px;
  text-align: center;
  box-shadow: 0 2px 8px brgba(0, 0, 0, 0.05);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

/*
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}
*/

.feature-card__previous {
  font-size: 10px;
  margin-top: 12px;
}

.feature-card__title {
  font-size: 18px;
  font-weight: 800;
  color: #12245f;
}

/* ===================================
   CTA Section
   =================================== */

.cta-section {
  padding-bottom: 10px;
  grid-area: cta-section;
}

.cta-container {
  background-color: #12245f;
  border-radius: 12px;
  height: 85px;
  width: 100%;
  text-align: center;
  /*box-shadow: 0 2px 8px brgba(0, 0, 0, 0.05);*/
}

.cta-container:hover {
  background-color: #12245f;
  transform: translateY(-2px);
  box-shadow: 0 2px 8px brgba(0, 0, 0, 0.05);
}

.cta-text {
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
  padding-top: 20px;
  margin-bottom: 2px;
}

.cta-subtext {
  font-size: 11px;
  color: #ffffff;
}

.cta-comment {
  font-size: 12px;
  color: #ffffff;
  padding-top: 5px;
  padding-bottom: 1px;
  text-align: center;
}

/* ===================================
   About NEOBANK Section
   =================================== */

.about-neobank {
  background-color: #fff;
  padding-top: 20px;
  padding-bottom: 25px;
}

.deals-title {
  font-size: 19px;
  font-weight: bold;
  color: #0d2659;
  padding-bottom: 20px;
}

.benefits-list {
  list-style: none;
  margin-bottom: 10px;
  padding: 0;
}

.benefits-list__item {
  padding: 10px 18px; /* 線で囲むため、上下左右の内側余白のバランスを調整 */
  padding-left: 36px; /* 青い丸と文字が被らないように、左側の余白を少し広げる */
  position: relative;
  font-size: 14px;

  /* 項目を囲む枠線の設定 */
  border: 1px solid #cccccc;
  border-radius: 6px;
  margin-bottom: 12px; /* 項目ごとの隙間 */
}

.benefits-list__item::before {
  content: "";
  position: absolute;
  left: 16px; /* 枠線の内側（padding）に合わせて、〇の左位置を固定 */
  top: 18px; /* 〇が上下中央に見える位置に調整（文字サイズ14px、padding10pxの場合、18pxあたりが綺麗です） */
  width: 8px;
  height: 8px;
  background-color: #1c59a8;
  border-radius: 50%;
}

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

.link-underline {
  color: #4c7fff;
  font-size: 14px;
  text-decoration: underline;
  display: inline-block;
  margin-top: 5px;
}

/* ===================================
   Attractions Section
   =================================== */
.attractions {
  background-color: #f4f7fe;
  padding-top: 20px;
  padding-bottom: 35px;
}

.attractions-title {
  font-size: 22px;
  padding-bottom: 20px;
}

.attractions__grid {
  display: grid;
  gap: 8px;
}

.attraction-card {
  display: grid;
  grid-template-columns: 80px 1fr;
  background-color: white;
  border-radius: 12px;
  padding: 20px 15px;
  text-align: start;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  align-items: start;
}

.attraction-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  width: 70px;
  height: auto;
  background-color: transparent;
  font-size: 24px;
  font-weight: 700;
  margin-left: 0;
  margin-right: auto;
}

.attraction-card__icon img {
  width: 100%;
  height: auto;
  object-fit: contain; /* 画像を歪ませずに全体を表示 */
}

.attraction-card__content {
  display: flex;
  flex-direction: column;
  gap: 4px; /* タイトルや説明文の縦間隔 */
}

.attraction-card__title {
  font-size: 15px;
  font-weight: 600;
  color: #12245f;
  margin-bottom: 8px;
}

.attraction-card__description {
  font-size: 12px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 8px;
}

.link-text {
  color: #4c7fff;
  font-size: 12px;
  text-decoration: underline;
  display: inline-block;
}

.link_text_display {
  color: #9aa3b2;
  font-size: 9.2px;
  margin-bottom: 2px;
}

/* ===================================
   Application Flow Section
   =================================== */
.application-main {
  background-color: #fff;
  padding-top: 10px;
  padding-bottom: 10px;
}

.application-title {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 5px;
}

.application-description {
  font-size: 12px;
  color: #555555;
}

.application-flow {
  padding-top: 20px;
  padding-bottom: 30px;
  background-color: #f4f7fe;
}

.application-flow-title {
  font-size: 22px;
  font-weight: 600;
  padding-bottom: 20px;
}

.flow-steps {
  display: grid;
  gap: 8px;
}

.flow-step-card {
  background-color: white;
  border-radius: 12px;
  padding: 20px 15px;
  text-align: start;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.flow-step__title {
  display: flex;
  text-align: flex-start;
}

.flow-step__number {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 25px;
  height: 25px;
  background-color: #1746ff;
  border-radius: 50%;
  color: white;
  font-size: 13px;
  font-weight: 600;
  margin-right: 5px;
  flex-shrink: 0;
}

.flow-step__text {
  font-size: 16px;
  font-weight: 600;
  color: #12245f;
  margin-bottom: 0px;
}

.flow-step__image-placeholder {
  background-color: #fff;
  margin: 16px 0;
  text-align: center;
}

.flow-step__image-placeholder img {
  height: 180px;
  width: auto;
  object-fit: cover;
}

.flow-step__description {
  font-size: 13px;
  color: #666;
  line-height: 1.5;
  margin-bottom: 5px;
}

/* ===================================
   Recommendations Section
   =================================== */

.recommendations {
  background-color: #fff;
  padding-top: 10px;
  padding-bottom: 15px;
}

.recommendations-title {
  font-size: 22px;
  margin-bottom: 20px;
}

.recommendation-list {
  list-style: none;
  margin-bottom: 10px;
  padding: 0;
}

.recommendation-list__item {
  text-align: center;
  border: 1px solid #cccccc;
  border-radius: 6px;
  margin-bottom: 12px;
  padding: 12px 0;
  font-size: 14px;
}

/* ===================================
   Buttons
   =================================== */

.btn {
  padding: 16px 24px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s ease;
  display: inline-block;
  text-align: center;
  white-space: normal;
  line-height: 1.4;
}

.btn--primary {
  background-color: #12245f;
  width: 100%;
  padding: 20px 24px;
}

.btn--primary:hover {
  background-color: #0d1845;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(18, 36, 95, 0.2);
}

.btn--outline {
  background-color: white;
  color: #333;
  border: 1px solid #ddd;
  padding: 16px 20px;
}

.btn--outline:hover {
  background-color: #f9f9f9;
  border-color: #12245f;
  color: #12245f;
}

/* ===================================
   No Account CTA Section
   =================================== */

.no-account-cta {
  background-color: #e9f0fd;
  text-align: center;
}

.no-account-cta .section-title {
  font-size: 18px;
  padding-top: 10px;
  margin-bottom: 10px;
}

.cta-description {
  font-size: 12px;
  color: #555;
  margin-bottom: 10px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-btn_text {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 5px;
}

.cta-btn_subtext {
  font-size: 12px;
  color: #fff;
  margin-bottom: 0px;
}

.cta__links {
  list-style: none;
  justify-content: center;
  padding-top: 10px;
  padding-bottom: 10px;
}

.cta__links li {
  margin-bottom: 5px;
}

.cta__links a {
  color: #1746ff;
  font-size: 12px;
  font-weight: 600;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.cta__links a:hover {
  color: #12245f;
}

.precautions {
  background-color: #fff;
  padding-top: 10px;
  padding-bottom: 10px;
}

.precautions__text {
  font-size: 10px;
  color: #777;
  margin-bottom: 0;
}

/* ===================================
   Footer
   =================================== */

.footer {
  background-color: #12245f;
  padding-top: 10px;
  padding-bottom: 15px;
}

.nh-footer > .inner {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.footer__disclaimer {
  font-size: 10px;
  color: #fff;
  line-height: 1.5;
  margin-bottom: 0;
}

/* ===================================
   Responsive Design (782px breakpoint PC版)
   =================================== */

@media screen and (min-width: 782px) {
  html {
    margin-top: 0 !important;
  }
  .section-title {
    font-size: 34px;
  }

  .main_container {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    grid-template-areas:
      "hero hero__image"
      "features hero__image"
      "cta-section hero__image";
    gap: 10px;
    align-items: center;
  }

  /* ===================================
   Header（PC）
   =================================== */
  .header__logo {
    font-size: 15px;
  }

  /* ===================================
   Hero Section（PC）
   =================================== */
  .hero {
    grid-area: hero;
  }

  .hero_heading {
    font-size: 22px;
  }

  .hero__title {
    font-size: 37px;
    padding-top: 20px;
  }

  .hero__subtitle {
    font-size: 18px;
  }

  /* ===================================
   Features Section（PC）
   =================================== */
  .feature-card__previous {
    font-size: 14px;
  }

  .feature-card__title {
    font-size: 22px;
  }

  /* ===================================
   hero__image Section（PC）
   =================================== */
  .hero__image {
    grid-area: hero__image;
    display: flex;
    align-items: center; /* これで垂直方向中央寄せ */
    justify-content: center;
    overflow: hidden;
  }

  .hero__image-placeholder {
    height: auto;
    width: 100%;
    max-height: 500px;
    object-fit: contain;
  }

  /* ===================================
   Features Section（PC）
   =================================== */
  .features {
    grid-area: features;
  }

  /* ===================================
   CTA Section（PC）
   =================================== */
  .cta-section {
    grid-area: cta-section;
  }

  .cta-text {
    font-size: 20px;
    padding-top: 10px;
  }

  .cta-subtext {
    font-size: 14px;
  }

  .cta-comment {
    font-size: 14px;
    padding-top: 5px;
  }

  /* ===================================
   About NEOBANK Section
   =================================== */
  .about-neobank {
    background-color: #fff;
  }

  .deals-title {
    text-align: center;
    font-size: 24px;
  }

  .benefits-list {
    display: flex;
    gap: 10px;
  }

  .benefits-list__item {
    flex: 1;
    font-size: 16px;
    padding-right: 5px;
  }

  .link-underline {
    font-size: 16px;
  }

  /* ===================================
   Attractions Section
   =================================== */
  .attractions-title {
    font-size: 34px;
  }

  .attractions__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .attraction-card {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 100px 1fr;
    text-align: center;
    align-items: start;
    justify-items: center;
  }

  .attraction-card__icon {
    height: 100px;
    width: 100px;
    margin-bottom: 20px;
    margin-right: auto;
    margin-left: auto;
  }

  .attraction-card__title {
    font-size: 20px;
  }

  .attraction-card__description {
    text-align: start;
    font-size: 16px;
  }

  .link-text {
    font-size: 16px;
  }

  .link_text_display {
    font-size: 12px;
  }

  /* ===================================
   Application Flow Section
   =================================== */
  .application-main {
    padding-top: 15px;
    padding-bottom: 10px;
  }

  .application-title {
    font-size: 34px;
  }

  .application-title br {
    display: none;
  }

  .application-description {
    text-align: center;
    font-size: 16px;
  }
  .application-flow-title {
    font-size: 34px;
    padding-top: 10px;
    padding-bottom: 20px;
  }

  .flow-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
  }

  .flow-step-card {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto minmax(0, 1fr);
    height: 100%;
    grid-template-areas:
      "flow-step__image-placeholder"
      "flow-step__title"
      "flow-step__description";
    gap: 5px;
    min-width: 0;
  }

  .flow-step__title {
    grid-area: flow-step__title;
    display: flex;
    /*align-items: center;*/
    align-items: flex-start;
  }

  .flow-step__number {
    margin-top: 5px;
  }

  .flow-step__text {
    font-size: 18px;
  }

  .flow-step__description {
    font-size: 16px;
  }

  .flow-step__image-placeholder {
    grid-area: flow-step__image-placeholder;
    width: 100%;
  }

  .flow-step__image-placeholder img {
    width: 100% !important;
    height: 100% !important;
    aspect-ratio: 4 / 3;
    object-fit: contain;
    display: block;
  }

  .flow-step__description {
    grid-area: flow-step__description;
    word-break: break-all;
  }

  /* ===================================
   Recommendations Section
   =================================== */

  .recommendations {
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .recommendation-list {
    display: flex;
    gap: 10px;
  }

  .recommendation-list__item {
    flex: 1;
    font-size: 16px;
  }

  /* ===================================
   No Account CTA Section
   =================================== */
  .no-account-cta {
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .no-account-cta br {
    display: none;
  }

  .no-account-cta .section-title {
    font-size: 34px;
  }

  .cta-description {
    font-size: 16px;
  }

  .cta__links {
    display: flex;
    gap: 50px;
    padding-top: 20px;
  }

  .cta__links a {
    font-size: 16px;
  }

  .cta-btn_subtext {
    font-size: 14px;
  }

  .btn--primary {
    width: 50%;
    margin-bottom: 10px;
  }

  .precautions__text {
    margin: 0 auto; /* 左右の余白を自動にして中央に配置 */
    width: 70%;
    text-align: left;
    font-size: 12px;
  }

  .footer__disclaimer {
    font-size: 12px;
  }
}
