@charset "UTF-8";
/* ============================================================
   長岡京市長岡2丁目PJ トップページCSS
============================================================ */
/* =================================
   opening
================================= */
html.is-openingSkip section.opening {
    display: none;
}
section.opening {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.9s ease, visibility 0.9s ease;
}
.opening__logo {
    width: min(55%, 260px);
    opacity: 0;
    filter: blur(5px);
    animation: openingLogo 1.2s ease-out 0.2s forwards;
}
.opening__logo img {
    width: 100%;
    height: auto;
}
@keyframes openingLogo {
    to {
        opacity: 1;
        filter: blur(0);
    }
}
/* JSで .is-hide が付与されたら全体が透過 */
section.opening.is-hide {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
    .opening__logo {
        opacity: 1;
        filter: none;
        animation: none;
    }
}
/* =================================
   mv
================================= */
section.mv {
    position: relative;
    overflow: hidden;
}
.mv__copy {
    position: absolute;
    top: 65px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    font-size: clamp(18px, 40 / 1400 * 100vw, 40px);
    letter-spacing: 0.06em;
    width: 100%;
    text-align: center;
    line-height: 1.7;
}
.mv__copy img {
    width: 100%;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, .35));
}
figure.mv__img {
    position: relative;
}
figure.mv__img figcaption {
    position: absolute;
    right: 10px;
    bottom: 10px;
    font-size: clamp(10px, 12 / 1400 * 100vw, 12px);
    color: #ffffff;
}
.mv__img img {
    height: min(100vh, 56.25vw);
    min-height: 480px;
    object-fit: cover;
	object-position: center calc(41% + 0px);
}
.mv__annotation {
    position: absolute;
    bottom: 10px;
    right: 15px;
    font-size: 1rem;
    color: #ffffff;
    text-shadow: 0 0 4px rgba(0, 0, 0, .6);
    z-index: 1;
}
.mv__slideWrap.slick-initialized.slick-slider.slick-dotted {
    margin-bottom: 0;
}
.mv__slideWrap .slick-dots {
    bottom: 15px;
    left: 50%;
    width: auto;
    transform: translateX(-50%);
}
.mv__slideWrap .slick-dots li button {
    background-color: rgba(255, 255, 255, 0.6);
    border-radius: 100vh;
    width: 12px;
    height: 12px;
}
.mv__slideWrap .slick-dots li {
    width: 12px;
    height: 12px;
	margin: 0 10px;
}
.mv__slideWrap .slick-dots li.slick-active button {
    background-color: rgba(255, 255, 255, 1);
}
.mv__slideWrap .slick-dots li button:before {
    content: none;
}
.mv__slideInd ruby {
    ruby-position: under;
    -webkit-ruby-position: after; /* Safari向け */
    ruby-align: center;
}
.mv__slideInd ruby rt {
    font-size: 10px;        /* 親文字の半分程度が標準 */
    letter-spacing: 0;       /* 親の字間を打ち消す */
    font-weight: inherit;
    text-align: center;
     /* 微調整用。不要なら削除 */
    margin-top: 3px;
}
/* --- MV：長岡京市“初”バッジ --- */
.mv__badge {
    position: absolute;
    left: clamp(10px, 30 / 1400 * 100vw, 30px);
    bottom: clamp(10px, 30 / 1400 * 100vw, 30px);
    z-index: 3;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    background-image: linear-gradient(90deg, #c74e95 0%, #7f0274 100%);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
     /* 左が画面外に出る分の視覚補正 */
    width: clamp(100px, 180 / 1400 * 100vw, 180px);
	box-shadow:
        0 0 0 5px rgba(255, 255, 255, 0.5),   /* 白い輪 */
        0 4px 18px rgba(0, 0, 0, .25);        /* 既存のドロップシャドウ */
}
.mv__badge {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 1s ease-out 0.6s, transform 1s ease-out 0.6s;
}
body:not(.is-loading) .mv__badge {
    opacity: 1;
    transform: scale(1);
}
@media (prefers-reduced-motion: reduce) {
    .mv__badge {
        opacity: 1;
        transform: none;
        transition: none;
    }
}
.mv__badge:before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: calc(100% - 10px);
    height: calc(100% - 10px);
    transform: translate(-50%, -50%);
    border-radius: 100vh;
	border: 1px solid #ffffff; 
}
.mv__badgeCity {
    font-size: clamp(18px, 25 / 1400 * 100vw, 25px);
    letter-spacing: 0.04em;
    line-height: 1.2;
     /* letter-spacingによる右寄りを補正 */
    font-weight: bold;
}
.mv__badgeFirst {
    font-size: clamp(20px, 50 / 1400 * 100vw, 62px);
    line-height: 1.1;
    margin-top: clamp(2px, 7 / 1400 * 100vw, 8px);
    position: relative;
    font-weight: 500;
}
.mv__badgeFirst ._sup {
    font-size: 10px;
    vertical-align: bottom;
    letter-spacing: 0;
    margin-left: -10px;
}

/* =================================
   charm
================================= */
section.charm__sec {
    background-color: #fff;
}

/* --- リード（〜エリア第3弾） --- */
/* --- リード（〜エリア第3弾） --- */
.charm__lead {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0 clamp(12px, 20 / 1400 * 100vw, 20px);
	/* color: #b59a5b; */
	font-weight: 600;
	position: absolute;
	top: 25px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 2;
	font-size: clamp(14px, 22 / 1400 * 100vw, 22px);
	letter-spacing: 0.06em;
	/*	width: 100%;*/
	text-align: center;
	line-height: 1.7;
	background-image: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.1) 12%, rgba(255, 255, 255, 0.3) 50%, rgba(255, 255, 255, 0.1) 88%, rgba(255, 255, 255, 0) 100%);
}
.charm__leadArrow {
    flex: 0 0 auto;
    line-height: 0;
	display: inline-block;
    width: 3em;
    vertical-align: middle;
}
.charm__leadArrow svg {
    display: block;
    width: 100%;
    height: auto;
}
.charm__leadArrow._right svg {
    transform: scaleX(-1);
}
.charm__leadTxt {
    text-align: center;
    line-height: 1.7;
}

/* --- メイン（クリームのグラデーション帯） --- */
.charm__main {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 5px clamp(8px, 10 / 1400 * 100vw, 10px);
    padding: clamp(16px, 10 / 1400 * 100vw, 10px) 20px;
    background-image: linear-gradient(to right, #ffffff 0%, #f8f1e1 12%, #f4ead4 50%, #f8f1e1 88%, #ffffff 100%);
}
.charm__ind {
    font-size: clamp(24px, 31 / 1400 * 100vw, 31px);
    line-height: 1.4;
    letter-spacing: 0.08em;
}
.charm__ind._station {
    border-top: 1px solid #b59a5b;
    border-bottom: 1px solid #b59a5b;
    padding: 6px clamp(10px, 21 / 1400 * 100vw, 20px);
    background-image: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.6) 12%, #ffffff 50%, rgba(255, 255, 255, 0.6) 88%, rgba(255, 255, 255, 0) 100%);
}
.charm__note {
    display: block;
    font-size: clamp(10px, 12 / 1400 * 100vw, 12px);
    letter-spacing: 0.1em;
    margin-left: 10px;
    margin-bottom: -10px;
}
.charm__txt {
    display: flex;
    align-items: center;
}
.charm__ind ._red {
    color: #8c1b23;
}
.charm__ind ._num {
    font-size: clamp(34px, 68 / 1400 * 100vw, 68px);
    display: inline-block;
    line-height: 1;
    vertical-align: bottom;
    margin-inline: 4px;
	margin-top: -10px;
}
.charm__ind ._sup {
    font-size: clamp(10px, 12 / 1400 * 100vw, 12px);
    vertical-align: super;
}
.charm__ind ._small {
    font-size: 10px;
    position: absolute;
    bottom: -2px;
    right: -10px;
    letter-spacing: 0.04em;
}
.charm__ind._cross {
    font-size: clamp(16px, 30 / 1400 * 100vw, 30px);
}

/* --- サブ（白帯：電車所要時間） --- */
.charm__sub {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    padding: clamp(15px, 20 / 1400 * 100vw, 20px) 20px;
	background-image: linear-gradient(to right, #ffffff 0%, #f8f1e1 12%, #f4ead4 50%, #f8f1e1 88%, #ffffff 100%);
}
.charm__subInd {
    font-size: clamp(16px, 20 / 1400 * 100vw, 20px);
    line-height: 1.8;
    letter-spacing: 0.05em;
    position: relative;
    padding-inline: clamp(15px, 30 / 1400 * 100vw, 30px);
    text-align: center;
    display: block;
}
.charm__subInd .charm__note {
    margin-bottom: -5px;
    margin-left: 10px;
}
.charm__subInd ._red { color: #8c1b23; }
.charm__subInd ._num {
    font-size: clamp(20px, 30 / 1400 * 100vw, 30px);
    display: inline-block;
    line-height: 1;
    margin-inline: 2px;
}
.charm__subInd ._num ._tilde { font-size: clamp(16px, 22 / 1400 * 100vw, 22px); }
.charm__subInd ._small {
    font-size: clamp(10px, 12 / 1400 * 100vw, 12px);
    margin-left: 5px;
}
.charm__subInd:not(:last-child):after {
    content: "";
    position: absolute;
    width: 1px;
    height: 70%;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    background-color: #000000;
}

/* --- サブ（グレー帯：スペック） --- */
/*
.charm__sub.bg__gray {
    background-color: #eeefef;
    padding: clamp(14px, 28 / 1400 * 100vw, 26px) 20px;
}
*/
.charm__sub.bg__gray .charm__subInd {
    font-size: clamp(16px, 23 / 1400 * 100vw, 23px);
    letter-spacing: 0.06em;
}
.charm__sub.bg__gray .charm__subInd ._num {
    font-size: clamp(18px, 28 / 1400 * 100vw, 28px);
    vertical-align: baseline;
}

/* --- ゴールド帯（優先案内会） --- */
.charm__event {
    background-color: #b59a5b;
    color: #ffffff;
    text-align: center;
    padding: clamp(12px, 25.2 / 1400 * 100vw, 24px) 20px;
}
.charm__eventTxt {
    font-size: clamp(17px, 32 / 1400 * 100vw, 32px);
    letter-spacing: 0.08em;
    line-height: 1.5;
    font-weight: 600;
}
.charm__eventTxt ._num {
    font-size: clamp(20px, 32 / 1400 * 100vw, 32px);
    display: inline-block;
    line-height: 1;
    margin-inline: 2px;
}

/* charm：スクロールで下からふわっと浮き上がる */
.charm__sec .charm__ind,
.charm__sec .charm__subInd {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.charm__sec .charm__ind.run,
.charm__sec .charm__subInd.run {
    opacity: 1;
    transform: translateY(0px);
}


/* =================================
   entry
================================= */
section.entry__sec {
    padding: clamp(40px, 100 / 1400 * 100vw, 100px) 20px;
    text-align: center;
}
h2.entry__heading {
    font-size: clamp(22px, 30 / 1400 * 100vw, 30px);
    font-weight: 500;
    letter-spacing: 0.04em;
    line-height: 1.7;
}
p.entry__txt {
    margin-top: 15px;
    font-size: clamp(13px, 18 / 1400 * 100vw, 18px);
    line-height: 1.7;
    letter-spacing: 0.04em;
}
.entry__btnWrap {
    margin-top: 35px;
}
.btn__entry {
    display: block;
    padding: 20px 20px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 100vh;
    background-color: #b59a5b;
    color: #ffffff;
    border: 1px solid #b59a5b;
    transition: all 0.5s;
    font-size: clamp(16px, 18 / 1400 * 100vw, 18px);
}
.btn__entry span {
    display: block;
}

/* =================================
   main
================================= */
.mainCon__wrapper{
	position: relative;
}
span.mainCon__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100%;
    background-position: top;
    background-repeat: repeat;
    background-size: contain;
	z-index: -1;
}
section.mainCon__sec {
    padding: clamp(40px, 84 / 1400 * 100vw, 100px) 0;
}
.mainCon {
    display: flex;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0 clamp(30px, 70 / 1400 * 100vw, 80px);
    margin-left: auto;
    margin-right: auto;
    padding-right: 7%;
}
.mainCon:nth-child(n+2) {
    margin-top: clamp(60px, 112 / 1400 * 100vw, 120px);
}
.main__img {
    width: 48%;
    position: relative;
}
.main__img img {
    aspect-ratio: 17 / 14;
    object-fit: cover;
    width: 100%;
    height: 100%;
}
.main__img figcaption {
    position: absolute;
    bottom: 5px;
    right: 5px;
    font-size: 1.2rem;
    color: #ffffff;
}
.main__txtarea {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-start;
    gap: 20px;
    position: relative;
    padding-bottom: 20px;
}
h3.main__heading {
    writing-mode: vertical-rl;
    font-size: clamp(24px, 30 / 1400 * 100vw, 30px);
    font-weight: 500;
    letter-spacing: 0.22em;
    line-height: 1.4;
    font-feature-settings: "vpal";
}
.from__st__wrap {
    display: flex;
    gap: 0 15px;
	flex-direction: row-reverse;
}
p.main__txt {
    writing-mode: vertical-rl;
    font-size: clamp(14px, 18 / 1400 * 100vw, 18px);
    line-height: 2.4;
    letter-spacing: 0.14em;
    max-height: 28em;
    font-feature-settings: "vpal";
    /* text-orientation: upright; ← 削除 */
	display: inline-block;
}
p.main__txt.from__st {
	line-height: 1.5;
}
p.main__txt .notes {
    font-size: clamp(10px, 12 / 1400 * 100vw, 12px);
}
p.main__txt .num {
/*    letter-spacing: 0;*/
/*    line-height: 1.3;*/
	text-combine-upright: all;
    -webkit-text-combine: horizontal;
    font-feature-settings: normal;  /* 親の "vpal" を打ち消す */
    letter-spacing: 0;
}
a.main__btn {
    align-self: flex-end;
    display: inline-block;
    color: #333;
    font-size: clamp(14px, 20 / 1400 * 100vw, 20px);
    font-family: "EB Garamond", serif;
    letter-spacing: 0.2em;
    width: 180px;
}
svg.link-arrow {
	margin-top: -5px;
	display: block;
}
a.main__btn.noLink {
	opacity: .4;
}

/* =================================
   information
================================= */
section.information__sec {
    background-color: #fff;
    text-align: center;
    padding: clamp(30px, 120 / 1400 * 100vw, 120px) 20px;
}
p.information__label {
    font-size: clamp(13px, 16 / 1400 * 100vw, 16px);
    font-family: "EB Garamond", serif;
    color: #999;
}
h2.information__heading {
    margin-top: clamp(12px, 30 / 1400 * 100vw, 30px);
    font-size: clamp(22px, 30 / 1400 * 100vw, 30px);
    font-weight: 500;
    line-height: 1.5;
}
p.information__txt {
    margin-top: 25px;
    font-size: clamp(13px, 15 / 1400 * 100vw, 15px);
    line-height: 1.9;
    letter-spacing: 0.08em;
}
.information__news {
    max-width: 800px;
    margin: clamp(40px, 70 / 1400 * 100vw, 70px) auto 0;
    text-align: left;
}
.information__news .newsDetail {
    display: flex;
    align-items: baseline;
    border-bottom: 1px solid #333;
    letter-spacing: 0.05em;
    gap: 12px 50px;
    padding-bottom: 10px;
}
.information__news .newsDetail ._term {
    min-width: 130px;
    font-size: clamp(14px, 20 / 1400 * 100vw, 20px);
}
.information__news .newsDetail ._desc {
    line-height: 1.5;
    font-size: clamp(14px, 20 / 1400 * 100vw, 20px);
}
.information__news .newsDetail ._desc a {
    color: #333;
    text-decoration: underline;
    transition: all 0.3s;
}

/* =================================
   縦書きテキストアニメーション
   .mainCon.run で発火
================================= */
/* 見出し：1文字ずつ（0.07s間隔） */
h3.main__heading .char {
    display: inline-block;
    opacity: 0;
    filter: blur(6px);
    transform: translateY(-0.35em);
    transition:
        opacity 0.7s ease-out,
        filter 0.7s ease-out,
        transform 0.7s ease-out;
    transition-delay: calc(var(--i) * 0.07s);
}
.mainCon.run h3.main__heading .char {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
}

/* 本文：見出しの後に全体フェード */
.mainCon p.main__txt {
    opacity: 0;
    transition: opacity 1.2s ease-out 0.9s;
}
.mainCon.run p.main__txt {
    opacity: 1;
}

/* リンク：最後にフェード＋矢印が左から伸びる */
.mainCon a.main__btn {
    opacity: 0;
    transition: opacity 0.8s ease-out 1.6s;
}
.mainCon a.main__btn svg.link-arrow {
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.9s ease-out 1.9s;
}
.mainCon.run a.main__btn {
    opacity: 1;
}
.mainCon.run a.main__btn svg.link-arrow {
    transform: scaleX(1);
}
/* 画像：テキストと同時に左からフェードイン */
.mainCon figure.main__img {
    opacity: 0;
    transform: translateX(-40px);
    transition:
        opacity 1.2s ease-out,
        transform 1.2s ease-out;
}
.mainCon.run figure.main__img {
    opacity: 1;
    transform: translateX(0);
}
/* セクション自体は即表示（style.cssの.show-cnt汎用スタイルを打ち消し、
   内側の要素だけを時間差で動かす） */
.mainCon.show-cnt {
    transform: none;
    transition: none;
    opacity: 1;
}

/* アニメーション抑制環境では即時表示 */
@media (prefers-reduced-motion: reduce) {
    h3.main__heading .char {
        opacity: 1;
        filter: none;
        transform: none;
        transition: none;
    }
    .mainCon p.main__txt,
    .mainCon a.main__btn {
        opacity: 1;
        transition: none;
    }
    .mainCon a.main__btn svg.link-arrow {
        transform: scaleX(1);
        transition: none;
    }
    .mainCon figure.main__img {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* =================================
   hover
================================= */
@media (hover: hover) {
    a.main__btn:hover:after {
        width: 34px;
        transition: all 0.5s;
    }
	.btn__entry:hover {
		box-shadow: 0 0 12px rgba(0, 0, 0, 0.3);
	}
	/* ホバー：矢印が右へ抜けて、左から流れ込む */
	.mainCon.run a.main__btn:hover svg.link-arrow,
	.mainCon.run a.main__btn:focus-visible svg.link-arrow {
		animation: arrowFlow 0.7s ease-in-out;
	}
	@keyframes arrowFlow {
		0%   { clip-path: inset(0 0 0 0); }      /* 通常表示 */
		45%  { clip-path: inset(0 0 0 100%); }   /* 左端から詰まって右へ消える */
		46%  { clip-path: inset(0 100% 0 0); }   /* 一瞬で左端に戻す（見えない状態） */
		100% { clip-path: inset(0 0 0 0); }      /* 左から右へ伸びて出現 */
	}
}

/* =================================
   responsive
================================= */
@media screen and (max-width: 1200px) {
	a.main__btn {
		position: absolute;
		left: 20px;
		bottom: 0px;
	}
}
@media screen and (max-width: 1000px) {
	figure.main__img {
		width: 100%;
	}
    .main__txtarea {
        width: 100%;
        justify-content: flex-end;
    }
}

@media screen and (max-width: 768px) {
	.charm__lead {
		top: 70px;
		width: 100%;
		background-image: unset;
	}
	.charm__leadTxt {
		line-height: 1.3;
	}
	.mv__copy {
		left: 0;
		transform: translateX(0px);
		top: 110px;
		width: 100%;
		text-align: center;
	}
	.mv__slideInd ruby rt {
		margin-top: -5px;
	}
    .mv__img img {
        height: calc(100dvh - 70px);
        min-height: 0;
    }
	.mv__slideInd._01 .mv__img img {
        object-position: center calc(50% + 0px);
        transform: scale(1.0);
 }
	.mv__slideInd._02 .mv__img img {
		object-position: 70% center;
		transform: scale(1.0);
	}
	.mv__badgeCity {
		font-size: clamp(13px, 53.2 / 1400 * 100vw, 17px);
	}
	.mv__badgeFirst {
		font-size: clamp(24px, 105 / 1400 * 100vw, 34px);
	}

    .mv__annotation {
        font-size: 0.9rem;
        bottom: 5px;
        right: 7px;
    }
    .charm__main {
        flex-direction: column;
        align-items: center;
    }
	.charm__note {
		margin-left: 0;
		text-align: center;
		margin-bottom: 0px;
	}
	.charm__ind ._small {
		display: block;
		text-align: end;
		bottom: -15px;
	}
	.charm__ind._walk {
		margin-top: 10px;
	}
    .charm__sub {
        flex-direction: column;
        gap: 15px 0;
		padding: 20px 20px 30px;
        align-items: center;
    }
	.charm__subInd {
		padding: 0;
		width: 100%;
	}
    .charm__subInd:not(:last-child):after {
        width: 100%;
        height: 1px;
        top: auto;
        bottom: -8px;
        right: auto;
        left: 50%;
        transform: translate(-50%, 0);
    }
	.charm__subInd .charm__note {
		margin-left: 0;
	}
	.charm__subInd ._small {
		display: block;
		text-align: end;
		margin-left: 0;
	}
    a.main__btn {
		width: 120px;
	}
	.charm__sub.bg__gold {
		padding: 10px 20px 10px;
	}
	.charm__sub.bg__gold .charm__subInd {
	    justify-content: center;
	}
	
	p.entry__txt {
		margin-top: 10px;
	}
	.entry__btnWrap {
		margin-top: 20px;
	}
	
	.information__news .newsDetail {
		flex-direction: column;
	}
	

    figure.main__img img {
		aspect-ratio: 5 / 3;
	}
    .mainCon {
        flex-direction: column;
        padding-inline: 5%;
        gap: 25px 0;
    }
	.main__txtarea {
		justify-content: center;
	}
}

@media screen and (max-width: 500px) {
    h3.main__heading {
        letter-spacing: 0.15em;
    }
}