@charset "UTF-8";

/* ==========================================================================
   サニーストンホテルグループ（ドメイン直下のトップ）
   色・フォント・部品は esaka_1/assets/css/style.css に合わせている。
   レイアウトの切り替えは 1040px / 800px / 480px
   ========================================================================== */

:root {
  --color-navy: #165686;
  --color-blue: #247ab6;
  --color-green: #295911;
  --color-taupe: #a6937c;
  --color-ink: #000;
  --color-link: #383940;
  --color-gray: #505050;
  --color-cream: #fcfaf6;
  --color-ivory: #fcfbf8;
  --color-line: #c1beb8;

  --color-brand: var(--color-navy);
  --color-reserve: var(--color-taupe);

  /* ホテルごとの色。各ホテルのサイトの色に合わせる */
  --color-shin-osaka: var(--color-blue);
  --color-esaka-1: var(--color-navy);
  --color-esaka-2: var(--color-green);

  --font-serif: "Noto Serif JP", serif;
  --font-sans: "Noto Sans JP", sans-serif;
  --font-latin: var(--font-sans); /* 英字・数字もNotoにそろえる */

  --container: 1120px;
}

/* --- reset ---------------------------------------------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

body,
h1, h2, h3, h4, h5, h6,
p, ul, ol, dl, dd, figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-size: inherit;
  font-weight: inherit;
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

/* --- base ----------------------------------------------------------------- */

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-serif);
  font-size: 0.875rem;
  line-height: 1.78;
  letter-spacing: 0.1em;
  color: var(--color-ink);
  background: #fff;
  overflow-wrap: break-word;
  word-break: auto-phrase; /* 日本語を文節で折り返す（対応ブラウザのみ） */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--color-link);
  text-decoration: none;
  transition: opacity 0.5s;
}

a:hover {
  opacity: 0.7;
}

address {
  font-style: normal;
}

.icon-sprite {
  display: none;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

@media (max-width: 800px) {
  .pc-only {
    display: none !important;
  }
}

@media (min-width: 801px) {
  .sp-only {
    display: none !important;
  }
}

/* ホテルの色。--hotel-color で受け取る */
.hotel-color-shin-osaka { --hotel-color: var(--color-shin-osaka); }
.hotel-color-esaka-1 { --hotel-color: var(--color-esaka-1); }
.hotel-color-esaka-2 { --hotel-color: var(--color-esaka-2); }

.section-title {
  margin-bottom: 40px;
  color: var(--color-brand);
  font-size: 2.125rem;
  font-weight: 500;
  line-height: 1.3;
  text-align: center;
}

/* 英字の小見出し。左右に線を引く */
.section-title span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 14px;
  color: var(--color-gray);
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
}

.section-title span::before,
.section-title span::after {
  content: "";
  width: min(110px, 20vw);
  height: 1px;
  background-color: var(--color-line);
}

@media (max-width: 800px) {
  .section-title {
    margin-bottom: 24px;
    font-size: 1.5rem;
    letter-spacing: 0.05em;
  }
}

/* --- ロゴ ---------------------------------------------------------------- */

.group-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #4b4b4b;
  line-height: 1;
}

.group-logo img {
  flex: none;
  width: 44px;
}

.group-logo__text {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: var(--font-latin);
  font-size: 1.375rem;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.group-logo__ja {
  font-family: var(--font-serif);
  font-size: 0.6875rem;
  letter-spacing: 0.15em;
}

.group-logo--white {
  color: #fff;
}

.group-logo--white img {
  filter: brightness(0) invert(1);
}

@media (max-width: 480px) {
  .group-logo {
    gap: 10px;
  }

  .group-logo img {
    width: 34px;
  }

  .group-logo__text {
    font-size: 0.9375rem;
    letter-spacing: 0.02em;
  }

  .group-logo__ja {
    font-size: 0.625rem;
  }
}

@media (max-width: 400px) {
  .group-logo img {
    width: 28px;
  }

  .group-logo__text {
    font-size: 0.8125rem;
    letter-spacing: 0;
  }
}

/* --- header ------------------------------------------------------------------ */

.site-header__bar {
  padding: 5px 20px;
  background-color: var(--color-brand);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
}

.site-header__main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: 1240px;
  margin-inline: auto;
  padding: 18px 20px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.header-actions a {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.header-actions svg {
  width: 18px;
  height: 18px;
}

.header-actions__contact {
  color: var(--color-brand);
  font-size: 0.875rem;
  font-weight: 600;
}

.header-actions__reserve {
  padding: 10px 28px;
  background-color: var(--color-reserve);
  color: #fff;
  font-size: 0.9375rem;
}

/* グローバルナビ */
.global-nav {
  background-color: var(--color-ivory);
}

.global-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.global-nav li {
  white-space: nowrap;
}

.global-nav li:not(:last-child)::after {
  content: "|";
  margin: 0 clamp(8px, 4vw, 48px);
  color: var(--color-gray);
}

.global-nav a {
  display: inline-block;
  padding: 12px 0;
  font-size: 0.9375rem;
  font-weight: 600;
}

.global-nav a:hover,
.global-nav a[aria-current="page"] {
  color: var(--color-brand);
  opacity: 1;
}

@media (max-width: 800px) {
  .site-header__bar {
    padding: 4px 12px;
    font-size: 0.625rem;
    letter-spacing: 0.05em;
  }

  .site-header__main {
    padding: 12px;
  }

  .header-actions {
    gap: 6px;
  }

  /* スマホではお問い合わせはメニューのアクセスから */
  .header-actions__contact {
    display: none !important;
  }

  .header-actions__reserve {
    padding: 8px 12px;
    font-size: 0.8125rem;
    letter-spacing: 0.05em;
  }

  .global-nav a {
    padding: 8px 0;
    font-size: 0.8125rem;
    letter-spacing: 0.05em;
  }

  .global-nav li:not(:last-child)::after {
    margin: 0 clamp(6px, 3vw, 16px);
  }
}

@media (max-width: 400px) {
  .header-actions__reserve {
    padding: 8px;
  }

  .header-actions__reserve svg {
    display: none;
  }

  .global-nav a {
    font-size: 0.75rem;
    letter-spacing: 0;
  }
}

/* --- メインビジュアル -------------------------------------------------------
   3館の外観を横に並べ、キャッチコピーを中央に重ねる。写真ごとにホテルへのリンク
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
}

.hero__hotels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  background-color: #fff;
}

.hero__hotels a {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  color: #fff;
}

.hero__hotels a:hover {
  opacity: 0.9;
}

.hero__hotels img {
  width: 100%;
  height: clamp(300px, 44vw, 560px);
  object-fit: cover;
}

/* 新大阪の写真は横長なので建物が見える位置で切り抜く */
.hotel-color-shin-osaka img {
  object-position: 30% center;
}

.hero__hotels a::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgb(0 0 0 / 0.05), rgb(0 0 0 / 0.3) 45%, rgb(0 0 0 / 0.05) 75%);
  pointer-events: none;
}

.hero__label {
  position: relative; /* 写真を暗くする重ねの上に出す */
  z-index: 1;
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px 8px 14px;
  background-color: var(--hotel-color);
  text-align: center;
}

.hero__name {
  font-family: var(--font-serif); /* 明朝の太字 */
  font-size: 1.625rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  line-height: 1.4;
}

.hero__station {
  font-size: 0.9375rem;
  line-height: 1.5;
}

.hero__station span {
  display: inline-block;
}

.hero__catch {
  position: absolute;
  inset: 0 0 auto;
  z-index: 1;
  display: grid;
  align-content: center;
  height: clamp(300px, 44vw, 560px);
  padding: 20px;
  color: #fff;
  text-align: center;
  text-shadow: 0 0 6px rgb(0 0 0 / 0.6), 0 2px 18px rgb(0 0 0 / 0.5);
  pointer-events: none;
}

.hero__eyebrow {
  font-family: var(--font-latin);
  font-size: 0.875rem;
  letter-spacing: 0.25em;
}

.hero__title {
  margin: 4px 0 10px;
  font-size: clamp(1.5rem, 4vw, 3.25rem);
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.4;
}

.hero__lead {
  font-size: clamp(0.875rem, 1.7vw, 1.375rem);
  letter-spacing: 0.15em;
}

@media (max-width: 800px) {
  .hero__hotels {
    gap: 3px;
  }

  .hero__hotels img,
  .hero__catch {
    height: 300px;
  }

  .hero__hotels a::before {
    background: rgb(0 0 0 / 0.3);
  }

  .hero__label {
    padding: 8px 4px 10px;
  }

  .hero__name {
    font-size: 1.0625rem;
    letter-spacing: 0.08em;
  }

  .hero__station {
    font-size: 0.6875rem;
    letter-spacing: 0.02em;
  }

  .hero__station span {
    display: block;
  }

  .hero__catch {
    padding: 12px;
  }

  .hero__title {
    font-size: clamp(1.375rem, 7vw, 2rem);
    letter-spacing: 0.04em;
  }

  .hero__eyebrow {
    font-size: 0.75rem;
  }
}

/* --- 宿泊予約 -------------------------------------------------------------- */

.reserve {
  padding: 22px 20px 14px;
  background-color: var(--color-reserve);
  color: #fff;
  scroll-margin-top: 0;
}

.reserve__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  max-width: var(--container);
  margin-inline: auto;
}

.reserve__title {
  display: flex;
  flex: none;
  align-items: center;
  gap: 12px;
  font-size: 1.25rem;
  letter-spacing: 0.2em;
}

.reserve__title svg {
  width: 30px;
  height: 30px;
}

.reserve__hotels {
  display: grid;
  flex: 1;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.reserve__hotels a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  height: 100%;
  padding: 11px 10px;
  background-color: #fff;
  color: var(--color-link);
  font-size: 0.875rem;
  text-align: center;
}

.reserve__hotels span {
  color: var(--color-brand);
  font-size: 1rem;
  font-weight: 600;
  white-space: nowrap;
}

.reserve__confirm {
  margin-top: 10px;
  font-size: 0.75rem;
  text-align: center;
}

.reserve__confirm a {
  display: inline-block;
  margin-left: 0.5em;
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 1040px) {
  .reserve__inner {
    flex-direction: column;
    gap: 12px;
  }

  .reserve__hotels {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .reserve {
    padding: 18px 12px 12px;
  }

  .reserve__hotels {
    grid-template-columns: 1fr;
  }

  .reserve__confirm a {
    margin-left: 0.3em;
  }
}

/* --- 特長 ------------------------------------------------------------------ */

.highlights {
  padding: 34px 20px;
  background-color: var(--color-cream);
}

.highlights__list {
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: center;
  max-width: var(--container);
  margin-inline: auto;
}

.highlights__list li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 4px clamp(20px, 4vw, 48px);
  color: var(--color-brand);
}

.highlights__list li:not(:last-child) {
  border-right: 1px solid var(--color-line);
}

.highlights__icon {
  flex: none;
  width: 52px;
  height: 52px;
}

.highlights__icons {
  display: flex;
  gap: 8px;
}

.highlights__icons .highlights__icon {
  width: 44px;
  height: 44px;
}

.highlights__list p {
  font-size: 1.375rem;
  line-height: 1.3;
  white-space: nowrap;
}

.highlights__small {
  display: block;
  font-size: 0.875rem;
}

.highlights__list strong {
  font-size: 2.25rem;
  font-weight: 500;
}

.highlights__list .highlights__text {
  font-size: 1.0625rem;
  font-weight: 600;
}

@media (max-width: 1040px) {
  .highlights__list li {
    gap: 10px;
  }

  .highlights__icon {
    width: 40px;
    height: 40px;
  }

  .highlights__icons .highlights__icon {
    width: 34px;
    height: 34px;
  }

  .highlights__list p {
    font-size: 1.125rem;
  }

  .highlights__list strong {
    font-size: 1.75rem;
  }

  .highlights__list .highlights__text {
    font-size: 0.9375rem;
  }
}

@media (max-width: 800px) {
  .highlights {
    padding: 20px 16px;
  }

  .highlights__list {
    grid-template-columns: 1fr 1fr;
    gap: 14px 0;
  }

  .highlights__list li {
    padding: 0 10px;
  }

  .highlights__list li:nth-child(2) {
    border-right: 0;
  }

  .highlights__list li:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 400px) {
  .highlights__list li {
    padding: 0 6px;
    gap: 8px;
  }

  .highlights__icon {
    width: 32px;
    height: 32px;
  }

  .highlights__list p {
    font-size: 1rem;
    letter-spacing: 0.04em;
  }

  .highlights__list strong {
    font-size: 1.5rem;
  }
}

/* --- ホテル一覧 ---------------------------------------------------------------- */

.hotels {
  padding: 60px 20px;
}

.hotels__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0 24px;
  max-width: 1200px;
  margin-inline: auto;
}

.hotels__list > li {
  display: grid;
  grid-row: span 6;
  grid-template-rows: subgrid;
}

.hotel-card {
  display: grid;
  grid-row: span 6;
  grid-template-rows: subgrid;
  row-gap: 0;
  align-items: start;
  padding: 22px 20px 16px;
  background-color: var(--color-cream);
  box-shadow: 0 2px 10px rgb(0 0 0 / 0.06);
}

.hotel-card__area {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--color-brand);
  font-family: var(--font-latin);
  font-size: 0.6875rem;
  font-weight: 500;
}

.hotel-card__number {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: var(--color-brand);
  color: #fff;
  letter-spacing: 0;
}

.hotel-card__name {
  margin: 12px 0 8px;
  color: var(--color-brand);
  font-size: 1.375rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  line-height: 1.4;
}

.hotel-card__branch {
  display: inline-block;
}

.hotel-card__station {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--color-line);
  font-size: 1rem;
}

.hotel-card__station svg {
  flex: none;
  width: 22px;
  height: 22px;
  color: var(--color-brand);
}

.hotel-card__station,
.hotel-card__text {
  align-self: stretch;
}

.hotel-card__text {
  flex: 1;
  margin: 12px 0 14px;
  color: var(--color-gray);
}

.hotel-card__button,
.service-card__button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 12px;
  border: 1px solid var(--color-brand);
  background-color: var(--color-brand);
  color: #fff;
  font-weight: 600;
  transition: background-color 0.2s, color 0.2s;
}

.hotel-card__button:hover,
.service-card__button:hover {
  background-color: #fff;
  color: var(--color-brand);
  opacity: 1;
}

.hotel-card__button svg,
.service-card__button svg {
  width: 16px;
  height: 16px;
}

.hotel-card__map {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 10px;
  color: var(--color-brand);
  font-size: 0.8125rem;
}

.hotel-card__map svg {
  width: 16px;
  height: 16px;
}

@media (max-width: 1040px) {
  .hotels__list {
    column-gap: 14px;
  }

  .hotel-card {
    padding: 18px 14px 14px;
  }

  .hotel-card__name {
    font-size: 1.125rem;
  }

  .hotel-card__station {
    font-size: 0.875rem;
  }
}

@media (max-width: 800px) {
  .hotels {
    padding: 36px 16px;
  }

  .hotels__list {
    grid-template-columns: 1fr;
    row-gap: 16px;
    max-width: 520px;
  }

  .hotels__list > li,
  .hotel-card {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .hotel-card__name {
    font-size: 1.25rem;
  }
}

/* --- 駐車場・団体宿泊 ------------------------------------------------------------ */

.services {
  padding: 50px 20px 60px;
  background-color: var(--color-cream);
}

.services__title {
  color: var(--color-brand);
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
}

.services__lead {
  margin: 8px 0 28px;
  color: var(--color-gray);
  text-align: center;
}

.services__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 1200px;
  margin-inline: auto;
}

.service-card {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 24px 32px;
  background-color: #fff;
  box-shadow: 0 2px 10px rgb(0 0 0 / 0.05);
}

.service-card__icon {
  flex: none;
  width: 64px;
  height: 64px;
  color: var(--color-brand);
}

.service-card__body {
  flex: 1;
  padding-left: 28px;
  border-left: 1px solid var(--color-line);
  color: var(--color-gray);
}

.service-card__title {
  margin-bottom: 4px;
  color: var(--color-brand);
  font-size: 1.125rem;
  font-weight: 600;
}

.service-card__button {
  margin-top: 10px;
}

@media (max-width: 1040px) {
  .service-card {
    gap: 18px;
    padding: 20px;
  }

  .service-card__icon {
    width: 48px;
    height: 48px;
  }

  .service-card__body {
    padding-left: 18px;
  }
}

@media (max-width: 800px) {
  .services {
    padding: 36px 16px;
  }

  .services__title {
    font-size: 1.375rem;
    letter-spacing: 0.05em;
  }

  .services__lead {
    margin-bottom: 20px;
    font-size: 0.8125rem;
  }

  .services__list {
    grid-template-columns: 1fr;
    max-width: 520px;
  }
}

@media (max-width: 400px) {
  .service-card {
    gap: 12px;
    padding: 16px 14px;
  }

  .service-card__icon {
    width: 40px;
    height: 40px;
  }

  .service-card__body {
    padding-left: 12px;
  }

  .service-card__button {
    font-size: 0.8125rem;
    letter-spacing: 0.04em;
  }
}

/* --- アクセス・お問い合わせ --------------------------------------------------------- */

.access {
  padding: 60px 20px;
}

.access__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin-inline: auto;
}

.access__list li {
  padding-left: 16px;
  border-left: 4px solid var(--hotel-color);
}

.access__name {
  margin-bottom: 6px;
  color: var(--hotel-color);
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.5;
}

.access address {
  color: var(--color-gray);
  font-size: 0.875rem;
  letter-spacing: 0.05em;
}

.access address a {
  color: var(--color-brand);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 800px) {
  .access {
    padding: 36px 16px;
  }

  .access__list {
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 520px;
  }
}

/* --- footer ------------------------------------------------------------------- */

.site-footer {
  padding: 30px 20px 0;
  background-color: var(--color-brand);
  color: #fff;
}

.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: 1240px;
  margin-inline: auto;
}

.footer-links ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.footer-links li:not(:last-child)::after {
  content: "｜";
  margin: 0 clamp(4px, 1.5vw, 16px);
}

.footer-links a {
  color: #fff;
}

.copyright {
  padding: 20px 10px 15px;
  font-family: var(--font-sans);
  font-size: 0.625rem;
  text-align: center;
}

@media (max-width: 1040px) {
  .site-footer__inner {
    flex-direction: column;
  }

  .footer-links ul {
    display: grid;
    grid-template-columns: auto auto;
    gap: 4px 32px;
  }

  .footer-links li::after {
    display: none;
  }

  .footer-links a {
    font-size: 0.8125rem;
    letter-spacing: 0.05em;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}

/* --- 320px 前後 ---------------------------------------------------------------- */

@media (max-width: 340px) {
  .site-header__main {
    gap: 8px;
    padding-inline: 8px;
  }

  .group-logo {
    gap: 6px;
  }

  .group-logo__text {
    font-size: 0.75rem;
  }

  .group-logo__ja {
    font-size: 0.5625rem;
  }

  .header-actions__reserve {
    padding: 6px;
    font-size: 0.75rem;
    letter-spacing: 0;
  }

  .global-nav li:not(:last-child)::after {
    margin: 0 4px;
  }

  .highlights {
    padding-inline: 8px;
  }

  .highlights__list li {
    padding: 0 4px;
  }

  .highlights__small {
    font-size: 0.75rem;
  }
}
