/*===================
    ROOT
====================*/
@font-face {
  font-family: "Yuji Syuku";
  src: url(../fonts/YujiSyuku-Regular.ttf) format("truetype");
}

@font-face {
  font-family: "Freehand";
  src: url(../fonts/Freehand-Regular.ttf) format("truetype");
}

:root {
  --black: #231815;
  --white: #ffffff;
  --orange: #e27438;
  --blue: #b4cbe1;
  --blue2: #6e9bc5;
  --yellow: #e8aa0a;
  --green: #7ebd58;
  --grey: #f6f6f6;
  --grey2: #b3b3b3;
  --font-freehand: "Freehand", cursive;
  --font-yuji-syuku: "Yuji Syuku", serif;
  --font-vdl: "vdl-pengentle", sans-serif;
}
/*===================
    BASE STYLE
====================*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  font-size: 62.5%;
}

main {
  overflow: hidden;
  padding-bottom: 200px;
}

body:not(.home) main {
  margin-top: 95px;
}

html,
body {
  width: 100%;
}
body {
  -moz-osx-font-smoothing: grayscale;
  font-size: 1.4rem;
  line-height: 1.5;
  background-image: url("../img/SiteBkgd1Layer.png");
  background-repeat: repeat;
  background-size: 500px;
  color: #4c4224;
  font-family: "Yuji Syuku", serif;
  word-wrap: break-word;
  overflow: hidden;
}
.para-bg {
  font-size: 25px;
  line-height: 1.8;
  letter-spacing: 0.5px;
}
h2 {
  font-size: 3.5rem;
  line-height: 1.3;
  letter-spacing: 0.5px;
}
h3 {
  font-size: 23px;
  line-height: 1.3;
  letter-spacing: 0.5px;
}
h4 {
  font-size: 18px;
  line-height: 1.3;
  letter-spacing: 0.5px;
}
h5 {
  font-size: 16px;
  line-height: 1.3;
  letter-spacing: 0.5px;
}
/*
 * 検索エンジン向けに見出しレベルを整理し、1ページに h1 が1つだけ入るようにした。
 * タグが変わっても見た目が改修前と変わらないようにするための指定。
 * :where() で詳細度を 0 にしているため、.f-24 などのサイズ指定を邪魔しない。
 */
:where(.sub-header__child-text-l) :where(h1) {
  font-size: 3.5rem;
  line-height: 1.3;
  letter-spacing: 0.5px;
}
:where(.sub-header__child-text-l) .sub-header__label {
  font-size: 3.5rem;
  line-height: 1.3;
  letter-spacing: 0.5px;
}
:where(.l-header-title) > :where(h1),
:where(h1.l-header-title) {
  font-size: 23px;
  line-height: 1.3;
  letter-spacing: 0.5px;
}
li {
  list-style-type: none;
}
.para-lead {
  font-size: 14px;
  line-height: 2;
  letter-spacing: 0.5px;
}
.para {
  font-size: 1.8rem;
  line-height: calc(26.75 / 18);
  letter-spacing: 0;
}
.note {
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: 0.5px;
}
.inner-container {
  width: 100%;
  max-width: 900px;
  margin: 0px auto;
}
a {
  text-decoration: none;
  transition: all 0.5s ease;
}
/*===================
    NAVBAR AREA
====================*/
/* General Styling */

.language-switcher a {
  color: #dadfdb;
  opacity: 0.33;
  letter-spacing: 0.12em;
}

.language-switcher a.is-active {
  opacity: 1;
}

.nav-container {
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
}

.header {
  border-bottom: 1px solid #e2e8f0;
  padding: 10px 0;
}

.header-wrap {
  padding: 20px 0;
  background: linear-gradient(0deg, #68730003 10%, #606b006f 90%);
  color: #dde6ed;
  background-size: 500px;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 999;
  height: 90px;
  display: flex;
  align-items: center;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

.header-container.is-hidden {
  opacity: 0;
}

.sub-header-container {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 20px 20px 80px 20px;
  color: #dde6ed;
}

.sub-header__child-text-s {
  font-size: 2.4rem;
  font-family: "Yuji Syuku";
  text-align: center;
}
@media (max-width: 800px) {
	.sub-header__child-text {
		padding: 0 20px 10px;
	}
	.sub-header__child-text-s {
		font-size: 1.5rem;
	}
}

.sub-header__child-text-l {
  font-size: 3rem;
  letter-spacing: 0.12em;
  text-align: center;
}

.sub-header__child-image {
  text-align: center;
  margin-top: -20px;
}

.sub-header__child-image img {
  max-width: 350px;
  width: 100%;
}

.site-logo {
  display: flex;
  align-items: center;
  transition: all 0.5s ease;
}

.site-logo:hover {
  opacity: 0.7;
}

.site-logo img {
  max-height: 60px;
  height: auto;
  display: block;
  cursor: pointer;
  margin-top: 10px;
}

/* Navigation Bar */
.site-navigation {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.menu {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 3px;
    justify-items: center;
}

.menu-item {
  list-style: none;
}

.menu-item a {
  font-size: 13px;
  letter-spacing: -0.05em;
  color: #4c4224;
  font-family: "Yuji Syuku", serif;
  text-decoration: none;
  transition: color 0.3s ease, transform 0.2s, opacity 0.5s ease;
}

@media (max-width: 1100px) {
	.menu-item a {
	  font-size: 11px;
	}
}

.menu-item:hover a {
  opacity: 0.7;
}

.nav-link:hover {
  color: var(--grey2);
  transform: scale(1.05);
}

/* Social Media Section */
.social-media {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 0 20px;
  max-width: 200px;
}

.social-icon {
  display: flex;
  align-items: center;
}

.social-icon img {
  transition: transform 0.3s ease;
  cursor: pointer;
}

.social-icon img:hover {
  transform: scale(1.1);
}

.special-button {
  background-color: #953d30;
  padding: 4px 8px;
  border-radius: 5px;
  color: #dadfdb;
  font-size: 1.8rem;
  font-family: "Yuji Syuku", serif;
  text-decoration: none;
  text-wrap: nowrap;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s;
}

.special-button:hover {
  background-color: #bf8b83;
  transform: scale(1.05);
}

.hamburger {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  max-width: 43.06px;
  color: #4c4224;
  font-size: 1.5rem;
  letter-spacing: -0.08em;
  line-height: 1;
}

.hamburger .bar {
  width: 39px;
  height: 2px;
  margin: 4px auto;
  background-color: #4c4224;
  transition: all 0.3s ease;
}

.header-wrap-right {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-shrink: 0;
}

.hamburger.show-menu .bar:nth-child(1) {
  transform: translateX(3px) rotate(29.43deg);
  transform-origin: top left;
  width: 43px;
}
.hamburger.show-menu .bar:nth-child(2) {
  opacity: 0;
}
.hamburger.show-menu .bar:nth-child(3) {
  transform: translateX(3px) rotate(-29.43deg);
  transform-origin: bottom left;
  width: 43px;
}

.site-navigation-wrap .site-navigation {
  position: fixed;
  background: linear-gradient(
      0deg,
      rgba(54, 74, 26, 0.8) 0%,
      rgba(54, 74, 26, 0.8) 100%
    ),
    url(../img/SiteBkgd1Layer.png);
  background-size: 500px;
  align-items: flex-start;
  right: calc(-100vh - 200px);
  top: 0;
  padding: 100px 0 50px;
  transition: all 0.8s ease;
  z-index: 3;
  max-height: 100vh;
  overflow: auto;
  width: 18%;
  min-width: fit-content;
  height: 100%;
}

.site-navigation__menu {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.site-navigation-wrap .site-navigation.show-menu {
  right: 0;
}

.site-header .footer-menu {
  width: fit-content;
  justify-content: flex-start;
  margin: 0 auto;
  gap: 30px;
}

.site-header .footer-menu a {
  color: #fff;
  transition: all 0.5s ease;
}

/* Responsive Styles */
@media (max-width: 1000px) {
  .site-navigation-wrap .site-navigation {
    width: 100%;
  }

  .site-navigation__menu {
    display: flex;
  }

  .site-header .footer-menu {
    gap: 40px;
    margin-bottom: 30px;
    align-items: center;
  }

  .site-header .footer-menu a {
    width: fit-content;
  }

  .header-wrap .site-navigation {
    display: none;
  }

  .menu-item a {
    font-size: 2rem;
  }

  .social-media {
    margin-top: 30px;
  }

  .site-navigation .menu {
    flex-direction: column;
    gap: 20px;
  }

  .site-navigation a {
    width: 100%;
  }

  .header-wrap {
    padding: 10px 0;
    height: 75px;
  }

  /*body:not(.home) main {
    margin-top: 75px;
  }*/

  .site-logo img {
    margin-top: 0;
  }
}
@media (max-width: 768px) {
  .nav-menu {
    display: none;
    flex-direction: column;
    background-color: rgba(255, 255, 255, 0.9);
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    padding: 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  }

  .nav-menu.active {
    display: flex;
  }

  .social-media {
    justify-content: center;
    width: 100%;
  }

  .special-button {
    align-self: center;
    font-size: 1.5rem;
  }
}

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

.l-footer {
  background-color: #4c4224;
  color: #dadfdb;
  padding: 65px 0 15px;
}

.footer-top-container {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: flex-start;
}

.footer-top__left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.footer-top__right {
  display: flex;
  flex-direction: column;
  justify-self: center;
  align-items: center;
  text-align: left;
}

.footer-logo img {
  max-width: 160px;
  transition: all 0.5s ease;
}

.footer-logo img:hover {
  opacity: 0.7;
}

.footer-navigation {
  flex-grow: 1;
  display: flex;
  justify-content: space-around;
  margin: 0 20px;
}

.footer-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  line-height: 20px;
}

.footer-menu li {
  display: inline-block;
}

.footer-menu a {
  color: #dadfdb;
  font-size: 1.8rem;
  font-family: "Yuji Syuku", serif;
  text-decoration: none;
  transition: color 0.5s ease;
  display: flex;
}

.footer-menu a:hover {
  color: #ff6347;
}

.footer-address {
  color: #dadfdb;
  font-family: "Yuji Syuku", serif;
  text-decoration: none;
}

.address-one,
.address-two {
  padding-bottom: 20px;
}

.footer-contact > * {
  color: #dadfdb;
  font-family: "Yuji Syuku", serif;
  text-decoration: none;
  display: block;
}

.footer-contact > *:hover {
  color: #fff;
}

.footer-social-media {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.footer-bottom-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 0 20px;
  gap: 15px;
  margin-top: 50px;
}

.footer-copyright {
  color: #dadfdb;
  font-size: 1.1rem;
  line-height: calc(20.25 / 11);
  font-family: "Yuji Syuku", serif;
  text-decoration: none;
}

.footer-copyright span {
  font-size: 1.3rem;
}

.footer-contact,
.footer-address {
  font-size: 1.3rem;
  line-height: calc(20.75 / 13);
  letter-spacing: 0.12em;
}

/*===================
    COMMON
====================*/
img {
  max-width: 100%;
  height: auto;
}
.container {
  max-width: 1300px;
  width: 100%;
  margin: 0 auto;
  padding: 0 3rem;
}
.container--1150 {
  max-width: 1200px;
}
.container--1000 {
  max-width: 1060px;
}
.container--880 {
  max-width: 940px;
}
.container--790 {
  max-width: 850px;
}
.m-auto {
  margin: 0 auto;
}
.is-no-scroll {
  overflow: hidden;
  -ms-touch-action: none;
  touch-action: none;
}
.txt-center {
  text-align: center;
}
.font-black {
  color: var(--black);
}
.font-blue {
  color: var(--blue);
}
.font-yuji {
  font-family: "Yuji Syuku", serif;
  font-weight: normal;
}
.font-hand {
  font-family: var(--font-freehand);
}
.font-vdl {
  font-family: var(--font-vdl);
  font-weight: bold;
  font-style: normal;
}
.f-12 {
  font-size: 1.2rem;
}
.f-14 {
  font-size: 1.4rem;
}
.f-15 {
  font-size: 1.5rem;
}
.f-16 {
  font-size: 1.6rem;
}
.f-18 {
  font-size: 1.8rem;
}
.f-20 {
  font-size: 2rem;
}
.f-24 {
  font-size: 2.4rem;
}
.f-30 {
  font-size: 3rem;
}
.lnh-2 {
  line-height: 2;
}
.mb-30 {
  margin-bottom: 30px;
}
.mb-70 {
  margin-bottom: 70px;
}
.mb-50 {
  margin-bottom: 50px;
}
.mb-100 {
  margin-bottom: 100px !important;
}
.mb-150 {
  margin-bottom: 150px;
}
.is-show .l-mask,
.is-show.l-mask {
  clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0 100%);
}

.l-mask {
  display: inline-block;
  clip-path: polygon(0% 0%, 0% 0%, 0% 100%, 0 100%);
  -webkit-transition: all 2s cubic-bezier(0.5, 1, 0.89, 1);
  transition: all 2s cubic-bezier(0.5, 1, 0.89, 1);
  vertical-align: middle;
}

.is-show .l-mask2,
.is-show.l-mask2 {
  clip-path: polygon(100% 0%, 0% 0%, 0% 100%, 100% 100%);
}

.l-mask2 {
  display: inline-block;
  clip-path: polygon(100% 0%, 100% 0%, 100% 100%, 100% 100%);
  -webkit-transition: all 2s cubic-bezier(0.5, 1, 0.89, 1);
  transition: all 2s cubic-bezier(0.5, 1, 0.89, 1);
  vertical-align: middle;
}
.inner-container {
  width: 100%;
  max-width: 900px;
  margin: 0px auto;
}
.btn-cta {
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 1.5px;
  width: 100%;
  max-width: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-decoration: none;
  border-radius: 50px;
  position: relative;
  height: 60px;
  transition: 0.3s ease;
}
.btn-cta .btn-arrow {
  position: absolute;
  width: 15px;
  right: 25px;
  top: 22px;
}
.btn-cta:hover,
.btn-cta:focus {
  text-decoration: none;
}
.btn-cta2 {
  height: 75px;
}
.btn-cta2 .btn-arrow {
  top: 30px;
}
.btn-yellow {
  background-color: var(--yellow);
}
.btn-yellow:hover,
.btn-yellow:focus {
  box-shadow: 0 0.5em 0.5em -0.4em var(--yellow);
  transform: translateY(-0.25em);
  color: var(--white);
}
.btn-blue2 {
  background-color: var(--blue2);
}
.btn-blue2:hover,
.btn-blue2:focus {
  box-shadow: 0 0.5em 0.5em -0.4em var(--blue2);
  transform: translateY(-0.25em);
  color: var(--white);
}
.btn-white {
  background-color: var(--white);
  color: var(--yellow);
}
.btn-white:hover,
.btn-white:focus {
  box-shadow: 0 0.5em 0.5em -0.4em var(--white);
  transform: translateY(-0.25em);
  color: var(--yellow);
}
.btn-outline {
  border: 2px solid var(--white);
}
.btn-outline:hover,
.btn-outline:focus {
  box-shadow: 0 0.5em 0.5em -0.4em var(--white);
  transform: translateY(-0.25em);
  color: var(--white);
}
.article article {
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
  margin-bottom: 30px;
}
.t-up-wrap {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}
.article .post-thumb img {
  width: 165px;
  box-shadow: 1px 1px 6px var(--grey2);
}
.article .post-categories li {
  list-style: none;
}
.article .c-blog-detail__categories a {
  padding: 5px 10px;
  color: var(--white);
  text-decoration: none;
  transition: 0.3s ease;
  margin-right: 6px;
  border-radius: 3px;
}
.article .c-blog-detail__categories a:hover,
.article .c-blog-detail__categories a:focus {
  opacity: 70%;
  color: var(--white);
}
.article .communication {
  background-color: var(--green);
}
.article .event {
  background-color: var(--orange);
}
.article .info {
  background-color: var(--yellow);
}
.article .uncategorized {
  background-color: var(--grey2);
}
.date-area p {
  font-size: 12px;
  color: var(--grey2);
}
.c-cate {
  margin-right: 14px;
}
.post-categories {
  margin-bottom: 0px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
.thumb-wrap {
  width: 165px;
}
.article .text-article {
  width: 70%;
}
.article .news-title a {
  font-size: 14px;
  color: var(--blue2);
  text-decoration: none;
  margin-bottom: 0px;
  font-weight: bold;
}
.article .news-title {
  line-height: 1.3rem;
}

#page-404 {
  height: 100vh;
  display: flex;
  align-items: center;
  margin: 0;
}

#page-404 #not_found {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

/* body.error404 header,
body.error404 footer {
  display: none;
} */

@media screen and (max-width: 460px) {
  .t-up-wrap {
    flex-direction: column;
    align-items: flex-start;
  }
  .c-cate {
    margin-bottom: 20px;
  }
  .article article {
    flex-direction: column;
    margin-bottom: 35px;
  }
  .article .text-article,
  .thumb-wrap {
    width: 100%;
  }
  .article .post-thumb img {
    width: 100%;
    margin-bottom: 20px;
  }
  .article .text-article {
    margin-right: 0px;
  }
}

/* Mobile: 320px to 480px */
@media (max-width: 480px) {
  /* Header and Navbar */
  .header-container {
    flex-direction: column;
  }

  .site-logo img {
    max-height: 50px; /* Adjust logo size */
  }

  .hamburger {
    display: flex; /* Display hamburger icon */
  }

  .nav-menu.active {
    display: flex;
    flex-direction: column;
    background-color: rgba(255, 255, 255, 0.9);
    width: 100%;
    padding: 10px;
  }

  .menu-item {
    padding: 8px 0; /* Space out menu items */
  }

  /* Social Media */
  .social-media {
    justify-content: center;
  }

  /* Special Button */
  .special-button {
    width: 100%; /* Make the button full width */
    text-align: center;
  }
}

/* Tablet: 481px to 768px */
@media (max-width: 768px) {
  /* Header and Navbar */
  .header-container {
    flex-direction: row;
    justify-content: space-between;
  }

  .site-logo img {
    max-height: 55px; /* Adjust logo size */
  }

  .nav-menu.active {
    display: flex;
    flex-direction: row;
    background-color: transparent;
    position: static;
    width: auto;
    padding: 0;
  }

  .menu-item {
    padding: 10px 15px;
  }

  /* Social Media */
  .social-media {
    gap: 20px;
    padding: 0;
  }

  /* Special Button */
  .special-button {
    width: auto; /* Reset width */
  }

  /* Footer: Adjustments */
  .footer-top-container {
    flex-direction: column-reverse; /* Stack footer sections */
    gap: 40px;
  }

  .footer-top__left,
  .footer-top__right {
    align-items: center;
  }

  .footer-top__left {
    margin: 0 auto;
  }

  .footer-navigation {
    flex-direction: column;
    gap: 15px;
  }

  .footer-menu li {
    text-align: center;
  }

  .footer-social-media {
    justify-content: center;
  }

  body:not(.home) main {
    padding-bottom: 80px;
  }

  .sub-header__child-text-l h2,
  .sub-header__child-text-l h1,
  .sub-header__child-text-l .sub-header__label {
    font-size: 2.4rem;
  }
}

/* Desktop and Above: Default for large screens */
@media (min-width: 769px) {
  .nav-container {
    display: flex;
    justify-content: space-between;
  }
}
