@charset "UTF-8";
/* Box sizing rules */
@import url("https://fonts.googleapis.com/css2?family=League+Spartan:wght@100..900");
@import url("https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@200..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300..700;1,300..700&display=swap");
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Prevent font size inflation */
html {
  -moz-text-size-adjust: none;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
}

/* Remove default margin in favour of better control in authored CSS */
body, h1, h2, h3, h4, p,
figure, blockquote, dl, dd {
  margin-block-end: 0;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role=list],
ol[role=list] {
  list-style: none;
}

/* Set core body defaults */
body {
  min-height: 100vh;
  line-height: 1.5;
}

/* Set shorter line heights on headings and interactive elements */
h1, h2, h3, h4,
button, input, label {
  line-height: 1.1;
}

/* Balance text wrapping on headings */
h1, h2,
h3, h4 {
  text-wrap: balance;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
  text-decoration-skip-ink: auto;
  color: currentColor;
}

/* Make images easier to work with */
img,
picture {
  max-width: 100%;
  display: block;
}

/* Inherit fonts for inputs and buttons */
input, button,
textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* Make sure textareas without a rows attribute are not tiny */
textarea:not([rows]) {
  min-height: 10em;
}

/* Anything that has been anchored to should have extra scroll margin */
:target {
  scroll-margin-block: 5ex;
}

body {
  font-family: "League Spartan", sans-serif;
  font-optical-sizing: auto;
  margin: 0;
  padding: 0;
  background: #fff;
  color: #000;
}

.header {
  position: fixed;
  top: 30px;
  left: 50px;
  right: 50px;
  z-index: 100;
  border: 1px solid #000;
  background-color: #FFFFFF;
  min-height: 54px;
  border-radius: 40px;
  padding: 0;
  box-sizing: border-box;
}
.header__logo {
  padding: 4px 0 0;
  height: 50px;
  width: auto;
}
.header nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 1px 50px 0 0;
}
.header nav ul {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 50px;
}
.header nav ul li {
  font-family: "League Spartan", sans-serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
  cursor: pointer;
  display: block;
  height: 40px;
  line-height: 46px;
}
.header nav ul li a {
  color: #000;
  text-decoration: none;
}
.header nav ul li a:hover {
  opacity: 0.7;
  transition: 0.5s;
}
.header nav ul li .header__nav-submenu {
  display: none;
}
.header nav .js-link-btn {
  display: block;
  padding: 0 22px;
  gap: 10px;
  width: 166px;
  height: 40px;
  line-height: 44px;
  border: none;
  outline: none;
  cursor: pointer;
  background: #0E3783;
  border-radius: 8px;
  color: #FFFFFF;
  font-weight: bold;
}
.header nav .js-link-btn:hover {
  opacity: 0.7;
  transition: 0.5s;
}
.header__menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 30px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 101;
  position: relative;
}
.header__menu-toggle span {
  width: 100%;
  height: 3px;
  background-color: #000;
  border-radius: 3px;
  transition: all 0.3s ease;
  transform-origin: center;
}
.header__nav-menu {
  display: flex;
}
.header__nav-menu .header__nav-submenu {
  display: none;
}
.header__boader {
  display: none;
  width: calc(100% - 32px);
  height: 6px;
  border-radius: 3px;
  background-color: #0E3783;
  margin: 0 auto;
  transition: opacity 0.3s ease;
}
.header.is-expanded .header__boader {
  display: block;
}
@media (max-width: 768px) {
  .header.is-expanded .header__boader {
    display: none;
    opacity: 0;
  }
}
.header__about {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  margin: 0;
  padding: 0;
  transition: max-height 0.5s ease, opacity 0.5s ease, margin 0.5s ease, padding 0.5s ease;
}
.header__about h2 {
  font-size: 36px;
  font-weight: bolder;
  text-align: center;
}
.header.is-expanded .header__about {
  max-height: 500px;
  opacity: 1;
  margin: 50px 0 0;
  padding: 0 0 64px;
}
@media (max-width: 768px) {
  .header.is-expanded .header__about {
    display: none;
    opacity: 0;
  }
}
.header__about-subtitle {
  font-size: 15px;
  font-weight: bold;
  text-align: center;
  margin: 15px auto 0;
  width: 100%;
}
.header__about-menu {
  display: flex;
  gap: 32px;
  justify-content: center;
  margin: 40px auto 0;
}
.header__about-menu :link, .header__about-menu :visited {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border: solid 1px #000;
  text-align: center;
  padding: 12px 0;
  width: 256px;
  max-width: 100%;
  text-decoration: none;
}
.header__about-menu :link h3, .header__about-menu :visited h3 {
  font-size: 22px;
  font-weight: bolder;
}
.header__about-menu :link p, .header__about-menu :visited p {
  font-size: 10px;
  font-weight: lighter;
}
.header__about-menu :link:hover, .header__about-menu :visited:hover {
  opacity: 0.7;
  transition: 0.7s;
}
@media (max-width: 768px) {
  .header {
    top: 15px;
    left: 15px;
    right: 15px;
    border-radius: 20px;
    min-height: 50px;
    padding: 0;
  }
  .header__logo {
    height: 40px;
    padding: 8px 0 0 0;
  }
  .header nav {
    padding: 0;
    position: relative;
  }
  .header nav .header__menu-toggle {
    display: flex;
    margin: 6px 15px 0 0;
  }
  .header nav .header__nav-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.98);
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 80px 10% 0;
    gap: 8px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 99;
    overflow-y: auto;
  }
  .header nav .header__nav-menu li {
    font-size: 18px;
    width: 100%;
    text-align: left;
    padding: 4px 0;
    position: relative;
    height: auto;
  }
  .header nav .header__nav-menu li a {
    display: block;
    padding: 4px 0;
  }
  .header nav .header__nav-menu li .js-link-btn {
    width: 200px;
    max-width: 80%;
    margin: 0 auto;
  }
  .header nav .header__nav-menu li .header__nav-submenu {
    display: block;
    list-style: none;
    margin: 4px 0 0;
    padding: 0 0 0 16px;
    width: 100%;
    height: auto;
  }
  .header nav .header__nav-menu li .header__nav-submenu li {
    font-size: 16px;
    padding: 4px 0;
    opacity: 0.8;
  }
  .header nav .header__nav-menu li .header__nav-submenu li a {
    padding: 4px 0;
    color: #000;
    text-decoration: none;
    display: block;
  }
  .header nav .header__nav-menu li .header__nav-submenu li a:hover {
    opacity: 0.7;
    transition: 0.3s;
  }
  .header.is-menu-open nav .header__nav-menu {
    transform: translateX(0);
  }
  .header.is-menu-open .header__menu-toggle span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
  }
  .header.is-menu-open .header__menu-toggle span:nth-child(2) {
    opacity: 0;
  }
  .header.is-menu-open .header__menu-toggle span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
  }
  .header__about h2 {
    font-size: 28px;
  }
  .header__about-subtitle {
    font-size: 13px;
  }
  .header__about-menu {
    flex-direction: column;
    gap: 20px;
    margin: 30px auto 0;
    padding: 0 20px;
  }
  .header__about-menu :link, .header__about-menu :visited {
    width: 100%;
    max-width: 100%;
    padding: 16px 0;
  }
  .header__about-menu :link h3, .header__about-menu :visited h3 {
    font-size: 18px;
  }
  .header__about-menu :link p, .header__about-menu :visited p {
    font-size: 9px;
  }
  .header__boader {
    width: calc(100% - 20px);
  }
}

.page-front section {
  padding: 104px 92px;
}
.page-front section .section-title {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 0 0 22px;
}
.page-front section .section-title p {
  font-size: 15px;
  font-weight: bold;
}
.page-front section .section-title h2 {
  font-size: 64px;
  font-weight: bold;
  font-family: "League Spartan", sans-serif;
  font-optical-sizing: auto;
}
.page-front .section-top {
  position: relative;
  background-image: url("../images/main-visual.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  min-height: 100vh;
}
.page-front .section-top img {
  position: absolute;
  top: 0;
  left: 0;
}
.page-front .section-top .easy-pc {
  display: block;
}
.page-front .section-top .easy-sp {
  display: none;
}
.page-front .section-topics {
  display: flex;
  flex-direction: column;
  position: relative;
  padding: 104px 92px 0;
  margin-bottom: 0;
  min-height: auto;
}
@media (max-width: 768px) {
  .page-front .section-topics {
    padding: 64px 16px 64px;
  }
}
@media (min-width: 769px) {
  .page-front .section-topics .view-all {
    position: absolute;
    right: 5vw;
    top: 180px;
  }
}
.page-front .section-topics .view-all :visited, .page-front .section-topics .view-all :link {
  display: inline;
}
.page-front .section-topics .view-all :visited img, .page-front .section-topics .view-all :link img {
  display: inline;
}
@media (max-width: 768px) {
  .page-front .section-topics .view-all {
    position: relative;
    right: auto;
    top: auto;
    text-align: right;
    width: 100%;
    margin: 32px auto 64px;
  }
  .page-front .section-topics .view-all img {
    height: 48px;
  }
}
.page-front .section-topics .topic-list {
  margin: 64px auto 0;
  display: flex;
  gap: 32px;
}
@media (max-width: 768px) {
  .page-front .section-topics .topic-list {
    flex-direction: column;
  }
}
.page-front .section-topics .topic-list .topic-card {
  background-color: #fff;
  flex: 1;
  min-width: 0;
  max-width: 33vw;
  padding: 0 0 32px;
  border: solid 1px #000;
}
@media (max-width: 768px) {
  .page-front .section-topics .topic-list .topic-card {
    width: 100%;
    max-width: 100%;
    padding: 0 0 16px;
  }
}
.page-front .section-topics .topic-list .topic-card :link, .page-front .section-topics .topic-list .topic-card :visited {
  text-decoration: none;
  color: #000;
}
.page-front .section-topics .topic-list .topic-card .topic-card__link {
  display: flex;
  flex-direction: column;
  gap: 32px;
  text-align: left;
}
@media (max-width: 768px) {
  .page-front .section-topics .topic-list .topic-card .topic-card__link {
    gap: 8px;
  }
}
.page-front .section-topics .topic-list .topic-card .topic-card__link .topic-card__thumb img {
  width: 100%;
  height: auto;
  aspect-ratio: 2/1;
  object-fit: cover;
}
@media (max-width: 768px) {
  .page-front .section-topics .topic-list .topic-card .topic-card__link .topic-card__thumb img {
    aspect-ratio: 2.5/1;
  }
}
.page-front .section-topics .topic-list .topic-card .topic-card__link .topic-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center; /* 垂直方向も揃えたいなら */
  padding: 0 22px;
}
.page-front .section-topics .topic-list .topic-card .topic-card__link .topic-card__meta .topic-card__badge {
  text-align: center;
  line-height: 32px;
  color: #fff;
  background-color: #0E3783;
  height: 32px;
  border-radius: 16px;
  width: 128px;
}
.page-front .section-topics .topic-list .topic-card .topic-card__link .topic-card__meta .topic-card__date {
  color: #555;
  font-size: 12px;
}
.page-front .section-topics .topic-list .topic-card .topic-card__link h3 {
  padding: 0 22px;
  font-size: 15px;
  font-weight: bold;
}
.page-front .section-history {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-image: url("../images/history-back.svg");
  background-position: right top;
  background-repeat: no-repeat;
  background-size: contain;
  min-height: 100vh;
  gap: 32px;
}
.page-front .section-history h2 {
  font-size: 64px;
  font-family: "Noto Serif JP", serif;
  font-optical-sizing: auto;
  font-style: normal;
}
.page-front .section-history p {
  font-size: 16px;
  line-height: 32px;
}
.page-front .section-about {
  display: flex;
  align-items: stretch;
  padding: 0 92px;
  position: relative;
  min-height: auto;
}
.page-front .section-about__inner {
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 40px;
  width: 100%;
  padding-left: calc(60% + 40px);
  box-sizing: border-box;
}
.page-front .section-about__content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 420px;
  flex: 1 1 0;
  padding: 104px 0;
}
.page-front .section-about :link, .page-front .section-about :visited {
  display: flex;
  flex-direction: column;
  height: 85px;
  max-width: 339px;
  justify-content: center;
  text-align: center;
  border: solid 1px #000;
  text-decoration: none;
}
.page-front .section-about :link h3, .page-front .section-about :visited h3 {
  font-size: 24px;
  font-weight: bold;
  font-family: "League Spartan", sans-serif;
  font-optical-sizing: auto;
}
.page-front .section-about :link p, .page-front .section-about :visited p {
  font-size: 10px;
  font-weight: bold;
  font-family: "League Spartan", sans-serif;
  font-optical-sizing: auto;
}
.page-front .about-sliders {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 60%;
  max-width: 60%;
  display: flex;
  flex-direction: row;
  gap: 40px;
  overflow: hidden;
}
.page-front .about-sliders__column {
  flex: 1 1 0;
  max-width: 50%;
  min-height: 120%;
  height: auto;
  overflow: hidden;
}
.page-front .about-sliders__track {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.page-front .about-sliders__item {
  width: 100%;
  aspect-ratio: 2/1;
}
.page-front .about-sliders__item img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  display: block;
}
.page-front .about-sliders__column--up .about-sliders__track {
  animation: aboutSlideUp 30s linear infinite;
}
.page-front .about-sliders__column--down .about-sliders__track {
  animation: aboutSlideDown 30s linear infinite;
}
@keyframes aboutSlideUp {
  0% {
    transform: translateY(0);
  }
  100% {
    /* トラック高さの 25% 分だけ上に移動（同じ並びを4回並べているため無限ループ） */
    transform: translateY(-25%);
  }
}
@keyframes aboutSlideDown {
  0% {
    /* 上方向アニメと逆方向に 25% 分だけ下に戻す */
    transform: translateY(-25%);
  }
  100% {
    transform: translateY(0);
  }
}
.page-front .section-map {
  padding-bottom: 0;
  text-align: center;
}
.page-front .section-map p {
  margin: 25px 0 0;
  font-size: 15px;
}
.page-front .section-map h2 {
  font-size: 64px;
  font-weight: bold;
  font-family: "League Spartan", sans-serif;
  font-optical-sizing: auto;
}
.page-front .section-map img {
  display: block;
  max-width: 80%;
  margin: 64px auto 0;
}
.page-front .section-map .easy-pc {
  display: block;
}
.page-front .section-map .easy-pc svg {
  display: block;
  max-width: 100%;
  margin: 0 auto;
  pointer-events: auto;
}
.page-front .section-map .easy-pc svg a {
  pointer-events: auto !important;
  cursor: pointer !important;
}
.page-front .section-map .easy-pc svg a rect {
  pointer-events: auto !important;
  cursor: pointer !important;
}
.page-front .section-map .easy-sp {
  display: none;
}
.page-front .section-family {
  padding-bottom: 0;
}
.page-front .section-family img {
  display: block;
  width: 100%;
  margin: 16px auto 0;
}
.page-front .section-family .easy-pc {
  display: block;
  width: 100%;
}
.page-front .section-family .easy-pc svg {
  display: block;
  width: 90%;
  max-width: 90%;
  height: auto;
  margin: 64px auto 0;
  pointer-events: auto;
}
.page-front .section-family .easy-pc svg a {
  pointer-events: auto !important;
  cursor: pointer !important;
}
.page-front .section-family .easy-pc svg a rect {
  pointer-events: auto !important;
  cursor: pointer !important;
}
.page-front .section-family .easy-sp {
  display: none;
}
.page-front .section-company .category {
  max-width: 900px;
  margin: 95px auto 0;
}
.page-front .section-company .category img {
  display: block;
  max-width: 100%;
  margin: 48px 0 0;
}
.page-front .section-company h3 {
  margin: 0 0 15px 10px;
  font-size: 23px;
  font-weight: bold;
  font-family: "League Spartan", sans-serif;
  font-optical-sizing: auto;
}
.page-front .section-company .under-bar {
  display: block;
  background-color: #0E3783;
  height: 3px;
  border-radius: 1.5px;
  width: 69px;
}
@media (max-width: 1100px) {
  .page-front .section-history {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 60px 20px 100vw;
    min-height: auto;
    gap: 20px;
    background-image: url("../images/history-back-sp.svg");
    background-size: 100% auto;
    background-position: right bottom;
  }
  .page-front .section-history h2 {
    font-size: 42px;
  }
  .page-front .section-history p {
    font-size: 14px;
    line-height: 1.8;
  }
}
@media (max-width: 768px) {
  .page-front section {
    padding: 60px 20px;
    min-height: auto;
  }
  .page-front section .section-title {
    gap: 15px;
    margin: 0 0 20px;
    text-align: left;
  }
  .page-front section .section-title p {
    font-size: 13px;
  }
  .page-front section .section-title h2 {
    font-size: 50px;
  }
  .page-front .section-top {
    position: relative;
    padding: 40px 20px;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url("../images/main-visual-sp.png");
  }
  .page-front .section-top img {
    position: absolute;
    left: -20vw;
    top: 10vh;
    width: 500vw;
    height: auto;
    display: block;
  }
  .page-front .section-top .easy-pc {
    display: none;
  }
  .page-front .section-top .easy-sp {
    display: block;
  }
  .page-front .section-history {
    padding-top: 0;
  }
  .page-front .section-topics {
    text-align: left;
    padding: 60px 20px 0;
    margin-bottom: 0;
  }
  .page-front .section-topics p {
    font-size: 14px;
  }
  .page-front .section-about {
    padding: 60px 0;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    position: relative;
  }
  .page-front .section-about__inner {
    flex-direction: column-reverse;
    padding-left: 0;
    gap: 40px;
    width: 100%;
  }
  .page-front .section-about__content {
    max-width: 100%;
    padding: 0 20px;
    gap: 20px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .page-front .section-about__content .section-title {
    grid-column: 1/-1;
  }
  .page-front .section-about__content > p {
    grid-column: 1/-1;
    font-size: 14px;
    line-height: 1.8;
  }
  .page-front .section-about :link, .page-front .section-about :visited {
    max-width: 100%;
    height: auto;
    min-height: 70px;
    padding: 16px 0;
    gap: 4px;
  }
  .page-front .section-about :link h3, .page-front .section-about :visited h3 {
    font-size: 18px;
  }
  .page-front .section-about :link p, .page-front .section-about :visited p {
    font-size: 8px;
  }
  .page-front .about-sliders {
    position: relative;
    width: 100%;
    max-width: 100%;
    height: auto;
    min-height: 200px;
    margin-bottom: 20px;
    height: 400px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    overflow: hidden;
  }
  .page-front .about-sliders__column {
    flex: 1 1 0;
    width: 100%;
    max-width: 100% !important;
    min-height: auto;
    height: auto;
    overflow: hidden;
  }
  .page-front .about-sliders__track {
    display: flex;
    flex-direction: row;
    gap: 15px;
    width: max-content;
    height: auto;
  }
  .page-front .about-sliders__item {
    flex-shrink: 0;
    height: 180px;
    width: auto;
    aspect-ratio: 16/10;
  }
  .page-front .about-sliders__column--up .about-sliders__track {
    animation: aboutSlideLeft 30s linear infinite;
  }
  .page-front .about-sliders__column--down .about-sliders__track {
    animation: aboutSlideRight 30s linear infinite;
  }
  @keyframes aboutSlideLeft {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(-50%);
    }
  }
  @keyframes aboutSlideRight {
    0% {
      transform: translateX(-50%);
    }
    100% {
      transform: translateX(0);
    }
  }
  .page-front .section-map {
    padding: 0 20px;
    overflow-x: hidden;
    max-width: 100vw;
  }
  .page-front .section-map h2 {
    font-size: 50px;
    text-align: left;
  }
  .page-front .section-map p {
    font-size: 14px;
    margin: 15px 0 0;
    text-align: left;
  }
  .page-front .section-map img {
    max-width: 100%;
    margin: 40px auto 0;
  }
  .page-front .section-map .easy-pc {
    display: none;
  }
  .page-front .section-map .easy-sp {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }
  .page-front .section-map .easy-sp svg {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    pointer-events: auto;
  }
  .page-front .section-map .easy-sp svg a {
    pointer-events: auto !important;
    cursor: pointer !important;
  }
  .page-front .section-map .easy-sp svg a rect {
    pointer-events: auto !important;
    cursor: pointer !important;
  }
  .page-front .section-family {
    padding: 60px 20px 0;
    text-align: left;
    overflow-x: hidden;
    max-width: 100vw;
  }
  .page-front .section-family > p {
    font-size: 14px;
    margin: 20px 0 0;
  }
  .page-front .section-family img {
    max-width: 100%;
    margin: 40px auto 0;
  }
  .page-front .section-family .easy-pc {
    display: none;
  }
  .page-front .section-family .easy-sp {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }
  .page-front .section-family .easy-sp svg {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    pointer-events: auto;
  }
  .page-front .section-family .easy-sp svg a {
    pointer-events: auto !important;
    cursor: pointer !important;
  }
  .page-front .section-family .easy-sp svg a rect {
    pointer-events: auto !important;
    cursor: pointer !important;
  }
  .page-front .section-company {
    padding: 60px 20px 0;
  }
  .page-front .section-company > p {
    font-size: 14px;
    margin: 20px 0 0;
    line-height: 1.8;
  }
  .page-front .section-company .category {
    margin: 40px auto 0;
    padding: 0;
    width: 100%;
  }
  .page-front .section-company .category h3 {
    font-size: 20px;
    margin: 0 0 10px 0;
  }
  .page-front .section-company .category .under-bar {
    width: 60px;
    height: 2px;
  }
  .page-front .section-company .category .company-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3列に固定 */
    gap: 16px;
  }
  .page-front .section-company .category .company-grid img {
    margin: 0;
  }
  .page-front .section-contact {
    padding: 60px 20px;
  }
  .page-front .section-contact .contact-form,
  .page-front .page-contact .contact-form {
    padding: 30px 0 40px;
  }
  .page-front .section-contact .contact-form__row,
  .page-front .page-contact .contact-form__row {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 0;
  }
  .page-front .section-contact .contact-form__row--textarea,
  .page-front .page-contact .contact-form__row--textarea {
    align-items: flex-start;
  }
  .page-front .section-contact .contact-form__label,
  .page-front .page-contact .contact-form__label {
    width: 100%;
    margin-bottom: 8px;
    font-size: 13px;
  }
  .page-front .section-contact .contact-form__field,
  .page-front .page-contact .contact-form__field {
    width: 100%;
  }
  .page-front .section-contact .contact-form__textarea,
  .page-front .page-contact .contact-form__textarea {
    min-height: 150px;
  }
  .page-front .section-contact .contact-form__row--agreement,
  .page-front .page-contact .contact-form__row--agreement {
    padding-top: 24px;
  }
  .page-front .section-contact .contact-form__row--agreement p,
  .page-front .page-contact .contact-form__row--agreement p {
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 0;
  }
  .page-front .section-contact .contact-form__agreement,
  .page-front .page-contact .contact-form__agreement {
    font-size: 12px;
    justify-content: center;
  }
  .page-front .section-contact .contact-form__row--submit,
  .page-front .page-contact .contact-form__row--submit {
    padding-top: 24px;
  }
  .page-front .section-contact .contact-form__row--submit p,
  .page-front .page-contact .contact-form__row--submit p {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 0;
  }
  .page-front .section-contact .contact-form__submit,
  .page-front .page-contact .contact-form__submit {
    width: 100%;
    max-width: 100%;
  }
}

.section-contact .contact-form,
.page-contact .contact-form {
  max-width: 960px;
  margin: 0 auto;
  padding: 40px 24px 60px;
}
.section-contact .contact-form__row,
.page-contact .contact-form__row {
  display: flex;
  align-items: center;
  padding: 24px 0;
}
.section-contact .contact-form__row--textarea,
.page-contact .contact-form__row--textarea {
  align-items: flex-start;
}
.section-contact .contact-form__label,
.page-contact .contact-form__label {
  width: 200px;
  font-size: 14px;
}
.section-contact .contact-form__field,
.page-contact .contact-form__field {
  flex: 1;
}
.section-contact .contact-form__divider,
.page-contact .contact-form__divider {
  border: none;
  border-bottom: 1px solid #dcdcdc;
  margin: 0;
}
.section-contact .contact-form__input,
.section-contact .contact-form__textarea,
.page-contact .contact-form__input,
.page-contact .contact-form__textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #555;
  border-radius: 8px;
  box-sizing: border-box;
}
.section-contact .contact-form__textarea,
.page-contact .contact-form__textarea {
  min-height: 180px;
  resize: vertical;
}
.section-contact,
.page-contact {
  /* 同意チェックボックス */
}
.section-contact .contact-form__row--agreement,
.page-contact .contact-form__row--agreement {
  justify-content: center;
  padding-top: 32px;
}
.section-contact .contact-form__row--agreement p,
.page-contact .contact-form__row--agreement p {
  display: flex;
  justify-content: center;
  width: 100%;
  margin: 0;
}
.section-contact .contact-form__agreement,
.page-contact .contact-form__agreement {
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.section-contact .contact-form__checkbox,
.page-contact .contact-form__checkbox {
  margin: 0;
}
.section-contact,
.page-contact {
  /* 送信ボタン（下部センター＆横長）*/
}
.section-contact .contact-form__row--submit,
.page-contact .contact-form__row--submit {
  justify-content: center;
  padding-top: 32px;
}
.section-contact .contact-form__row--submit p,
.page-contact .contact-form__row--submit p {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 0;
  padding: 0;
  text-align: center;
}
.section-contact .contact-form__row--submit p .wpcf7-spinner,
.page-contact .contact-form__row--submit p .wpcf7-spinner {
  display: none;
}
.section-contact .contact-form__row--submit p .contact-form__submit,
.page-contact .contact-form__row--submit p .contact-form__submit {
  display: block;
  width: 320px;
  max-width: 100%;
  padding: 14px 0;
  margin: 0 auto;
  border-radius: 4px;
  border: none;
  background: #0E3783;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
}
.section-contact .contact-form__row--submit p .contact-form__submit:hover,
.page-contact .contact-form__row--submit p .contact-form__submit:hover {
  opacity: 0.9;
  transition: 0.5s;
}

.sub-page {
  padding: 160px 92px;
}
.sub-page .page-title {
  display: flex;
  flex-direction: column;
  gap: 23px;
  margin: 0 0 128px;
}
.sub-page .page-title .sub-title {
  font-size: 15px;
  font-weight: bold;
}
.sub-page .page-title h2 {
  font-size: 64px;
  font-weight: bold;
  font-family: "League Spartan", sans-serif;
  font-optical-sizing: auto;
  padding: 0 0 32px;
  border-bottom: solid 1px #000;
}
.sub-page .page-title .description {
  font-size: 16px;
}
.sub-page .section-title {
  font-family: "League Spartan", sans-serif;
  font-optical-sizing: auto;
  padding: 0 0 32px;
  border-bottom: solid 1px #000;
  margin: 0 0 64px;
  width: 345px;
  max-width: 100%;
}
.sub-page .section-title h3 {
  font-size: 40px;
  font-weight: bold;
}
.sub-page .section-title p {
  font-weight: bold;
  font-size: 15px;
}
.sub-page section {
  margin: 128px 0;
}
@media (max-width: 768px) {
  .sub-page {
    padding: 120px 20px 80px;
  }
  .sub-page .page-title {
    gap: 15px;
    margin: 0 0 60px;
  }
  .sub-page .page-title .sub-title {
    font-size: 13px;
  }
  .sub-page .page-title h2 {
    font-size: 32px;
    padding: 0 0 20px;
  }
  .sub-page .page-title .description {
    font-size: 14px;
    line-height: 1.8;
  }
  .sub-page .section-title {
    padding: 0 0 20px;
    margin: 0 0 40px;
    width: 100%;
  }
  .sub-page .section-title h3 {
    font-size: 28px;
  }
  .sub-page .section-title p {
    font-size: 13px;
  }
  .sub-page section {
    margin: 60px 0;
  }
}

.page-about {
  padding-bottom: 0;
  padding-left: 0;
  padding-right: 0;
}
.page-about .page-title {
  padding: 0 92px;
}
.page-about section {
  padding: 0 92px;
}
@media (max-width: 768px) {
  .page-about .page-title {
    padding: 0 20px;
  }
  .page-about section {
    padding: 0 20px;
  }
}
.page-about .section-greeting {
  font-family: "League Spartan", sans-serif;
  font-optical-sizing: auto;
}
.page-about .section-greeting .greeting-content {
  display: flex;
  flex-direction: row;
  gap: 64px;
}
.page-about .section-greeting .greeting-content img {
  flex: 1;
  width: 100%;
  max-width: 40vw;
  height: auto;
  object-fit: cover;
}
.page-about .section-greeting .greeting-content .greeting-description {
  display: flex;
  flex-direction: column;
  gap: 32px;
  flex: 1;
}
.page-about .section-greeting .greeting-content .greeting-description img {
  flex: auto;
  height: 60px;
  width: auto;
  object-fit: contain;
  object-position: left center;
}
.page-about .section-greeting .greeting-content .greeting-description h3 {
  font-weight: bold;
  font-size: 40px;
}
.page-about .section-greeting .greeting-content .greeting-description p {
  font-size: 13px;
}
.page-about .section-greeting .greeting-content .greeting-description h5 {
  font-size: 11px;
  font-weight: normal;
  margin: 0 0 8px;
}
.page-about .section-greeting .greeting-content .greeting-description h4 {
  font-size: 14px;
  font-weight: normal;
}
@media (max-width: 768px) {
  .page-about .section-greeting .greeting-content {
    flex-direction: column;
    gap: 30px;
  }
  .page-about .section-greeting .greeting-content img {
    max-width: 100%;
    width: 100%;
  }
  .page-about .section-greeting .greeting-content .greeting-description {
    gap: 20px;
  }
  .page-about .section-greeting .greeting-content .greeting-description img {
    height: 50px;
  }
  .page-about .section-greeting .greeting-content .greeting-description h3 {
    font-size: 28px;
  }
  .page-about .section-greeting .greeting-content .greeting-description p {
    font-size: 12px;
    line-height: 1.8;
  }
  .page-about .section-greeting .greeting-content .greeting-description h5 {
    font-size: 10px;
  }
  .page-about .section-greeting .greeting-content .greeting-description h4 {
    font-size: 13px;
  }
}
.page-about .section-philoslphy .vision-mission {
  padding: 40px 0;
  font-family: "League Spartan", sans-serif;
  font-optical-sizing: auto;
  font-size: 32px;
}
.page-about .section-philoslphy .vision-mission__inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
}
.page-about .section-philoslphy .vision-mission__texts {
  margin-bottom: 40px;
}
.page-about .section-philoslphy .vision-mission__row {
  display: flex;
  gap: 24px;
  margin-bottom: 12px;
}
.page-about .section-philoslphy .vision-mission__label {
  font-weight: 700;
  width: 150px;
  display: inline-block;
  font-size: 24px;
  text-align: right;
  font-weight: bold;
}
.page-about .section-philoslphy .vision-mission__content {
  font-size: 24px;
  font-family: "Noto Serif JP", serif;
}
.page-about .section-philoslphy img {
  display: block;
  margin: 0 auto;
  max-width: 100%;
}
@media (max-width: 768px) {
  .page-about .section-philoslphy .vision-mission {
    padding: 30px 0;
    font-size: 20px;
  }
  .page-about .section-philoslphy .vision-mission__inner {
    padding: 0;
  }
  .page-about .section-philoslphy .vision-mission__texts {
    margin-bottom: 30px;
  }
  .page-about .section-philoslphy .vision-mission__row {
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
  }
  .page-about .section-philoslphy .vision-mission__label {
    width: auto;
    text-align: left;
    font-size: 18px;
  }
  .page-about .section-philoslphy .vision-mission__content {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-about .section-philoslphy img {
    margin: 20px auto 0;
  }
}
.page-about .section-history .history-content {
  display: flex;
  flex-direction: row;
  gap: 64px;
}
.page-about .section-history .history-content img {
  flex: 1;
  width: 100%;
  max-width: 34vw;
  height: auto;
  object-fit: cover;
  padding: 0 5vw 0 0;
}
.page-about .section-history .history-content .greeting-description {
  display: flex;
  flex-direction: column;
  gap: 32px;
  flex: 1;
}
.page-about .section-history .history-content .greeting-description img {
  flex: auto;
  height: 60px;
  width: auto;
  object-fit: contain;
  object-position: left center;
}
.page-about .section-history .history-content .greeting-description p {
  font-size: 16px;
}
.page-about .section-history .history-content .greeting-description h4 {
  font-size: 48px;
  font-family: "Noto Serif JP", serif;
}
@media (max-width: 768px) {
  .page-about .section-history .history-content {
    flex-direction: column;
    gap: 30px;
  }
  .page-about .section-history .history-content img {
    max-width: 100%;
    width: 100%;
  }
  .page-about .section-history .history-content img.easy-pc {
    display: none;
  }
  .page-about .section-history .history-content .greeting-description {
    gap: 20px;
  }
  .page-about .section-history .history-content .greeting-description img {
    padding: 0;
    height: 50px;
  }
  .page-about .section-history .history-content .greeting-description h4 {
    font-size: 32px;
  }
  .page-about .section-history .history-content .greeting-description p {
    font-size: 14px;
  }
}
.page-about .section-service .services__item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 60px;
  margin-bottom: 80px;
}
.page-about .section-service .services__item:nth-child(even) {
  flex-direction: row-reverse;
}
.page-about .section-service .services__media {
  flex: 1 1 50%;
}
.page-about .section-service .services__media img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}
.page-about .section-service .services {
  /* テキスト側 */
}
.page-about .section-service .services__content {
  flex: 1 1 50%;
}
.page-about .section-service .services__number {
  font-size: 64px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
  font-family: "League Spartan", sans-serif;
  font-optical-sizing: auto;
}
.page-about .section-service .services__title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 16px;
}
.page-about .section-service .services__text {
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 12px;
}
.page-about .section-service .services__more {
  font-size: 12px;
  text-decoration: none;
  color: #0E3783;
  text-decoration: underline;
}
.page-about .section-service .services {
  /* スマホ用：縦積みにする */
}
@media (max-width: 768px) {
  .page-about .section-service .services__inner {
    padding: 0 20px;
  }
  .page-about .section-service .services__item, .page-about .section-service .services__item--reverse {
    flex-direction: column;
    gap: 24px;
    margin-bottom: 50px;
  }
  .page-about .section-service .services__item:nth-child(even), .page-about .section-service .services__item--reverse:nth-child(even) {
    flex-direction: column;
  }
  .page-about .section-service .services__media {
    width: 100%;
  }
  .page-about .section-service .services__content {
    width: 100%;
  }
  .page-about .section-service .services__number {
    font-size: 40px;
  }
  .page-about .section-service .services__title {
    font-size: 20px;
  }
  .page-about .section-service .services__text {
    font-size: 13px;
  }
}
.page-about .section-outline {
  margin: 0;
  padding: 128px;
  background-color: #E0E0E0;
}
.page-about .section-outline .section-title {
  width: 732px;
  max-width: 100%;
}
.page-about .section-outline {
  /* ---- 会社概要テーブル ---- */
  /* 2カラム全体 */
}
.page-about .section-outline .outline__cols {
  display: flex;
  gap: 80px;
  align-items: flex-start;
}
.page-about .section-outline {
  /* カラムごと */
}
.page-about .section-outline .outline__col {
  flex: 1;
}
.page-about .section-outline {
  /* 各行（項目） */
}
.page-about .section-outline .outline__row {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  margin-bottom: 20px;
}
.page-about .section-outline .outline__label {
  width: 100px;
  font-weight: 600;
  color: #222;
  flex-shrink: 0;
}
.page-about .section-outline .outline__value {
  flex: 1;
  line-height: 1.7;
  color: #222;
}
.page-about .section-outline {
  /* スマホでは1カラムに崩す */
}
@media (max-width: 768px) {
  .page-about .section-outline {
    padding: 60px 20px;
  }
  .page-about .section-outline .section-title {
    width: 100%;
  }
  .page-about .section-outline .outline__inner {
    padding: 0;
  }
  .page-about .section-outline .outline__cols {
    flex-direction: column;
    gap: 16px;
  }
  .page-about .section-outline .outline__row {
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
  }
  .page-about .section-outline .outline__label {
    width: auto;
    margin-bottom: 4px;
    font-size: 14px;
  }
  .page-about .section-outline .outline__value {
    font-size: 13px;
    line-height: 1.6;
  }
}

.page-history {
  padding: 160px 0;
}
.page-history .page-title {
  margin: 0 0 24px;
  padding: 0 92px;
}
.page-history .history-thumbnail {
  display: block;
  width: 100%;
  height: auto;
}
.page-history .history {
  padding: 128px 0 0;
}
.page-history .history__inner {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 40px;
}
.page-history .history {
  /* 中央の縦線 */
}
.page-history .history__line {
  position: absolute;
  left: 50%;
  top: 60.5px;
  bottom: 0;
  transform: translateX(-50%);
  width: 6px;
  background: #000;
}
.page-history .history__arrow {
  position: absolute;
  bottom: -200px;
  display: block;
  left: 50%;
  transform: translateX(-50%);
  margin: 128px auto 0;
}
.page-history .history {
  /* テキスト系 */
}
.page-history .history__year {
  position: absolute;
  top: 0;
  left: -16px;
  font-size: 64px;
  font-weight: 700;
  color: #003f86;
  white-space: nowrap;
  font-family: "Cormorant Garamond", serif;
  font-optical-sizing: auto;
}
.page-history .history__year span {
  font-family: "League Spartan", sans-serif;
}
.page-history .history__card {
  max-width: 280px;
}
.page-history .history__card img {
  width: 100%;
  height: auto;
  display: block;
}
.page-history .history__card-title {
  margin-top: 8px;
  margin-bottom: 8px;
  font-size: 24px;
  font-weight: 700;
  color: #003f86;
}
.page-history .history__card-text {
  font-size: 15px;
  line-height: 1.8;
}
.page-history .history__item {
  position: relative;
  display: flex;
  flex-direction: column;
  width: calc(50% - 64px);
  padding: 100px 0 0;
  margin: -200px 0 0;
  min-height: 500px;
}
.page-history .history__item::before {
  content: "";
  position: absolute;
  top: 60px;
  right: -64px;
  width: calc(100% - 100px);
  height: 6px;
  background: #000;
}
.page-history .history__item:nth-of-type(odd) {
  margin-left: auto;
}
.page-history .history__item:nth-of-type(odd)::before {
  right: auto;
  left: -64px;
}
.page-history .history__item:nth-of-type(odd) .history__year {
  left: auto;
  right: -16px;
}
.page-history .history__item:first-of-type {
  margin-top: 0;
}
.page-history .history {
  /* スマホ用：1カラムに崩す（ざっくり） */
}
@media (max-width: 768px) {
  .page-history .history {
    padding: 0 0 0;
  }
  .page-history .history__inner {
    padding: 0 20px;
  }
  .page-history .history__arrow {
    display: block;
    left: auto;
    transform: translateX(-50%);
    margin: 128px 0 0 4px;
  }
  .page-history .history__line {
    left: 20px;
    transform: none;
  }
  .page-history .history__year {
    left: auto;
    right: -12px;
  }
  .page-history .history__item {
    flex-direction: column;
    width: calc(100% - 64px);
    margin: 0 0 0 32px;
    margin-bottom: 40px;
    padding: 100px 0 0;
    min-height: auto;
  }
  .page-history .history__item::before {
    right: auto;
    left: -32px;
  }
  .page-history .history__item:nth-of-type(odd) {
    flex-direction: column;
    width: calc(100% - 64px);
    margin: 0 0 0 32px;
    margin-bottom: 40px;
    padding: 100px 0 0;
    min-height: auto;
  }
  .page-history .history__item:nth-of-type(odd)::before {
    right: auto;
    left: -32px;
  }
}
@media (max-width: 768px) {
  .page-history {
    padding: 80px 0 160px;
  }
}

.page-company .category, .section-company .category {
  width: 900px;
  max-width: 100%;
  margin: 128px auto 0;
}
.page-company h3, .section-company h3 {
  margin: 0 0 15px 10px;
  font-size: 23px;
  font-weight: bold;
  font-family: "League Spartan", sans-serif;
  font-optical-sizing: auto;
}
.page-company .under-bar, .section-company .under-bar {
  display: block;
  background-color: #0E3783;
  height: 3px;
  border-radius: 1.5px;
  width: 69px;
}
.page-company .company-grid, .section-company .company-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 32px 0 0;
}
.page-company .company-grid img, .section-company .company-grid img {
  width: 195px;
  height: 122px;
  border-radius: 8px;
  border: solid 1px #000;
  object-fit: contain;
  cursor: pointer;
}
.page-company .company-card, .section-company .company-card {
  width: 160px;
  height: 90px;
  border: 1px solid #ddd;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  padding: 10px;
  box-sizing: border-box;
}
.page-company .company-card figure, .section-company .company-card figure {
  margin: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.page-company .company-card img, .section-company .company-card img {
  max-width: 80%;
  max-height: 80%;
  object-fit: contain;
  margin: 0;
}
@media (max-width: 768px) {
  .page-company .category, .section-company .category {
    margin: 64px auto 0;
  }
  .page-company h3, .section-company h3 {
    margin: 0 0 12px 0;
    font-size: 20px;
  }
  .page-company .under-bar, .section-company .under-bar {
    width: 60px;
    height: 2px;
  }
  .page-company .company-grid, .section-company .company-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4列に固定 */
    gap: 8px;
    margin: 16px 0 0;
    width: 100%;
  }
  .page-company .company-grid > *, .section-company .company-grid > * {
    width: 100%;
    min-width: 0;
  }
  .page-company .company-grid img, .section-company .company-grid img {
    margin: 0;
    width: 100%;
    height: auto;
  }
  .page-company .company-card, .section-company .company-card {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    min-width: 0;
  }
}

.page-topics {
  position: relative;
  padding-bottom: 128px;
}
.page-topics .page-title {
  margin: 0 0 24px;
}
.page-topics .topic-filter {
  margin-bottom: 32px;
}
.page-topics .topic-filter__list {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.page-topics .topic-filter__radio {
  display: none;
}
.page-topics .topic-filter__label {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 32px;
  min-width: 120px;
  border-radius: 9999px;
  background-color: #848B98;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.2s ease, transform 0.1s ease;
}
.page-topics .topic-filter__label:hover {
  transform: translateY(-1px);
}
@media (max-width: 768px) {
  .page-topics .topic-filter__list {
    gap: 8px;
  }
  .page-topics .topic-filter__label {
    height: 32px;
    line-height: 32px;
    border-radius: 16px;
    font-size: 15px;
    min-width: 48px;
  }
}
.page-topics .topic-list {
  display: flex;
  gap: 32px;
}
@media (max-width: 768px) {
  .page-topics .topic-list {
    flex-direction: column;
  }
}
.page-topics .topic-list .topic-card {
  border: solid 1px #000;
  flex: 1;
  min-width: 0;
  padding: 0 0 32px;
}
@media (max-width: 768px) {
  .page-topics .topic-list .topic-card {
    flex: none;
    width: 100%;
    max-width: 100%;
    padding: 0 0 16px;
  }
}
.page-topics .topic-list .topic-card :link, .page-topics .topic-list .topic-card :visited {
  text-decoration: none;
  color: #000;
}
.page-topics .topic-list .topic-card .topic-card__link {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
@media (max-width: 768px) {
  .page-topics .topic-list .topic-card .topic-card__link {
    gap: 8px;
  }
}
.page-topics .topic-list .topic-card .topic-card__link .topic-card__thumb img {
  width: 100%;
  height: auto;
  aspect-ratio: 2/1;
  object-fit: cover;
}
.page-topics .topic-list .topic-card .topic-card__link .topic-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center; /* 垂直方向も揃えたいなら */
  padding: 0 22px;
}
.page-topics .topic-list .topic-card .topic-card__link .topic-card__meta .topic-card__badge {
  text-align: center;
  line-height: 32px;
  color: #fff;
  background-color: #0E3783;
  height: 32px;
  border-radius: 16px;
  width: 128px;
}
.page-topics .topic-list .topic-card .topic-card__link .topic-card__meta .topic-card__date {
  color: #555;
  font-size: 12px;
}
.page-topics .topic-list .topic-card .topic-card__link h3 {
  padding: 0 22px;
  font-size: 15px;
  font-weight: bold;
}

.page-topics .topic-filter__radio:checked + .topic-filter__label {
  background-color: #0E3783;
}

.page-contact .complete-main {
  margin: 128px auto;
}
.page-contact .complete-main .complete-message {
  display: block;
  width: 480px;
  max-width: 100%;
  line-height: 32px;
  padding: 200px 0;
  background-color: #0E3783;
  color: #fff;
  font-weight: bold;
  font-size: 20px;
  text-align: center;
  margin: 0 auto;
  border-radius: 8px;
}
.page-contact .complete-main p {
  text-align: center;
  margin: 32px auto 0;
}
.page-contact .complete-main p :link, .page-contact .complete-main p :visited {
  color: #000;
  text-decoration: none;
}

.page-post .view-all {
  display: block;
  margin: 128px auto 36px;
}
.page-post .view-all :link, .page-post .view-all :visited {
  display: inline;
}
.page-post .view-all :link img, .page-post .view-all :visited img {
  display: inline;
}
@media (max-width: 768px) {
  .page-post .view-all {
    margin: 32px auto;
  }
  .page-post .view-all img {
    height: 36px;
  }
}
.page-post .topic-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center; /* 垂直方向も揃えたいなら */
  padding: 0;
  margin: 16px auto 0;
}
.page-post .topic-card__meta .topic-card__badge {
  text-align: center;
  line-height: 32px;
  color: #fff;
  background-color: #0E3783;
  height: 32px;
  border-radius: 16px;
  width: 128px;
}
.page-post .topic-card__meta .topic-card__date {
  color: #555;
  font-size: 20px;
}
.page-post .post-thumbnail img {
  width: 100%;
  height: auto;
}
.page-post .post-body {
  margin: 64px auto 0;
  padding: 32px;
  border: solid 1px #000;
  min-height: 80vh;
  font-size: 15px;
  line-height: 34px;
}
.page-post .post-body h1 {
  font-size: 24px;
  font-weight: bold;
  line-height: 34px;
  margin: 0 0 24px;
}

.site-footer {
  position: relative;
  background-color: #0E3783;
  color: #fff;
  padding: 40px 50px;
}
.site-footer :link, .site-footer :visited {
  text-decoration: none;
}
.site-footer .footer-top-nav {
  position: absolute;
  top: 40px;
  right: 50px;
  display: flex;
  align-items: center;
}
.site-footer .footer-top-nav ul {
  display: flex;
  flex-direction: row;
  list-style: none;
}
.site-footer .footer-top-nav ul li {
  height: 36px;
  line-height: 36px;
  padding: 0 24px;
}
.site-footer .footer-top-nav ul li:first-child {
  border-right: solid 1px #fff;
}
.site-footer .footer-nav {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 92px;
  padding: 92px 0;
}
.site-footer .footer-nav div h3 {
  font-size: 20px;
  text-align: center;
  line-height: 32px;
  border-bottom: solid 1px #fff;
  padding: 0 12px;
}
.site-footer .footer-nav div ul {
  margin: 36px 0 0;
  padding: 0 0 0 24px;
}
.site-footer .footer-nav div ul li {
  font-size: 16px;
}
.site-footer .group-info {
  position: absolute;
  bottom: 40px;
  left: 50px;
}
.site-footer .group-info h4 {
  font-size: 16px;
}
.site-footer .group-info p {
  font-size: 12px;
}
.site-footer .copyright {
  display: block;
  text-align: center;
  font-size: 16px;
}
@media (max-width: 768px) {
  .site-footer {
    padding: 40px 20px 20px;
    position: relative;
  }
  .site-footer .footer-top-nav {
    display: none;
  }
  .site-footer .footer-nav {
    display: none;
  }
  .site-footer .group-info {
    position: relative;
    bottom: auto;
    left: auto;
    text-align: center;
    margin: 30px 0 20px;
  }
  .site-footer .group-info h4 {
    font-size: 14px;
    margin-bottom: 10px;
  }
  .site-footer .group-info p {
    font-size: 11px;
    line-height: 1.6;
  }
  .site-footer .copyright {
    font-size: 12px;
    margin-top: 20px;
    text-align: center;
  }
}

.modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.modal.is-open {
  opacity: 1;
  pointer-events: auto;
}
.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
}
.modal__inner {
  position: relative;
  width: 80vw;
  height: 80vh;
  max-width: 1100px;
  max-height: 700px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
@media (max-width: 768px) {
  .modal__inner {
    width: 100%;
    height: 100%;
    max-height: 100%;
  }
}
.modal__close {
  position: absolute;
  top: 12px;
  right: 16px;
  border: none;
  background: transparent;
  font-size: 20px;
  cursor: pointer;
}
.modal__content {
  padding: 40px 48px 32px;
  height: 100%;
  box-sizing: border-box;
  overflow-y: auto;
}
@media (max-width: 768px) {
  .modal__content {
    padding: 8px;
  }
}

.company-modal-header {
  text-align: center;
  margin-bottom: 24px;
}
@media (max-width: 768px) {
  .company-modal-header {
    padding: 24px 0 0;
  }
}
.company-modal-header img {
  display: block;
  margin: 0 auto;
  max-width: 260px;
  height: auto;
}

.company-modal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.company-modal-table th,
.company-modal-table td {
  padding: 8px 4px;
  border-bottom: 1px solid #e3e3e3;
  vertical-align: top;
}
.company-modal-table th {
  width: 160px;
  font-weight: 600;
  white-space: nowrap;
}

.about-image-modal__content {
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
  height: 100%;
}
.about-image-modal__image {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}
.about-image-modal .modal__inner {
  width: 80%;
  max-width: none;
  height: auto;
  max-height: 90vh;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
}
@media (max-width: 768px) {
  .about-image-modal .modal__inner {
    width: 90%;
  }
}
.about-image-modal .modal__close {
  position: absolute;
  top: 15px;
  width: 30px;
  height: 30px;
  border: 2px solid #333;
  background: #fff;
  border-radius: 4px;
  font-size: 24px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background-color 0.2s ease, color 0.2s ease;
}
@media (max-width: 768px) {
  .about-image-modal .modal__close {
    width: 30px;
    height: 30px;
    font-size: 20px;
    top: 15px;
  }
}

.br-sp {
  display: none;
}
@media (max-width: 768px) {
  .br-sp {
    display: block;
  }
}

.br-pc {
  display: block;
}
@media (max-width: 768px) {
  .br-pc {
    display: none;
  }
}
