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

a {
  transition: all 0.6s ease;
}

a:hover {
  opacity: 0.8;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
}

/* ヒーローエリア */
.hero-section {
  aspect-ratio: 390 / 750;
  position: relative;
  margin-top: 80px;
}

.hero-section::after {
  content: "";
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
  display: inline-block;
  z-index: -1;
  background: url('./imges/kv-sp.jpg') no-repeat;
  background-size: cover;
}

.hero-content {
  position: absolute;
  width: 79.4%;
  top: 21.28vw;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3em;
}

.hero-logo {
  width: 280px;
  height: 69.192px;
}

.hero-logo svg {
  width: 100%;
  height: 100%;
}

.hero-text {
  color: white;
  font-size: clamp(14px, 4vw, 48px);
  letter-spacing: 0.02rem;
  line-height: 2.3;
  font-feature-settings: 'palt';
}

.hero-text p {
  margin: 0;
}

/* ヘッダー */
.header {
  position: absolute;
  top: -80px;
  left: 0;
  right: 0;
  z-index: 20;
  height: 80px;
  background-color: #fff;
}

.header-inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.header-logo-wrapper {
  background-color: white;
  padding-left: 20px;
}

.header-logo {
  position: relative;
}

.header-logo svg {
  width: 100%;
  height: 100%;
}

.header-actions {
  display: none;
  align-items: center;
  gap: 0.625rem;
}

.btn {
  height: 14.61vw;
  background-color: white;
  border: 3px solid #1a42af;
  border-radius: 100px;
  display: flex;
  align-items: center;
  gap: 0.625rem;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
  width: 83.5%;
  padding: 0 5.12vw;
}

.btn-text {
  font-size: 3.58974vw;
  font-weight: 700;
  color: black;
  flex: 1;
}

.btn-icon {
  background-color: white;
  border: 3px solid #1a42af;
  border-radius: 50%;
  width: 16.2%;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}

.hero-wrapper {
  position: relative;
}

/* フッター固定ボタン（SP） */
.footer-fixed {
  position: absolute;
  bottom: 2em;
  left: 50%;
  transform: translateX(-50%);
  right: 0;
  z-index: 30;
  display: flex;
  width: 95%;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
}

/* コンテンツエリア */
.content-area {
  padding: 5rem 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5rem;
}

.content-section {
  width: 100%;
  max-width: 1320px;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.section-title {
  font-size: 2.75rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-align: center;
}

.section-content {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* サブセクションヘッダー */
.subsection-header {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.subsection-header svg {
  width: 57.202px;
  height: 41px;
  flex-shrink: 0;
}

.subsection-title {
  font-size: 1.625rem;
  line-height: 1.5;
  font-weight: 500;
}

.location-group.u-mt50 {
  margin-top: 50px;
}

/* テーブル */
.table-row {
  display: flex;
  gap: 0.625rem;
}

.table-row.border-bottom {
}

.table-header {
  border-top: 1px solid #000;
  width: 28.6%;
  padding: 1.875rem 0.625rem;
}

.table-header p {
  font-size: 1.125rem;
  color: #1a42af;
  font-weight: 500;
}

.table-content {
  flex: 1;
  padding: 1.875rem 0.625rem;
  border-top: 1px solid #000;
}

.table-row.border-bottom .table-header {
  border-bottom: 1px solid #000;
}

.table-row.border-bottom .table-content {
  border-bottom: 1px solid #000;
}

.table-content-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 1.125rem;
  color: #333;
}

.table-content-list p {
  margin: 0;
}

.table-content-row {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.table-content-row .label {
  font-weight: 500;
  width: 100%;
}

.table-content-row .value {
  flex: 1;
}

/* リンク */
.link-with-icon {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 1.125rem;
  color: #333;
}

.link-with-icon a {
  text-decoration: underline;
  word-break: break-all;
  color: inherit;
}

.link-with-icon svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

/* 所在地セクション */
.location-group {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  font-size: 1.125rem;
  color: #333;
}

.location-row {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.location-details {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.location-contact {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.whitespace-nowrap {
  white-space: nowrap;
}

.leading-16 {
  font-weight: 500;
  color: #333;
  font-size: 1.125rem;
  line-height: 1.6;
}

/* フッター */
.footer {
  background-color: #1a42af;
  padding: 60px 1.25rem;
  display: flex;
  justify-content: center;
}

.footer-inner {
  width: 100%;
  max-width: 1280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.footer-logo {
  width: 200px;
  height: 46.829px;
}

.footer-logo svg {
  width: 100%;
  height: 100%;
}

.footer-text {
  color: white;
  font-size: 0.75rem;
  text-align: center;
}

/* レスポンシブ: 769px以上 */
@media (min-width: 769px) {

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

  .hero-section::after {
  content: "";
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
  display: inline-block;
  z-index: -1;
  background: url('./imges/kv.jpg') no-repeat;
  background-size: cover;
}

  .hero-section {
    position: relative;
    width: 100%;
    aspect-ratio: 1600 / 840;
    overflow: hidden;
    margin: 0;
  }

  .hero-content {
    width: 77.5%;
    justify-content: space-between;
  }

  .hero-logo {
    width: 48.38%;
    height: auto;
  }

  .hero-text {
    width: 41.1%;
  }

  .hero-text p {
    line-height: 230%;
    font-size: 1.125rem;
    font-weight: 500;
    letter-spacing: 0.02em;
  }
  
  .header {
    top: 0;
    height: auto;
    background: transparent;
  }

  .header-inner {
    width: 92.5%;
    padding: 0;
    margin: auto;
    height: 120.67px;
  }

  .header-logo-wrapper {
    padding: 2.3em;
    border-bottom: 3px solid #1a42af;
    border-left: 3px solid #1a42af;
    border-right: 3px solid #1a42af;
    border-radius: 0 0 1.25rem 1.25rem;
  }

  .header-actions {
    display: flex;
    gap: 10px;
  }

  .header-actions .btn {
    height: 66px;
    padding: 0 1.875rem;
    gap: 20px;
  }

  .header-actions .btn-text {
    font-size: 1.125rem;
    font-weight: bold;
  }

  .header-actions .btn-icon {
    width: 62px;
    height: 62px;
  }

  .footer-fixed {
    display: none;
  }

  .content-area {
    padding: 100px 20px;
    gap: 130px;
  }

  .content-section {
    gap: 4.375rem;
  }

  .section-title {
    font-weight: 500;
    font-size: 3.375rem;
    letter-spacing: 0.03em;
  }

  .section-content {
    gap: 2.5rem;
  }

  .subsection-title {
    font-weight: 500;
    font-size: 2.125rem;
  }

  .table-row {
    gap: 1.875rem;
  }

  .table-header {
    width: 400px;
    padding: 2.5rem 1.875rem;
  }

  .table-content {
    padding: 2.5rem 1.875rem;
  }

  .table-content-list {
    gap: 1rem;
  }

  .table-content-row {
    flex-direction: row;
    gap: 1.25rem;
  }

  .table-content-row .label {
    width: 170px;
  }

  .link-with-icon a {
    white-space: nowrap;
  }

  .location-row {
    flex-direction: row;
    gap: 1.25rem;
  }

  .location-row.u-column {
    flex-direction: column;
    gap: 1em;
  }

  .location-details {
    gap: 1rem;
  }

  .location-contact {
    flex-direction: row;
    gap: 2.5rem;
    padding-left: 1rem;
  }

  .location-group {
    gap: 1.5rem;
  }

  .location-address.u-mt24 {
    margin-top: 8px;
  }

  .location-group > p:first-child {
    font-size: 1.25rem;
  }

  .footer {
    padding: 90px 0 60px;
  }

  .footer-inner {
    flex-direction: row;
    width: 90%;
    margin: auto;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2.5rem;
  }

  .footer-logo {
    width: 280px;
    height: 65.561px;
  }

  .footer-text {
    font-size: 10px;
    margin-top: 10px;
    font-weight: normal;
    color: white;
  }

  .location-group.u-mt50 {
    margin-top: 50px;
  }
}

@media screen and (max-width: 1300px) {
  .hero-section {
    aspect-ratio: 1600 / 950;
  }
}

@media screen and (max-width: 1200px) {
  .hero-section {
    aspect-ratio: 1600 / 1200;
  }
}

  @media screen and (max-width: 1100px) {

    .hero-logo {
      width: 35%;
    }

    .hero-text {
      width: 65%;
    }
  }

    @media screen and (max-width: 900px) {
       .hero-section{
        aspect-ratio: 1600 / 1300;
       }
    }

@media screen and (max-width: 850px) {
     .hero-section{
        aspect-ratio: 1600 / 1400;
       }

       .hero-content {
        top: 57%;
       }
}

@media screen and (max-width: 768px) {

  .hero-content {
    top: 21.28vw;
  }

  .hero-logo {
    width: 280px;
  }

  .hero-text {
    width: 100%;
  }

  .hero-section {
    aspect-ratio: 390 / 750;
  }
}