/* 初稿用の提案色。正式なブランドガイドとの照合は保留。 */
:root {
  --wine: #691b32;
  --deep-wine: #511829;
  --paper: #fffaf1;
  --pink: #f1d4d3;
  --yellow: #f8dfa0;
  --ink: #35272b;
  --line: #dcc1b5;
  --gutter: 24px;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  color: var(--ink);
  background: #eee4da;
  font-size: 16px;
  line-height: 1.85;
  font-synthesis: none;
}
* { box-sizing: border-box; }
body, h1, h2, h3, h4, p, figure { margin: 0; }
body { min-inline-size: 320px; }
img { display: block; inline-size: 100%; block-size: 100%; object-fit: cover; }
main { max-inline-size: 1600px; margin-inline: auto; background: var(--paper); }
p + p { margin-block-start: 16px; }
h1, h2, h3, h4 { color: var(--wine); font-weight: 750; }
h1, h2 { letter-spacing: -.035em; line-height: 1.45; text-wrap: pretty; }
h1 { font-size: clamp(30px, 4.6vw, 58px); }
h2 { font-size: clamp(28px, 3.5vw, 44px); margin-block: 24px 30px; }
h3 { font-size: 23px; line-height: 1.6; }
h4 { font-size: 21px; line-height: 1.55; }
mark {
  color: inherit;
  background: linear-gradient(transparent 72%, #fae795c9 72%, #fae795c9 94%, transparent 94%);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  padding-block-end: 3px;
}
.latin, .program-name, .exchange-name { font-family: Georgia, serif; }
.section { position: relative; isolation: isolate; padding: 76px 0 86px; }
.section::before {
  content: ""; position: absolute; z-index: -2; inset: 0; pointer-events: none;
  opacity: .24;
  background-image: repeating-linear-gradient(83deg, #b3a28d0c 0 1px, transparent 1px 4px), repeating-linear-gradient(5deg, #a7897510 0 1px, transparent 1px 3px);
}
.wrap { position: relative; max-inline-size: 900px; margin-inline: auto; padding-inline: var(--gutter); }
.wide { max-inline-size: 1140px; }
.section-tag {
  position: relative; display: inline-block; padding: 5px 24px 5px 21px;
  background: #efd4ce; color: var(--wine); font: italic 700 20px/1.5 Georgia, serif;
  box-shadow: 0 3px 5px #63332112;
  clip-path: polygon(2% 0, 98% 3%, 100% 22%, 97% 39%, 100% 60%, 96% 77%, 98% 100%, 0 97%, 2% 78%, 0 60%, 3% 39%, 0 21%);
}
.section-tag.yellow { background: var(--yellow); }
.section-tag.burgundy { color: var(--paper); background: var(--wine); }
.section-lead { margin-block-end: 34px; }
.hero { padding-block-start: 36px; overflow: clip; }
.hero::after {
  content: ""; position: absolute; z-index: -3; inset: 180px 0 34%; background: var(--wine);
  clip-path: polygon(100% 0,100% 85%,0 100%,0 57%);
}
.hero-paper {
  position: absolute; z-index: -1; inset: 0 0 auto; block-size: 490px;
  background: var(--paper);
  clip-path: polygon(0 0,100% 0,100% 72%,96% 74%,95% 76%,89% 77%,87% 79%,80% 80%,78% 83%,72% 84%,70% 86%,65% 86%,62% 88%,56% 88%,51% 91%,44% 90%,39% 93%,35% 92%,29% 95%,25% 94%,20% 97%,15% 96%,10% 99%,5% 98%,0 100%);
}
.brand-logo { position: relative; inline-size: 100%; aspect-ratio: 3.4; background: transparent; overflow: hidden; }
.brand-logo img { position: absolute; inset-inline-start: 0; inset-block-start: 50%; inline-size: 100%; block-size: auto; object-fit: contain; transform: translateY(-50%); }
.logo-joyful img { block-size: 100%; }
.hero-logo { inline-size: 240px; max-inline-size: 100%; margin-block: 25px 34px; }
.program-logo { inline-size: 250px; max-inline-size: 100%; margin-block-end: 20px; }
.role-logo { flex: 0 0 48%; }
.subtitle { font-size: 18px; max-inline-size: 29em; margin-block-start: 20px; color: var(--wine); font-weight: 600; line-height: 1.8; }
.album { position: relative; inline-size: 87%; max-inline-size: 660px; margin: 46px auto 100px; }
.album::before { content: ""; position: absolute; inset: 10% -7% -8% -6%; background: var(--yellow); transform: rotate(3deg); z-index: -1; clip-path: polygon(2% 3%,98% 0,100% 95%,97% 98%,2% 100%,0 95%); }
.photo { position: relative; flex-shrink: 0; border: 10px solid #fffdf6; border-block-end-width: 16px; border-radius: 3px; box-shadow: 0 5px 14px #3b202333; background: #e7d4cc; }
.photo img { position: absolute; inset: 0; }
.photo::before { content: ""; position: absolute; z-index: 1; inline-size: 79px; block-size: 22px; inset-block-start: -20px; inset-inline-start: 13%; background: #f2d0cfdb; transform: rotate(-9deg); clip-path: polygon(0 3%,100% 0,98% 21%,100% 42%,98% 68%,100% 100%,0 95%,2% 68%,0 40%); }
.main-photo { transform: rotate(-4deg); aspect-ratio: 1.5; }
.small-photo { position: absolute; inline-size: 29%; aspect-ratio: 1; border-width: 6px; border-block-end-width: 10px; }
.small-one { inset-inline-end: 20%; inset-block-end: -49px; transform: rotate(-8deg); }
.small-two { inset-inline-end: -7%; inset-block-end: -42px; transform: rotate(9deg); }
.small-two::before { background: #f8dc8acf; inline-size: 40px; block-size: 14px; inset-block-start: -12px; inset-inline-start: 50%; }
.small-one::before { display: none; }
.paper-note { position: relative; border: 1px solid var(--line); border-radius: 18px; padding: 34px; background: #fffaf4e0; box-shadow: 0 4px 7px #603b2515; }
.intro { margin-block-start: 40px; }
.note-label { position: absolute; inset-block-start: -22px; inset-inline-start: 26px; padding: 1px 24px; background: var(--pink); font: italic 700 24px/1.7 Georgia, serif; color: var(--wine); transform: rotate(-3deg); }
.note-label::before { content: ""; position: absolute; inline-size: 18px; block-size: 47px; inset: -6px auto auto 0; background: #f9df94b3; transform: rotate(33deg); }
.philosophy { background: linear-gradient(145deg,#f6e2dc 0,transparent 25%),var(--paper); }
.philosophy::after, .programs::after { content: ""; position: absolute; z-index: -1; inline-size: 160px; block-size: 110px; inset: 0 0 auto auto; background-image: radial-gradient(#a948505c 1.2px,transparent 1.5px); background-size: 15px 15px; clip-path: polygon(20% 0,100% 0,100% 100%); }
.brush-heading { border-inline-start: 4px solid var(--wine); padding: 2px 14px; margin-block: 30px 22px; background: linear-gradient(90deg,#f1d3cdad,transparent); }
.abilities { display: grid; gap: 14px; }
.ability { display: grid; grid-template-columns: 200px 1fr; align-items: center; gap: 25px; padding: 20px 28px; border: 1px solid #e4c9bd; border-radius: 13px; background: #fffaf5; box-shadow: 0 3px 5px #66332b12; }
.ability-name { border-inline-end: 1px solid #b48282; }
.ability-name h4 { font-size: 24px; }
.ability-name span { display: block; color: var(--wine); font: italic 18px/1.6 Georgia,serif; }
.possibility { margin-block-start: 40px; }
.highlight { padding: 12px 18px; background: #fff0bd; border-radius: 9px; color: var(--wine); font-weight: 700; }
.programs { background: #f5e8de; }
.program-grid, .role-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
.program-grid { align-items: start; }
.program-card { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 4px 8px #5e32231a; }
.program-summary { position: relative; display: block; list-style: none; padding: 30px; cursor: pointer; border-radius: 18px; }
.program-summary::-webkit-details-marker { display: none; }
.program-summary::marker { content: ""; }
.program-summary:focus-visible { outline: 3px solid var(--wine); outline-offset: 4px; }
.program-summary:hover { background: #f1d4d326; }
.program-summary .staff-role { margin-block-end: 18px; }
.accordion-action { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block-start: 14px; border-block-start: 1px solid var(--line); color: var(--wine); font-size: 15px; font-weight: 700; }
.accordion-icon { position: relative; display: block; inline-size: 26px; block-size: 26px; border: 1px solid #b78990; border-radius: 50%; }
.accordion-icon::before, .accordion-icon::after { content: ""; position: absolute; inset: 11px 6px auto; block-size: 2px; background: var(--wine); }
.accordion-icon::after { transform: rotate(90deg); }
.label-close, .program-card[open] .label-open, .program-card[open] .accordion-icon::after { display: none; }
.program-card[open] .label-close { display: inline; }
.program-content { padding: 5px 30px 30px; }
.program-card::before { content: ""; position: absolute; z-index: 0; inset: 0 0 auto 40%; block-size: 52px; background: #efd2d1; clip-path: polygon(0 0,100% 0,100% 80%,94% 75%,88% 85%,77% 69%,64% 78%,49% 48%,34% 55%,20% 24%); border-start-end-radius: 18px; pointer-events: none; }
.journey::before { background: #d5adb9; }
.program-name { font-size: 31px; font-weight: 700; color: var(--wine); line-height: 1.3; }
.program-card > .program-name { margin-block-end: 20px; }
.program-card h3 { font-size: 25px; }
.staff-role { color: var(--wine); font-weight: 600; font-size: 17px; margin-block: 9px 25px; }
.program-photo { inline-size: 93%; aspect-ratio: 1.5; margin: 0 auto 26px; transform: rotate(-2deg); }
.journey .program-photo { transform: rotate(2deg); }
.program-copy { margin-block-end: 24px; }
.program-copy p { font-size: 16px; }
.level { margin-block-start: auto; inline-size: 100%; text-align: center; padding: 9px; border-radius: 5px; background: #eed4d5; color: var(--wine); font-weight: 700; }
.equal-note { margin-block: 30px 24px; padding: 22px 24px; border: 1px solid #a77b7a; border-radius: 9px; text-align: center; background: #fffaf2; }
.equal-note h3 { font-size: 21px; margin-block-end: 8px; }
.comparison { border: 1px solid #b8958d; border-radius: 10px; overflow: hidden; }
table { inline-size: 100%; border-collapse: collapse; background: #fffaf3; font-size: 16px; line-height: 1.65; table-layout: fixed; }
th,td { padding: 13px 16px; text-align: start; border-block-end: 1px solid #ccb0a6; border-inline-end: 1px solid #ccb0a6; overflow-wrap: anywhere; }
th:last-child, td:last-child { border-inline-end: 0; }
tr:last-child td,tr:last-child th { border-block-end: 0; }
thead th { background: #efd7d3; color: var(--wine); font-size: 19px; }
th:first-child { inline-size: 23%; color: var(--wine); }
.roles { background: #fffbf5; }
.role-card { border: 1px solid #ecd6cd; border-radius: 22px; padding: 26px; background: linear-gradient(150deg,#fae6e2,#fffaf3 55%); box-shadow: 0 3px 6px #643c2312; }
.role-card header { display: flex; align-items: center; gap: 16px; min-block-size: 64px; margin-block-end: 24px; }
.role-card header .program-name { font-size: 29px; }
.role-name { font-family: Georgia,serif; border-inline-start: 1px solid #9e6d73; padding-inline-start: 14px; color: var(--wine); font-size: 20px; line-height: 1.3; overflow-wrap: anywhere; }
.role-diagram { min-block-size: 330px; display: flex; align-items: center; justify-content: center; flex-direction: column; background: #fffaf7c9; border-radius: 20px; padding: 20px 10px; color: var(--wine); }
.person { display: flex; flex-direction: column; align-items: center; border: 1px solid #a36e75; background: #f9e1d6; border-radius: 50%; inline-size: 132px; padding: 20px 5px; line-height: 1.5; }
.person span { font-weight: 700; }
.person small { font: italic 14px/1.5 Georgia,serif; }
.supporter-diagram .person { border-radius: 12px; inline-size: 180px; padding: 10px; }
.diagram-action { font-size: 14px; margin-block-start: 8px; }
.down-arrows, .up-arrows { font: 36px/1.4 Georgia,serif; color: #9f3853; }
.up-arrows { color: #c18a21; }
.children-group { display: flex; align-items: center; justify-content: center; gap: 14px; position: relative; padding-block: 0 35px; }
.children-group i { inline-size: 42px; block-size: 42px; border-radius: 50%; border: 1px solid #ac757a; background: #f2d9cc; }
.children-group i:nth-of-type(2) { background: #f8e9bf; }
.children-group i:nth-of-type(3) { background: #e7d5db; }
.children-group > span:last-child { position: absolute; inset-block-end: 0; font-size: 16px; font-weight: 700; }
.children-group .peer-arrow { font-size: 23px; }
.supporter-diagram .children-group { gap: 5px; }
.ribbon { color: var(--wine); background: #f3d7d7; padding: 14px 20px; text-align: center; margin-block: 20px; font-size: 20px; line-height: 1.6; clip-path: polygon(0 0,100% 0,98% 50%,100% 100%,0 100%,2% 50%); }
.footnote { font-size: 13px; line-height: 1.8; margin-block-start: 20px; }
.roles > .wrap > .footnote { text-align: center; }
.closing-highlight { color: var(--wine); background: #fff0c7; padding: 22px 28px; border-radius: 50% 8% 35% 9% / 12% 30% 10% 35%; text-align: center; font-size: 21px; font-weight: 700; margin-block-start: 28px; }
.examples { background: linear-gradient(165deg,#f5e5dc,transparent 28%),var(--paper); }
.example-grid { display: grid; gap: 28px; margin-block: 40px; }
.example-card { padding: 28px; }
.example-card::before { content: ""; position: absolute; inline-size: 70px; block-size: 19px; inset-block-start: -8px; inset-inline-end: 20px; background: #efcaca9c; transform: rotate(12deg); }
.example-card header { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; margin-block-end: 12px; }
.example-card h3 { font-size: 30px; }
.level-pill { background: #f1cfd0; border-radius: 40px; padding: 2px 16px; color: var(--wine); }
.example-card h4 { margin-block-end: 17px; }
.suggestion { background: #f9e7e4; border-block-start: 1px solid #d6b8b3; padding: 18px; margin-block-start: 22px; border-radius: 0 0 8px 8px; }
.suggestion strong { color: var(--wine); background: linear-gradient(transparent 65%,var(--yellow) 65%); }
.assessment h3 { margin-block-end: 22px; }
.pink-highlight { background: #f7dede; padding: 4px 7px; color: var(--wine); box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.paper-footnote { background: #f2e6d6; padding: 13px 17px; border-radius: 3px; }
.growth { background: #fffaf5; padding-block-end: 95px; }
.growth::after { content: ""; position: absolute; z-index: -1; inset: auto 0 0 auto; inline-size: 220px; block-size: 70px; background: var(--wine); clip-path: polygon(100% 0,100% 100%,0 100%); }
.program-exchange { display: flex; align-items: center; gap: 16px; margin-block: 42px 25px; }
.exchange-name { flex: 1; min-inline-size: 0; text-align: center; padding: 26px 10px; border-radius: 35px; background: #f9dddd; box-shadow: inset 0 0 15px #ffffffb3,0 4px 7px #70333314; color: var(--wine); font-size: 35px; font-weight: 700; }
.exchange-name:last-child { background: #eddee8; }
.exchange-arrows { color: #ad3659; font-size: 56px; line-height: 1; }
.exchange-copy { font-weight: 700; }
.growth-note { border: 1px solid #e7cfc0; border-radius: 15px; padding: 26px 28px; margin-block: 28px 48px; }
.growth-note h3 { border-inline-start: 4px solid var(--wine); padding-inline-start: 17px; font-size: 22px; margin-block-end: 17px; }
.final-photo { aspect-ratio: 1.85; margin: 10px 16px 40px; transform: rotate(-2deg); }
.final-photo::before { background: #f5dfa5c9; }
.final-message { font-size: 30px; text-align: center; margin-block: 30px 22px; }
.final-copy { text-align: center; }

@media (min-width: 1000px) {
  .hero .wrap { max-inline-size: 1140px; display: grid; grid-template-columns: 1fr 1fr; column-gap: 50px; }
  .hero .section-tag { grid-column: 1; justify-self: start; }
  .hero .hero-logo { grid-column: 1; }
  .hero-heading { grid-column: 1; padding-block: 10px 50px; }
  .hero h1 { font-size: 42px; }
  .album { grid-column: 2; grid-row: 1 / 5; align-self: center; inline-size: 90%; margin-block: 45px 70px; }
  .intro { grid-column: 1 / -1; max-inline-size: 850px; justify-self: center; margin-block-start: 25px; }
  .hero-paper { block-size: 490px; }
}

@media (max-width: 599px) {
  :root { --gutter: 22px; }
  .section { padding-block: 47px 56px; }
  h1 { font-size: 30px; line-height: 1.48; letter-spacing: -.045em; }
  h2 { font-size: 28px; line-height: 1.48; margin-block: 23px 25px; }
  h3 { font-size: 21px; }
  .section-tag { font-size: 17px; padding: 4px 20px; }
  .hero { padding-block-start: 24px; }
  .hero-logo { inline-size: 220px; margin-block: 23px 29px; }
  .subtitle { font-size: 16px; margin-block-start: 17px; line-height: 1.85; max-inline-size: 21em; }
  .hero-paper { block-size: 470px; }
  .hero::after { inset-block-start: 230px; inset-block-end: 39%; clip-path: polygon(100% 0,100% 87%,0 100%,0 40%); }
  .album { inline-size: 91%; margin-block: 42px 95px; }
  .photo { border-width: 7px; border-block-end-width: 12px; }
  .small-photo { inline-size: 31%; border-width: 5px; border-block-end-width: 8px; }
  .small-one { inset-block-end: -48px; }
  .small-two { inset-block-end: -43px; }
  .paper-note { padding: 30px 20px 24px; border-radius: 15px; }
  .intro { margin-inline: -5px; }
  .note-label { font-size: 21px; inset-inline-start: 18px; inset-block-start: -19px; padding-inline: 20px; }
  .ability { grid-template-columns: 1fr; gap: 8px; padding: 18px 20px; }
  .ability-name { border-inline-end: 0; display: flex; align-items: baseline; gap: 13px; flex-wrap: wrap; }
  .ability-name h4 { font-size: 22px; }
  .ability-name span { font-size: 17px; }
  .brush-heading { font-size: 20px; padding-inline: 12px 0; }
  .highlight { padding: 14px 16px; }
  .program-grid, .role-grid { grid-template-columns: 1fr; gap: 27px; }
  .program-summary { padding: 24px 20px; }
  .program-content { padding: 5px 20px 24px; }
  .program-card h3 { font-size: 23px; }
  .staff-role { font-size: 16px; }
  .program-photo { inline-size: 95%; }
  .program-name { font-size: 29px; }
  .equal-note { padding: 20px 16px; text-align: start; }
  .equal-note h3 { font-size: 20px; }
  table { font-size: 14px; line-height: 1.7; }
  th, td { padding: 11px 8px; vertical-align: top; }
  th:first-child { inline-size: 24%; }
  thead th { font-size: 15px; }
  .role-card { padding: 22px 18px; }
  .role-card header .program-name { font-size: 26px; }
  .role-card header { gap: 13px; }
  .role-name { font-size: 18px; padding-inline-start: 12px; }
  .ribbon { font-size: 19px; padding: 14px 12px; }
  .closing-highlight { font-size: 20px; padding: 20px 18px; }
  .example-card { padding: 26px 20px 20px; }
  .example-card h4 { font-size: 21px; }
  .suggestion { padding: 16px; margin-inline: -6px; }
  .assessment h3 { font-size: 23px; }
  .program-exchange { gap: 9px; }
  .exchange-name { font-size: 23px; padding: 24px 5px; border-radius: 24px; }
  .exchange-arrows { font-size: 38px; }
  .exchange-copy { font-size: 18px; }
  .exchange-copy br { display: none; }
  .growth-note { padding: 23px 18px; }
  .growth-note h3 { font-size: 21px; padding-inline-start: 12px; }
  .final-photo { aspect-ratio: 1.5; margin-inline: 6px; }
  .final-message { font-size: 26px; line-height: 1.65; text-align: start; }
  .final-copy { text-align: start; }
  .desktop-break { display: none; }
  .growth { padding-block-end: 85px; }
}
