@charset "utf-8";
/* Town Design — PC / SPデザイン（2026年10月） */
.town-page { --td-brown: #a28c75; --td-ink: #261f1a; color: var(--td-ink); }
.td-main { padding-top: 90px; }
.td-main img { display: block; width: 100%; height: auto; }
.td-main picture { display: block; }
.td-main button { font: inherit; color: inherit; cursor: pointer; }
.town-page :is(a, button, [tabindex]):focus-visible { outline: 2px solid #47745c; outline-offset: 5px; }
.td-container { width: 73%; max-width: 1400px; margin-inline: auto; }
.td-title { padding: 5.5vw 20px 4.4vw; text-align: center; }
.td-title h1 { font-family: 'garamond', Georgia, serif; font-size: clamp(38px, 4.16vw, 80px); line-height: 1; letter-spacing: .12em; }
.td-title p { margin-top: .55em; font-family: 'garamond', Georgia, serif; font-size: clamp(14px, 1.46vw, 28px); line-height: 1.2; letter-spacing: .15em; }
/* 画像を2枚つなぎ、上段は右、下段は左へシームレスに流す。 */
.td-marquee { overflow: hidden; width: 100%; }
.td-marquee__track { display: flex; width: max-content; animation: td-flow-left 65s linear infinite; }
.td-marquee__track img { flex: none; width: 117.05vw; max-width: none; height: auto; }
.td-marquee--right .td-marquee__track { animation-name: td-flow-right; }
@keyframes td-flow-left { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes td-flow-right { from { transform: translateX(-50%); } to { transform: translateX(0); } }
.td-concept { display: grid; grid-template-columns: 44% 48%; gap: 8%; align-items: center; padding-block: 9.7vw 11.5vw; }
.td-concept h2 { max-width: 592px; }
.td-concept p { padding-top: 7vw; font-size: clamp(13px, 1.04vw, 20px); line-height: 2.9; letter-spacing: .035em; }
.td-message-view { margin-top: 14.2vw; }
.td-interview { padding: 8.8vw 0 15.8vw; background: url('../../img/05towndesign_v2/message_bg.jpg') center top / cover; }
.td-interview__lead { font-size: clamp(20px, 2.08vw, 40px); text-align: center; line-height: 1.6; letter-spacing: .22em; }
.td-interview__lead::after { content: ''; display: block; width: 1px; height: 8vw; margin: 3vw auto 4vw; background: #5a5047; }
.td-interview__body { position: relative; }
.td-interview__copy { width: 50%; position: relative; z-index: 1; }
.td-interview__copy h2 { width: 56%; margin-bottom: 4.5vw; }
.td-interview__copy h3 { font-size: clamp(20px, 2.08vw, 40px); line-height: 1.5; letter-spacing: .16em; margin-bottom: 3.4vw; white-space: nowrap; }
.td-interview__copy p { font-size: clamp(12px, 1.04vw, 20px); line-height: 2; letter-spacing: .025em; }
.td-interview__copy p + p { margin-top: 2.5vw; }
.td-interview__portrait { position: absolute; width: 83%; top: 0; left: 38%; }
.td-chapter { padding-bottom: 6vw; }
.td-story { position: relative; display: flex; min-width: 0; }
.td-chapter__badge { position: absolute; z-index: 1; top: 0; left: 50%; transform: translate(-50%, -50%); }
.td-chapter--01 .td-chapter__badge { width: 34.4%; }
.td-chapter--02 .td-chapter__badge { width: 26.6%; }
.td-chapter--03 .td-chapter__badge { width: 32%; }
.td-story__photo { width: 54%; flex-shrink: 0; }
.td-story__photo > img { width: 100%; height: 100%; object-fit: cover; }
.td-story__copy { position: relative; flex: 1; min-width: 0; padding: 5.8vw 3.8vw 3.3vw; background: url('../../img/05towndesign_v2/message_bg02.jpg') center / cover; }
.td-story__en { position: absolute; top: 1.8vw; right: 1.8vw; width: 7%; min-width: 90px; }
.td-story__vertical { display: flex; flex-direction: row-reverse; gap: 2.6vw; height: 28.5vw; justify-content: center; }
.td-story__vertical h3 { writing-mode: vertical-rl; font-size: 2.08vw; line-height: 1.6; letter-spacing: .16em; }
.td-story__text { writing-mode: vertical-rl; font-size: .83333vw; line-height: 1.85; letter-spacing: .05em; }
.td-story__text p + p { margin-right: 1.1em; }
.td-chapter--02 .td-story { flex-direction: row-reverse; }
.td-chapter--02 .td-story__photo { width: 58.2%; }
.td-chapter--02 .td-story__en { left: 1.8vw; right: auto; }
.td-chapter--03 .td-story__photo { width: 57.6%; }
.td-figures { display: grid; text-align: center; }
.td-figures figcaption { margin-top: .95em; font-size: clamp(12px, 1.04vw, 20px); line-height: 1.5; }
.td-parks { width: 45%; max-width: 870px; margin: 8.8vw auto 0; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4vw; }
.td-chapter--01 { padding-bottom: 11.5vw; }
.td-plan { width: 48%; max-width: 920px; margin: 6.6vw auto 0; }
.td-points figcaption { font-size: clamp(12px, .93vw, 18px); }
.td-points { margin-top: 2.8vw; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2.6vw; }
.td-chapter--02 { padding-bottom: 15.5vw; }
.td-homes { width: 69%; margin-top: 6vw; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4vw; }
.td-photo-note { text-align: right; padding-right: 2%; margin-top: 10vw; font-size: clamp(12px, 1.04vw, 20px); }
.td-chapter--03 { padding-bottom: 3vw; }
.td-gallery__heading { display: grid; grid-template-columns: 1fr 1fr; background: var(--td-brown); color: #fff; }
.td-gallery__intro { padding: 8.5vw 5.3vw 3vw 7.5vw; }
.td-gallery__intro h2 { width: 55%; max-width: 330px; }
.td-gallery__intro p { font-size: clamp(16px, 1.46vw, 28px); line-height: 2; letter-spacing: .17em; margin-top: 2.3vw; }
.td-gallery__body { padding: 10.3vw 0 11.5vw; background: url('../../img/05towndesign_v2/gallery_bg.jpg') center / cover; }
.td-gallery__stage { position: relative; width: 73%; max-width: 1400px; margin: auto; touch-action: pan-y; }
.td-gallery__visual { position: relative; aspect-ratio: 2100 / 1404; overflow: hidden; }
.td-gallery__visual > img { width: 100%; height: 100%; object-fit: cover; }
.td-gallery__visual > .td-gallery__outgoing { position: absolute; inset: 0; pointer-events: none; }
.td-gallery__figure figcaption { text-align: center; font-size: clamp(16px, 1.46vw, 28px); letter-spacing: .25em; margin-block: 1.5vw 2.8vw; }
.td-gallery__arrow { position: absolute; top: calc((100% - 5.8vw) / 2); transform: translateY(-50%); width: 2vw; min-width: 24px; border: 0; padding: 0; background: #fff; transition: opacity .2s; }
.td-gallery__arrow:hover { opacity: .7; }
.td-gallery__arrow--prev { left: -4vw; }
.td-gallery__arrow--next { right: -4vw; }
.td-gallery__thumbs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1.4vw 1.6vw; width: 73%; max-width: 1400px; margin: auto; padding: 3vw; background: #fff; }
.td-gallery__thumb { display: block; border: 0; background: transparent; padding: 0; position: relative; transition: opacity .2s; }
.td-gallery__thumb img { aspect-ratio: 2100 / 1404; object-fit: cover; }
.td-gallery__thumb:hover { opacity: .7; }
.td-gallery__thumb[aria-pressed='true']::after { content: ''; position: absolute; inset: 0; border: 3px solid #62725b; pointer-events: none; }
.td-gallery__plan-link { width: 73%; max-width: 1400px; margin: 20px auto 0; text-align: center; }
.td-gallery__plan-link a { display: inline-block; border-bottom: 1px solid; padding: .4em; }
.td-details { padding: 8vw 0 11vw; color: #fff; background: var(--td-brown); }
.td-details > h2 { text-align: center; font-size: clamp(20px, 2.08vw, 40px); line-height: 1.6; letter-spacing: .2em; }
.td-details__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7.5vw 7vw; margin-top: 6vw; }
.td-feature h3 {position: relative;z-index: 1;padding-left: 88px;font-family: 'garamond', Georgia, serif;font-size: clamp(24px, 2.2vw, 46px);line-height: 1.4;letter-spacing: .17em;white-space: nowrap;}
.td-feature h3::before {content: '';width: 25%;height: 1px;background: #ffffff80;position: absolute;top: 0;left: -11%;transform-origin: right center;transform: rotate(-45deg);}
.td-feature__body { display: grid; grid-template-columns: 48% 48%; gap: 4%; position: relative; }
.td-feature h4 {font-size: clamp(16px, 1.26vw, 28px);letter-spacing: .06em;line-height: 1.3;margin: .3em 0 .8em;}
.td-feature h4 span { font-size: .7em; }
.td-feature p {font-size: clamp(13px, 0.94vw, 16px);line-height: 1.7;letter-spacing: .035em;text-align: justify;}
.td-page-top { display: block; padding: 2.5vw 20px; text-align: center; color: #c2b6a3 !important; background: #171914; font-family: 'garamond', Georgia, serif; letter-spacing: .2em; }
.td-page-top span { margin-left: 2em; }
.town-page .menu-btn { border: 0; background: none; padding: 0; }
.td-sp-br { display: none; }
/* 添付のPC見本に合わせ、縦書きの各列と開始位置を固定する。 */
.td-story__break { display: none; }
@media (min-width: 1200px) {
  .td-story__vertical { display: block; }
  .td-story__vertical h3 { position: absolute; top: 5.8vw; right: 11.3vw; }
  .td-story__text { position: absolute; top: 10.3vw; right: 16.5vw; width: max-content; height: 26vw; font-size: .75vw; line-height: 2.5; letter-spacing: .02em; white-space: nowrap; }
  .td-story__text p + p { margin-right: 0; }
  .td-chapter--01 .td-story__text p:nth-child(2) { margin-right: 1.875vw; }
  .td-chapter--02 .td-story__vertical h3 { top: 8.55vw; right: 6.6vw; }
  .td-chapter--02 .td-story__text { right: 14.5vw; }
  .td-chapter--03 .td-story__vertical h3 { right: 10.7vw; }
  .td-chapter--03 .td-story__text { right: 18.6vw; }
  .td-story__break { display: inline; }
  .td-story__number { transform: rotate(270deg); display: inline-block; }
}
@media (min-width: 801px) and (max-width: 1199px) {
  .td-story__copy { padding: 6vw 3vw 4vw; }
  .td-story__vertical { height: auto; display: block; }
  .td-story__vertical h3 { writing-mode: horizontal-tb; font-size: 24px; margin-bottom: 20px; }
  .td-story__text { writing-mode: horizontal-tb; font-size: 14px; line-height: 1.9; }
  .td-story__text p + p { margin: 1em 0 0; }
}
@media (max-width: 800px) {
  .td-main { padding-top: 0; }
  .td-container { width: 80%; }
  .td-title { padding: 10vw 12px 9vw; }
  .td-title h1 { font-size: 8.8vw; letter-spacing: .08em; }
  .td-title p { margin-top: .65em; font-size: 3.2vw; line-height: 1.3; letter-spacing: .1em; }
  .td-marquee__track { animation-duration: 50s; }
  .td-marquee__track img { width: 175vw; }
  .td-concept { display: block; padding-block: 14vw 13vw; }
  .td-concept h2 { width: 90%; }
  .td-concept p { padding-top: 9.5vw; font-size: 4.1vw; line-height: 1.65; letter-spacing: .04em; text-align: justify; }
  .td-pc-br { display: none; }
  .td-sp-br { display: block; }
  .td-message-view { margin-top: 0; }
  .td-interview { padding: 15vw 0 23vw; background-image: url('../../img/05towndesign_v2/message_bg_sp.jpg'); }
  .td-interview__lead { font-size: 5.3vw; line-height: 1.65; letter-spacing: .13em; }
  .td-interview__lead::after { height: 23vw; margin: 9vw auto; }
  .td-interview__body { width: 100%; }
  .td-interview__copy { width: 80%; margin: auto; }
  .td-interview__copy h2 { width: 65%; margin-bottom: 10vw; }
  .td-interview__copy h3 { font-size: 5.2vw; line-height: 1.5; letter-spacing: .07em; margin-bottom: 8vw; }
  .td-interview__copy p { font-size: 4.1vw; line-height: 1.65; letter-spacing: .04em; text-align: justify; }
  .td-interview__copy p + p { margin-top: 6vw; }
  .td-interview__portrait { position: static; width: 100%; margin-top: 15vw; }
  .td-story, .td-chapter--02 .td-story { display: block; }
  .td-chapter__badge, .td-chapter--01 .td-chapter__badge, .td-chapter--02 .td-chapter__badge, .td-chapter--03 .td-chapter__badge { width: 93%; }
  .td-story__photo, .td-chapter--02 .td-story__photo, .td-chapter--03 .td-story__photo { width: 100%; }
  .td-story__photo > img { height: auto; }
  .td-story__copy { padding: 21vw 10% 14vw; background-image: url('../../img/05towndesign_v2/message_bg02_sp.jpg'); }
  .td-story__en, .td-chapter--02 .td-story__en { width: 21%; min-width: 0; top: 4vw; right: 4vw; left: auto; }
  .td-story__vertical { display: block; height: auto; }
  .td-story__vertical h3 { writing-mode: horizontal-tb; font-size: 5.2vw; line-height: 1.4; letter-spacing: .07em; margin-bottom: 8vw; }
  .td-story__text { writing-mode: horizontal-tb; font-size: 4.1vw; line-height: 1.65; letter-spacing: .045em; text-align: justify; }
  .td-story__text p + p { margin: 6vw 0 0; }
  .td-parks { width: 87.5%; display: grid; grid-template-columns: 1fr; gap: 15vw; margin-top: 21vw; }
  .td-figures figcaption, .td-points figcaption { font-size: 3.4vw; line-height: 1.55; margin-top: 1em; }
  .td-chapter--01 { padding-bottom: 29vw; }
  .td-plan { width: 94%; margin-top: 13vw; }
  .td-points { width: 87.5%; grid-template-columns: 1fr; gap: 17vw; margin-top: 20vw; }
  .td-chapter--02 { padding-bottom: 29vw; }
  .td-homes { width: 87.5%; grid-template-columns: 1fr; gap: 21vw; margin-top: 21vw; }
  .td-photo-note { margin: 8vw 0 0; padding-right: 6.25%; font-size: 3.2vw; }
  .td-chapter--03 { padding-bottom: 12vw; }
  .td-gallery__heading { display: flex; flex-direction: column-reverse; }
  .td-gallery__intro { padding: 11vw 10% 12vw; text-align: center; }
  .td-gallery__intro h2 { width: 57%; margin: auto; }
  .td-gallery__intro p { font-size: 3.7vw; line-height: 2; letter-spacing: .12em; margin-top: 5vw; }
  .td-gallery__body { padding: 14vw 0 0; background-image: url('../../img/05towndesign_v2/gallery_bg_sp.jpg'); }
  .td-gallery__stage { width: 87.5%; }
  .td-gallery__figure figcaption { font-size: 4vw; margin: 5vw 0 10vw; }
  .td-gallery__arrow { top: calc((100% - 16vw) / 2); width: 5vw; min-width: 22px; }
  .td-gallery__arrow--prev { left: 2vw; }
  .td-gallery__arrow--next { right: 2vw; }
  .td-gallery__thumbs { display: flex; gap: 5.5vw; width: 100%; max-width: none; padding: 6vw 6.25%; overflow-x: auto; scroll-padding-inline: 6.25vw; scroll-snap-type: x proximity; scrollbar-width: thin; }
  .td-gallery__thumb { flex: 0 0 37vw; scroll-snap-align: start; }
  .td-gallery__thumb[aria-pressed='true']::after { border-width: 2px; }
  .td-gallery__plan-link { width: 100%; margin: 0; padding: 4vw 0; background: #fff; }
  .td-details { padding: 17vw 0 18vw; }
  .td-details > h2 { font-size: 5.2vw; line-height: 1.5; letter-spacing: .1em; }
  .td-details__grid { width: 87.5%; grid-template-columns: 1fr; gap: 19vw; margin-top: 16vw; }
  .td-feature h3 {padding-left: 20vw;font-size: 8vw;letter-spacing: .1em;padding-bottom: 0.3em;}
  .td-feature h3::before {width: 25vw;top: 0.2em;left: -11%;}
  .td-feature__body { display: block; }
  .td-feature h4 { font-size: 5.4vw; letter-spacing: .13em; margin: 5vw 0 3.5vw; }
  .td-feature p { font-size: 3.8vw; line-height: 1.8; letter-spacing: .035em; }
  .td-page-top { padding: 9vw 20px; font-size: 12px; }
  .town-page .footer { padding-bottom: 100px; }
}
@media (prefers-reduced-motion: reduce) {
  .td-marquee .td-marquee__track { animation: none; transform: translateX(0); }
  .town-page, .town-page * { scroll-behavior: auto !important; }
}
