
/*
Theme Name: Shakariki
Description: Day Service Shakariki
Version: 1.0.0
*/

/* ========================================
   01. DESIGN VARIABLES
======================================== */
:root {
  --green: #5eaa43;
  --green-dark: #326b49;
  --green-light: #eaf5e6;
  --orange: #f49a35;
  --orange-light: #fff0d9;
  --cream: #fffaf2;
  --white: #ffffff;
  --ink: #333f3c;
  --text: #444b46;
  --line: #e0e8dc;

  --font-jp: "a-otf-jun-pro",
             "Hiragino Kaku Gothic ProN",
             "Yu Gothic", sans-serif;
  --font-en: "futura-pt", Arial, sans-serif;
  --font-en-bold: "futura-pt-bold",
                  "futura-pt", Arial, sans-serif;

  --container: 1140px;
  --section-padding: 100px;
  --radius: 20px;
}

/* ========================================
   02. RESET / BASE
======================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--text);
  font-family: var(--font-jp);
  font-size: 16px;
  font-weight: 300;
  font-style: normal;
  line-height: 1.9;
  overflow-wrap: anywhere;
}

h1, h2, h3, p, figure, dl, dd {
  margin: 0;
}

h1, h2, h3 {
  color: var(--ink);
  font-family: var(--font-jp);
  font-weight: 300;
  line-height: 1.55;
}

h1 span, h2 span, h3 span {
  font-size: inherit;
  font-weight: inherit;
}

p, li, dt, dd, a, button,
input, select, textarea, summary {
  font-size: 16px;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, select, textarea {
  font-family: var(--font-jp);
  font-weight: 300;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

strong, b {
  font-weight: 700;
}

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 4px;
}

.container {
  width: calc(100% - 48px);
  max-width: var(--container);
  margin-inline: auto;
}

.section {
  padding: var(--section-padding) 0;
}

.en {
  font-family: var(--font-en);
  font-weight: 400;
  font-style: normal;
}

.en-bold {
  font-family: var(--font-en-bold);
  font-weight: 700;
  font-style: normal;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 200;
  padding: 12px 20px;
  background: var(--white);
}

.skip-link:focus {
  top: 12px;
}

/* ========================================
   03. COMMON HEADINGS / BUTTONS
======================================== */
.section-heading {
  margin-bottom: 50px;
}

.section-heading--center {
  text-align: center;
}

.section__en {
  color: var(--green);
  font-size: 16px;
  letter-spacing: .12em;
  margin-bottom: 14px;
}

.section__title {
  font-size: clamp(26px, 3.3vw, 42px);
  letter-spacing: .04em;
  margin-bottom: 22px;
}

.section-heading > p:last-child {
  line-height: 1.95;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  min-height: 58px;
  padding: 14px 27px;
  border: 2px solid transparent;
  border-radius: 100px;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.5;
  text-align: center;
  transition: .25s ease;
}

.button:hover {
  transform: translateY(-3px);
}

.button--green {
  background: var(--green);
  color: var(--white);
}

.button--green:hover {
  background: var(--green-dark);
}

.button--outline {
  border-color: var(--green);
  color: var(--green-dark);
  background: transparent;
}

.button--outline:hover {
  background: var(--green-light);
}

.button--white {
  background: var(--white);
  color: var(--green-dark);
}

/* ========================================
   04. HEADER
======================================== */
.site-header {
  position: relative;
  z-index: 100;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 96px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.site-logo__mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  font-size: 26px;
}

.site-logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.35;
}

.site-logo__sub {
  font-size: 16px;
  color: var(--green-dark);
}

.site-logo__text strong {
  font-size: 25px;
  font-weight: 300;
}

.global-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.global-nav a {
  white-space: nowrap;
  transition: color .2s;
}

.global-nav a:hover {
  color: var(--green);
}

.header-tel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  background: var(--green);
  color: var(--white);
  border-radius: 12px;
  white-space: nowrap;
  line-height: 1.5;
}

.header-tel__label {
  font-size: 16px;
}

.header-tel strong {
  font-size: 23px;
}

.mobile-menu {
  display: none;
}

/* ========================================
   05. HERO
======================================== */
.hero {
  position: relative;
  overflow: hidden;
  padding: 85px 0 100px;
  background: linear-gradient(135deg, #fffaf2, #eaf5e6);
}

.hero__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 55px;
}

.hero__content {
  flex: 1 1 52%;
  min-width: 0;
}

.hero__label {
  display: inline-block;
  padding: 8px 20px;
  margin-bottom: 28px;
  background: var(--white);
  border-radius: 100px;
  color: var(--green-dark);
}

.hero__lead {
  color: var(--green-dark);
  font-size: 20px;
  margin-bottom: 12px;
}

.hero__title {
  font-size: clamp(30px, 3.5vw, 42px);
  line-height: 1.6;
  letter-spacing: .04em;
  margin-bottom: 26px;
}

.hero__description {
  max-width: 580px;
  margin-bottom: 32px;
}

.hero__buttons {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.hero__note {
  margin-top: 20px;
  color: var(--green-dark);
}

.hero__visual {
  position: relative;
  display: flex;
  align-items: flex-end;
  flex: 1 1 42%;
  min-width: 0;
  padding: 0 0 45px 0;
}

.hero__photo {
  overflow: hidden;
  border: 8px solid var(--white);
  box-shadow: 0 14px 45px rgba(38,74,45,.12);
  background: var(--white);
}

.hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__photo--main {
  width: 83%;
  aspect-ratio: 4 / 5;
  border-radius: 46% 46% 24px 24px;
}

.hero__photo--sub {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 48%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
}

.hero__decoration {
  position: absolute;
  top: -35px;
  right: 15px;
  color: var(--orange);
  font-size: 75px;
  line-height: 1;
}

/* ========================================
   06. INFORMATION
======================================== */
.info-strip {
  padding: 30px 0;
  background: var(--green);
  color: var(--white);
}

.info-strip__inner {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px 0;
}

.info-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1 1 25%;
  min-width: 0;
  padding: 8px 15px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,.3);
}

.info-item:last-child {
  border-right: 0;
}

.info-item > span:first-child {
  letter-spacing: .12em;
}

.info-item strong {
  font-size: 21px;
  font-weight: 300;
}

/* ========================================
   07. ABOUT
======================================== */
.about {
  background: var(--white);
}

.about__inner {
  display: flex;
  align-items: center;
  gap: 75px;
}

.about__visual,
.about__content {
  flex: 1 1 50%;
  min-width: 0;
}

.about__visual img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 180px 180px 30px 30px;
}

.about__content p:not(.section__en) {
  margin-bottom: 20px;
}

.about__message {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 20px;
  background: var(--orange-light);
  border-radius: 100px;
  color: #9d641a;
}

/* ========================================
   08. SERVICE
======================================== */
.service {
  background: var(--cream);
}

.service-list {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 24px;
}

.service-card {
  display: flex;
  flex-direction: column;
  flex: 1 1 calc(33.333% - 24px);
  min-width: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 10px 30px rgba(30,80,40,.06);
}

.service-card > img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.service-card__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1;
  padding: 28px;
}

.service-card__number {
  color: var(--orange);
  font-size: 21px;
  margin-bottom: 9px;
}

.service-card h3 {
  font-size: 24px;
  margin-bottom: 12px;
}

.support-list {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 32px;
}

.support-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  flex: 1 1 calc(33.333% - 20px);
  min-width: 0;
  padding: 28px;
  background: var(--green-light);
  border-radius: var(--radius);
}

.support-item__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 48px;
  height: 48px;
  background: var(--white);
  color: var(--green);
  border-radius: 50%;
  font-size: 24px;
}

.support-item h3 {
  font-size: 22px;
  margin-bottom: 6px;
}

/* ========================================
   09. DAILY SCHEDULE
======================================== */
.schedule {
  background: var(--white);
}

.schedule__inner {
  display: flex;
  align-items: stretch;
  gap: 55px;
}

.schedule__photo {
  flex: 0 0 38%;
  min-width: 0;
}

.schedule__photo img {
  width: 100%;
  height: 100%;
  max-height: 680px;
  object-fit: cover;
  border-radius: 25px;
}

.schedule__list {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.schedule__list li {
  display: flex;
  align-items: flex-start;
  gap: 26px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}

.schedule__list li:first-child {
  padding-top: 0;
}

.schedule__list time {
  flex: 0 0 140px;
  color: var(--green-dark);
  font-family: var(--font-en-bold);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.7;
}

.schedule__list li > div {
  flex: 1;
  min-width: 0;
}

.schedule__list h3 {
  font-size: 22px;
  margin-bottom: 4px;
}

.schedule__note {
  margin-top: 28px;
}

/* ========================================
   10. GALLERY
======================================== */
.gallery {
  background: var(--green-light);
}

.gallery__list {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 24px;
}

.gallery__list figure {
  flex: 1 1 calc(33.333% - 24px);
  min-width: 0;
}

.gallery__list img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 18px;
}

.gallery__list figcaption {
  padding-top: 14px;
  text-align: center;
}

/* ========================================
   11. HOW TO USE
======================================== */
.flow {
  background: var(--cream);
}

.flow__list {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 24px;
}

.flow__list li {
  display: flex;
  flex-direction: column;
  flex: 1 1 calc(33.333% - 24px);
  min-width: 0;
  padding: 32px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.flow__number {
  display: inline-block;
  margin-bottom: 17px;
  color: var(--green);
  letter-spacing: .08em;
}

.flow__list h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

/* ========================================
   12. FAQ
======================================== */
.faq {
  background: var(--white);
}

.faq__inner {
  display: flex;
  align-items: flex-start;
  gap: 75px;
}

.faq__inner > .section-heading {
  flex: 0 0 33%;
}

.faq__list {
  flex: 1;
  min-width: 0;
}

.faq__list details {
  border-bottom: 1px solid var(--line);
}

.faq__list summary {
  padding: 25px 40px 25px 0;
  cursor: pointer;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.7;
}

.faq__list details p {
  padding: 0 0 25px;
}

/* ========================================
   13. ACCESS
======================================== */
.access {
  background: var(--cream);
}

.access__inner {
  display: flex;
  align-items: stretch;
  overflow: hidden;
  border-radius: 24px;
  background: var(--white);
}

.access__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1 1 55%;
  min-width: 0;
  padding: 50px;
}

.access__content h3 {
  font-size: 27px;
  margin-bottom: 25px;
}

.access__data {
  width: 100%;
  margin-bottom: 30px;
}

.access__data > div {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}

.access__data dt {
  flex: 0 0 105px;
  color: var(--green-dark);
}

.access__data dd {
  flex: 1;
  min-width: 0;
}

.access__photo {
  flex: 1 1 45%;
  min-width: 0;
}

.access__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ========================================
   14. CONTACT
======================================== */
.contact {
  padding: 100px 0;
  background: var(--green);
  color: var(--white);
  text-align: center;
}

.contact__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact .section__en,
.contact .section__title {
  color: var(--white);
}

.contact__tel {
  display: block;
  margin: 25px 0;
  color: var(--white);
  font-size: clamp(32px, 4vw, 42px);
  line-height: 1.3;
}

/* ========================================
   15. FOOTER
======================================== */
.site-footer {
  padding: 60px 0 30px;
  background: #263c32;
  color: var(--white);
}

.site-footer__inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 35px;
}

.site-footer__name {
  display: block;
  margin: 4px 0 18px;
  font-size: 30px;
  font-weight: 300;
}

.site-footer__right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 20px;
}

.site-footer__right a {
  border-bottom: 1px solid var(--white);
}

/* ========================================
   16. TABLET
======================================== */
@media screen and (max-width: 1100px) {
  .global-nav {
    gap: 12px;
  }

  .site-header__inner {
    gap: 12px;
  }

  .header-tel {
    display: none;
  }

  .hero__inner {
    gap: 30px;
  }

  .about__inner {
    gap: 40px;
  }
}

/* ========================================
   17. SMARTPHONE
======================================== */
@media screen and (max-width: 767px) {

  :root {
    --section-padding: 65px;
  }

  html {
    scroll-padding-top: 85px;
  }

  .container {
    width: calc(100% - 36px);
  }

  .site-header__inner {
    min-height: 76px;
  }

  .site-logo__text strong {
    font-size: 23px;
  }

  .global-nav {
    display: none;
  }

  .mobile-menu {
    display: block;
    position: relative;
    margin-left: auto;
  }

  .mobile-menu summary {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: var(--green-dark);
    list-style: none;
    font-family: var(--font-en-bold);
  }

  .mobile-menu summary::-webkit-details-marker {
    display: none;
  }

  .mobile-menu summary span {
    font-size: 25px;
  }

  .mobile-menu nav {
    position: absolute;
    top: calc(100% + 20px);
    right: 0;
    display: flex;
    flex-direction: column;
    width: min(85vw, 320px);
    padding: 16px 22px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,.09);
  }

  .mobile-menu nav a {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
  }

  .mobile-menu nav a:last-child {
    border-bottom: 0;
  }

  .hero {
    padding: 55px 0 70px;
  }

  .hero__inner,
  .about__inner,
  .schedule__inner,
  .faq__inner,
  .access__inner {
    flex-direction: column;
  }

  .hero__content,
  .hero__visual,
  .about__visual,
  .about__content {
    flex: 0 0 100%;
    width: 100%;
  }

  .hero__label {
    margin-bottom: 20px;
  }

  .hero__lead {
    font-size: 18px;
  }

  .hero__title {
    font-size: clamp(30px, 7vw, 38px);
  }

  .hero__buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__buttons .button {
    width: 100%;
  }

  .hero__visual {
    margin-top: 45px;
  }

  .hero__photo--main {
    width: 80%;
  }

  .hero__photo--sub {
    width: 47%;
  }

  .info-item {
    flex: 0 0 50%;
    padding: 16px 8px;
  }

  .info-item:nth-child(2) {
    border-right: 0;
  }

  .info-item:nth-child(-n+2) {
    border-bottom: 1px solid rgba(255,255,255,.3);
  }

  .about__inner {
    gap: 35px;
  }

  .about__visual img {
    max-height: 450px;
  }

  .service-list,
  .support-list,
  .gallery__list,
  .flow__list {
    flex-direction: column;
  }

  .service-card,
  .support-item,
  .gallery__list figure,
  .flow__list li {
    flex: 0 0 100%;
    width: 100%;
  }

  .service-card__body {
    padding: 25px;
  }

  .schedule__inner {
    gap: 35px;
  }

  .schedule__photo {
    flex: 0 0 auto;
    width: 100%;
  }

  .schedule__photo img {
    aspect-ratio: 16 / 10;
    max-height: 360px;
  }

  .schedule__list {
    width: 100%;
  }

  .schedule__list li {
    gap: 15px;
  }

  .schedule__list time {
    flex: 0 0 112px;
    font-size: 16px;
  }

  .schedule__list h3 {
    font-size: 20px;
  }

  .faq__inner {
    gap: 15px;
  }

  .faq__inner > .section-heading,
  .faq__list {
    flex: 0 0 100%;
    width: 100%;
  }

  .access__content {
    flex: 0 0 100%;
    padding: 30px 22px;
  }

  .access__photo {
    flex: 0 0 auto;
    width: 100%;
  }

  .access__photo img {
    aspect-ratio: 16 / 10;
  }

  .contact {
    padding: 70px 0;
  }

  .site-footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-footer__right {
    align-items: flex-start;
  }
}

/* ========================================
   18. SMALL SMARTPHONE
======================================== */
@media screen and (max-width: 420px) {

  .container {
    width: calc(100% - 32px);
  }

  .hero__title {
    font-size: 30px;
  }

  .section__title {
    font-size: 28px;
  }

  .info-item strong {
    font-size: 18px;
  }

  .access__data > div {
    flex-direction: column;
    gap: 4px;
  }

  .access__data dt,
  .access__data dd {
    flex: 0 0 auto;
    width: 100%;
  }
}

/* ========================================
   19. ACCESSIBILITY
======================================== */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
  }
}
