* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: #4d4d4d;
  font-family: "Noto Sans", sans-serif;  line-height: 1.9;
  background: #fff;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

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






#message,
#history,
#event,
#logo,
#movie,
#recruit,
#contact {
  scroll-margin-top: calc(var(--header-height) + 20px);
}








/* =====================
   Header
===================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  width: 100%;
  background: transparent;
  transition: background 0.35s ease, box-shadow 0.35s ease, backdrop-filter 0.35s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
}

.site-header__inner {
  width: min(1400px, calc(100% - 40px));
  padding: 25px 0 10px 0;
  margin: 0 auto;
  display: flex;
  align-items: center;
}

/* ロゴ：左寄せ */
.header_logo {
  flex-shrink: 0;
}

.header_logo img {
  display: block;
  width: 280px;
  height: auto;
}

.site-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 34px;
}

.site-nav a {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: #4d4d4d;
  font-family: "Jost", sans-serif;
}

.header-contact {
  margin-left: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  padding: 5px 30px;
  border-radius: 10px;
  background: #4d4d4d;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-decoration: none;
}

.menu-button,
.sp-nav {
  display: none;
}

/* =====================
   Main Visual
===================== */

.main-visual_box {

}

.main-visual::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 50%;
  width: 100%;
  min-width: 1200px;
  height: 165px;
  transform: translateX(-50%);
  
  z-index: 0;
}

.main-visual__inner {
  position: relative;
  width: 100%;
  height: 800px;
  aspect-ratio: 1920 / 800;
  background-image: url("../images/main-visual_bg.png");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: auto 800px;
  padding-top: 78px;
}

.main-logo {
  width: 350px;
  margin: 0 auto;
  position: absolute;
  left: 19%;
  top: 32%;
  
}

.event-box {
  width: 500px;
  position: absolute;
  bottom: -50px;
  left: 50%;
  transform: translateX(-50%);
}


/* =====================
   Common
===================== */

.section-block {
  padding: 64px 20px;
}

.section-inner {
  width: min(1400px, 100%);
  margin: 0 auto;
}

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

.section-heading h2 {
  margin: 0;
  font-size: 48px;
  line-height: 1;
  letter-spacing: 0.02em;
  font-weight: 500;
  font-family: "Jost", sans-serif;
}

.section-heading p {
  position: relative;
  display: inline-block;
  margin: 25px 0 0;
  font-size: 23px;
  letter-spacing: 0.08em;
  font-weight: 400;
}

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

.section-heading--center p {
  padding-left: 90px;
  padding-right: 90px;
}

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

.section-heading--right p {
  padding-left: 130px;
  padding-right: 0;
}
.spbr {
  display: none;
}


/* =====================
   Message
===================== */

.message-section {
  padding-top: 24px;
  margin-top: 80px;
}

.message-section .section-heading {
  background: url("../images/message_h_bg.png") right 12px no-repeat;
  background-size: 628px auto;
  width: 628px;
}

.message-section .section-heading h2 {
  
}

.message-layout {
  display: grid;
  grid-template-columns: 1fr 415px;
  gap: 58px;
  align-items: start;
}

.message-text p {
  margin: 0 0 1.4em;
  font-size: 18px;
  text-align: justify;
  line-height: 2.5;
  font-weight: 500;
  padding-left: 80px;
}

.message-photo {
  position: relative;
  margin-top: 20px;
  padding-right: 80px;
}

.message-photo .kazari {
  position: absolute;
  bottom: -31px;
  right: 35px;
  width: 380px;
  max-width: fit-content;
  z-index: 10;
}

.message-photo img {
  width: 100%;
}

/* =====================
   History
===================== */

.history-section {
  margin-top: 40px;
  background: url("../images/history-section_bg.png") no-repeat center / cover;
}

.history-section__overlay {
  padding: 62px 20px 70px;
}

.history-heading {
  text-align: right;
  color: #fff;
  margin-bottom: 28px;
  margin-left: auto;
  background: url("../images/history_h_bg.png") right 12px no-repeat;
  background-size: 628px auto;
  width: 628px;
}

.history-heading h2 {
  margin: 0;
  font-size: 48px;
  line-height: 1;
  letter-spacing: 0.02em;
  font-weight: 500;
  font-family: "Jost", sans-serif;
}

.history-heading p {
  position: relative;
  display: inline-block;
  margin: 25px 0 0;
  font-size: 23px;
  letter-spacing: 0.08em;
  font-weight: 400;
}

.history-text {
  color: #fff;
}

.history-text p {
  margin: 0 0 1.4em;
  font-size: 18px;
  text-align: justify;
  line-height: 2.5;
  font-weight: 500;
  padding-left: 80px;
  padding-right: 80px;
  text-align: justify;
}

/* =====================
   Wave Divider
===================== */

.wave-divider {
  width: 100%;
  height: 190px;
  background: url("../images/kazari1_bg.png") no-repeat center / cover;
}

.wave-divider.wave2 {
  background: url("../images/kazari2_bg.png") no-repeat center / cover;
}

.wave-divider--reverse {
  transform: scaleY(-1);
}

/* =====================
   Event
===================== */

.event-section {
  padding-top: 64px;
  padding-bottom: 100px;
}

.event-section .section-heading {
  background: url("../images/message_h_bg.png") right 12px no-repeat;
  background-size: 628px auto;
  width: 628px;
  margin: 0 auto 40px auto;
}

.event-content p {
  margin: 0 0 1.4em;
  font-size: 18px;
  text-align: justify;
  line-height: 2.5;
  font-weight: 500;
  padding-left: 30px;
  padding-right: 30px;
  text-align: justify;
  margin-left: 120px;
  margin-right: 120px;
}

.event-content .p1 {
  font-size: 22px;
  font-weight: 500;
  font-family: "Jost", "Noto Sans", sans-serif;
}

.event-content .p2 {
  margin-bottom: 20px;
}

.event-layout {
  display: grid;
  grid-template-columns: 1fr 600px;
  gap: 48px;
  margin-top: 120px;
}

.event-layout p {
  margin: 0 0 1.4em;
  font-size: 16px;
  text-align: justify;
  line-height: 3;
  font-weight: 600;
  padding-left: 30px;
  text-align: justify;
  margin-left: 120px;
}

.event-map {
  position: relative;
  margin-right: 120px;
}

.event-map a {
  position: absolute;
  top: 0;
  right: 0;
  display: block;
}

.event-map a img {
  width: 130px;
  height: auto;
  display: block;
}

.event-map img {
  width: 100%;
}

/* =====================
   Logo
===================== */

.logo-section {
  padding-top: 52px;
}

.logo-section .section-heading {
  background: url("../images/message_h_bg.png") right 12px no-repeat;
  background-size: 628px auto;
  width: 628px;
  margin: 0 0 40px 0;
}


.logo-layout {
  display: grid;
  grid-template-columns: 460px 1fr;
  gap: 66px;
  align-items: center;
}

.logo-large {
  text-align: center;
  margin-left: 120px;
}

.logo-description p {
  margin: 0 0 1.4em;
  font-size: 18px;
  text-align: justify;
  line-height: 2.5;
  font-weight: 500;
  padding-left: 30px;
  text-align: justify;
  margin-left: 70px;
  margin-right: 120px;
}

/* =====================
   Movie
===================== */

.movie-section {
  padding-top: 40px;
  padding-bottom: 154px;
  background: url("../images/movie-section_bg.png") center bottom no-repeat;
  background-size: 100% auto;
}

.movie-section .section-heading {
  background: url("../images/movie_h_bg.png") right 12px no-repeat;
  background-size: 628px auto;
  width: 628px;
  margin: 0 0 60px auto;
}

.movie-frame {
  width: 80%;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
}

.movie-frame h3 {
  text-align: center;
  color: #02499a;
  font-size: 20px;
}

.movie-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* =====================
   Footer
===================== */

.site-footer {
  margin-top: 0;
  color: #222;
}

/* 上部 */
.site-footer__top {
  padding: 48px 20px 52px;
}

.site-footer__inner {
  width: min(1300px, 100%);
  margin: 0 auto;
}

/* 全体2カラム */
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 46px;
  align-items: end;
}

/* 左側 */
.footer-left {
  min-width: 0;
}

.footer-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  margin-top: 22px;
}

.footer-box {
  border-top: 3px solid #0054a6;
  padding: 20px 8px 5px;
  min-height: 128px;
}

.b_bottom {
  border-bottom: 3px solid #0054a6;
  padding-bottom: 44px;
}

.no_border {
  border: none;
  padding: 20px 0px 24px;
}


.footer-box--logo {
  padding: 0 8px 12px;
  min-height: auto;
}

.footer-logo img {
  display: block;
  width: 300px;
  max-width: 100%;
  height: auto;
}

.footer-sp-list {
  display: none;
}

.footer-box h3 {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.35;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.footer-box p {
  margin: 0 0 10px;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 400;
  letter-spacing: 0.01em;
}

.footer-box p:last-child {
  margin-bottom: 0;
}

.footer-box span {
  font-size: 12px;
}

/* 関連会社 */
.footer-related {
  margin-top: 42px;
}

.footer-related__title {
  margin: 0;
  padding: 0 8px 8px;
  border-bottom: 3px solid #0054a6;
  color: #0054a6;
  font-size: 22px;
  line-height: 1.4;
  font-weight: 800;
}

.footer-related__box {
  border-bottom: 3px solid #0054a6;
  padding: 20px 8px 24px;
}

.footer-related__box h4 {
  margin: 0 0 14px;
  font-size: 22px;
  line-height: 1.35;
  font-weight: 400;
}

.footer-related__info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.footer-related__info p {
  margin: 0;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 400;
}

.footer-related__info span {
  font-size: 12px;
}

.center_p {
  border: none;
  display: flex;
  justify-content: center;  /* 左右中央 */
  align-items: flex-end;    /* 下寄せ */
  min-height: 128px;        /* 高さがないと下寄せが効きにくい */
  padding-bottom: 0;
}



/* 右側 */
.footer-right {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: end;
}

.footer-certifications {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 16px;
  align-items: center;
  justify-content: flex-start;
  max-width: 300px;
  padding-bottom: 35px;
}

.footer-certifications img {
  display: block;
  width: auto;
  max-width: 58px;
  max-height: 52px;
  height: auto;
  object-fit: contain;
}

.footer-certifications .mlari {
  margin-left: 40px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-end;
  padding-bottom: 6px;
}

.footer-links a, .flink_one {
  color: #0054a6;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-links .sra {
  display: none;
}


/* 下部コピーライト帯 */
.site-footer__bottom {
  background: #0054a6;
  padding: 22px 20px;
}

.site-footer__bottom p {
  margin: 0;
  color: #fff;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
}



.js-fadeup {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
  transition-delay: var(--fade-delay, 0ms);
}

.js-fadeup.is-show {
  opacity: 1;
  transform: translateY(0);
}

.js-fade {
  opacity: 0;
  transition: opacity 1.8s ease;
  transition-delay: var(--fade-delay, 0ms);
}

.js-fade.is-show {
  opacity: 1;
}





















/* レスポンシブ */
@media (max-width: 1024px) {
  
  
  
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 0px;
  }

  .footer-right {
    grid-template-columns: 1fr auto;
    align-items: start;
  }
}




/* =====================
   SP
===================== */

@media (max-width: 900px) {
  
  .spbr {
    display: block;
  }
  
  .site-header__inner {
    padding: 5px 0 5px 0;
  }
  
  .header_logo img {
    width: 200px;
    height: auto;
  }
  
  .site-nav,
  .header-contact {
    display: none;
  }

  .menu-button {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 0;
    background: transparent;
    margin-left: auto;
  }

  .menu-button span {
    display: block;
    width: 28px;
    height: 2px;
    background: #222;
    transition: 0.25s;
  }

  .menu-button.is-open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .menu-button.is-open span:nth-child(2) {
    opacity: 0;
  }

  .menu-button.is-open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .sp-nav {
    display: none;
    padding: 10px 22px 20px;
    background: rgba(255,255,255,0.95);
  }

  .sp-nav.is-open {
    display: grid;
    gap: 6px;
  }

  .sp-nav a {
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
    font-size: 14px;
    font-weight: 700;
  }

  .main-visual {
    min-height: 330px;
  }

  .main-visual::before {
    min-width: 100%;
    height: 120px;
    background-size: auto 120px;
  }

  .main-visual__inner {
    padding-top: 78px;
    width: 100%;
    background-image: url("../images/main-visual_bg_sp.png");
    background-repeat: no-repeat;
    background-position: center top;
    background-size: 100% auto;
    aspect-ratio: 1080 / 1920;
    
  }

  .main-logo {
    width: 65%;
    height: auto;
    top: 30%;
    left: 17%
  }

  .event-box {
    margin-top: 34px;
    padding: 7px 14px 9px;
    border-top-width: 4px;
    border-bottom-width: 4px;
    width: 350px;
    bottom: 17px;
  }

  .event-box__title {
    font-size: 20px;
  }

  .event-box__text {
    font-size: 12px;
  }

  .section-block {
    padding: 48px 18px;
  }

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

  .section-heading h2 {
    font-size: 44px;
  }

  .section-heading p {
    padding-right: 0px;
    font-size: 20px;
  }

  .section-heading p::after {
    width: 58px;
  }

  .section-heading--center p {
    padding-left: 48px;
    padding-right: 48px;
  }

  .section-heading--center p::before,
  .section-heading--center p::after {
    width: 34px;
  }

  .section-heading--right {
    text-align: left;
  }

  .section-heading--right p {
    padding-left: 0;
    padding-right: 0px;
  }

  .section-heading--right p::before {
    display: none;
  }

  .section-heading--right p::after {
    display: block;
  }

  .message-layout,
  .event-layout,
  .logo-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .message-section {
    margin-top: -30px;
  }
  
  .message-section .section-heading {
    background: url("../images/message_h_bg_sp.png") left 30px no-repeat;
    background-size: 320px auto;
    width: 100%;
    margin-left: -22px;
    
    padding-left: 22px;
  }

  .message-photo {
    width: 250px;
    margin: 0 auto;
    padding-right: 0;
  }

  .message-photo .kazari {
    width: 265px;
    bottom: -21px;
    right: -15px;
  }


  .message-text p {
    padding-left: 0;
    font-size: 16px;
    line-height: 2;
  }

  .history-section {
    margin-top: 20px;
    background: url("../images/history-section_bg_sp.png") no-repeat center / cover;
  }

  .history-section__overlay {
    padding: 48px 18px 54px;
  }

  .history-heading {
    text-align: left;
    width: 100%;
    background: url("../images/history_h_bg_sp.png") right 30px no-repeat;
    background-size: 320px auto;
    margin-right: -18px;
    padding-right: 18px;
  }

  .history-heading h2 {
    text-align: right;
    font-size: 44px;
  }

  .history-heading p {
    text-align: right;
    display: block;
    font-size: 20px;
  }

  .history-heading p::before {
    left: auto;
    right: 0;
    width: 58px;
  }
  
  .history-text p {
    padding-right: 0;
    padding-left: 0;
    font-size: 16px;
    line-height: 2;
  }

  .wave-divider {
    height: 100px;
    background: url("../images/kazari1_bg_sp.png") no-repeat center / cover;
  }

  .wave-divider.wave2 {
    background: url("../images/kazari2_bg_sp.png") no-repeat center / cover;
  }
  .event-section {
    padding-top: 34px;
  }

  .event-section .section-heading {
    width: 100%;
    background: url("../images/message_h_bg_sp.png") center 30px no-repeat;
    background-size: 320px auto;
  }
  
  .event-content p {
    padding-left: 0px;
    margin-left: 0px;
    padding-right: 0px;
    margin-right: 0px;
    font-size: 16px;
    line-height: 2;
  }
  .event-content .p1 {
    font-size: 20px;
  }
  .event-layout {
     margin-top: 45px;
  }
  .event-layout p {
    padding-left: 0px;
    margin-left: 0px;
    line-height: 2.2;
    font-size: 14px;
  }
  
  .event-map {
    order: 2;
    margin-right: 0;
  }
  
  .event-map a {
    width: 100px;
    height: auto;
  }

  .logo-section .section-heading {
    background: url("../images/message_h_bg_sp.png") left 30px no-repeat;
    background-size: 320px auto;
    width: 100%;
    margin-left: -22px;
    padding-left: 22px;
    
  }

  .logo-large {
    width: 250px;
    height: auto;;
    margin: 0 auto;
  }
  
  .logo-description p {
    padding-left: 0;
    margin-left: 0;
    margin-right: 0;
    font-size: 16px;
    line-height: 2;
  }

  .movie-section {
    padding-bottom: 60px;
    background: url(../images/movie-section_bg_sp.png) center bottom no-repeat;
    background-size: 100% auto;
  }
  
  .movie-section .section-heading {
    text-align: right;
    width: 100%;
    background: url("../images/movie_h_bg_sp.png") right 30px no-repeat;
    background-size: 320px auto;
    margin-right: -18px;
    padding-right: 18px;
  }

  .movie-frame h3 {
    margin-bottom: 10px;
    font-size: 18px;
  }

  .movie-frame {
    width: 100%;
  }

  .site-footer__top {
    padding: 36px 16px 40px;
  }

  .footer-row {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 0px;
  }

  .footer-box {
    min-height: auto;
    padding: 18px 6px 20px;
    border: none;
  }

  .footer-box--logo {
    padding: 0 6px 10px;
    text-align: center;
  }

  .footer-logo {
    text-align: center;
    margin-bottom: 20px;
  }
  
  
  .footer-logo img {
    width: 320px;
    margin: 0 auto;
  }

  .footer-sp-list {
    display: flex;
    flex-wrap: wrap;
  }
  
  .footer-sp-list div {
    color: #02499a;
    padding: 5px 10px;
    background-color: #ebebeb;
    font-size: 18px;
    font-weight: 600;
    margin: 0 10px 10px 0;
  }
  
  .footer-sp-list .active {
    color: #fff;
    background-color: #02499a;
  }
  
  .footer-box h3,
  .footer-related__title,
  .footer-related__box h4 {
    font-size: 18px;
  }
  
  .footer-box {
    display: none;
  }
  .footer-box.active {
    display: block;
  }
  
  .footer-box h3 {
    display: none;
  }
  
  .blockbox {
    display: block;
  }
  
  .footer-box p,
  .footer-related__info p {
    font-size: 16px;
  }

  .footer-related {
    margin-top: 30px;
  }

  .footer-related__box {
    padding: 18px 6px 20px;
  }

  .footer-related__info {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .footer-right {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-certifications {
    max-width: none;
    justify-content: flex-start;
  }
  
  .footer-certifications img {
    max-width: 70px;
    max-height: unset;
  }
  
  
  .footer-certifications .mlari {
    margin-left: 0;
  }
  
  
  
  
  .footer-links {
    display: flex;
    justify-content: center;
    flex-direction: unset;
    gap: 2px;
  }

  .footer-links a {
    font-size: 15px;
    display: inline-block;
  }
  
  .footer-links .sra {
    font-size: 15px;
    display: inline-block;
    color: #02499a;
  }

  .site-footer__bottom p {
    font-size: 10px;
    line-height: 1.6;
  }
  
  
  
  
  
}