:root {
  --pri-color: #e83e8c;
  --grady-color: #e83e8c;
  --yuta-orange: #e83e8c;
  --yuta-peach: #ff8c00;
  --yuta-ink: #171717;
  --yuta-muted: #6b6b6b;
  --yuta-paper: #fffaf4;
  --yuta-white: #ffffff;
  --yuta-red: #e40303;
  --yuta-orange-stripe: #ff8c00;
  --yuta-yellow: #ffed00;
  --yuta-green: #008026;
  --yuta-blue: #004dff;
  --yuta-purple: #750787;
  --yuta-rainbow: linear-gradient(90deg, var(--yuta-red) 0 16.66%, var(--yuta-orange-stripe) 16.66% 33.32%, var(--yuta-yellow) 33.32% 49.98%, var(--yuta-green) 49.98% 66.64%, var(--yuta-blue) 66.64% 83.3%, var(--yuta-purple) 83.3% 100%);
  --yuta-line: 2px solid var(--yuta-ink);
  --yuta-shadow: 7px 7px 0 var(--yuta-ink);
}

html { scroll-behavior: smooth; }

.bs-menu-full { position: relative; margin-bottom: 0 !important; padding-bottom: 10px; }
.bs-menu-full::after { content: ''; position: absolute; right: 0; bottom: 0; left: 0; height: 8px; background: var(--yuta-rainbow); border-top: 2px solid var(--yuta-ink); border-bottom: 2px solid var(--yuta-ink); }
.bs-default .navbar-wp { background: var(--yuta-white); border: var(--yuta-line); box-shadow: 5px 5px 0 var(--yuta-ink); }
.bs-default .navbar-wp .navbar-nav > li > a { font-weight: 750; letter-spacing: .01em; padding: 16px 15px; }
.bs-default .navbar-wp .navbar-nav > li.current-menu-item > a,
.bs-default .navbar-wp .navbar-nav > li > a:hover,
.bs-default .navbar-wp .navbar-nav > li > a:focus { color: var(--yuta-orange); }
.bs-default .navbar-wp .navbar-nav > li.current-menu-item > a { background: #fff0f7; }
.bs-default .navbar-wp .navbar-nav > li.menu-submit-story > a { background: var(--yuta-yellow); color: var(--yuta-ink); border-left: var(--yuta-line); border-right: var(--yuta-line); }
.bs-default .navbar-wp .navbar-nav > li.menu-submit-story > a:hover { background: var(--yuta-ink); color: var(--yuta-white); }

.yutashu-home,
.yutashu-submit-page { color: var(--yuta-ink); background: var(--yuta-white); }
.yutashu-home h1,
.yutashu-home h2,
.yutashu-home h3,
.yutashu-submit-page h1,
.yutashu-submit-page h2 { color: var(--yuta-ink); margin-top: 0; }

.yutashu-kicker { display: inline-block; margin-bottom: 14px; color: var(--yuta-orange); font-size: 12px; font-weight: 850; letter-spacing: .16em; text-transform: uppercase; }
.yutashu-section { padding: 76px 0; }
.yutashu-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 34px; }
.yutashu-section-heading h2 { margin-bottom: 0; font-size: clamp(32px, 4vw, 54px); line-height: 1; }
.yutashu-section-heading > p { max-width: 360px; margin: 0; color: var(--yuta-muted); }

.yutashu-hero { padding: 42px 0 70px; background: var(--yuta-white); }
.yutashu-hero__grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(280px, .75fr); gap: 26px; align-items: stretch; }
.yutashu-hero__copy { position: relative; min-height: 510px; padding: clamp(48px, 7vw, 92px) clamp(34px, 6vw, 78px) clamp(34px, 6vw, 78px); display: flex; flex-direction: column; justify-content: center; overflow: hidden; color: var(--yuta-white); background: var(--yuta-ink); border: var(--yuta-line); box-shadow: var(--yuta-shadow); }
.yutashu-hero__copy::before { content: ''; position: absolute; top: 0; right: 0; left: 0; height: 16px; background: var(--yuta-rainbow); border-bottom: 2px solid #000; }
.yutashu-hero__copy h1 { color: var(--yuta-white); font-size: clamp(48px, 7vw, 92px); line-height: .98; letter-spacing: -.045em; }
.yutashu-hero__copy h1 span { color: transparent; background: linear-gradient(90deg, #ff4f75, #ff9b32 25%, #ffed00 45%, #42d36b 65%, #5c8dff 82%, #d56bff); background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.yutashu-hero__copy > p { max-width: 680px; margin: 22px 0 30px; color: #d7d7d7; font-size: clamp(17px, 2vw, 21px); line-height: 1.75; }
.yutashu-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.yutashu-button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 12px 24px; border: var(--yuta-line); border-radius: 0; font-weight: 850; text-decoration: none !important; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.yutashu-button:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--yuta-ink); }
.yutashu-button--primary { background: var(--yuta-yellow); color: var(--yuta-ink) !important; }
.yutashu-button--primary:hover,
.yutashu-button--primary:focus { background: #ffd500; color: var(--yuta-ink) !important; }
.yutashu-button--light { background: var(--yuta-white); color: var(--yuta-ink) !important; }
.yutashu-button--light:hover,
.yutashu-button--light:focus { background: #f3f3f3; color: var(--yuta-ink) !important; }
.yutashu-button--dark { background: var(--yuta-ink); color: var(--yuta-white) !important; }
.yutashu-button--dark:hover,
.yutashu-button--dark:focus { background: #333; color: var(--yuta-white) !important; }
.yutashu-hero__note { position: relative; display: flex; flex-direction: column; justify-content: flex-end; padding: 34px; overflow: hidden; background: #fff; border: var(--yuta-line); box-shadow: var(--yuta-shadow); }
.yutashu-hero__note::before { content: ''; position: absolute; top: 0; right: 0; left: 0; height: 115px; background: var(--yuta-rainbow); border-bottom: var(--yuta-line); }
.yutashu-age { align-self: flex-start; display: inline-flex; min-height: 38px; padding: 8px 12px; align-items: center; background: var(--yuta-ink); color: var(--yuta-white); font-size: 13px; font-weight: 850; letter-spacing: .08em; }
.yutashu-hero__note-title { margin: 110px 0 12px; font-size: 28px; font-weight: 850; line-height: 1.15; }
.yutashu-hero__note p:not(.yutashu-hero__note-title) { line-height: 1.65; }
.yutashu-hero__rule { height: 2px; margin: 18px 0; background: var(--yuta-ink); }

.yutashu-section--categories { background: var(--yuta-paper); border-top: var(--yuta-line); border-bottom: var(--yuta-line); }
.yutashu-category-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.yutashu-category-card { min-height: 330px; padding: 26px; display: flex; flex-direction: column; color: var(--yuta-ink) !important; background: var(--yuta-white); border: var(--yuta-line); box-shadow: 5px 5px 0 var(--yuta-ink); text-decoration: none !important; transition: transform .2s ease, box-shadow .2s ease; }
.yutashu-category-card:hover { transform: translate(-3px, -3px); box-shadow: 9px 9px 0 var(--yuta-ink); }
.yutashu-category-card--1 { background: #ffe4e8; border-top: 10px solid var(--yuta-red); }
.yutashu-category-card--2 { background: #fff0d7; border-top: 10px solid var(--yuta-orange-stripe); }
.yutashu-category-card--3 { background: #e3f7e9; border-top: 10px solid var(--yuta-green); }
.yutashu-category-card--4 { background: #ebe8ff; border-top: 10px solid var(--yuta-purple); }
.yutashu-category-card__number { margin-left: auto; color: var(--yuta-blue); font-size: 30px; font-weight: 900; }
.yutashu-category-card__eyebrow { margin-top: auto; color: var(--yuta-muted); font-size: 12px; font-weight: 800; letter-spacing: .12em; }
.yutashu-category-card h3 { margin: 9px 0; font-size: 28px; }
.yutashu-category-card p { color: var(--yuta-muted); line-height: 1.6; }
.yutashu-category-card__meta { display: flex; justify-content: space-between; margin-top: 20px; padding-top: 14px; border-top: 1px solid #cfcfcf; font-weight: 750; }
.yutashu-category-card__meta b { font-size: 22px; }

.yutashu-section--latest { background: var(--yuta-white); }
.yutashu-text-link { padding-bottom: 4px; color: var(--yuta-ink) !important; border-bottom: 2px solid var(--yuta-orange); font-weight: 800; text-decoration: none !important; }
.yutashu-latest-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.yutashu-story-card { display: grid; grid-template-columns: 180px minmax(0, 1fr); min-height: 240px; overflow: hidden; background: var(--yuta-white); border: var(--yuta-line); box-shadow: 5px 5px 0 var(--yuta-ink); }
.yutashu-story-card--featured { grid-row: span 3; grid-template-columns: 1fr; min-height: 650px; }
.yutashu-story-card__media { min-height: 220px; display: block; overflow: hidden; background: linear-gradient(135deg, #ff4f75, #ff9b32 26%, #ffed00 47%, #42d36b 68%, #5c8dff); border-right: var(--yuta-line); }
.yutashu-story-card--featured .yutashu-story-card__media { min-height: 340px; border-right: 0; border-bottom: var(--yuta-line); }
.yutashu-story-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.yutashu-story-card:hover .yutashu-story-card__media img { transform: scale(1.03); }
.yutashu-story-card__placeholder { width: 100%; height: 100%; min-height: inherit; display: grid; place-items: center; color: var(--yuta-ink); font-size: 90px; font-weight: 900; }
.yutashu-story-card__body { padding: 24px; display: flex; flex-direction: column; }
.yutashu-story-card__meta { display: flex; justify-content: space-between; gap: 14px; margin-bottom: 13px; color: var(--yuta-muted); font-size: 12px; font-weight: 750; }
.yutashu-story-card__meta span { color: var(--yuta-orange); }
.yutashu-story-card h3 { margin-bottom: 10px; font-size: clamp(22px, 3vw, 36px); line-height: 1.15; }
.yutashu-story-card:not(.yutashu-story-card--featured) h3 { font-size: 24px; }
.yutashu-story-card h3 a { color: var(--yuta-ink); text-decoration: none; }
.yutashu-story-card__body > p { color: var(--yuta-muted); line-height: 1.65; }
.yutashu-story-card__read { margin-top: auto; color: var(--yuta-ink) !important; font-weight: 850; text-decoration: none !important; }
.yutashu-story-card__read span { color: var(--yuta-orange); }
.yutashu-empty-state { padding: 50px; background: var(--yuta-paper); border: var(--yuta-line); box-shadow: var(--yuta-shadow); text-align: center; }

.yutashu-section--community { position: relative; background: linear-gradient(115deg, #ff657d 0%, #ffac45 23%, #ffe85c 42%, #5bdc80 62%, #73a0ff 81%, #c883e5 100%); border-top: var(--yuta-line); border-bottom: var(--yuta-line); }
.yutashu-community-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; }
.yutashu-community-copy .yutashu-kicker { color: var(--yuta-ink); background: rgba(255,255,255,.72); padding: 7px 10px; border: 1px solid var(--yuta-ink); }
.yutashu-community-copy h2 { max-width: 730px; font-size: clamp(38px, 5vw, 68px); line-height: 1.05; }
.yutashu-community-copy > p { max-width: 680px; margin: 22px 0 28px; font-size: 18px; line-height: 1.8; }
.yutashu-community-steps { background: var(--yuta-white); border: var(--yuta-line); box-shadow: var(--yuta-shadow); }
.yutashu-community-steps > div { display: grid; grid-template-columns: 50px 130px 1fr; gap: 16px; align-items: center; padding: 24px; border-bottom: 1px solid #cfcfcf; }
.yutashu-community-steps > div:last-child { border-bottom: 0; }
.yutashu-community-steps span { color: var(--yuta-orange); font-size: 22px; font-weight: 900; }
.yutashu-community-steps strong { font-size: 17px; }
.yutashu-community-steps p { margin: 0; color: var(--yuta-muted); }

.yutashu-submit-page { padding: 55px 0 90px; }
.yutashu-submit-hero { max-width: 900px; margin-bottom: 44px; }
.yutashu-submit-hero h1 { font-size: clamp(44px, 7vw, 82px); line-height: 1; letter-spacing: -.04em; }
.yutashu-submit-hero > p { max-width: 720px; color: var(--yuta-muted); font-size: 19px; line-height: 1.75; }
.yutashu-submit-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, .65fr); gap: 28px; align-items: start; }
.yutashu-submit-form-card,
.yutashu-submit-guide { padding: clamp(26px, 4vw, 46px); border: var(--yuta-line); box-shadow: var(--yuta-shadow); }
.yutashu-submit-form-card { background: var(--yuta-white); }
.yutashu-submit-guide { position: sticky; top: 30px; background: linear-gradient(145deg, #ff7b91 0%, #ffbe56 35%, #75df91 67%, #8caaff 100%); }
.yutashu-submit-guide h2 { margin: 24px 0; font-size: 36px; }
.yutashu-submit-guide ul { margin: 0; padding: 0; list-style: none; }
.yutashu-submit-guide li { padding: 18px 0; border-top: 1px solid rgba(23,23,23,.35); }
.yutashu-submit-guide li strong,
.yutashu-submit-guide li span { display: block; }
.yutashu-submit-guide li span { margin-top: 4px; line-height: 1.55; }
.yutashu-submit-form { display: grid; gap: 22px; }
.yutashu-submit-form label { display: grid; gap: 8px; color: var(--yuta-ink); font-weight: 800; }
.yutashu-submit-form label > span { color: var(--yuta-muted); font-size: 12px; font-weight: 600; }
.yutashu-submit-form input,
.yutashu-submit-form select,
.yutashu-submit-form textarea { width: 100%; min-height: 50px; padding: 12px 14px; color: var(--yuta-ink); background: #fff; border: 2px solid var(--yuta-ink); border-radius: 0; }
.yutashu-submit-form textarea { resize: vertical; line-height: 1.7; }
.yutashu-submit-form #story-content { min-height: 460px; padding: 24px; font-size: 19px; line-height: 1.95; letter-spacing: .015em; }
.yutashu-submit-form input:focus,
.yutashu-submit-form select:focus,
.yutashu-submit-form textarea:focus { outline: 3px solid rgba(255,122,24,.35); outline-offset: 2px; }
.yutashu-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.yutashu-story-editor { display: grid; }
.yutashu-story-editor__heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 10px; }
.yutashu-story-editor__heading label { display: flex; align-items: baseline; gap: 8px; }
.yutashu-character-count { color: var(--yuta-muted); font-size: 13px; font-weight: 800; }
.yutashu-editor-tabs { display: flex; align-items: center; margin-bottom: -2px; position: relative; z-index: 1; }
.yutashu-editor-tabs button { min-height: 42px; padding: 9px 18px; color: var(--yuta-ink); background: #f2f2f2; border: 2px solid var(--yuta-ink); border-right: 0; border-radius: 0; font-weight: 800; }
.yutashu-editor-tabs button:last-child { border-right: 2px solid var(--yuta-ink); }
.yutashu-editor-tabs button.is-active { background: var(--yuta-yellow); }
.yutashu-story-preview { min-height: 460px; padding: 34px clamp(24px, 5vw, 58px); color: #282828; background: var(--yuta-paper); border: 2px solid var(--yuta-ink); font-family: Georgia, 'Noto Serif SC', 'Songti SC', serif; font-size: 20px; line-height: 2; }
.yutashu-story-preview p { margin: 0 0 1.45em; color: inherit; }
.yutashu-story-preview p:last-child { margin-bottom: 0; }
.yutashu-story-preview__empty { color: var(--yuta-muted) !important; font-style: italic; }
.yutashu-checkbox { grid-template-columns: 24px 1fr !important; align-items: start; padding: 16px; background: var(--yuta-paper); border: 1px solid #d6d6d6; }
.yutashu-checkbox input { width: 20px; min-height: 20px; margin-top: 2px; }
.yutashu-checkbox span { font-size: 14px !important; line-height: 1.6; }
.yutashu-honeypot { position: absolute; left: -9999px; }
.yutashu-form-notice { margin-bottom: 26px; padding: 20px; border: var(--yuta-line); }
.yutashu-form-notice p { margin: 5px 0 0; }
.yutashu-form-notice--success { background: #dbf6df; }
.yutashu-form-notice--error { background: #ffe1dc; }

.comments-area { background: var(--yuta-paper); border: var(--yuta-line); box-shadow: 5px 5px 0 var(--yuta-ink); }
footer .bs-footer-copyright { border-top: var(--yuta-line); }

@media (max-width: 1199px) {
  .yutashu-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .yutashu-latest-grid { grid-template-columns: 1fr; }
  .yutashu-story-card--featured { grid-row: auto; min-height: 560px; }
}

@media (max-width: 991px) {
  .bs-menu-full { padding: 0 12px; }
  .bs-default .navbar-wp { padding: 10px 14px; }
  .bs-default .navbar-wp .navbar-nav > li.menu-submit-story > a { border: 0; }
  .yutashu-hero__grid,
  .yutashu-community-grid,
  .yutashu-submit-layout { grid-template-columns: 1fr; }
  .yutashu-hero__copy { min-height: 460px; }
  .yutashu-hero__note-title { margin-top: 60px; }
  .yutashu-submit-guide { position: static; }
}

@media (max-width: 767px) {
  .yutashu-section { padding: 56px 0; }
  .yutashu-section-heading { align-items: start; flex-direction: column; }
  .yutashu-hero { padding-top: 24px; }
  .yutashu-hero__copy { min-height: auto; padding: 38px 25px; }
  .yutashu-hero__copy h1 { font-size: 49px; }
  .yutashu-category-grid { grid-template-columns: 1fr; }
  .yutashu-category-card { min-height: 275px; }
  .yutashu-story-card,
  .yutashu-story-card--featured { grid-template-columns: 1fr; min-height: auto; }
  .yutashu-story-card__media,
  .yutashu-story-card--featured .yutashu-story-card__media { min-height: 240px; border-right: 0; border-bottom: var(--yuta-line); }
  .yutashu-community-steps > div { grid-template-columns: 45px 1fr; }
  .yutashu-community-steps p { grid-column: 2; }
  .yutashu-form-row { grid-template-columns: 1fr; }
  .yutashu-submit-form #story-content,
  .yutashu-story-preview { min-height: 380px; padding: 20px; font-size: 18px; }
}
