@import url("spots.css");
/* ③ top, pattern A (photos; the 3D illustration in “使う場所から選ぶ”) */

/* news | column: two columns on PC, tabs on phones */
.ta-nw__tabs { display: none; }
.ta-nw__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(40px, 5vw, 72px); }
.ta-nw__h { margin-bottom: 16px; padding-left: .08em; font-size: 20px; font-weight: 700; letter-spacing: .08em; text-align: center; }
.ta-nw .nl a { grid-template-columns: auto minmax(0, 1fr) auto; gap: 6px 14px; padding: 20px 6px; }
.ta-nw .nl__c { justify-self: start; }
.ta-nw .nl__t { grid-column: 1 / 3; grid-row: 2; }
.ta-nw .nl .kp-arw { grid-column: 3; grid-row: 1 / span 2; }
.ta-nw__all { display: flex; justify-content: flex-end; align-items: center; gap: 8px; margin-top: 20px; font-size: 15px; font-weight: 700; }
.ta-nw__all .kp-arw { width: 18px; height: 18px; color: var(--ver); }

/* find by use: the 3D hub with tags + the list of places */
.ta-sel__in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: clamp(32px, 4.4vw, 72px); }
.ta-sel__hub { position: relative; justify-self: center; width: 100%; max-width: 600px; aspect-ratio: 1; }
.ta-sel__art { position: absolute; inset: 0; mix-blend-mode: multiply; }
.ta-sel__art img { width: 100%; height: 100%; object-fit: contain; filter: brightness(1.035); }
.ta-sel__list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.ta-sel__list a { display: grid; grid-template-columns: minmax(0, 9.5em) minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 16px 18px 16px 22px; border-radius: 8px; background: #fff; box-shadow: 0 4px 16px rgba(20, 24, 28, .05); transition: box-shadow .3s ease; }
.ta-sel__list a:hover { box-shadow: 0 0 0 2px var(--ver), 0 6px 20px rgba(20, 24, 28, .08); }
.ta-sel__nm { font-size: 16px; font-weight: 700; line-height: 1.5; }
.ta-sel__pd { color: var(--ink-2); font-size: 14px; line-height: 1.6; }
.ta-sel__pd b { margin-right: 10px; color: var(--ver); font-size: 17px; }
.ta-sel__list .kp-arw { width: 18px; height: 18px; color: var(--ver); }

/* products: three cards with a large photo */
.pd { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin: 0 auto; padding: 0; list-style: none; }
.pd__a { display: flex; flex-direction: column; height: 100%; overflow: hidden; border-radius: 8px; background: #fff; box-shadow: 0 10px 30px rgba(20, 24, 28, .07); transition: box-shadow .4s ease; }
.pd__a:hover { box-shadow: 0 16px 40px rgba(20, 24, 28, .12); }
.pd__ph { display: block; aspect-ratio: 3 / 2; overflow: hidden; }
.pd__ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease; }
.pd__a:hover .pd__ph img { transform: scale(1.04); }
.pd__tx { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 26px 26px 30px; text-align: center; }
.pd__d { align-self: stretch; margin-bottom: 8px; }
.pd__en { padding-left: .2em; color: var(--ver); font: 600 14px/1 var(--kp-en); letter-spacing: .2em; }
.pd__t { font-size: 21px; font-weight: 700; line-height: 1.5; }
.pd__d { color: var(--ink-2); font-size: 15px; line-height: 1.85; text-align: left; }
.pd__more { display: inline-flex; align-items: center; gap: 10px; margin-top: auto; padding-bottom: 4px; border-bottom: 1.5px solid currentColor; font-size: 15px; font-weight: 700; }
.pd__more .kp-arw { width: 18px; height: 18px; color: var(--ver); }

/* about: text + four photo tiles */
.ta-ab__txt { max-width: 760px; margin: 0 auto clamp(40px, 4.4vw, 56px); font-size: 17px; line-height: 2; }
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin: 0 auto; padding: 0; list-style: none; }
.tile { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 8px; color: #fff; }
.tile__ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease; }
.tile:hover .tile__ph img { transform: scale(1.05); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 24, 28, 0) 38%, rgba(20, 24, 28, .74) 100%); }
.tile__tx { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; display: grid; justify-items: center; gap: 2px; padding: 20px 16px 22px; text-align: center; }
.tile__en { padding-left: .2em; font: 600 13px/1.4 var(--kp-en); letter-spacing: .2em; opacity: .85; }
.tile__t { font-size: 18px; font-weight: 700; line-height: 1.5; }
.tile .kp-arw { width: 18px; height: 18px; margin-top: 6px; }

@media (max-width: 1100px) {
  .ta-sel__in { grid-template-columns: minmax(0, 1fr); }
  .ta-sel__hub { max-width: 560px; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile { aspect-ratio: 4 / 3; }
}
@media (max-width: 900px) {
  .pd { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
}
@media (max-width: 767px) {
  .ta-nw__tabs { display: flex; justify-content: center; gap: 6px; width: max-content; margin: 0 auto 20px; padding: 5px; border-radius: 999px; background: var(--soft); }
  .ta-nw__tabs button { min-width: 116px; height: 42px; padding: 0 18px; border: 0; border-radius: 999px; background: transparent; font-size: 15px; font-weight: 700; cursor: pointer; }
  .ta-nw__tabs button[aria-selected="true"] { background: var(--kp-deep); color: #fff; }
  .ta-nw__cols { display: block; }
  .ta-nw__col { display: none; }
  .ta-nw__col.is-on { display: block; }
  .ta-nw__h { display: none; }
  .ta-nw .nl a { padding: 18px 4px; }
  .ta-sel .spot-card { display: none; }
  .ta-sel .spot-tag { height: 30px; gap: 5px; padding: 0 10px 0 3px; font-size: 12px; }
  .ta-sel .spot .dot { width: 24px; height: 24px; }
  .ta-sel .spot .dot svg { width: 13px; height: 13px; }
  .ta-sel__list a { grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; padding: 14px 14px 14px 18px; }
  .ta-sel__nm { font-size: 15px; }
  .ta-sel__pd { grid-column: 1; grid-row: 2; font-size: 13px; }
  .ta-sel__pd b { font-size: 15px; margin-right: 8px; }
  .ta-sel__list .kp-arw { grid-column: 2; grid-row: 1 / span 2; }
  .pd__tx { padding: 20px 18px 24px; }
  .pd__t { font-size: 19px; }
  .ta-ab__txt { font-size: 16px; line-height: 1.95; }
  .tiles { gap: 12px; }
  .tile { aspect-ratio: 1; }
  .tile::after { background: linear-gradient(180deg, rgba(20, 24, 28, 0) 30%, rgba(20, 24, 28, .8) 100%); }
  .tile__tx { padding: 14px 10px 16px; }
  .tile__t { font-size: 15px; }
  .tile__en { display: none; }
}
