@charset "utf-8";
@import"https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;700;800&family=Noto+Sans+JP:wght@100;300;400;500;700;900&display=swap";

*,
*::before,
*::after {
  box-sizing: border-box
}

body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin: 0
}

ul[role="list"],
ol[role="list"] {
  list-style: none
}

html:focus-within {
  /* scroll-behavior: smooth */
}

body {
  min-height: 100vh;
  text-rendering: optimizeSpeed;
  line-height: 1.5
}

a:not([class]) {
  text-decoration-skip-ink: auto
}

img,
picture {
  max-width: 100%;
  display: block
}

input,
button,
textarea,
select {
  font: inherit
}

@media(prefers-reduced-motion:reduce) {
  html:focus-within {
    scroll-behavior: auto
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important
  }
}

html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

body {
  font-family: "Montserrat", "Noto Sans JP", sans-serif;
  font-size: 16px;
  @media (width <= 768px) {
    font-size: 14px;
  }
}
.mincho {
  font-family: "ヒラギノ明朝 Pro", "Hiragino Mincho Pro", "Noto Serif JP", serif;
}

/* ----------------------------------------------- */

@media (width < 768px) {
  :root {
    --wp--preset--spacing--70: 2rem;
  }
}

.wp-site-blocks {
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100vh;
  /* overflow-x: clip; */
}

/* ----------------------------------------------- */

.m-0 {
  margin: 0;
}

.mt-0 {
  margin-top: 0;
}


/* ----------------------------------------------- */
/* Header Styles */
.header {
  margin: 2rem 2rem;
  width: calc(100% - 2rem * 2);
  position: fixed;
  z-index: 100;
  @media (width <= 768px) {
    margin: 1rem 1rem;
    width: calc(100% - 1rem * 2);
  }
}

.header-menu {
  flex-flow: row;
  justify-content: space-between;
  align-items: center;
  padding: 1.25em 3em 1.25em 2em;
  border-radius: 9999px;
  background-color: #fff;
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.1);
  font-size: .9em;
  font-weight: 500;
}

.header-menu nav .tone {
  color: #fff;
  background-color: var(--wp--preset--color--main);
  padding: .375em 2em .25em 2em;
  border-radius: 9999px;
}

.wp-block-site-logo img {
  width: 100% !important;
  max-width: 240px !important;
  @media (width <= 768px) {
    max-width: 160px !important;
  }
}

/* ----------------------------------------------- */
/* Main Styles */
main {
  margin-top: 0;
  line-height: 1.75;
}
main .wp-block-post-content {
  padding-bottom: 8rem;
}

main .page-title {
  color: #fff;
  background-image: linear-gradient(170deg, var(--wp--preset--color--main), var(--wp--preset--color--sub));
  padding: 10rem clamp(2rem, 12.5vw, 8rem) 2rem clamp(2rem, 12.5vw, 8rem);
  /* margin-bottom: 3rem; */
  @media (width <= 768px) {
    padding-top: 7.5rem;
  }
}

main .page-title .category-title {
  font-weight: 700;
  line-height: 1;
}

main .page-title .category-title .title-en {
  display: block;
  font-size: clamp(2rem, 4.428vw, 3.4rem);
}

main .page-title .category-title .title-ja {
  display: block;
  font-size: 1rem;
  margin-top: .375em;
  margin-left: .25em;
}

main .entry-content {
  padding-top: 3rem;
  background-color: #fff;
  @media (width < 768px) {
    padding-top: 1rem;
  }
}
main h2 {
  color: var(--wp--preset--color--main);
  font-size: 2em;
  /* font-weight: 500; */
  margin-block-end: 1em !important;
}

main .page-title h1 {
  color: #fff;
  margin-block-end: 0 !important;
}


/* ----------------------------------------------- */
/* Footer Styles */
footer {
  color: #fff;
  background-image: linear-gradient(20deg, var(--wp--preset--color--main), var(--wp--preset--color--sub));
  margin: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(1em, 1fr) minmax(0, 3fr) minmax(1em, 1fr);
  gap: 2rem;
  align-items: center;
  padding: 4rem 4rem;
  @media (width <= 768px) {
    grid-template-columns: 1fr;
  }
    
}

.footer-logo {
  max-width: 240px;
}

.footer-menu {
  align-self: left;
  font-size: .9rem;
}

.footer-menu li a {
  position: relative;
}
.footer-menu li a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -1px;
  width: 105%;
  height: 1px;
  background: #fff;
  
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}
.footer-menu li a:hover::after {
  transform: translateX(-50%) scaleX(1);
}

footer .tone a {
  display: block;
  padding: .375em 3em .25em 3em;
  border-radius: 9999px;
  background-color: #fff;
  color: var(--wp--preset--color--main);
  text-decoration: none;
  font-weight: 500;
  white-space: nowrap;
}

footer .license-info {
  font-size: .76rem;
  line-height: 1.5;
  text-align: left;
  width: fit-content;
  margin: 1rem 2rem .5rem auto;
}

footer .copyright {
  text-align: right;
  padding: .5rem 2rem 1rem 2rem;
}

/* ----------------------------------------------- */
.news-list {
  padding: 2em 0 4em 0;
}

.news-list li {
  display: flex;
  /* flex-direction: column; */
  align-items: center;
  border-top: 1px solid #000;
  margin: 0;
  padding: 1em 0 1em .5em;
  @media screen and (min-width: 769px) {
    flex-direction: row;
    padding: 2em;
  }
}

.news-list li:last-child {
  border-bottom: 1px solid #000;
}

.news-list .wp-block-post-date {
  margin: 0 1em;
}

.news-date {
  display: flex;
  flex-flow: column;
  gap: 0;
  @media screen and (min-width: 769px) {
    flex-direction: row;
    gap: 1em;
  }
}
.news-category {
  margin: 0;
  padding: 0;
  white-space: nowrap;
}
.news-category {
  display: grid;
  place-items: center;
  border: #2495DC 1px solid;
  border-radius: 9999px;
  margin: 0;
  padding: 0 .75em;
  font-size: .8rem;
  color: #2495DC;
}
.news-category a {
  color: #2495DC;
  text-decoration: none;
  pointer-events: none;
  cursor: default;
}
.news-list h3 {
  margin: 0 1em;
  font-weight: 500;
}
.news-list h3 a,
.news-list h4 a {
  color: #000;
}

.post-type-archive-news .news-load-more {
  display: none;
}

.post-type-archive-news .news-load-more.is-active {
  display: flex;
}

