/* デザイン設定。写真・資料・文章は site-config.js で編集してください。 */

:root {
  --ink:#304e40;
  --green:#437454;
  --muted:#626f60;
  --line:#dce4d4
}
* {
  box-sizing:border-box
}
html {
  scroll-behavior:smooth;
  scroll-padding-top:120px
}
body {
  margin:0;
  background:#fffdf7;
  color:var(--ink);
  font-family:"Yu Gothic",Meiryo,sans-serif;
  line-height:1.9
}
h1,h2,p {
  margin:0
}
a {
  color:inherit;
  text-underline-offset:5px
}
button {
  font:inherit;
  cursor:pointer
}
a:focus-visible,button:focus-visible {
  outline:3px solid #b57132;
  outline-offset:4px
}
.wrap {
  width:min(1120px,calc(100% - 40px));
  margin:auto
}
header {
  position:sticky;
  top:0;
  background:#fffefaf5;
  z-index:10;
  border-bottom:1px solid var(--line)
}
.header {
  min-height:86px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px
}
.brand {
  text-decoration:none
}
.brand small {
  display:block;
  font-size:11px;
  letter-spacing:.12em
}
.brand strong {
  font-size:25px;
  letter-spacing:.12em
}
nav {
  display:flex;
  align-items:center;
  gap:24px
}
nav a {
  font-size:13px;
  text-decoration:none;
  font-weight:bold
}
.pill,.button {
  background:var(--green);
  color:white;
  padding:10px 20px;
  border-radius:30px;
  text-decoration:none
}
.hero {
  background:linear-gradient(120deg,#faf4e3,#edf4e3 70%,#fff0dc);
  padding:65px 0 30px
}
.hero-grid {
  display:grid;
  grid-template-columns:1.2fr 1fr;
  gap:50px;
  align-items:center
}
.eyebrow {
  font-size:12px;
  letter-spacing:.16em;
  color:var(--green);
  font-weight:bold;
  margin-bottom:14px
}
h1 {
  font-size:clamp(30px,3.8vw,46px);
  line-height:1.65;
  letter-spacing:.05em
}
h1 em {
  font-style:normal;
  color:var(--green);
  background:linear-gradient(transparent 78%,#ebdca9 78%)
}
.hero-copy {
  margin-top:20px;
  color:var(--muted)
}
.hero-art {
  aspect-ratio:1.25;
  background:#e0ecd4;
  border:8px solid white;
  border-radius:85px 85px 20px 20px;
  overflow:hidden;
  position:relative
}
.hero-art svg {
  width:100%;
  height:100%;
  display:block
}
.hero-art img {
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover
}
.hero-note {
  position:absolute;
  bottom:16px;
  left:50%;
  transform:translateX(-50%);
  white-space:nowrap;
  background:#fffdf3ed;
  border-radius:30px;
  padding:6px 18px;
  font-size:12px
}
.promises {
  display:flex;
  flex-wrap:wrap;
  gap:25px;
  border-top:1px solid #cfdcc3;
  margin-top:35px;
  padding-top:22px;
  font-size:13px
}
.promises span:before {
  content:'✓';
  margin-right:8px;
  color:var(--green)
}
.intro {
  text-align:center;
  padding:55px 0 20px
}
.intro h2 {
  font-size:28px
}
.intro p {
  color:var(--muted);
  margin-top:10px
}
.categories {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:12px;
  margin-top:28px
}
.categories a {
  border:1px solid var(--line);
  border-radius:12px;
  padding:18px 12px;
  text-decoration:none;
  background:white;
  text-align:left;
  display:flex;
  align-items:center;
  gap:12px;
  transition:transform .2s
}
.categories a:hover {
  transform:translateY(-4px)
}
.number {
  font:26px Georgia,serif;
  color:#7d916c
}
.categories strong {
  display:block;
  font-size:15px
}
.categories small {
  display:block;
  font-size:11px;
  color:var(--muted)
}
.service {
  padding:45px 0;
  border-bottom:1px solid var(--line)
}
.section-top {
  display:grid;
  grid-template-columns:1fr 1.1fr;
  gap:40px;
  margin-bottom:25px
}
.service h2 {
  font-size:29px;
  letter-spacing:.06em
}
.lead {
  color:var(--muted);
  margin-top:12px
}
.tags {
  display:flex;
  flex-wrap:wrap;
  gap:7px;
  margin:17px 0 0;
  padding:0;
  list-style:none
}
.tags li {
  background:#eff4e8;
  border:1px solid #dbe4d0;
  border-radius:25px;
  padding:3px 12px;
  font-size:12px
}
.details {
  display:grid;
  gap:12px;
  font-size:14px;
  color:var(--muted)
}
.details strong {
  color:var(--ink)
}
.gallery {
  display:grid;
  grid-template-columns:2fr 1fr 1fr;
  grid-template-rows:155px 155px;
  gap:12px
}
.gallery figure {
  margin:0;
  position:relative;
  border-radius:12px;
  overflow:hidden;
  background:linear-gradient(130deg,#eaf0e1,#f7f1e4);
  border:1px solid #e1e6d8;
  min-width:0
}
.gallery figure:first-child {
  grid-row:span 2
}
.gallery figure:nth-child(even) {
  background:linear-gradient(130deg,#faeddd,#f4f3e8)
}
.placeholder {
  height:100%;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  padding-bottom:25px;
  color:#707c66;
  font-size:12px;
  gap:7px
}
.placeholder svg {
  width:34px;
  height:34px;
  opacity:.6
}
.gallery figcaption {
  position:absolute;
  bottom:0;
  left:0;
  right:0;
  background:#fffef6ed;
  padding:7px 12px;
  font-size:12px;
  pointer-events:none
}
.gallery button {
  width:100%;
  height:100%;
  border:0;
  padding:0;
  display:block;
  background:none;
  cursor:zoom-in
}
.gallery img {
  width:100%;
  height:100%;
  object-fit:cover;
  display:block
}
.consultation {
  margin:55px 0;
  padding:38px;
  background:#fff0df;
  border:1px solid #edddc7;
  border-radius:20px;
  display:grid;
  grid-template-columns:1.3fr 1fr;
  gap:35px;
  align-items:center
}
.consultation h2 {
  font-size:26px;
  margin-bottom:12px
}
.consultation p {
  font-size:14px;
  color:var(--muted)
}
.actions {
  display:grid;
  gap:12px;
  text-align:center
}
.button {
  display:block;
  border-radius:10px;
  font-weight:bold;
  padding:16px
}
.phone {
  background:#fffaf2;
  border-radius:10px;
  padding:12px
}
.phone strong {
  display:block
}
.phone small {
  font-size:12px;
  color:var(--muted)
}
footer {
  background:#eef3e7;
  border-top:1px solid var(--line);
  padding:35px 0 20px
}
.footer-grid {
  display:flex;
  justify-content:space-between;
  gap:25px;
  flex-wrap:wrap
}
.footer-grid strong {
  font-size:20px
}
.footer-grid p {
  font-size:13px;
  color:var(--muted);
  margin-top:8px
}
.footer-links {
  display:flex;
  gap:20px;
  align-items:center;
  font-size:13px
}
.copyright {
  margin-top:25px;
  padding-top:15px;
  border-top:1px solid var(--line);
  font-size:11px;
  color:var(--muted)
}
dialog {
  border:0;
  border-radius:14px;
  padding:16px;
  max-width:94vw;
  max-height:92vh;
  background:#fffdf7;
  color:var(--ink)
}
dialog::backdrop {
  background:#263c30ba
}
dialog img {
  max-width:85vw;
  max-height:73vh;
  display:block;
  margin:auto
}
dialog .bar {
  display:flex;
  justify-content:space-between;
  gap:25px;
  align-items:center;
  margin-bottom:12px
}
dialog button {
  padding:7px 17px;
  border:1px solid var(--line);
  border-radius:20px;
  background:white
}
.skip {
  position:fixed;
  top:-90px;
  background:white;
  padding:10px;
  z-index:99
}
.skip:focus {
  top:5px
}

@media(max-width:800px) {
  nav {
  gap:13px
}
.categories {
  grid-template-columns:repeat(2,1fr)
}
.hero-grid {
  gap:25px
}
.section-top {
  gap:25px
}

}

@media(max-width:600px) {
  html {
  scroll-padding-top:140px
}
.wrap {
  width:calc(100% - 32px)
}
.header {
  display:block;
  padding:10px 0
}
.brand strong {
  font-size:20px
}
.brand small {
  font-size:10px
}
nav {
  margin-top:9px;
  justify-content:space-between;
  gap:10px;
  overflow:auto;
  padding-bottom:4px
}
nav a {
  font-size:11px;
  white-space:nowrap
}
.pill {
  padding:5px 9px
}
.hero {
  padding:35px 0 25px
}
.hero-grid,.section-top,.consultation {
  grid-template-columns:1fr
}
.hero-copy {
  font-size:14px
}
.hero-art {
  aspect-ratio:1.8;
  border-radius:50px 50px 16px 16px
}
.promises {
  display:grid;
  gap:6px;
  margin-top:23px;
  padding-top:18px;
  font-size:12px
}
.intro {
  padding-top:35px
}
.intro h2 {
  font-size:23px
}
.intro p {
  font-size:14px
}
.categories a {
  padding:14px 10px;
  gap:9px
}
.categories strong {
  font-size:14px
}
.categories small {
  font-size:10px
}
.service {
  padding:32px 0
}
.service h2 {
  font-size:25px
}
.gallery {
  grid-template-columns:1fr 1fr;
  grid-template-rows:210px 130px 130px;
  gap:8px
}
.gallery figure:first-child {
  grid-column:span 2;
  grid-row:auto
}
.consultation {
  padding:25px;
  margin:35px 0;
  gap:22px
}
.consultation h2 {
  font-size:22px
}
.footer-links {
  flex-wrap:wrap;
  gap:15px
}

}

@media(prefers-reduced-motion:reduce) {
  html {
  scroll-behavior:auto
}
* {
  transition:none!important
}

}


/* 明るい和風ゲームUI：縦書きの選択パネル */
:root {
  --ink:#214f49;
  --green:#23766a;
  --muted:#506d64;
  --line:#c7ded0
}

html {
  scroll-padding-top:205px
}
header {
  border-bottom:2px solid #9fcab9;
  box-shadow:0 4px 20px #39796d0d
}
.header {
  min-height:185px
}
.brand strong {
  color:#205e51
}
.header-menu {
  gap:10px;
  padding:10px 0;
  margin:0;
  overflow:visible;
  align-items:stretch
}

.game-tile {
  position:relative;
  isolation:isolate;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:flex-start;
  background:linear-gradient(120deg,#fffef8f5,#e8f4e9f5);
  border:1px solid #9bc5b0;
  border-top:3px solid #69aa90;
  border-radius:2px 2px 7px 7px;
  color:#245b50;
  text-decoration:none;
  box-shadow:inset 0 0 0 3px #fffef8,0 4px 0 #cedfd2,0 7px 12px #366f5910;
  transition:transform .22s,background .22s,box-shadow .22s;
  overflow:hidden
}

.game-tile:before {
  content:'';
  position:absolute;
  inset:0;
  z-index:-1;
  background:repeating-linear-gradient(0deg,transparent,transparent 3px,#72b1950b 3px,#72b1950b 4px);
  pointer-events:none
}
.game-tile:after {
  content:'';
  position:absolute;
  inset:6px;
  border:1px solid #8fc6ad55;
  pointer-events:none
}
.game-tile:hover,.game-tile:focus-visible {
  background:linear-gradient(140deg,#e2f5d4,#bfe6d3);
  transform:translateY(-5px);
  box-shadow:inset 0 0 0 3px #fafff4,0 4px 0 #8cbca3,0 9px 24px #4c9f7930;
  color:#164d40;
  border-color:#4c977b
}
.tile-label {
  writing-mode:vertical-rl;
  text-orientation:upright;
  letter-spacing:.16em;
  line-height:1.4;
  font-weight:bold;
  white-space:nowrap
}
.tile-icon {
  display:block;
  flex-shrink:0
}
.tile-icon svg {
  width:23px;
  height:23px;
  display:block
}
.tile-cursor {
  font-size:9px;
  color:#508976;
  margin-top:auto;
  transition:color .2s,transform .2s
}
.game-tile:hover .tile-cursor {
  color:#b37929;
  transform:translateY(2px)
}
.header-menu .game-tile {
  width:51px;
  height:161px;
  padding:10px 6px 5px;
  font-size:12px
}
.header-menu .tile-icon svg {
  width:18px;
  height:18px
}
.header-menu .tile-icon {
  margin-bottom:7px
}
.header-menu .tile-label {
  letter-spacing:.08em;
  font-size:12px;
  line-height:1.2
}

.hero {
  position:relative;
  isolation:isolate;
  padding:65px 0 28px;
  background:#f0f6e6;
  overflow:hidden
}
.hero:before {
  content:'';
  position:absolute;
  inset:0;
  z-index:-2;
  background:linear-gradient(100deg,#fffcedf5,#edf8e6d9),url('./image/IMG_20170614_130511.jpg') center/cover
}
.hero:after {
  content:'';
  position:absolute;
  inset:20px;
  z-index:-1;
  border:1px solid #a9c9ae80;
  outline:1px solid #ffffffc0;
  outline-offset:5px;
  pointer-events:none
}
.hero-grid {
  grid-template-columns:1fr 1.15fr;
  gap:45px;
  min-height:400px
}
.hero h1 {
  font-size:clamp(30px,3.4vw,44px)
}
.hero .eyebrow {
  border-left:3px solid #74a98d;
  padding-left:12px
}
.hero-selection {
  padding:8px 0 15px
}
.menu-caption {
  text-align:center;
  font-size:13px;
  letter-spacing:.15em;
  color:#446f5b;
  margin-bottom:18px
}
.menu-caption span {
  color:#8d9c5c;
  margin:0 8px
}
.hero-menu {
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:12px;
  align-items:stretch;
  margin:0;
  padding:6px 0 10px;
  overflow:visible
}
.hero-menu .game-tile {
  height:330px;
  padding:14px 8px 12px
}
.tile-code {
  font:11px monospace;
  letter-spacing:.14em;
  align-self:flex-start;
  margin:0 0 12px 4px;
  color:#64846e
}
.hero-menu .tile-icon {
  margin-bottom:17px
}
.hero-menu .tile-label {
  font-size:22px;
  letter-spacing:.2em
}
.tile-en {
  position:absolute;
  right:6px;
  top:80px;
  writing-mode:vertical-rl;
  font:8px monospace;
  letter-spacing:.12em;
  color:#6f8e7b
}
.hero-menu .tile-cursor {
  font-size:12px
}
.menu-hint {
  text-align:center;
  color:#617c67;
  font-size:11px;
  letter-spacing:.12em;
  margin-top:12px
}
.promises {
  position:relative;
  margin-top:24px;
  padding-bottom:5px;
  border-color:#bdd5b6
}
.categories a {
  border-radius:3px;
  border:1px solid #abcdbb;
  box-shadow:inset 0 0 0 3px white,3px 3px 0 #e1eadc;
  background:linear-gradient(120deg,#fffef9,#f0f7ea)
}
.service h2 {
  border-left:4px solid #77ab8a;
  padding-left:15px
}
.tags li {
  border-radius:3px
}
.gallery figure {
  border-radius:3px;
  border-color:#bad1ba
}
.gallery figcaption {
  border-top:1px solid #d2dfc9
}
.consultation {
  border-radius:4px;
  border:1px solid #d8c394;
  box-shadow:inset 0 0 0 5px #fffaf0,5px 5px 0 #efe8d4
}
.button {
  border-radius:3px;
  border:1px solid #286958;
  box-shadow:inset 0 0 0 3px #ffffff20,0 3px 0 #b6cbb5
}
.phone {
  border-radius:3px
}

@media(max-width:900px) {
  .hero-grid {
  gap:25px;
  grid-template-columns:1fr 1fr
}
.hero-menu {
  gap:8px
}
.hero-menu .tile-label {
  font-size:19px
}
.tile-en {
  right:4px;
  font-size:7px
}
.hero h1 {
  font-size:32px
}
.header-menu {
  gap:8px
}

}

@media(max-width:600px) {
  html {
  scroll-padding-top:175px
}
.header {
  display:flex;
  min-height:151px;
  padding:8px 0;
  gap:9px
}
.brand {
  flex-shrink:0
}
.brand small {
  font-size:8px;
  letter-spacing:0
}
.brand strong {
  font-size:18px;
  letter-spacing:.02em
}
.header-menu {
  gap:5px;
  flex:1;
  justify-content:flex-end;
  padding:3px 0;
  overflow:visible
}
.header-menu .game-tile {
  width:35px;
  height:134px;
  padding:7px 3px 3px;
  flex-shrink:0
}
.header-menu .tile-icon svg {
  width:15px;
  height:15px
}
.header-menu .tile-icon {
  margin-bottom:5px
}
.header-menu .tile-label {
  font-size:10px;
  letter-spacing:0;
  line-height:1.1
}
.header-menu .tile-cursor {
  font-size:7px
}
.hero {
  padding:35px 0 22px
}
.hero:after {
  inset:10px
}
.hero-grid {
  grid-template-columns:1fr;
  gap:23px;
  min-height:0
}
.hero h1 {
  font-size:30px
}
.hero-copy {
  font-size:13px
}
.hero-selection {
  padding:0
}
.menu-caption {
  font-size:11px;
  margin-bottom:12px;
  letter-spacing:.08em
}
.hero-menu {
  gap:9px;
  padding-bottom:8px
}
.hero-menu .game-tile {
  height:285px;
  padding:10px 5px
}
.hero-menu .tile-icon svg {
  width:21px;
  height:21px
}
.hero-menu .tile-label {
  font-size:20px;
  letter-spacing:.15em
}
.hero-menu .tile-icon {
  margin-bottom:13px
}
.tile-code {
  margin-bottom:10px
}
.tile-en {
  display:none
}
.menu-hint {
  font-size:10px;
  margin-top:10px
}
.promises {
  margin-top:25px;
  gap:5px;
  font-size:11px
}
.game-tile:hover {
  transform:translateY(-3px)
}

}

@media(max-width:359px) {
  .header-menu {
  gap:3px
}
.header-menu .game-tile {
  width:30px
}
.brand strong {
  font-size:16px
}
.brand small {
  font-size:7px
}
.hero-menu {
  gap:6px
}
.hero-menu .tile-label {
  font-size:18px
}

}



/* 一重の枠と統一サイズの写真スライダー */
.game-tile,.game-tile:hover,.game-tile:focus-visible {
  border-width:1px;
  box-shadow:none
}
.game-tile:after {
  display:none
}
.hero:after {
  outline:none
}
.categories a,.consultation,.button {
  box-shadow:none
}
.header-menu {
  gap:6px
}
.header-menu .game-tile {
  width:38px;
  padding-left:3px;
  padding-right:3px
}
.hero-menu {
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:9px
}
.categories {
  grid-template-columns:repeat(5,minmax(0,1fr))
}
.categories a {
  padding:15px 10px;
  gap:9px
}
.categories strong {
  font-size:14px
}
.categories small {
  font-size:10px
}

.gallery {
  display:block;
  width:min(100%,720px);
  margin:0 auto
}
.gallery figure,.gallery figure:first-child {
  grid-row:auto;
  grid-column:auto;
  margin:0;
  border:0;
  border-radius:0;
  background:none;
  overflow:visible
}
.gallery figure[hidden] {
  display:none
}
.photo-frame {
  width:100%;
  aspect-ratio:16/9;
  overflow:hidden;
  border:1px solid #bad1ba;
  border-radius:3px;
  background:linear-gradient(130deg,#eaf0e1,#f7f1e4)
}
.photo-frame .placeholder {
  padding:0
}
.gallery .photo-open {
  width:100%;
  height:100%;
  padding:0;
  border:0;
  cursor:zoom-in;
  display:block
}
.gallery figcaption {
  position:static;
  padding:17px 0 0;
  background:none;
  border:0;
  pointer-events:auto;
  min-height:100px
}
.gallery figcaption strong {
  display:block;
  font-size:17px;
  margin-bottom:4px
}
.gallery figcaption p {
  font-size:14px;
  color:var(--muted);
  line-height:1.8
}
.slider-controls {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  flex-wrap:wrap;
  padding-top:14px
}
.gallery .slider-controls button {
  width:auto;
  height:auto;
  min-width:40px;
  min-height:40px;
  padding:5px 12px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:#fffdf7;
  border:1px solid #b5cebe;
  border-radius:3px;
  cursor:pointer;
  color:var(--ink);
  font-size:13px
}
.gallery .slider-controls button:hover {
  background:#e6f1e0
}
.slide-dots {
  display:flex;
  gap:5px
}
.gallery .slide-dots button {
  min-width:28px;
  min-height:40px;
  padding:4px;
  border:0;
  background:none
}
.slide-dots button:before {
  content:'';
  width:8px;
  height:8px;
  border:1px solid #577f6a;
  border-radius:50%
}
.slide-dots button[aria-current="true"]:before {
  background:#327963
}
.slide-counter {
  font-size:12px;
  color:var(--muted);
  min-width:35px;
  text-align:center
}
.slider-help {
  text-align:center;
  font-size:11px;
  color:var(--muted);
  margin-top:10px
}

@media(max-width:900px) {
  .categories {
  grid-template-columns:repeat(3,minmax(0,1fr))
}
.hero-menu {
  gap:6px
}
.tile-en {
  display:none
}

}

@media(max-width:600px) {
  .header-menu {
  gap:4px
}
.header-menu .game-tile {
  width:29px;
  padding-left:2px;
  padding-right:2px
}
.hero-menu {
  gap:6px
}
.hero-menu .tile-label {
  font-size:18px
}
.categories {
  grid-template-columns:repeat(2,minmax(0,1fr))
}
.gallery figcaption {
  min-height:125px
}
.slider-controls {
  gap:6px
}
.gallery .slider-controls button {
  padding:5px 8px
}
.gallery .slide-dots button {
  min-width:24px;
  padding:2px
}

}

@media(max-width:359px) {
  .header-menu {
  gap:3px
}
.header-menu .game-tile {
  width:26px
}
.hero-menu {
  gap:5px
}
.hero-menu .tile-label {
  font-size:17px
}
.hero-menu .game-tile {
  padding-left:3px;
  padding-right:3px
}

}



/* 文字だけのメニューと項目ごとの写真・説明 */
html {
  scroll-padding-top:135px
}
.header {
  min-height:115px;
  gap:25px
}
.header-menu {
  margin-left:auto;
  padding:7px 0
}
.header-menu .game-tile {
  height:100px;
  width:33px;
  padding:7px 3px;
  justify-content:center
}
.header-menu .tile-label {
  font-size:11px;
  letter-spacing:.02em
}
.corporation-banner {
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  min-width:125px;
  padding:10px 20px;
  text-decoration:none;
  border:1px solid #9bc5b0;
  background:#edf5e6;
  border-radius:3px
}
.corporation-banner small {
  font-size:11px;
  letter-spacing:.1em
}
.corporation-banner strong {
  font-size:22px;
  letter-spacing:.15em
}
.corporation-banner:hover {
  background:#deeed5
}
.hero-menu .game-tile {
  height:235px;
  justify-content:center;
  padding:16px 5px
}
.hero-grid {
  min-height:305px
}
.hero {
  padding-top:38px
}
.topic {
  display:grid;
  grid-template-columns:1fr 1.5fr;
  gap:40px;
  align-items:start;
  padding:35px 0;
  border-top:1px solid #dde7d8
}
.group-heading {
  margin-bottom:28px
}
.topic-copy h3 {
  font-size:24px;
  margin:0 0 15px;
  line-height:1.5
}
.topic-copy p {
  font-size:15px;
  color:var(--muted)
}
.topic .gallery {
  width:100%;
  min-width:0
}
.topic .gallery figcaption {
  min-height:110px
}
.service {
  padding-bottom:10px
}

@media(max-width:800px) {
  .header {
  gap:15px
}
.corporation-banner {
  min-width:100px;
  padding:8px 12px
}
.topic {
  gap:25px;
  grid-template-columns:1fr 1.4fr
}

}

@media(max-width:600px) {
  html {
  scroll-padding-top:160px
}
.header {
  display:grid;
  grid-template-columns:1fr auto;
  gap:6px 14px;
  padding:9px 0;
  min-height:0
}
.brand {
  grid-column:1;
  grid-row:1
}
.corporation-banner {
  grid-column:1;
  grid-row:2;
  justify-self:start;
  min-width:80px;
  padding:3px 10px
}
.corporation-banner small {
  font-size:9px
}
.corporation-banner strong {
  font-size:15px
}
.header-menu {
  grid-column:2;
  grid-row:1 / 3;
  margin:0;
  padding:0;
  gap:4px
}
.header-menu .game-tile {
  height:105px;
  width:27px;
  padding:5px 2px
}
.header-menu .tile-label {
  font-size:10px
}
.hero-menu .game-tile {
  height:205px
}
.hero-grid {
  min-height:0
}
.hero {
  padding-top:30px
}
.topic {
  grid-template-columns:1fr;
  gap:22px;
  padding:28px 0
}
.topic-copy h3 {
  font-size:21px;
  margin-bottom:10px
}
.topic-copy p {
  font-size:14px
}
.topic .gallery figcaption {
  min-height:120px
}

}

@media(max-width:359px) {
  .header-menu {
  gap:3px
}
.header-menu .game-tile {
  width:25px
}
.header {
  column-gap:8px
}

}


/* 明るいグリーンとコンパクトな2列カード */
:root {
  --ink:#214d35;
  --green:#298447;
  --muted:#516c58;
  --line:#c2dfb7
}
body {
  background:#f1f9e9
}
header {
  background:#f8fff4fa;
  border-bottom:1px solid #acd697
}
.brand strong {
  color:#267444
}
.corporation-banner {
  background:#e0f3d3;
  border-color:#a4d092
}
.corporation-banner:hover {
  background:#ccecb9
}
.hero {
  background:#dff1ca
}
.hero:before {
  background:linear-gradient(110deg,#f1fadbeF,#d5efbde8),url('./image/IMG_20170614_130511.jpg') center/cover
}
.hero:after {
  border-color:#a8cf8e
}
.hero h1 em {
  color:#267b3f;
  background:linear-gradient(transparent 78%,#bbdf88 78%)
}
.hero .eyebrow {
  border-color:#70b654
}
.hero-copy,.menu-caption,.menu-hint {
  color:#416a45
}
.promises {
  border-color:#afd293
}
.game-tile {
  background:linear-gradient(135deg,#f9fff0,#e5f6d9);
  border-color:#9dca88;
  color:#29633a
}
.game-tile:hover,.game-tile:focus-visible {
  background:linear-gradient(135deg,#ecffd9,#ccebb5);
  border-color:#57a451;
  box-shadow:none;
  transform:translateY(-3px);
  color:#1c582d
}
.game-tile:before {
  background:none
}
.game-tile:after {
  display:block;
  content:'';
  position:absolute;
  inset:auto;
  right:5px;
  top:14%;
  width:2px;
  height:72%;
  border:0;
  background:#459b42;
  transform:scaleY(0);
  transform-origin:top;
  transition:transform .3s ease;
  pointer-events:none
}
.game-tile:hover:after,.game-tile:focus-visible:after {
  transform:scaleY(1)
}
.header-menu .game-tile:after {
  right:3px;
  width:1px
}
.hero-menu .game-tile:after {
  right:8px
}
.intro {
  padding:38px 0 12px
}
.intro h2 {
  color:#296b39
}
.intro p {
  margin-top:7px
}
.service {
  padding:30px 0 34px;
  border-bottom:1px solid #bedba9
}
.group-heading {
  margin-bottom:20px
}
.service h2 {
  font-size:27px;
  border-color:#67ad49
}
.group-heading .lead {
  margin-top:7px;
  font-size:14px
}
.topic-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:22px;
  align-items:start
}
.topic {
  display:flex;
  flex-direction:column;
  gap:15px;
  padding:22px;
  background:#fbfff8;
  border:1px solid #c6dfb7;
  border-radius:8px;
  min-width:0;
  box-shadow:0 4px 15px #477c2610
}
.topic-copy h3 {
  font-size:21px;
  margin:0 0 8px;
  color:#28683b
}
.topic-copy p {
  font-size:14px;
  line-height:1.8
}
.topic .gallery {
  width:100%;
  margin:0
}
.photo-frame {
  border-color:#bfd6ae;
  background:linear-gradient(135deg,#def0cc,#edf7e1);
  border-radius:4px
}
.topic .gallery figcaption {
  min-height:94px;
  padding-top:12px
}
.gallery figcaption strong {
  font-size:14px;
  margin-bottom:3px;
  color:#2f653d
}
.gallery figcaption p {
  font-size:13px;
  line-height:1.75
}
.placeholder {
  color:#638153
}
.slider-controls {
  padding-top:6px;
  gap:9px
}
.gallery .slider-controls button {
  background:#f5fbed;
  border-color:#b5d4a3;
  color:#32643d;
  min-height:36px
}
.gallery .slider-controls button:hover {
  background:#dbefcb
}
.gallery .slide-dots button {
  background:none;
  border:0
}
.slide-dots button:before {
  border-color:#509443
}
.slide-dots button[aria-current="true"]:before {
  background:#509443
}
.slider-help {
  margin-top:8px;
  font-size:10px;
  color:#627a55
}
.consultation {
  margin:38px 0;
  background:#e0f1cf;
  border-color:#aed093
}
.phone {
  background:#f6fced
}
.button {
  background:#36833f;
  border-color:#36833f
}
.button:hover {
  background:#296d33
}
footer {
  background:#dcedce;
  border-color:#b0ce9c
}
.copyright {
  border-color:#b8d4a5
}

@media(min-width:701px) {
  .topic-copy {
  min-height:95px
}
#cafe .topic-grid {
  grid-template-columns:repeat(2,minmax(0,1fr))
}

}

@media(max-width:700px) {
  .topic-grid {
  grid-template-columns:1fr;
  gap:16px
}
.topic {
  padding:18px;
  gap:13px
}
.topic-copy h3 {
  font-size:20px
}
.topic .gallery figcaption {
  min-height:100px
}
.service {
  padding:26px 0
}
.intro {
  padding-top:30px
}
.slider-controls {
  gap:5px
}
.group-heading .lead {
  font-size:13px
}
.hero-menu .game-tile:after {
  right:4px
}

}


/* 上端のネオンラインと3列レイアウト */
.game-tile {
  background:linear-gradient(125deg,#fbfff9 0%,#e6ffe0 45%,#d6f8d2 100%);
  border-color:#8dde95;
  box-shadow:0 0 9px #56e17c28;
  transition:background .25s,box-shadow .25s,border-color .25s,transform .25s
}
.game-tile:hover,.game-tile:focus-visible {
  background:linear-gradient(125deg,#f4fff6,#d5ffca);
  border-color:#48ce72;
  box-shadow:0 0 10px #54e88965,0 0 23px #69ed9135;
  color:#175b35;
  text-shadow:0 0 9px #8cf1a270
}
.game-tile:after,.header-menu .game-tile:after,.hero-menu .game-tile:after {
  top:0;
  left:0;
  right:auto;
  width:100%;
  height:3px;
  background:#43e87e;
  box-shadow:0 0 6px #43e87e,0 0 13px #43e87e99;
  transform:scaleX(0);
  transform-origin:left;
  transition:transform .28s ease
}
.game-tile:hover:after,.game-tile:focus-visible:after {
  transform:scaleX(1)
}

.topic-grid {
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px
}
.topic {
  padding:17px;
  gap:12px
}
.topic-copy {
  min-height:125px
}
.topic-copy h3 {
  font-size:20px
}
.topic-copy p {
  font-size:13px;
  line-height:1.85
}
.topic .gallery figcaption {
  min-height:115px
}
.gallery figcaption strong {
  font-size:13px
}
.gallery figcaption p {
  font-size:12px
}
.slider-controls {
  gap:3px;
  justify-content:space-between
}
.gallery .slider-controls button {
  min-width:30px;
  padding:4px 7px;
  font-size:11px
}
.gallery .slide-dots button {
  min-width:20px;
  padding:2px
}
.slide-dots {
  gap:1px
}
.slide-counter {
  font-size:11px;
  min-width:29px
}

#cafe .topic-grid {
  grid-template-columns:1fr
}
#cafe .topic {
  display:grid;
  grid-template-columns:.85fr 1.4fr;
  gap:35px;
  padding:26px;
  align-items:center
}
#cafe .topic-copy {
  min-height:0
}
#cafe .topic-copy h3 {
  font-size:24px
}
#cafe .topic-copy p {
  font-size:15px
}
#cafe .gallery {
  max-width:600px
}
#cafe .gallery figcaption {
  min-height:85px
}
#cafe .slider-controls {
  justify-content:center;
  gap:12px
}

.access-section {
  margin:0 0 40px;
  border:1px solid #b9dba7;
  border-radius:8px;
  overflow:hidden;
  background:#fbfff8
}
.access-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:25px;
  padding:23px 27px
}
.access-heading .eyebrow {
  margin-bottom:4px
}
.access-heading h2 {
  font-size:25px
}
.access-heading>p {
  font-size:13px;
  color:var(--muted)
}
.access-section iframe {
  display:block;
  width:100%;
  height:360px;
  background:#dfedda
}

@media(max-width:1000px) and (min-width:701px) {
  .topic-grid {
  grid-template-columns:repeat(2,minmax(0,1fr))
}
.topic-copy {
  min-height:100px
}

}

@media(max-width:700px) {
  .topic-grid {
  grid-template-columns:1fr
}
.topic-copy {
  min-height:0
}
.topic-copy p {
  font-size:14px
}
.topic .gallery figcaption {
  min-height:100px
}
.slider-controls {
  justify-content:center;
  gap:7px
}
.gallery .slider-controls button {
  min-width:34px;
  font-size:12px
}
.gallery .slide-dots button {
  min-width:22px
}
#cafe .topic {
  grid-template-columns:1fr;
  gap:18px;
  padding:18px
}
#cafe .topic-copy h3 {
  font-size:21px
}
#cafe .topic-copy p {
  font-size:14px
}
#cafe .slider-controls {
  gap:6px
}
.access-heading {
  display:block;
  padding:20px
}
.access-heading>p {
  margin-top:12px
}
.access-section iframe {
  height:300px
}

}


@media(max-width:359px) {
  .header-menu {
  gap:2px
}
.header-menu .game-tile {
  width:23px
}
.header {
  column-gap:6px
}

}


/* 背景写真と、タイトル → 写真 → 説明の構成 */
.hero {
  min-height:390px;
  display:flex;
  align-items:center;
  padding:45px 0 55px;
  background:linear-gradient(115deg,#e8f7d9,#d1edbd)
}
.hero:before {
  background:linear-gradient(90deg,#f2ffe3bd,#eaf6df30);
  z-index:-1
}
.hero:after {
  display:none
}
.hero-backgrounds {
  position:absolute;
  inset:0;
  z-index:-2
}
.hero-backgrounds img {
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  opacity:0;
  transition:opacity 1.2s ease
}
.hero-backgrounds img.is-active {
  opacity:1
}
.hero-grid {
  min-height:0;
  grid-template-columns:1fr 1.25fr;
  gap:35px
}
.hero-selection {
  padding:0
}
.hero .eyebrow {
  font-size:19px;
  color:#245c34
}
.hero-copy {
  font-size:16px;
  color:#284a32;
  text-shadow:0 1px 6px #fff
}
.hero-menu {
  padding:0
}
.hero-menu .game-tile {
  background:linear-gradient(125deg,#fafff3eb,#dcfbd2e8)
}
.hero-playback {
  position:absolute;
  bottom:14px;
  right:22px;
  border:1px solid #a6c993;
  background:#f8fff1e8;
  color:#285734;
  border-radius:3px;
  padding:5px 12px;
  font-size:11px
}
.hero-playback[hidden] {
  display:none
}
.topic-copy {
  min-height:0
}
.topic-copy h3 {
  margin:0
}
.topic .gallery figcaption {
  min-height:80px;
  padding-top:11px
}
.gallery figcaption p {
  font-size:13px
}
#cafe .topic {
  display:flex;
  flex-direction:column;
  align-items:stretch;
  gap:17px
}
#cafe .gallery {
  max-width:none
}
#cafe .gallery figure:not([hidden]) {
  display:grid;
  grid-template-columns:1.2fr 1fr;
  gap:28px;
  align-items:center
}
#cafe .gallery figcaption {
  padding:0;
  min-height:0
}
#cafe .gallery figcaption p {
  font-size:15px
}
#cafe .slider-controls {
  margin-top:14px
}

@media(max-width:700px) {
  .hero {
  min-height:0;
  padding:28px 0 52px
}
.hero-grid {
  grid-template-columns:1fr;
  gap:22px
}
.hero .eyebrow {
  font-size:16px;
  margin-bottom:12px
}
.hero-copy {
  font-size:13px
}
.hero-playback {
  right:16px
}
.topic-copy {
  min-height:0
}
#cafe .gallery figure:not([hidden]) {
  display:block
}
#cafe .gallery figcaption {
  padding-top:12px
}
#cafe .gallery figcaption p {
  font-size:13px
}

}


/* 説明はスライドの外に固定 */
.topic-description {
  font-size:13px;
  line-height:1.8;
  color:var(--muted);
  padding-top:11px;
  min-height:80px
}

#cafe .gallery {
  display:grid;
  grid-template-columns:1.2fr 1fr;
  column-gap:28px;
  align-items:center
}

#cafe .gallery figure:not([hidden]) {
  display:block;
  grid-column:1;
  grid-row:1
}

#cafe .topic-description {
  grid-column:2;
  grid-row:1;
  padding:0;
  min-height:0;
  font-size:15px
}

#cafe .slider-controls {
  grid-column:1 / -1
}

@media(max-width:700px) {
  #cafe .gallery {
  display:block
}
#cafe .topic-description {
  padding-top:11px;
  font-size:13px
}

}


.documents-section {
  margin:0 0 38px;
  padding:26px;
  background:#e5f4d8;
  border:1px solid #b8d8a7;
  border-radius:8px
}
.documents-section h2 {
  font-size:25px;
  color:#28683b
}
.document-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px
}
.document-card {
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  padding:22px;
  border:1px solid #c4ddb5;
  border-radius:5px;
  background:#fbfff8
}
.document-format {
  font-size:11px;
  letter-spacing:.06em;
  color:#397544;
  background:#e5f4da;
  border-radius:3px;
  padding:3px 10px
}
.document-card h3 {
  font-size:20px;
  margin:12px 0 8px
}
.document-card p {
  font-size:14px;
  color:var(--muted);
  margin-bottom:18px
}
.document-download,.document-pending {
  display:block;
  padding:9px 18px;
  border-radius:3px;
  margin-top:auto;
  font-size:13px
}
.document-download {
  background:#358746;
  color:white;
  text-decoration:none;
  border:1px solid #358746
}
.document-download:hover {
  background:#246832
}
.document-pending {
  background:#edf3e7;
  border:1px solid #d1dfc7;
  color:#5a7053
}
.hero-menu {
  grid-template-columns:repeat(7,minmax(0,1fr))
}

@media(max-width:600px) {
  .header {
  grid-template-columns:1fr;
  gap:8px
}
.brand {
  grid-column:1;
  grid-row:1
}
.corporation-banner {
  grid-column:1;
  grid-row:1;
  justify-self:end
}
.header-menu {
  grid-column:1;
  grid-row:2;
  justify-content:space-between
}
.header-menu .game-tile {
  width:30px;
  height:90px
}
.header-menu .tile-label {
  font-size:10px
}
.hero-menu {
  gap:5px
}
.hero-menu .tile-label {
  font-size:17px
}
.documents-section {
  padding:18px
}
.document-grid {
  grid-template-columns:1fr
}
.document-card {
  padding:18px
}
html {
  scroll-padding-top:180px
}

}

@media(max-width:359px) {
  .hero-menu .tile-label {
  font-size:15px
}
.hero-menu .game-tile {
  padding-left:2px;
  padding-right:2px
}
.header-menu .game-tile {
  width:27px
}

}


/* 写真上の文章と、各セクションの見出し装飾 */
.hero .hero-message {
  min-width:0;
  padding:28px 26px;
  background:rgba(255,254,247,.96);
  border:1px solid #ffffff;
  border-radius:5px 24px 5px 24px;
  box-shadow:0 8px 30px #173d2826;
  backdrop-filter:blur(8px);
}
.hero .hero-message .eyebrow {
  border:0;
  padding:0;
  margin:0 0 16px;
  color:#194b30;
  font-size:clamp(18px,1.65vw,23px);
  line-height:1.7;
  letter-spacing:.06em;
}
.hero .hero-message .hero-copy {
  margin:0;
  color:#263e30;
  font-size:16px;
  line-height:2;
  text-shadow:none;
}
.service h2,.documents-section h2,.consultation h2,.access-heading h2 {
  position:relative;
  isolation:isolate;
  width:fit-content;
  max-width:100%;
  padding:10px 22px 15px 18px;
  border:0;
  border-bottom:3px double #79a987;
  border-radius:4px 18px 0 0;
  background:linear-gradient(100deg,#d7eacbd9,#f7fbef70);
  color:#245635;
  line-height:1.6;
  letter-spacing:.05em;
}
.service h2::before,.documents-section h2::before,.consultation h2::before,.access-heading h2::before {
  content:'';
  position:absolute;
  left:0;
  top:14px;
  bottom:16px;
  width:4px;
  border-radius:4px;
  background:linear-gradient(#87b46e,#397c53);
}
.service h2::after,.documents-section h2::after,.consultation h2::after,.access-heading h2::after {
  content:'';
  position:absolute;
  right:3px;
  top:-7px;
  width:23px;
  height:12px;
  border:1px solid #80a970;
  border-radius:100% 0 100% 0;
  background:#c2dcb0;
  transform:rotate(-15deg);
}
.topic-copy h3 {
  padding:0 0 10px;
  border-bottom:1px solid #d7e5cf;
  background:linear-gradient(90deg,#5a9464,#b6ce8c) left bottom / 44px 3px no-repeat;
}
@media(max-width:700px) {
  .hero .hero-message { padding:22px 20px; }
  .hero .hero-message .hero-copy { font-size:14px; }
  .service h2,.documents-section h2,.consultation h2,.access-heading h2 {
    font-size:22px;
    padding:9px 16px 13px;
  }
}

/* 現行の構成・縦書きを生かした質感の調整 */
:root {
  --ink:#254b3c;
  --green:#326d50;
  --muted:#56685c;
  --line:#d7dfd2;
}
body { background:#fafbf7; }
header {
  background:#f4f7edf5;
  border-bottom:1px solid #d9e2d4;
  box-shadow:0 4px 24px #244a3810;
  backdrop-filter:blur(14px);
}
.brand strong { color:#28583e; font-family:'Yu Mincho','Hiragino Mincho ProN',serif; font-weight:600; letter-spacing:.16em; }
.corporation-banner { background:#f0f4e9; border-color:#cedbc5; border-radius:5px; }
.game-tile {
  background:linear-gradient(135deg,#f7faef,#e5eddc);
  border:1px solid #cbdac2;
  border-radius:5px;
  box-shadow:0 3px 10px #234d3210,inset 0 1px 0 #fff;
  color:#2c583b;
}
.game-tile:hover,.game-tile:focus-visible {
  background:linear-gradient(135deg,#fffef3,#e6f0dc);
  border-color:#719b6b;
  box-shadow:0 7px 20px #31593c26;
  color:#234b33;
  text-shadow:none;
  transform:translateY(-3px);
}
.game-tile:after,.header-menu .game-tile:after,.hero-menu .game-tile:after {
  background:linear-gradient(90deg,#6e9874,#b6b77b);
  box-shadow:none;
  height:3px;
}
.hero { padding:58px 0 262px; }
.hero:before { background:linear-gradient(90deg,#eaf3e65e,#ecf2e81a); }
.hero .hero-message {
  position:relative;
  padding:34px 30px;
  background:linear-gradient(130deg,#fffefb85,#f8fbee73);
  border:1px solid #ffffff55;
  border-radius:6px 30px 6px 30px;
  box-shadow:0 8px 26px #183a3514;
}
.hero .hero-message:after {
  content:'';
  display:block;
  width:64px;
  height:2px;
  margin-top:23px;
  background:linear-gradient(90deg,#527d56,#c4bd82);
}
.hero .hero-message .eyebrow {
  font-family:'Yu Mincho','Hiragino Mincho ProN',serif;
  font-size:clamp(27px,2.6vw,37px);
  font-weight:600;
  line-height:1.65;
  letter-spacing:.07em;
  color:#244d36;
  margin-bottom:20px;
}
.hero .hero-message .hero-copy { font-size:15px; line-height:2.05; }
.hero-menu .game-tile {
  background:linear-gradient(125deg,#f6faedf2,#dfead3ef);
  border-color:#ffffffb8;
  box-shadow:0 7px 23px #22423026;
  backdrop-filter:blur(6px);
  border-radius:5px 5px 12px 12px;
}
.hero-menu .tile-label { font-family:'Yu Mincho','Hiragino Mincho ProN',serif; font-weight:600; }
.hero-menu .game-tile:hover,.hero-menu .game-tile:focus-visible { background:#f6fbeeee; }
.hero-playback { background:#fffef8ed; border-color:#d0ddc4; border-radius:20px; padding:6px 15px; }
.service { padding:46px 0; border-color:#dce3d5; }
.group-heading { margin-bottom:25px; }
.service h2,.documents-section h2,.consultation h2,.access-heading h2 {
  padding:10px 28px 15px 18px;
  font-family:'Yu Mincho','Hiragino Mincho ProN',serif;
  font-weight:600;
  letter-spacing:.07em;
  background:linear-gradient(100deg,#d5e3c7,#eaf1de00);
  border-bottom-color:#a3b58f;
  border-radius:4px 18px 0 0;
}
.service h2 { font-size:29px; }
.service h2:before,.documents-section h2:before,.consultation h2:before,.access-heading h2:before { width:3px; background:linear-gradient(#a2b980,#4d7758); }
.service h2:after,.documents-section h2:after,.consultation h2:after,.access-heading h2:after { background:#e0e9cb; border-color:#9db781; }
.group-heading .lead { margin-top:12px; font-size:15px; }
.topic-grid { gap:22px; }
.topic {
  padding:22px;
  gap:15px;
  border:1px solid #dce5d4;
  border-radius:12px;
  background:#f8faf2;
  box-shadow:0 5px 20px #2d4e3410;
}
.topic-copy h3 { color:#2c5b3e; border-color:#e5eadf; background:linear-gradient(90deg,#628964,#c0bc85) left bottom / 42px 2px no-repeat; }
.photo-frame { border-color:#e1e8d9; border-radius:7px; background:linear-gradient(135deg,#e0e9d4,#edf1e3); }
.placeholder { color:#64785a; }
.topic-description { font-size:14px; line-height:1.95; }
.gallery .slider-controls button { background:#fcfdf8; border-color:#d2ddc9; border-radius:20px; min-height:36px; }
.gallery .slide-dots button { background:none; border:0; }
.slide-dots button:before { border-color:#698e5f; }
.slide-dots button[aria-current="true"]:before { background:#537e52; }
.consultation { padding:38px; background:linear-gradient(120deg,#d8e5c8,#eaf0dd); border-color:#cddabc; border-radius:14px; box-shadow:0 8px 26px #2c4b3210; }
.phone { background:#fffff9c9; border:1px solid #d9e3ce; border-radius:8px; }
.button { background:#326d50; border-color:#326d50; border-radius:7px; box-shadow:0 5px 15px #234d3326; transition:background .2s,box-shadow .2s; }
.button:hover { background:#24583e; box-shadow:0 8px 20px #234d3338; }
.documents-section { padding:30px; background:#e3ecd6; border-color:#d7e1cb; border-radius:12px; }
.document-card { background:#fffffb; border-color:#dbe4d1; border-radius:9px; }
.document-format { background:#eaf0e0; }
.document-download { background:#326d50; border-color:#326d50; border-radius:5px; }
.access-section { border-color:#d8e2d0; border-radius:12px; background:#fffffb; }
footer { background:#dbe6ce; border-color:#d0ddc5; }
.copyright { border-color:#ccd9c1; }
@media(max-width:1000px) and (min-width:701px) {
  .hero .hero-message { padding:26px 23px; }
  .topic { padding:18px; }
}
@media(max-width:700px) {
  .hero { padding:30px 0 52px; }
  .hero .hero-message { padding:25px 22px; }
  .hero .hero-message .eyebrow { font-size:28px; margin-bottom:15px; }
  .hero .hero-message .hero-copy { font-size:14px; }
  .hero .hero-message:after { margin-top:18px; }
  .service { padding:32px 0; }
  .service h2,.documents-section h2,.consultation h2,.access-heading h2 { font-size:23px; }
  .group-heading .lead { font-size:14px; }
  .topic { padding:19px; }
  .topic-grid { gap:18px; }
  .consultation,.documents-section { padding:22px; }
}
@media(prefers-reduced-motion:reduce) { *,*::before,*::after { transition:none!important; scroll-behavior:auto!important; } }

/* 装飾を抑え、色の濃淡で見出しを区切る */
.hero .hero-message:after,
.service h2:before,.service h2:after,
.documents-section h2:before,.documents-section h2:after,
.consultation h2:before,.consultation h2:after,
.access-heading h2:before,.access-heading h2:after {
  content:none;
  display:none;
}

/* 写真と操作部の対応を明確にする */
#cafe .gallery {
  display:grid;
  grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);
  grid-template-rows:auto auto;
  gap:20px 28px;
  align-items:start;
}
#cafe .slider-controls {
  grid-column:1;
  grid-row:2;
  margin:0;
  padding:12px 10px;
  background:#edf3e5;
  border:1px solid #d7e2cc;
  border-radius:8px;
  justify-content:center;
}
#cafe .topic-description {
  grid-column:2;
  grid-row:1 / 3;
  align-self:center;
}
.consultation h2,.documents-section h2 {
  background:linear-gradient(100deg,#b9cfa6,#d1dfbe);
  border-bottom-color:#91ac7d;
}
@media(max-width:700px) {
  #cafe .gallery { grid-template-columns:minmax(0,1fr); grid-template-rows:auto auto auto; gap:18px; }
  #cafe .topic-description { grid-column:1; grid-row:3; padding:0; }
  #cafe .slider-controls { padding:10px 6px; gap:6px; }
}


/* ミニカフェは写真3枚と、その下の共通説明 */
#cafe .gallery {
  grid-template-columns:repeat(3,minmax(0,1fr));
  grid-template-rows:auto auto;
  gap:20px;
}
#cafe .gallery figure:not([hidden]) {
  grid-column:auto;
  grid-row:1;
  min-width:0;
}
#cafe .topic-description {
  grid-column:1 / -1;
  grid-row:2;
  padding:0;
  min-height:0;
}
@media(max-width:700px) {
  #cafe .gallery { gap:14px 8px; }
  #cafe .placeholder { font-size:10px; gap:2px; }
  #cafe .placeholder svg { width:22px; height:22px; }
}

/* 見出しの下線を外し、資料の案内を見出しの上に配置 */
.service h2,.documents-section h2,.consultation h2,.access-heading h2 {
  border-bottom:0;
}
.topic-copy h3 {
  border-bottom:0;
  background:none;
}
.documents-section .group-heading > .eyebrow {
  margin:0 0 14px;
  font-size:14px;
  font-weight:700;
  color:var(--muted);
}

/* 上位見出しと案内文の区切り、小見出し周辺の余白 */
.service h2,.documents-section h2,.consultation h2,.access-heading h2 {
  border-bottom:3px double #a3b58f;
}
.consultation h2,.documents-section h2 {
  border-bottom-color:#91ac7d;
}
.topic-copy h3 {
  padding-bottom:3px;
}
.topic {
  gap:9px;
}
#contact > div > .eyebrow,
.documents-section .group-heading > .eyebrow {
  padding-bottom:8px;
  border-bottom:1px solid #a9be96;
}

.access-contact { font-size:14px; min-width:0; }
.access-contact dl { margin:8px 0 0; }
.access-contact dl > div { display:grid; grid-template-columns:5em minmax(0,1fr); gap:14px; padding:5px 0; }
.access-contact dt { font-weight:700; color:var(--ink); }
.access-contact dd { margin:0; overflow-wrap:anywhere; }
.access-dummy-note { font-size:12px; color:var(--muted); }
@media(max-width:700px) { .access-contact { margin-top:18px; } }

/* 上部をエメラルドで引き締め、アクセスは地図を中心に */
header {
  background:linear-gradient(110deg,#075749,#087360);
  border-bottom:1px solid #338d78;
  box-shadow:0 4px 20px #063c3526;
  color:#f5fff9;
}
.brand strong { color:#fffdf2; }
.brand small { color:#e0f3e8; }
.header-menu .game-tile {
  background:linear-gradient(145deg,#ffffff12,#ffffff05);
  border-color:#ffffff50;
  color:#f5fff7;
  box-shadow:inset 0 1px 0 #ffffff15;
}
.header-menu .game-tile:hover,.header-menu .game-tile:focus-visible {
  background:#ffffff24;
  border-color:#c1e8ce;
  color:#fff;
  box-shadow:0 4px 12px #003a3326;
}
.corporation-banner { background:#ffffff12; border-color:#ffffff55; color:#f3fff7; }
.corporation-banner:hover { background:#ffffff25; }
header a:focus-visible { outline-color:#f0dc99; }
.access-heading { align-items:flex-start; gap:22px; padding:18px 24px; }
.access-heading h2 {
  font-family:inherit;
  font-size:16px;
  font-weight:600;
  padding:0;
  margin:0;
  background:none;
  border:0;
  border-radius:0;
  letter-spacing:.04em;
  white-space:nowrap;
}
.access-contact { flex:1; margin:0; font-size:13px; }
.access-contact dl { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:3px 24px; margin:0; }
.access-contact dl > div { gap:10px; padding:2px 0; }
.access-contact dt { font-weight:600; }
.access-dummy-note { margin-bottom:5px; font-size:11px; }
.access-section iframe { height:400px; }
@media(max-width:700px) {
  .access-heading { display:block; padding:16px 18px; }
  .access-heading h2 { margin-bottom:9px; }
  .access-contact dl { grid-template-columns:minmax(0,1fr); }
  .access-section iframe { height:340px; }
}

#contact > div > .eyebrow,
.documents-section .group-heading > .eyebrow {
  border-bottom:0;
  padding-bottom:0;
}
.footer-contact { flex:0 1 660px; }
.footer-grid .footer-dummy-note { font-size:11px; margin:0 0 5px; }
@media(max-width:700px) {
  .footer-contact dl { grid-template-columns:minmax(0,1fr); }
}

/* 上位セクション見出しをエメラルド系のグラデーションに */
.service h2 {
  background:linear-gradient(100deg,#b8ddd0,#e0f0e800);
  color:#205747;
  border-bottom-color:#86b6a4;
}
.consultation h2,.documents-section h2 {
  background:linear-gradient(100deg,#9dcfbc,#c9e5d8);
  color:#205747;
  border-bottom-color:#79ac98;
}

/* Facility identity, translucent hero menu, and four hobby cards. */
.header { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:12px 20px; }
.header-identity { grid-column:1; grid-row:1; display:flex; align-items:center; gap:24px; min-width:0; }
.header-identity .brand { flex-shrink:0; }
.header-identity .brand small { font-size:15px; }
.header-contact { display:flex; flex-direction:column; gap:3px; font-size:12px; line-height:1.7; overflow-wrap:anywhere; }
.header-contact a { color:inherit; }
.header .corporation-banner { grid-column:2; grid-row:1; }
.header .header-menu { grid-column:1 / -1; grid-row:2; justify-content:center; }
.hero-menu .game-tile { background:linear-gradient(125deg,#f6faedf2,#dfead3ef); backdrop-filter:blur(2px); }
.hero-menu .game-tile:hover,.hero-menu .game-tile:focus-visible { background:#e4eed8fa; }
#karaoke .topic-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
@media(max-width:700px) {
 .header-identity { gap:12px; }
 .header-identity .brand small { font-size:11px; }
 .header-contact { font-size:10px; }
 .header { column-gap:8px; }
}
@media(max-width:480px) {
 .header-identity { flex-wrap:wrap; gap:5px; }
 .header-contact { flex-basis:100%; }
 .header .corporation-banner { align-self:start; }
 #karaoke .topic-grid { grid-template-columns:minmax(0,1fr); }
}
@media(min-width:1001px) {
 .header { grid-template-columns:minmax(0,1fr) auto auto; }
 .header .header-menu { grid-column:2; grid-row:1; }
 .header .corporation-banner { grid-column:3; grid-row:1; }
}

/* 「デイサービスセンター」を少し大きく */
.header-identity .brand small {
  font-size: 15px;
}

/* 施設名を、かっちりした太いゴシック体に */
.header-identity .brand strong {
  font-family: "Arial Black", "游ゴシック", "Yu Gothic",
               "メイリオ", Meiryo, sans-serif;
  font-weight: 900;
  letter-spacing: .06em;
}

/* スマートフォン用 */
@media (max-width: 700px) {
  .header-identity .brand small {
    font-size: 13px;
  }
}


