/*
Theme Name: FSJ
Author: AIM
Version: 1.0
*/

/*
Theme Name: FSJ
Author: AIM
Version: 1.0
*/

/* ========================================
   RESET
======================================== */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Helvetica Neue", Arial, sans-serif;
  color: #111;
  background: #eaf4f0;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
body {
  background:
  linear-gradient(
    180deg,
    #eef8f7 0%,
    #e3f2f0 40%,
    #d8eceb 100%
  );
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

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

/* ========================================
   HEADER
======================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10000;
  width: 100%;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 36px;
  pointer-events: none;
}

.site-logo,
.menu-trigger,
.site-sns {
  pointer-events: auto;
}

.site-logo img {
  width: 92px;
  display: block;
}

.menu-trigger {
  position: absolute;
  left: 36px;
  width: 42px;
  height: 28px;
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  z-index: 10002;
}

.menu-trigger span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: #111;
  transition: 0.35s ease;
}

.menu-trigger span:first-child {
  top: 8px;
}

.menu-trigger span:last-child {
  bottom: 8px;
}

.menu-open .menu-trigger span:first-child {
  top: 50%;
  transform: rotate(25deg);
}

.menu-open .menu-trigger span:last-child {
  top: 50%;
  bottom: auto;
  transform: rotate(-25deg);
}
.site-sns {
  position: absolute;
  right: 36px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.site-sns a {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(0,0,0,0.12);

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 9999px;

  font-size: 16px;

  transition: 0.25s ease;
}

.site-sns a:hover {
  background: #111;
  color: #fff;
  transform: translateY(-2px);
}

/* ========================================
   GLOBAL MENU
======================================== */

.global-menu {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(234,244,240,0.98);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: 0.4s ease;
}

.menu-open .global-menu {
  opacity: 1;
  visibility: visible;
}

.global-menu-inner {
  text-align: center;
}

.menu-logo {
  max-width: 150px;
  margin: 0 auto 56px;
}

.menu-logo img {
  width: 100%;
  display: block;
}

.global-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.global-menu li {
  margin: 18px 0;
}

.global-menu a {
  font-size: 30px;
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ========================================
   FV
======================================== */

.fv {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.fv-bg {
  position: absolute;
  inset: 0;
}

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

.fv-bg.sp {
  display: none;
}

.fv-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to bottom,
      rgba(234,244,240,0.04),
      rgba(234,244,240,0.12)
    );
}

/* ========================================
   MOBILE
======================================== */

@media (max-width: 767px) {

  .fv {
    min-height: 100svh;
  }

  .fv-bg.pc {
    display: none;
  }

  .fv-bg.sp {
    display: block;
  }

}


/* ========================================
   COMMON SECTION
======================================== */

.section {
  padding: 150px 48px;
}

.section-inner {
  max-width: 980px;
  margin: 0 auto;
}

.section-inner.wide {
  max-width: 1220px;
}

.section-heading {
  margin-bottom: 72px;
  text-align: center;
}

.section-label {
  margin: 0 0 18px;
  font-size: 12px;
  letter-spacing: 0.22em;
  font-weight: 800;
}

.section h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 72px);
  line-height: 1.18;
  font-weight: 900;
}

.section p {
  font-size: 16px;
  line-height: 2.15;
}

/* ========================================
   ABOUT
======================================== */

.section-about {
background:
linear-gradient(
  180deg,
  #eef8f7 0%,
  #e3f2f0 40%,
  #d8eceb 100%
);
}

.section-about .section-inner {
  text-align: center;
}

.about-text {
  max-width: 680px;
  margin: 56px auto 0;
}

/* ========================================
   LESSON
======================================== */

.section-lesson {
  background: #fff;
}

.lesson-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.lesson-card {
  display: block;
  background: #eaf4f0;
  overflow: hidden;
}

.lesson-image {
  height: 360px;
  overflow: hidden;
}

.lesson-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.45s ease;
}

.lesson-card:hover .lesson-image img {
  transform: scale(1.05);
}

.lesson-body {
  padding: 28px;
}

.lesson-body h3 {
  margin: 0 0 12px;
  font-size: 24px;
  line-height: 1.25;
  font-weight: 900;
}

.lesson-body p {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
}

/* ========================================
   GUIDE
======================================== */

.section-guide {
background:
linear-gradient(
  180deg,
  #eef8f7 0%,
  #e3f2f0 40%,
  #d8eceb 100%
);
}

.guide-list {
  display: grid;
  gap: 80px;
}

.guide-item {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
}

.guide-item:nth-child(even) .guide-photo {
  order: 2;
}

.guide-photo {
  overflow: hidden;
}

.guide-photo img {
  width: 100%;
  height: auto;
  display: block;
}

.guide-content h3 {
  margin: 0;
  font-size: clamp(42px, 6vw, 84px);
  line-height: 1;
  font-weight: 900;
}

.guide-role {
  margin: 16px 0 36px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.guide-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.guide-table th,
.guide-table td {
  padding: 18px 0;
  border-bottom: 1px solid rgba(0,0,0,0.16);
  text-align: left;
  vertical-align: top;
}

.guide-table th {
  width: 150px;
  font-weight: 900;
}

.guide-message {
  margin: 36px 0 0;
  font-weight: 800;
}

/* ========================================
   DOG SUP
======================================== */

.section-dogsup {
  background: #fff;
}

.dogsup-image {
  max-width: 960px;
  margin: 0 auto 64px;
  overflow: hidden;
}

.dogsup-image img {
  width: 100%;
  display: block;
}

.dogsup-content {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.dogsup-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 72px;
}

.dogsup-box {
  padding: 32px 28px;
  border: 1px solid rgba(0,0,0,0.16);
  text-align: center;
}

.dogsup-box span {
  display: block;
  margin-bottom: 14px;
  font-size: 12px;
  letter-spacing: 0.16em;
  font-weight: 900;
}

.dogsup-box p {
  margin: 0;
  font-weight: 700;
}

/* ========================================
   NEWS
======================================== */

.section-news {
  background: #eaf4f0;
}

.news-list {
  border-top: 1px solid rgba(0,0,0,0.16);
}

.news-item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 32px;
  padding: 28px 0;
  border-bottom: 1px solid rgba(0,0,0,0.16);
  align-items: center;
}

.news-date {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.news-item h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 900;
}

/* ========================================
   FOOTER
======================================== */

.site-footer {
  padding: 88px 32px;
background:
linear-gradient(
  180deg,
  #10202a 0%,
  #0b1720 100%
);
  color: #fff;
  text-align: center;
}

.footer-logo {
  max-width: 150px;
  margin: 0 auto 36px;
}

.footer-logo img {
  width: 100%;
  display: block;
  filter: brightness(0) invert(1);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 32px;
}

.footer-links a {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
}
.footer-links a:hover {
  opacity: 0.7;
}
.footer-copy {
  margin: 0;
  font-size: 11px;
  opacity: 0.65;
}

/* ========================================
   PAGE
======================================== */

.page-main {
  padding-top: 96px;
}

.page-hero {
  padding: 120px 48px 90px;
  text-align: center;
  background: #eaf4f0;
}

.page-hero .section-label {
  margin-bottom: 20px;
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(42px, 6vw, 82px);
  font-weight: 900;
}

.page-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 100px 28px 140px;
}

/* ========================================
   MOBILE
======================================== */

@media (max-width: 767px) {

  .site-header {
    height: 76px;
    padding: 0 22px;
  }

  .site-logo img {
    width: 72px;
  }

  .menu-trigger {
    left: 22px;
    width: 34px;
    height: 24px;
  }

  .site-sns {
    display: none;
  }

  .global-menu a {
    font-size: 24px;
  }

  .menu-logo {
    max-width: 120px;
    margin-bottom: 48px;
  }

  .fv {
    padding: 120px 28px 80px;
    min-height: 100svh;
  }

  .fv-logo {
    max-width: 170px;
    margin-bottom: 36px;
  }

  .fv h1 {
    font-size: 46px;
  }

  .fv-text {
    font-size: 15px;
  }

  .section {
    padding: 100px 28px;
  }

  .section-heading {
    margin-bottom: 52px;
  }

  .lesson-grid {
    grid-template-columns: 1fr;
  }

  .lesson-image {
    height: 300px;
  }

  .guide-item {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .guide-item:nth-child(even) .guide-photo {
    order: 0;
  }

  .guide-table th,
  .guide-table td {
    display: block;
    width: 100%;
  }

  .guide-table th {
    padding-bottom: 4px;
    border-bottom: none;
  }

  .guide-table td {
    padding-top: 0;
  }

  .dogsup-info {
    grid-template-columns: 1fr;
  }

  .news-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }

}

/* ========================================
   NEWS MODAL
======================================== */

.news-item {
  width: 100%;
  border: none;
  background: transparent;
  color: inherit;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
}

.news-item:hover h3 {
  opacity: 0.55;
}

.news-modal {
  position: fixed;
  inset: 0;
  z-index: 20000;
  opacity: 0;
  visibility: hidden;
  transition: 0.35s ease;
}

.news-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.news-modal-bg {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.48);
}

.news-modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(760px, calc(100% - 48px));
  max-height: calc(100vh - 96px);
  overflow-y: auto;
  transform: translate(-50%, -48%);
  background: #fff;
  padding: 72px 64px;
  opacity: 0;
  transition: 0.35s ease;
}

.news-modal.is-open .news-modal-content {
  transform: translate(-50%, -50%);
  opacity: 1;
}

.news-modal-close {
  position: absolute;
  top: 28px;
  right: 28px;
  width: 34px;
  height: 34px;
  border: none;
  background: transparent;
  cursor: pointer;
}

.news-modal-close span {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  background: #111;
}

.news-modal-close span:first-child {
  transform: rotate(35deg);
}

.news-modal-close span:last-child {
  transform: rotate(-35deg);
}

.news-modal-date {
  margin: 0 0 18px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.news-modal-title {
  margin: 0 0 40px;
  font-size: clamp(26px, 4vw, 44px);
  line-height: 1.35;
  font-weight: 900;
}

.news-modal-body p {
  font-size: 15px;
  line-height: 2.1;
}

body.modal-open {
  overflow: hidden;
}

@media (max-width: 767px) {
  .news-modal-content {
    width: calc(100% - 32px);
    max-height: calc(100svh - 64px);
    padding: 64px 28px 48px;
  }
}

.footer-company {
  margin-bottom: 32px;
  text-align: center;
}

.footer-company span {
  display: block;
  margin-bottom: 12px;
  font-size: 10px;
  letter-spacing: 0.18em;
  opacity: 0.5;
}

.footer-company img {
  width: 140px;
  display: block;
  margin: 0 auto;
  opacity: 0.8;
}

/* ========================================
   PAGE
======================================== */

.page-main {
  padding-top: 96px;
}

.page-hero {
  padding: 140px 48px 90px;
  text-align: center;
  background: #eaf4f0;
}

.page-hero .section-label {
  margin-bottom: 20px;
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(42px, 6vw, 82px);
  line-height: 1.08;
  font-weight: 900;
}

.page-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 100px 28px 140px;
}

.page-content p {
  font-size: 16px;
  line-height: 2.15;
}

.page-content img {
  margin: 40px 0;
}

/* ========================================
   SINGLE
======================================== */

.single-date {
  margin-top: 28px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

/* ========================================
   MOBILE
======================================== */

@media (max-width: 767px) {

  .page-main {
    padding-top: 76px;
  }

  .page-hero {
    padding: 120px 28px 70px;
  }

  .page-content {
    padding: 80px 28px 110px;
  }

}
/* ========================================
   LOADING
======================================== */

.site-loader {
  position: fixed;
  inset: 0;
  z-index: 99999;

  display: flex;
  align-items: center;
  justify-content: center;

  background:
  linear-gradient(
    180deg,
    #eef8f7 0%,
    #e3f2f0 40%,
    #d8eceb 100%
  );

  transition:
    opacity 0.9s ease,
    visibility 0.9s ease;
}

.loader-logo {
  width: 180px;

  opacity: 0;
  transform: scale(0.94);

  animation: fsjLoader 1.4s ease forwards;
}

.loader-logo img {
  width: 100%;
  display: block;
}

body.loaded .site-loader {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

@keyframes fsjLoader {

  0% {
    opacity: 0;
    transform: scale(0.94);
  }

  45% {
    opacity: 1;
    transform: scale(1);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }

}

@media (max-width: 767px) {

  .loader-logo {
    width: 140px;
  }

}
/* ========================================
   CONTACT FORM
======================================== */

.contact-form {
  max-width: 760px;
  margin: 0 auto;
}

.form-row {
  margin-bottom: 44px;
}

.form-row label {
  display: block;
  margin-bottom: 14px;

  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;

  color: #111;
}

/* 入力欄 */

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;

  border: none;
  border-bottom: 1px solid rgba(0,0,0,0.18);

  background: transparent;

  padding: 16px 0;

  font-size: 16px;
  font-family: inherit;
  font-weight: 700;
  color: #111;

  transition: 0.3s ease;
}

/* textarea */

.contact-form textarea {
  min-height: 180px;
  resize: vertical;
}

/* focus */

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-bottom-color: #111;
}

/* placeholder */

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(0,0,0,0.35);
}

/* select */

.contact-form select {
  appearance: none;
  cursor: pointer;
}



/* error */

.wpcf7-not-valid-tip {
  margin-top: 10px;
  font-size: 12px;
  color: #c00;
}

/* response */

.wpcf7-response-output {
  margin: 40px 0 0 !important;

  padding: 18px 24px !important;

  border: 1px solid rgba(0,0,0,0.12) !important;

  background: rgba(255,255,255,0.4);

  text-align: center;

  font-size: 13px;
  font-weight: 700;
}

/* mobile */

@media (max-width: 767px) {

  .form-row {
    margin-bottom: 34px;
  }

  .form-submit {
    margin-top: 56px;
  }

  .submit-btn,
  .contact-form input[type="submit"] {
    width: 100% !important;
  }

}
/* ========================================
   CF7 SUBMIT FIX
======================================== */
/* submit */

.form-submit {
  display: flex;
  justify-content: center;
  margin-top: 72px;
}

.submit-btn,
.contact-form input[type="submit"] {

  width: 220px !important;

  padding: 20px 0 !important;

  border: 1px solid #111 !important;

  background: transparent !important;

  color: #111 !important;

  font-size: 12px !important;
  font-weight: 900 !important;
  letter-spacing: 0.22em !important;

  cursor: pointer;

  transition: 0.3s ease;
}

.submit-btn:hover,
.contact-form input[type="submit"]:hover {
  background: #111 !important;
  color: #fff !important;
}
.contact-form .form-submit {
  width: 100%;
  display: flex !important;
  justify-content: center !important;
  align-items: center;
}

.contact-form .form-submit p {
  width: auto !important;
  margin: 0 auto !important;

  display: flex !important;
  justify-content: center !important;
}

/* submit button */

.contact-form .wpcf7-submit,
.contact-form .submit-btn {

  width: 220px !important;
  min-width: 220px !important;
  max-width: 220px !important;

  margin: 0 auto !important;

  display: flex !important;
  justify-content: center !important;
  align-items: center !important;

  text-align: center !important;
}
/* ========================================
   CF7 SUBMIT TRUE CENTER FIX
======================================== */

.contact-form .form-submit {
  width: 100%;
  text-align: center !important;
  position: relative;
}

.contact-form .form-submit p {
  margin: 0 !important;
  padding: 0 !important;
  text-align: center !important;
}

/* SENDボタン */
.contact-form .wpcf7-submit,
.contact-form .submit-btn {
  display: block !important;
  width: 220px !important;
  min-width: 220px !important;
  max-width: 220px !important;
  margin: 0 auto !important;
  text-align: center !important;
}

/* CF7のスピナー余白を無効化 */
.contact-form .wpcf7-spinner {
  position: absolute !important;
  left: 50%;
  top: calc(100% + 16px);
  transform: translateX(-50%);
  margin: 0 !important;
}
/* ========================================
   CF7 SEND BUTTON FINAL FIX
======================================== */

.form-submit,
.form-submit-wrap {
  width: 100%;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  text-align: center !important;
  margin: 72px auto 0 !important;
  padding: 0 !important;
}

.form-submit-wrap p {
  margin: 0 !important;
  padding: 0 !important;
  width: auto !important;
}

.form-submit-wrap .submit-btn,
.form-submit-wrap .wpcf7-submit {
  display: block !important;
  width: 220px !important;
  min-width: 220px !important;
  max-width: 220px !important;
  margin: 0 auto !important;
  padding: 20px 0 !important;
  text-align: center !important;
}

/* CF7スピナーをボタン下に逃がす */
.form-submit-wrap .wpcf7-spinner {
  display: block !important;
  position: absolute !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  margin: 56px 0 0 !important;
}

/* ========================================
   MOBILE TEXT BALANCE
======================================== */

@media (max-width: 767px) {

  .section p,
  .about-text p,
  .dogsup-content p {
    font-size: 14px;
    line-height: 2;
    text-align: left;
  }

  .about-text,
  .dogsup-content {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .section-about .section-inner,
  .section-dogsup .section-inner {
    text-align: left;
  }

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

  .section h2 {
    font-size: 32px;
    line-height: 1.35;
  }

}

/* ========================================
   GUIDE SNS
======================================== */

.guide-sns {
  margin: -18px 0 36px;
}

.guide-sns a {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;

  transition: 0.25s ease;
}

.guide-sns i {
  font-size: 18px;
}

.guide-sns a:hover {
  opacity: 0.55;
}

/* ========================================
   MENU SNS
======================================== */

.menu-sns {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-top: 48px;
}

.menu-sns a {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(0,0,0,0.16);
  border-radius: 9999px;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 16px;
  transition: 0.25s ease;
}

.menu-sns a:hover {
  background: #111;
  color: #fff;
}