/* ========================================
   ポートマップページ専用CSS
   ======================================== */

/* ========================================
   PC: ページベース（1カラム）
   ======================================== */
.portmap-pc {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 80px;
  padding: 0 0 80px;
  width: 100%;
}

/* PC: ヘッダー */
.portmap-header-pc {
  width: 100%;
  background-color: var(--color-gray-50);
  padding: var(--spacing-page-header-y) 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
}

.portmap-header-pc__inner {
  width: 100%;
  max-width: 1040px;
  box-sizing: border-box;
}

.portmap-header-pc__title {
  font-family: var(--font-family-heading);
  font-weight: 700;
  font-size: var(--font-size-page-title);
  line-height: 1.4;
  letter-spacing: 2.2px;
  color: var(--color-base-black);
  margin: 0;
}

/* PC: マップ埋め込みエリア（1カラム・1040px） */
.portmap-map-pc {
  width: 100%;
  display: flex;
  justify-content: center;
  box-sizing: border-box;
  padding: 0 24px;
}

.portmap-map-pc__inner {
  width: 100%;
  max-width: 1040px;
}

.portmap-map-pc__embed {
  height: 560px;
}

/* ========================================
   SP: ページベース
   ======================================== */
.portmap-sp {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

/* SP: ヘッダー */
.portmap-header-sp {
  width: 100%;
  background-color: var(--color-gray-50);
  padding: var(--spacing-page-header-y-sp) 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-sizing: border-box;
}

.portmap-header-sp__title {
  font-family: var(--font-family-heading);
  font-weight: 700;
  font-size: var(--font-size-page-title);
  line-height: 1.4;
  letter-spacing: 2.2px;
  color: var(--color-base-black);
  margin: 0;
}

/* SP: マップ埋め込みエリア（横幅いっぱい） */
.portmap-map-sp {
  width: 100%;
}

.portmap-map-sp__embed {
  height: 420px;
}

/* ========================================
   エリア一覧ページ - 共通
   ======================================== */

/* ヘッダーセクション */
.area-header {
  background: var(--color-bg-gray);
  padding: var(--spacing-page-header-y-sp) 24px;
}

.area-header__title {
  font-family: var(--font-family-heading);
  font-size: var(--font-size-page-title);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 2.2px;
  color: var(--color-base-black);
}

.area-header__subtitle {
  font-family: var(--font-family-heading);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.96px;
  color: var(--color-base-black);
}

.area-header__description {
  font-family: var(--font-family-heading);
  font-size: 18px;
  line-height: 1.6;
  font-weight: var(--font-weight-page-header-desc);
  letter-spacing: 0.72px;
  color: var(--color-base-black);
}

/* セクションヘッダー（H2） */
.area-section-header {
  display: flex;
  gap: 16px;
  align-items: stretch;
  margin-bottom: 16px;
}

.area-section-header__bar {
  width: 8px;
  background: var(--color-key-red);
  flex-shrink: 0;
}

.area-section-header__title {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 1.12px;
  color: var(--color-base-black);
}

/* 凡例 */
.area-legend {
  display: flex;
  gap: 8px;
  align-items: center;
  padding-left: 24px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.area-legend__item {
  display: flex;
  align-items: center;
  gap: 0;
}

.area-legend__icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.area-legend__icon--direct {
  color: var(--color-key-red);
}

.area-legend__icon--asp {
  color: var(--color-base-black);
}

.area-legend__label {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-base-black);
}

/* 注釈 */
.area-note {
  display: flex;
  gap: 0;
  padding-left: 24px;
  margin-bottom: 16px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-caption);
}

/* 地方カード */
.area-region-card {
  background: var(--color-base-white);
  border-radius: 16px;
  box-shadow: 0 0 24px rgba(140, 7, 8, 0.12);
  padding: 24px 16px;
}

.area-region-card__title {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.72px;
  color: var(--color-base-black);
  margin-bottom: 24px;
}

/* 都道府県行 */
.area-prefecture {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid #e5e5e5;
}

.area-prefecture:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: none;
}

.area-prefecture__name {
  width: 80px;
  flex-shrink: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.7;
  color: var(--color-base-black);
  padding-top: 4px;
}

.area-prefecture__services {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* サービスタグ */
.area-service-tag {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 4px;
  background: var(--color-base-white);
  padding: 4px 12px;
  border-radius: 24px;
  box-shadow: 0 4px 16px rgba(140, 7, 8, 0.16);
  font-size: 16px;
  font-weight: 700;
  color: var(--color-base-black);
}

.area-service-tag__icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.area-service-tag--direct .area-service-tag__icon svg {
  fill: var(--color-key-red);
}

.area-service-tag--asp .area-service-tag__icon svg {
  fill: var(--color-base-black);
}

a.area-service-tag--link {
  text-decoration: none;
  color: var(--color-base-black);
  cursor: pointer;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

a.area-service-tag--link:hover {
  box-shadow: 0 6px 20px rgba(140, 7, 8, 0.24);
  transform: translateY(-1px);
}

/* ========================================
   エリア一覧ページ - PC版
   ======================================== */
.area-pc {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 80px;
  padding: 0 0 80px;
  width: 100%;
}

.area-pc .area-header {
  width: 100%;
  padding: var(--spacing-page-header-y) 0;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-page-header-gap);
  align-items: center;
  box-sizing: border-box;
}

.area-pc .area-header__inner {
  width: 100%;
  max-width: 1040px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--spacing-page-header-gap);
}

.area-pc .area-header__title {
  font-size: var(--font-size-page-title);
}

/* PC: 2カラムレイアウト */
.area-pc .area-content {
  display: flex;
  width: 100%;
  max-width: 1040px;
  justify-content: space-between;
  box-sizing: border-box;
}

/* PC: 左カラム - H2見出し */
.area-pc .area-section-heading {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  width: 280px;
  flex-shrink: 0;
  align-self: flex-start;
}

.area-pc .area-section-heading__bar {
  width: 8px;
  min-height: 48px;
  background: var(--color-key-red);
  flex-shrink: 0;
}

.area-pc .area-section-heading__title {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 1.12px;
  color: var(--color-base-black);
}

/* PC: 右カラム - メインコンテンツ */
.area-pc .area-main {
  width: 624px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
}

.area-pc .area-legend {
  padding-left: 0;
  margin-bottom: 16px;
}

.area-pc .area-note {
  padding-left: 0;
  margin-bottom: 24px;
}

.area-pc .area-regions {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.area-pc .area-region-card {
  padding: 32px 40px;
}

.area-pc .area-prefecture__name {
  width: 100px;
}


/* ========================================
   エリア一覧ページ - SP版
   ======================================== */
.area-sp {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 56px;
  padding: 0 0 96px;
}

.area-sp .area-header {
  width: 100%;
  background-color: var(--color-gray-50);
  padding: var(--spacing-page-header-y-sp) 24px;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-page-header-gap);
  align-items: start;
  box-sizing: border-box;
}

.area-sp .area-header__title {
  font-family: var(--font-family-heading);
  font-size: var(--font-size-page-title);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 2.2px;
  color: var(--color-base-black);
  margin: 0;
}

.area-sp .area-header__subtitle {
  font-family: var(--font-family-heading);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.96px;
  color: var(--color-base-black);
  margin: 0;
}

.area-sp .area-header__description {
  font-family: var(--font-family-heading);
  font-size: 18px;
  font-weight: var(--font-weight-page-header-desc);
  line-height: 1.6;
  letter-spacing: 0.72px;
  color: var(--color-base-black);
  margin: 0;
}

.area-sp .area-content {
  width: 100%;
  padding: 0 16px;
  box-sizing: border-box;
}

.area-sp .area-section-header__title {
  font-size: 28px;
}


.area-sp .area-prefecture {
  gap: 48px;
}

.area-sp .area-prefecture__name {
  width: auto;
}

.area-sp .area-service-tag {
  font-size: 16px;
  width: fit-content;
}

.area-sp .area-regions {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
