/**
  Common CSS
*/

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

* {
  margin: 0;
  padding: 0;
}

body {
  font-size: 16px;
  line-height: initial;
  -webkit-font-smoothing: antialiased;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

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

ul,
ol {
  list-style: none;
}

a {
  text-decoration: none;
  transition: all 0.3s;
  word-break: break-all;
}

p {
  margin: 0;
}

@font-face {
  font-family: 'Local Noto Sans JP';
  src:
    local('Noto Sans JP'),
    /* Windows */
    local('Noto Sans CJK JP Regular')
    /* Android */
  ;
  font-display: swap;
}

body {
  font-family: "Local Noto Sans JP", "Noto Sans JP", sans-serif;
  letter-spacing: 0.02em;
}

.main {
  background-color: #fff;
}

:root {
  --header-height: 64px;
  --inline-padding-base: 18px;
  --block-padding-base: 16px;
  --section-padding: 48px 0;
  --container-width: 100%;
  --container-max-width: 1200px;
  --container-padding: 0 18px;
  --margin-bottom-base: 16px;
}

@media screen and (min-width: 768px) {
  :root {
    --inline-padding-base: 24px;
    --block-padding-base: 24px;
    --section-padding: 72px 0;
    --container-padding: 0 24px;
    --margin-bottom-base: 24px;
  }
}

@media screen and (min-width: 960px) {
  :root {
    --header-height: 72px;
    --block-padding-base: 32px;
    --section-padding: 96px 0;
    --container-width: calc(100% - 80px);
    --container-padding: 0;
  }
}

.container {
  padding: var(--container-padding);
  width: var(--container-width);
  max-width: var(--container-max-width);
  margin: 0 auto;
}

.main {
  min-height: 90vh;
}

.header {
  background-color: rgba(0, 0, 0, 0.4);
  height: var(--header-height);
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 100%;
  padding: 0 var(--inline-padding-base);
}

.header-logo {
  flex: 0 0 auto;
  width: 150px;
  height: var(--header-height);
}

.header-logo a {
  display: flex;
  align-items: center;
  height: 100%;
}

.header-logo img {
  width: 100%;
  height: auto;
}

.header-navigation-list {
  display: flex;
  gap: 20px;
}

.header-navigation-list-item a {
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  display: block;
  height: var(--header-height);
  line-height: var(--header-height);
}

.header-navigation-list-item a:hover {
  text-decoration: none;
}

@media screen and (max-width: 374px) {
  :root {
    --inline-padding-base: 12px;
  }

  .header-logo {
    width: 120px;
  }

  .header-navigation-list {
    gap: 16px;
  }

  .header-navigation-list-item a {
    font-size: 12px;
  }
}

@media screen and (min-width: 768px) {
  .header-logo {
    width: 180px;
  }

  .header-navigation-list {
    gap: 24px;
  }

  .header-navigation-list-item a {
    font-size: 15px;
  }
}

.footer {
  background-color: #000;
  color: #fff;
  padding-top: 48px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: var(--container-padding);
  width: var(--container-width);
  max-width: var(--container-max-width);
  margin: 0 auto;
}

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

.footer-logo img {
  width: 100%;
  height: auto;
}

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

.footer-navigation-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-navigation-list-item a {
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.0;
  display: inline-block;
  border-bottom: 1px solid transparent;
  transition: all 0.3s;
}

.footer-navigation-list-item a:hover {
  border-bottom: 1px solid #fff;
}

.footer-bar {
  padding: 48px 0 16px;
  text-align: center;
}

.footer-copyright {
  font-size: 11px;
  font-weight: 500;
}

@media screen and (min-width: 440px) {
  .footer-logo {
    width: 180px;
  }
}

@media screen and (min-width: 960px) {
  .footer {
    padding-top: 64px;
  }

  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
  }

  .footer-logo {
    width: 223px;
    margin: 0;
  }

  .footer-navigation {
    flex-direction: row;
    gap: 48px;
  }

  .footer-navigation-list-item a {
    font-size: 14px;
  }

  .footer-copyright {
    font-size: 12px;
  }
}

.button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 472px;
  height: 48px;
  margin: 0 auto;
  background-color: #000;
  border: 1px solid #000;
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.0;
  transition: all 0.3s;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.button:hover {
  background-color: #fff;
  color: #000;
}

.button span {
  display: flex;
  align-items: center;
}

@media screen and (min-width: 768px) {
  .button {
    font-size: 22px;
  }
}

@media screen and (min-width: 960px) {
  .button {
    font-size: 24px;
  }
}

.cta {
  border: 2px solid #000;
  max-width: 560px;
  margin: 0 auto;
}

.cta-header {
  background-color: #000;
  color: #fff;
  text-align: center;
}

.cta-title {
  font-size: 16px;
  font-weight: 500;
  line-height: 40px;
}

.cta-body {
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  background-color: #fff;
}

.cta-check-list {
  display: flex;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(transparent 50%, #FFE76C 50%);
}

.cta-check-list-item {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
  padding: 0 4px;
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
}

.cta-check-list-item::before {
  content: '';
  display: inline-block;
  width: 0.8em;
  height: 0.8em;
  background-image: url('../images/icons/check.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.cta-check-list-item span {
  white-space: nowrap;
}

.cta-button {
  background-color: #0F0064;
  border: 1px solid #0F0064;
  color: #fff;
  max-width: 360px;
}

.cta-button:hover {
  background-color: #0F0064;
  border: 1px solid #0F0064;
  color: #fff;
  opacity: 0.8;
}

.cta-button span {
  font-size: 18px;
}

.cta-button span::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 24px;
  background-image: url('../images/icons/email.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  margin-right: 8px;
}

@media screen and (max-width: 389px) {
  .cta-title {
    font-size: 4.1vw;
  }

  .cta-check-list {
    gap: 0;
  }

  .cta-check-list-item {
    font-size: 4vw;
  }

  .cta-button span {
    font-size: 4.6vw;
  }
}

@media screen and (min-width: 440px) {
  .cta-title {
    font-size: 18px;
  }

  .cta-check-list-item {
    font-size: 18px;
  }

  .cta-button span {
    font-size: 20px;
  }
}

@media screen and (min-width: 768px) {
  .cta {
    max-width: 800px;
  }

  .cta-title {
    font-size: 28px;
    line-height: 60px;
  }

  .cta-body {
    padding: 24px 24px;
    gap: 32px;
  }

  .cta-check-list {
    gap: 20px;
  }

  .cta-check-list-item {
    font-size: 20px;
  }

  .cta-button span::before {
    width: 30px;
    height: 30px;
  }
}


.cta-main-top {
  padding: 0 var(--inline-padding-base);
  margin-top: -104px;
  z-index: 1;
  position: relative;
}

.cta-main-bottom {
  padding: 0 var(--inline-padding-base) 48px;
}

@media screen and (max-width: 389px) {
  .cta-main-top {
    margin-top: -72px;
  }
}

@media screen and (min-width: 768px) {
  .cta-main-top {
    margin-top: -152px;
  }

  .cta-main-bottom {
    padding: 0 var(--inline-padding-base) 96px;
    margin-top: -24px;
  }
}


.post-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 32px;
}

.post-list-item {
  border-bottom: 1px solid #b1b1b1;
}

.post-list-item a {
  display: block;
  height: 100%;
}

.post-list-item-article {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.post-thumbnail {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background-color: #f0f0f0;
  margin-bottom: 18px;
}

.post-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.3s;
}

.post-list-item a:hover .post-thumbnail img {
  opacity: 0.8;
}

.post-title {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  color: #000;
  margin-bottom: 12px;
  transition: all 0.3s;
}

.post-list-item a:hover .post-title {
  color: #616161;
}

.post-meta {
  font-size: 13px;
  color: #616161;
  padding-bottom: 18px;
  margin-top: auto;
}

@media screen and (min-width: 768px) {
  .post-list {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 40px;
  }

  .post-list-item {
    width: calc((100% - 24px) / 2);
  }
}

@media screen and (min-width: 960px) {
  .post-list {
    gap: 32px;
  }

  .post-list-item {
    width: calc((100% - 64px) / 3);
  }
}

.page-article {
  background-color: #fff;
}

.page-article .article-header {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 240px;
  background-color: #111;
  position: relative;
}

.page-contact .article-header {
  background-image: url('../images/img_contact.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

@supports (background-image: url('../images/img_contact.webp')) {
  .page-contact .article-header {
    background-image: url('../images/img_contact.webp');
  }
}

.page .article-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: calc(100% - var(--header-height));
  background-color: rgba(0, 0, 0, 0.4);
}

.page .article-header-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding-top: 20px;
  position: relative;
  z-index: 1;
}

.page .article-title {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  color: #fff;
}

.page .article-label {
  font-size: 40px;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
  line-height: 1.0;
  letter-spacing: 0.05em;
  color: #fff;
  text-align: center;
}

@media screen and (min-width: 768px) {
  .page .article-header {
    height: 288px;
  }

  .page .article-title {
    font-size: 20px;
  }

  .page .article-label {
    font-size: 56px;
  }
}

.page-article .article-body {
  padding: 32px 0 96px;
}

.page-article .article-body-content {
  padding: var(--container-padding);
  width: var(--container-width);
  max-width: var(--container-max-width);
  margin: 0 auto;
}

.page-article .article-body-content a {
  color: #616161;
}

.page-article .article-body-content a:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

.page-article .article-body-content p {
  margin-bottom: 1.5em;
  line-height: 1.8;
}

.page-article .article-body-content p+h2,
.page-article .article-body-content ul+h2,
.page-article .article-body-content ol+h2,
.page-article .article-body-content div+h2 {
  margin-top: 1.8em;
}

.page-article .article-body-content p+h3,
.page-article .article-body-content ul+h3,
.page-article .article-body-content ol+h3,
.page-article .article-body-content div+h3 {
  margin-top: 1.8em;
}

.page-article .article-body-content>h2 {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
  color: #000;
  margin-bottom: 1em;
}

.page-article .article-body-content>h3 {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  color: #000;
  margin-bottom: 1em;
}

.page-article .article-body-content>ul {
  list-style: disc;
}

.page-article .article-body-content>ol {
  list-style: decimal;
}

.page-article .article-body-content>ul,
.page-article .article-body-content>ol {
  padding-left: 1.2em;
  margin-bottom: 1.5em;
}

.page-article .article-body-content>ul li,
.page-article .article-body-content>ol li {
  margin-bottom: 0.5em;
}

.page-article .article-body-content table {
  width: 100%;
  border-collapse: collapse;
}

.page-article.information table,
.page-article.information tbody {
  display: block;
  width: 100%;
  overflow: hidden;
}

.page-article.information table tr {
  display: flex;
  gap: 16px;
  margin-bottom: 1.5em;
}

.page-article.information table tr:last-child {
  margin-bottom: 0;
}

.page-article.information table tr td:first-child {
  flex: 0 0 auto;
  width: 25%;
  min-width: 110px;
  font-weight: 700;
}

.page-article.information table tr td:not(:first-child) {
  flex: 1 1 auto;
  word-break: break-all;
}

@media screen and (min-width: 960px) {
  .page-article .article-body {
    padding: 64px 0 120px;
  }

  .page-article .article-body-content {
    max-width: 960px;
  }
}

.breadcrumbs {
  padding: 8px 0;
}

.breadcrumbs ol {
  display: flex;
  padding: var(--container-padding);
  width: var(--container-width);
  max-width: var(--container-max-width);
  margin: 0 auto;
}

.breadcrumbs li {
  font-size: 12px;
  font-weight: 500;
  line-height: 1.0;
  color: #434343;
  flex: 0 0 auto;
}

.breadcrumbs li:first-child::before {
  content: '';
  display: inline-block;
  width: 10px;
  height: 10px;
  background-image: url('../images/icons/home.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  margin-right: 4px;
}

.breadcrumbs li:not(:last-child)::after {
  content: '/';
  margin: 0 4px;
}

.breadcrumbs li:last-child {
  flex: 1 1 auto;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}

.breadcrumbs li a {
  color: #000;
}

.breadcrumbs li span.current {
  color: #616161;
}

@media screen and (min-width: 768px) {
  .breadcrumbs {
    padding: 12px 0;
  }

  .breadcrumbs li {
    font-size: 16px;
  }

  .breadcrumbs li:first-child::before {
    width: 12px;
    height: 12px;
  }
}

.pagination {
  display: flex;
  justify-content: center;
}

.pagination-list {
  display: flex;
  gap: 4px;
}

.pagination-list-item a,
.pagination-list-item span {
  display: block;
  width: 40px;
  line-height: 40px;
  color: #000;
  text-align: center;
  font-weight: 500;
  transition: all 0.3s;
}

.pagination-list-item a:hover {
  background-color: #d9d9d9;
}

.pagination-list-item .current {
  background-color: #000;
  color: #fff;
  font-weight: 700;
}

.error-page .article-body-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 30vh;
}
