@charset "utf-8";

main:not(#anniversary) {
  position: relative;
  z-index: 2;
}

ul.page-numbers {
  list-style: none;
}

/* ========== コンテンツヘッダー ========== */
.content-header {
  position: relative;
  display: flex;
  margin-top: calc(16px + var(--headerbar-height));
  padding-top: 32px;
  background-color: #fff;
}

/* --- 画像 --- */
.content-header_img {
  width: clamp(478px, calc((890 - 478)/(1920 - 1024)*(100vw - 1024px) + 478px), 890px);
  aspect-ratio: 16/9;
  margin-inline: auto 34px;
}

.content-header_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- テキスト --- */
.content-header_text_wrap {
  position: relative;
  z-index: 2;
  margin-top: min(calc(128/1920*100vw), 128px);
  margin-left: min(calc(209/1920*100vw), 209px);
  padding-right: 1em;
}

.content-header_text_wrap h2 {
  margin-inline: 0 auto;
  font-size: clamp(var(--px-5xl), calc((var(--val-6xl) - var(--val-5xl))/(1600 - 1024)*(100vw - 1024px) + var(--px-5xl)), var(--px-6xl));
  letter-spacing: 0.02em;
}

/* --- パンくずリスト --- */
.breadcrumb {
  margin-top: 8px;
  margin-left: 22px;
  line-height: 1.5;
}

.breadcrumb a {
  text-decoration: none;
  transition: opacity 0.25s;
}

@media (any-hover: hover) {
  .breadcrumb a:hover {
    opacity: 0.65;
  }
}

@media(max-width: 1023px) {
  .breadcrumb {
    text-shadow: 0 0 3px #fff;
  }
}

/* --- 装飾テキスト --- */
/* 画面幅1023px以下の時のtopプロパティの値はJSで制御 */
.content-header_bg-txt {
  position: absolute;
  bottom: 6px;
  left: -8px;
  width: fit-content;
  color: transparent;
  font-size: clamp(72px, calc((120 - 72)/(1920 - 1024)*(100vw - 1024px) + 72px), 120px);
  font-weight: 400;
  -webkit-text-stroke: 1px var(--clr-main-1);
  pointer-events: none;
}

@media (max-width: 1023px) {
  .content-header {
    flex-direction: column-reverse;
    padding-top: 0;
    padding-inline: 64px;
  }

  .content-header_img {
    width: min(890px, 100%);
    min-height: 375px;
    margin-inline: auto;
  }

  .content-header_text_wrap {
    margin-top: 24px;
    margin-left: 0;
  }

  .content-header_bg-txt {
    transform-origin: right bottom;
    transform: rotate(-90deg);
    top: -1em;
    right: -8px;
    bottom: unset;
    left: unset;
    font-size: 80px;
    z-index: 2;
  }
}

@media (max-width: 767px) {
  .content-header {
    margin-top: var(--headerbar-height);
    padding-inline: clamp(24px, calc((48 - 24)/(767 - 320)*(100vw - 320px) + 24px), 48px);
  }

  .content-header_img {
    min-height: 300px;
  }

  .content-header_bg-txt {
    font-size: 64px;
    white-space: nowrap;
  }
}


/* ========== COMPANY ========== */
/* ---------- ご挨拶 ---------- */
.company_greeting {
  margin-top: var(--content-2xl);
  padding-inline: var(--content-side-space);
}

.company_greeting_container {
  position: relative;
  max-width: 1440px;
  height: max-content;
  margin-inline: auto;
  overflow: auto;
}

.company_greeting_img {
  position: absolute;
  top: 0;
  left: 0;
  width: 38.88889%;
  aspect-ratio: 4/3;
}

.company_greeting_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}

.company_greeting_text_wrap {
  margin-inline: auto 0;
  margin-top: 106px;
  display: flex;
  flex-direction: column;
  gap: clamp(48px, calc((64 - 48)/(1568 - 1024)*(100vw - 1024px) + 48px), 64px);
  justify-content: start;
  align-items: center;
  width: 66.6667%;
  min-height: 320px;
  padding: 48px min(calc(120/1568*100vw), 120px);
  border-radius: 20px;
  background-color: var(--clr-sub-1);
}

.company_greeting_body {
  line-height: 2.5;
}

.company_greeting_signiture {
  align-self: end;
  font-family: var(--ff-head);
  font-size: var(--px-2xl);
  font-weight: 700;
  line-height: 1.5;
}

@media (max-width: 1023px) {
  .company_greeting_img {
    width: calc(50vw - 64px);
  }

  .company_greeting_text_wrap {
    width: 80%;
    margin-top: min(calc(280/1023*100vw), 280px);
    padding: clamp(36px, calc((48 - 36)/(1023 - 768)*(100vw - 768px) + 36px), 48px);
  }
}

@media (max-width: 767px) {
  .company_greeting_img {
    width: min(90%, 480px);
  }

  .company_greeting_text_wrap {
    width: 90%;
    margin-top: calc(min(90%, 480px)/4*3 - 32px);
    padding: 60px 24px 32px;
  }
}

/* ---------- スローガン ---------- */
.company_slogan {
  margin-top: var(--content-3xl);
  margin-inline: auto;
}

.company_slogan h2 {
  text-align: center;
}

.company_slogan_img_wrap {
  margin-top: var(--content-lg);
  padding: var(--content-md) var(--content-side-space);
  background-color: var(--clr-sub-1);
}

.company_slogan_img {
  width: fit-content;
  margin-inline: auto;
  padding: clamp(26px, calc(38/767*100vw), 38px) clamp(32px, calc(56/767*100vw), 56px);
  border: 1px solid var(--clr-main-1);
  background-color: #fff;
}

.company_slogan_img img {
  width: auto;
  height: 100%;
  max-height: clamp(80px, calc((100 - 80)/(1568 - 1024)*(100vw - 1024px) + 80px), 100px);
}

.company_slogan_desc {
  margin-top: var(--content-lg);
}

.company_slogan_desc_body {
  text-align: center;
}

.company_slogan_items_wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 24px clamp(58px, calc((96 - 58)/(1568 - 1024)*(100vw - 1024px) + 58px), 96px);
  justify-content: center;
  margin-top: var(--content-lg);
  padding-inline: var(--content-side-space);
}

.company_slogan_item {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: clamp(16px, calc(32/767*100vw), 32px);
  justify-content: center;
  align-items: center;
  width: 260px;
  aspect-ratio: 1/1;
  border-radius: 50%;
  background-color: var(--clr-sub-1);
}

.company_slogan_item h3 {
  position: relative;
  z-index: 2;
  font-size: var(--px-4xl);
  font-weight: 400;
}

.company_slogan_item p {
  position: relative;
  z-index: 2;
  font-size: var(--px-lg);
  line-height: 2;
  text-align: center;
}

.company_slogan_item figure {
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 150px;
  aspect-ratio: 1/1;
}

.company_slogan_item img {
  margin-inline: auto;
  max-width: 100%;
  max-height: 100%
}

.company_slogan_appeal_wrap {
  margin-top: 64px;
  padding: var(--content-xl) var(--content-side-space);
  background-color: var(--clr-main-1);
}

.company_slogan_appeal_wrap p {
  max-width: 960px;
  margin-inline: auto;
  color: #fff;
  font-size: var(--px-lg);
  letter-spacing: 0.1em;
  line-height: 2.5;
  text-align: center;
}

.company_slogan_appeal_wrap strong {
  font-family: var(--ff-head);
  font-weight: 700;
  font-size: var(--px-2xl);
}

@media(max-width: 767px) {
  .company_slogan_appeal_wrap p {
    font-size: var(--px-md);
  }

  .company_slogan_appeal_wrap strong {
    font-size: var(--px-xl);
  }
}

/* ---------- 会社概要 ---------- */
.company_outline {
  margin-top: var(--content-3xl);
}

.company_outline h2 {
  text-align: center;
}

.company_outline_body_wrap {
  margin-top: 64px;
  padding-inline: var(--content-side-space);
}

.company_outline_body_wrap table {
  width: min(960px, 100%);
  margin-inline: auto;
  border-collapse: collapse;
}

.company_outline_body_wrap table :where(th, td) {
  padding: 16px;
  line-height: 2;
}

.company_outline_body_wrap table th {
  width: 33.33333%;
  border-top: 1px solid var(--clr-main-1);
  vertical-align: unset;
  text-align: unset;
}

.company_outline_body_wrap table tr:last-child th {
  border-bottom: 1px solid var(--clr-main-1);
}

.company_outline_body_wrap table td {
  border-top: 1px solid var(--clr-main-2);
}

.company_outline_body_wrap table tr:last-child td {
  border-bottom: 1px solid var(--clr-main-2);
}

.company_outline_body_wrap table a {
  color: var(--clr-main-1);
  text-decoration: none;
}

@media (max-width: 1023px) {
  .company_outline_body_wrap table th {
    width: auto;
  }
}

@media (max-width: 767px) {
  .company_outline_body_wrap table :where(th, td) {
    display: block;
    width: 100%;
  }

  .company_outline_body_wrap table th {
    border-top-width: 2px;
  }

  .company_outline_body_wrap table tr:last-child th {
    border-bottom-width: 0;
  }

  .company_outline_body_wrap table tr:last-child td {
    border-bottom: 2px solid var(--clr-main-1);
  }
}

/* ---------- 経営理念 ---------- */
.company_philosophy {
  --iw: clamp(640px, calc((720 - 640)/(1920 - 1024)*(100vw - 1024px) + 640px), 720px);
  margin-top: var(--content-3xl);
}

.company_philosophy h2 {
  text-align: center;
}

.company_philosophy_container {
  position: relative;
  margin-top: 64px;
  padding-inline: var(--content-side-space);
}

.company_philosophy_items_wrap {
  display: flex;
  flex-direction: column;
  gap: clamp(36px, calc((80 - 36)/(1023 - 768)*(100vw - 768px) + 36px), 80px);
  justify-content: start;
  align-items: start;
  max-width: 1400px;
  margin-inline: auto;
}

.company_philosophy_item {
  width: var(--iw);
  padding: 48px;
  border: 1px solid var(--clr-main-1);
  background-color: #fff;
}

.company_philosophy_item:nth-child(1) {
  align-self: start;
}

.company_philosophy_item:nth-child(2) {
  align-self: start;
  position: relative;
  left: calc((100% - var(--iw))/3);
}

.company_philosophy_item:nth-child(3) {
  position: relative;
  left: calc((100% - var(--iw))/3*2);
}

.company_philosophy_item:nth-child(4) {
  align-self: end;
}

.company_philosophy_item h3 {
  font-size: var(--px-4xl);
  font-weight: 400;
}

.company_philosophy_item ol {
  margin-top: clamp(28px, calc((40 - 28)/(1023 - 768)*(100vw - 768px) + 28px), 40px);
  padding: 0;
  list-style-position: inside;
}

.company_philosophy_item li {
  line-height: 1.5;
}

.company_philosophy_item li + li {
  margin-top: 20px;
}

.company_philosophy_img_top,
.company_philosophy_img_bottom {
  position: absolute;
  z-index: -1;
  width: min(calc(450/1920*100vw), 450px);
}

.company_philosophy_img_top {
  top: 0;
  right: 64px;
}

.company_philosophy_img_bottom {
  bottom: -100px;
  left: 64px;
}

@media (max-width: 1023px) {
  .company_philosophy_item {
    position: static !important;
    width: 100%;
    padding: clamp(24px, calc((48 - 24)/(1023 - 768)*(100vw - 768px) + 24px), 48px);
  }

  .company_philosophy_img_container {
    display: flex;
    justify-content: center;
    gap: clamp(32px, calc((64 - 32)/(1023 - 768)*(100vw - 768px) + 32px), 64px);
    flex-wrap: wrap;
    margin-top: 64px;
    margin-inline: calc(var(--content-side-space)* -1);
    padding: 32px var(--content-side-space);
    background-color: var(--clr-main-1);
  }

  .company_philosophy_img_top,
  .company_philosophy_img_bottom {
    position: static;
    z-index: 0;
    width: min(40%, 450px);
  }
}

@media (max-width: 767px) {

  .company_philosophy_img_top,
  .company_philosophy_img_bottom {
    width: min(80%, 245px);
  }
}

/* ---------- 組織図 ---------- */
.company_organization {
  margin-top: var(--content-3xl);
  padding-inline: var(--content-side-space);
}

.company_organization h2 {
  text-align: center;
}

.company_organization img {
  margin-top: 64px;
  margin-inline: auto;
}


/* ========== シノハラ防災70周年 ========== */
body:has(#anniversary)::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100vh;
  background: url(../img/anniversary_bg.jpg) center/cover;
}

#anniversary {
  --sc: clamp(24px, calc((48 - 24)/(1280 - 1184)*(100vw - 1184px) + 24px), 48px);
}

.anniversary_catch {
  padding-top: var(--content-2xl);
  padding-inline: var(--content-side-space);
  background: linear-gradient(#fff, transparent);
}

.anniversary_catch_inner {
  position: relative;
  z-index: 2;
}

.anniversary_catch h2 {
  text-align: center;
  line-height: 1.5;
  filter: drop-shadow(var(--shadow-param-w));
}

.anniversary_catch_img {
  width: fit-content;
  margin-top: 32px;
  margin-inline: auto;
}

.anniversary_head {
  margin-top: var(--content-2xl);
  width: min(100%, 1056px);
  margin-inline: auto;
  padding: var(--content-md);
  background-color: var(--clr-sub-1);
}

.anniversary_head p {
  font-family: var(--ff-head);
  font-size: var(--px-5xl);
  font-weight: 700;
  text-align: center;
  line-height: 2;
}

.anniversary_body_wrap {
  margin-top: var(--content-2xl);
  padding-inline: var(--content-side-space);
}

.anniversary_body {
  width: min(100%, 1056px);
  margin-inline: auto;
  padding: calc(3rem - 1em) 3rem 3rem;
  border: 1px solid var(--clr-main-1);
  background-color: #fff;
  box-shadow: var(--sc) var(--sc) var(--clr-main-1);
}

.anniversary_body .signiture {
  text-align: end;
  font-size: var(--px-xl);
  line-height: 1.5;
}

.anniversary_carousel_wrap {
  margin-top: calc(var(--content-2xl) + var(--sc));
  padding-block: var(--content-xl);
  overflow-x: hidden;
  backdrop-filter: blur(4px);
  background-color: rgba(255, 255, 255, 0.25);
}

.anniversary_carousel {
  display: flex;
  gap: clamp(48px, calc((64 - 48)/(1920 - 1280)*(100vw - 1280px) + 48px), 64px);
  padding-right: clamp(48px, calc((64 - 48)/(1920 - 1280)*(100vw - 1280px) + 48px), 64px);
  width: max-content;
}

.anniversary_carousel_img {
  width: clamp(280px, calc((320 - 280)/(1920 - 1280)*(100vw - 1280px) + 280px), 320px);
  aspect-ratio: 4/3;
}

.anniversary_carousel_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.anniversary_link_container {
  margin-top: var(--content-2xl);
  padding-inline: var(--content-side-space);
}

.anniversary_link_wrap {
  width: min(100%, 1056px);
  margin-inline: auto;
  padding-block: var(--content-lg);
  background-color: var(--clr-sub-1);
}

.anniversary_link_wrap .btn_link {
  margin-inline: auto;
}

@media (max-width: 1279px) {
  .anniversary_carousel {
    gap: clamp(32px, calc((48 - 32)/(1279 - 768)*(100vw - 768px) + 32px), 48px);
    padding-right: clamp(32px, calc((48 - 32)/(1279 - 768)*(100vw - 768px) + 32px), 48px);
  }

  .anniversary_carousel_img {
    width: clamp(240px, calc((280 - 240)/(1279 - 768)*(100vw - 768px) + 240px), 280px);
  }
}

@media(max-width: 1023px) {
  .anniversary_head p {
    font-size: var(--px-4xl);
  }

  .anniversary_body h3 {
    margin-top: calc(var(--content-2xl) - (var(--px-md)*0.75) - 0.25em);
  }

  .anniversary_body p {
    line-height: 2.5;
  }

  .anniversary_body h3 + p {
    margin-top: calc(var(--content-lg) - 0.75em);
  }

  .anniversary_body p + p {
    margin-top: calc(var(--content-2xl) - 1.5em);
  }
}

@media (max-width: 767px) {
  .anniversary_head {
    padding: 24px;
  }

  .anniversary_head p {
    font-size: clamp(var(--px-2xl), calc(var(--val-3xl)/767*100vw), var(--px-3xl));
  }

  .anniversary_body {
    padding: calc(1rem - 0.75em) 1rem 1.25rem;
    box-shadow: 12px 12px var(--clr-main-1);
  }

  .anniversary_body h3 {
    font-size: var(--px-3xl);
    margin-top: calc(var(--content-2xl) - (var(--px-md)*0.625) - 0.25em);
  }

  .anniversary_body p {
    line-height: 2.25;
  }

  .anniversary_body h3 + p {
    margin-top: calc(var(--content-lg) - 0.625em);
  }

  .anniversary_body p + p {
    margin-top: calc(var(--content-2xl) - 1.25em);
  }

  .anniversary_carousel {
    gap: 32px;
    padding-right: 32px;
  }

  .anniversary_carousel_img {
    width: clamp(160px, calc((240 - 160)/(767 - 375)*(100vw - 375px) + 160px), 240px);
  }
}


/* ========== 事業内容 ========== */
.business_desc {
  margin-top: var(--content-2xl);
}

.business_desc_body {
  text-shadow: 0 0 3px #fff;
}

.business_category {
  margin-top: var(--content-2xl);
  padding-inline: var(--content-side-space);
}

.business_category_list {
  display: flex;
  flex-direction: column;
  gap: 80px;
  max-width: 1280px;
  margin-inline: auto;
}

.business_category_item {
  --pt: clamp(24px, calc((40 - 24)/(1408 - 1280)*(100vw - 1280px) + 24px), 40px);
  --pib: clamp(32px, calc((64 - 32)/(1408 - 1280)*(100vw - 1280px) + 32px), 64px);
  background-color: var(--clr-sub-1);
  padding: var(--pt) var(--pib) var(--pib);
  border-radius: 12px;
}

.business_category_item_head {
  display: flex;
  gap: 32px;
  justify-content: start;
  align-items: center;
  height: calc(var(--px-4xl)*2);
}

.business_category_item_head span {
  flex-shrink: 0;
  min-width: calc(var(--px-4xl)*2);
  height: 100%;
}

.business_category_item_head img {
  height: 100%;
  width: auto;
  min-width: 0;
  min-height: 0;
  margin-inline: auto;
}

.business_category_item_body {
  display: flex;
  gap: 48px 24px;
  justify-content: space-between;
  align-items: start;
  margin-top: 32px;
}

.business_category_item_img {
  flex-shrink: 0.4;
  max-width: 360px;
  aspect-ratio: 4/3;
}

.business_category_item_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.business_category_item_text {
  display: flex;
  flex-direction: column;
  gap: 24px 32px;
  justify-content: space-between;
  max-width: 700px;
  height: stretch;
}

.business_category_item_text p {
  line-height: 2.25;
}

.business_category_item_text .allow_link {
  align-self: end;
  margin-inline: unset;
}

@media (max-width: 767px) {
  .business_category_item_body {
    flex-direction: column-reverse;
  }

  .business_category_item {
    padding: 24px;
  }

  .business_category_item_img {
    align-self: center;
  }
}


/* ========== 工事 ========== */
.installation_desc {
  margin-top: var(--content-2xl);
}

.installation_desc_body {
  text-shadow: 0 0 3px #fff;
}

.installation_group {
  margin-top: var(--content-2xl);
  padding-inline: var(--content-side-space);
}

.installation_group_inner {
  max-width: calc(960px + var(--content-side-space));
  margin-inline: auto;
}

.installation_group_head {
  text-align: center;
}

.installation_group_desc {
  margin-top: var(--content-lg);
}

.installation_group_desc_body {
  width: fit-content;
  margin-inline: auto;
  line-height: 2.25;
}

.installation_list {
  margin-top: var(--content-lg);
}

.installation_list > * + * {
  margin-top: var(--content-xl);
}

.installation_item {
  padding-top: clamp(24px, calc((48 - 24)/(1024 - 768)*(100vw - 768px) + 24px), 48px);
  padding-inline: clamp(24px, calc((96 - 24)/(1024 - 768)*(100vw - 768px) + 24px), 96px);
  padding-bottom: clamp(32px, calc((64 - 32)/(1024 - 768)*(100vw - 768px) + 32px), 64px);
  border-radius: 12px;
  background-color: var(--clr-sub-1);
}

.installation_item_head {
  text-align: center;
}

.installation_item_body {
  display: flex;
  gap: 16px;
  justify-content: space-between;
  align-items: start;
  margin-top: var(--content-lg);
}

.installation_item_text {
  line-height: 2;
}

.installation_item_img {
  flex-shrink: 0;
  width: clamp(280px, calc((320 - 280)/(1024 - 768)*(100vw - 768px) + 280px), 320px);
  aspect-ratio: 4/3;
  margin-right: 24px;
  margin-bottom: 24px;
}

.installation_item_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  box-shadow: 24px 24px var(--clr-main-1);
}

@media(max-width: 767px) {
  .installation_item_body {
    flex-direction: column;
  }

  .installation_item_text {
    min-width: min(320px, 100%);
    margin-inline: auto;
  }

  .installation_item_img {
    width: min(320px, 100%);
    margin-inline: auto;
    margin-bottom: 0;
    padding-right: 24px;
    padding-bottom: 24px;
  }
}


/* ========== 点検 ========== */
.inspection_desc {
  margin-top: var(--content-2xl);
}

.inspection_desc_body {
  text-shadow: 0 0 3px #fff;
}

.inspection_list_wrap {
  max-width: calc(1024px + var(--content-side-space));
  margin-top: var(--content-2xl);
  margin-inline: auto;
  padding-inline: var(--content-side-space);
}

.inspection_list > * + * {
  margin-top: var(--content-2xl);
}

.inspection_item {
  padding: 48px 24px 64px;
  border-radius: 12px;
  background-color: var(--clr-sub-1);
}

.inspection_item_head {
  text-align: center;
}

.inspection_item_desc {
  width: fit-content;
  margin-top: 48px;
  margin-inline: auto;
  line-height: 2;
}

.inspection_term_list {
  margin-top: 48px;
  display: flex;
  flex-wrap: wrap;
  row-gap: clamp(24px, calc((96 - 24)/(1088 - 768)*(100vw - 768px) + 24px), 96px);
  column-gap: clamp(24px, calc((128 - 24)/(1088 - 768)*(100vw - 768px) + 24px), 128px);
  justify-content: center;
}

.inspection_term_item {
  container-type: inline-size;
  position: relative;
  z-index: 0;
  display: flex;
  flex-direction: column;
  justify-content: start;
  width: clamp(280px, calc((345 - 280)/(1088 - 768)*(100vw - 768px) + 280px), 345px);
  padding: 48px 24px;
  border-radius: 12px;
  background-image: var(--gradient-main);
}

.inspection_term_item::before {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  z-index: -1;
  display: block;
  width: calc(100% - 4px);
  height: calc(100% - 4px);
  border-radius: 10px;
  background-color: #fff;
}

.inspection_term_head {
  text-align: center;
}

.inspection_term_text {
  margin-top: 48px;
  text-align: center;
  line-height: 2;
}

.inspection_term_img {
  display: flex;
  justify-content: center;
  align-items: end;
  width: 50.50505%;
  width: 50.50505cqw;
  height: calc(50.50505%*0.8 + 40px);
  height: calc(50.50505cqw*0.8 + 40px);
  margin-inline: auto;
  margin-block: auto 0;
  padding-top: 40px;
}

.inspection_term_img img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
}

@media(max-width: 767px) {
  .inspection_item {
    padding: clamp(24px, calc(32/767*100vw), 32px) 24px 32px;
  }

  .inspection_term_item {
    width: min(345px, 100%);
    padding: clamp(24px, calc(32/767*100vw), 32px) 24px 32px;
  }
}


/* ========== 販売 ========== */
.products_desc {
  margin-top: var(--content-2xl);
}

.products_desc_body {
  text-shadow: 0 0 3px #fff;
}

.products_category_selector {
  margin-top: var(--content-2xl);
}

.products_category_selector_wrap {
  position: relative;
  padding: var(--content-side-space);
  background-color: var(--clr-sub-1);
}

.products_category_selector_list {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 48px;
  max-width: 1024px;
  margin-inline: auto;
}

.products_category_selector_item a {
  display: flex;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 100%;
  padding: 10px 12px;
  border: 1px solid var(--clr-border-1);
  background-color: #fff;
  line-height: 1.25;
  text-decoration: none;
  transition: opacity 0.25s;
}

@media (any-hover: hover) {
  .products_category_selector_item a:hover {
    opacity: 0.75;
  }
}

.products_category_selector_item a::after {
  content: "";
  flex-shrink: 0;
  display: block;
  width: 1em;
  height: 1em;
  mask: url(../img/icon_arrow.svg) center/ contain no-repeat;
  background-color: var(--clr-main-2);
  rotate: 90deg;
}

.products_category_bg_txt {
  position: absolute;
  right: 0;
  bottom: -8px;
  user-select: none;
  transform-origin: right bottom;
}

.products_category_bg_txt p {
  font-size: 96px;
  color: transparent;
  text-align: end;
  -webkit-text-stroke: 1px #fff;
}

.products_container {
  position: relative;
  display: flex;
  gap: clamp(32px, calc((120 - 32)/(1728 - 1280)*(100vw - 1280px) + 32px), 120px);
  align-items: start;
  max-width: calc(1600px + var(--content-side-space)*2);
  padding-inline: var(--content-side-space);
  margin-top: var(--content-3xl);
  margin-inline: auto;
}

.products_anchor {
  flex-shrink: 0;
  position: sticky;
  top: calc(16px + var(--headerbar-height) + 64px);
  max-width: 240px;
}

.products_anchor_list > * + * {
  margin-top: 24px;
}

.products_anchor_item a {
  display: flex;
  gap: 6px;
  justify-content: start;
  align-items: start;
  text-decoration: none;
  opacity: 0.6;
  transition: opacity 0.25s;
}

.products_anchor_item a::before {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  margin-top: calc((1em - 10px)/2 - 1px);
  border-radius: 50%;
  background: var(--gradient-main);
  opacity: 0;
  transition: opacity 0.25s;
}

.products_anchor_item a:hover,
.products_anchor_item a.is-active {
  opacity: 1;
}

.products_anchor_item a.is-active::before {
  opacity: 1;
}

.products_body_list > * + * {
  margin-top: var(--content-3xl);
}

.products_body_item h2 {
  text-align: center;
}

.products_item_outline {
  display: flex;
  gap: clamp(32px, calc((96 - 32)/(1728 - 1280)*(100vw - 1280px) + 32px), 96px);
  align-items: start;
  margin-top: var(--content-lg);
}

.products_item_desc {
  line-height: 2.25;
  overflow-wrap: break-word;
}

.products_item_img_container {
  box-sizing: content-box;
  flex-shrink: 0;
  position: relative;
  width: clamp(320px, calc((400 - 320)/(1728 - 1280)*(100vw - 1280px) + 320px), 400px);
  aspect-ratio: 4/3;
  padding-bottom: 40px !important;
}

.products_item_img {
  width: 100%;
  aspect-ratio: 4/3;
}

.products_item_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.products_item_bullet_list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, calc((32 - 24)/(1728 - 1280)*(100vw - 1280px) + 24px), 32px);
  margin-top: var(--content-lg);
}

.products_item_img_container .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  margin-inline: 6px !important;
}

.products_item_bullet_item {
  position: relative;
  z-index: 0;
  padding-block: clamp(24px, calc((40 - 24)/(1728 - 1280)*(100vw - 1280px) + 24px), 40px);
  padding-inline: clamp(16px, calc((40 - 16)/(1728 - 1280)*(100vw - 1280px) + 16px), 40px);
  border-radius: 12px;
  background: var(--gradient-main);
  overflow-wrap: break-word;
}

.products_item_bullet_item::before {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  z-index: -1;
  display: block;
  width: calc(100% - 4px);
  height: calc(100% - 4px);
  border-radius: 10px;
  background-color: var(--clr-sub-1);
}

.products_item_bullet_item h3 {
  text-align: center;
}

.products_item_bullet_item p {
  width: fit-content;
  margin-top: 32px;
  margin-inline: auto;
  line-height: 2;
}

@media (max-width: 1279px) {
  .products_container {
    display: block;
  }

  .products_anchor {
    display: none;
  }

  .products_item_outline {
    gap: clamp(32px, calc((96 - 32)/(1279 - 900)*(100vw - 900px) + 32px), 96px);
  }

  .products_item_img_container {
    width: clamp(280px, calc((400 - 280)/(1279 - 900)*(100vw - 900px) + 280px), 400px);
  }

  .products_item_bullet_list {
    gap: clamp(24px, calc((32 - 24)/(1279 - 900)*(100vw - 900px) + 24px), 32px);
  }

  .products_item_bullet_item {
    padding-block: clamp(24px, calc((40 - 24)/(1279 - 900)*(100vw - 900px) + 24px), 40px);
    padding-inline: clamp(16px, calc((40 - 16)/(1279 - 900)*(100vw - 900px) + 16px), 40px);
  }

}

@media (max-width: 1023px) {
  .products_category_selector_list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media(max-width: 767px) {
  .products_category_selector_list {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .products_category_bg_txt {
    top: calc(10px - 2em);
    bottom: unset;
    rotate: -90deg;
    font-size: 52px;
  }

  .products_category_bg_txt p {
    font-size: 52px;
  }

  .products_item_outline {
    flex-direction: column-reverse;
    gap: 32px;
  }

  .products_body_item:nth-child(even) .products_item_outline {
    flex-direction: column-reverse;
  }

  .products_item_img_container {
    width: min(100%, 400px);
    margin-inline: auto;
  }

  .products_item_bullet_list {
    display: block;
  }

  .products_item_bullet_item {
    margin-top: 24px;
  }
}


/* ========== 武蔵野営業所 ========== */
.musashino_introduction {
  --line-height: clamp(3.25rem, calc((3.65*16 - 3.25*16)/(1279 - 768)*(100vw - 768px) + 3.25rem), 3.65rem);
  --padding: clamp(48px, calc((64 - 48)/(1338 - 768)*(100vw - 768px) + 48px), 64px);
  margin-top: var(--content-2xl);
  padding-inline: var(--content-side-space);
}

.musashino_introduction h2 {
  text-align: center;
  text-shadow: 0 0 3px #fff;
}

.musashino_introduction_body_wrap {
  margin-top: var(--content-lg);
  margin-inline: auto;
  max-width: 1210px;
  padding-block: calc(var(--padding) - (var(--line-height) - 1rem)/2);
  padding-inline: var(--padding);
  border-radius: 32px;
  background-color: var(--clr-sub-1);
}

.musashino_introduction_body {
  line-height: var(--line-height);
}

.musashino_introduction_body .lg {
  font-size: 1.25em;
  font-weight: 700;
}

.musashino_introduction_body .blue {
  color: var(--clr-main-1);
}

.musashino_introduction_body .orange {
  color: #d9a34a;
}

.musashino_illust_list_wrap {
  margin-top: var(--content-xl);
  padding-inline: var(--content-side-space);
}

.musashino_illust_list {
  display: flex;
  flex-wrap: wrap;
  gap: 64px 48px;
  justify-content: space-between;
  align-items: start;
  max-width: 1210px;
  margin-inline: auto;
}

.musashino_illust_img {
  max-height: 200px;
}

.musashino_illust_img img {
  width: auto;
  height: 100%;
  margin-inline: auto;
}

.musashino_illust_item p {
  margin-top: var(--content-md);
  text-align: center;
}

.musashino_address_wrap {
  margin-top: var(--content-xl);
  padding-inline: var(--content-side-space);
}

.musashino_address_wrap a {
  display: block;
  width: fit-content;
  max-width: 1210px;
  margin-inline: auto;
  padding: 32px 64px;
  border-radius: 64px 0 64px 0;
  background-color: var(--clr-sub-1);
  box-shadow: var(--shadow-param);
  text-decoration: none;
  transition: opacity 0.25s;
}

.musashino_address_wrap .allow_link {
  margin-top: var(--content-md);
}

@media(any-hover: hover) {
  .musashino_address_wrap a:hover {
    opacity: 0.75;
  }

  .musashino_address_wrap a:hover > .allow_link,
  .allow_link:hover {
    opacity: unset;
  }
}

.musashino_address_wrap p {
  font-size: var(--px-md);
  line-height: 2;
}

.musashino_business_container {
  margin-top: var(--content-2xl);
  padding-inline: var(--content-side-space);
}

.musashino_business_container h2 {
  text-align: center;
}

.musashino_business_desc {
  max-width: 1024px;
  margin-top: var(--content-lg);
  margin-inline: auto;
  line-height: 2.25;
}

.musashino_business_list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  justify-content: space-between;
  gap: 24px;
  max-width: 1024px;
  margin-top: var(--content-lg);
  margin-inline: auto;
}

.musashino_business_item {
  max-width: 300px;
  padding: 48px 24px;
  background-color: var(--clr-sub-1);
}

.musashino_business_img {
  max-height: 100px;
}

.musashino_business_img img {
  width: auto;
  height: 100%;
  margin-inline: auto;
}

.musashino_business_item h3 {
  margin-top: var(--content-md);
  font-size: 24px;
  text-align: center;
}

.musashino_business_item p {
  margin-top: var(--content-md);
  line-height: 2.25;
}

.musashino_carousel_wrap {
  margin-top: var(--content-2xl);
  overflow-x: hidden;
}

.musashino_carousel {
  display: flex;
  gap: clamp(38px, calc((64 - 38)/(1280 - 768)*(100vw - 768px) + 38px), 64px);
  padding-right: clamp(38px, calc((64 - 38)/(1280 - 768)*(100vw - 768px) + 38px), 64px);
  width: max-content;
  height: clamp(218px, calc((364 - 218)/(1280 - 768)*(100vw - 768px) + 218px), 364px);
}

.musashino_carousel_img:nth-child(odd) {
  align-self: start;
  width: clamp(240px, calc((400 - 240)/(1280 - 768)*(100vw - 768px) + 240px), 400px);
  aspect-ratio: 4/3;
}

.musashino_carousel_img:nth-child(even) {
  align-self: end;
  width: clamp(216px, calc((360 - 216)/(1280 - 768)*(100vw - 768px) + 216px), 360px);
  aspect-ratio: 4/3;
}

.musashino_carousel_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: clamp(10px, calc((16 - 10)/(1280 - 768)*(100vw - 768px) + 10px), 16px);
}

@media (max-width: 1023px) {
  .musashino_illust_list {
    justify-content: center;
  }

  .musashino_business_list {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    justify-content: center;
  }
}

@media(max-width: 767px) {
  .musashino_introduction {
    --line-height: clamp(3rem, calc((3.25*16 - 3*16)/(767 - 375)*(100vw - 375px) + 3rem), 3.25rem);
    --padding: clamp(24px, calc((48 - 24)/(767 - 375)*(100vw - 375px) + 24px), 48px);
  }

  .musashino_address_wrap a {
    padding: 24px;
  }

  .musashino_business_item {
    padding: 32px 24px;
  }
}


/* ========== SDGs ========== */
.sdgs_desc {
  margin-top: var(--content-2xl);
  padding-inline: var(--content-side-space);
}

.sdgs_desc_body {
  max-width: 1024px;
  text-shadow: 0 0 3px #fff;
}

.sdgs_container {
  margin-top: var(--content-2xl);
  padding-inline: var(--content-side-space);
}

.sdgs_list {
  display: flex;
  flex-direction: column;
  gap: var(--content-4xl);
  max-width: 1200px;
  margin-inline: auto;
  counter-reset: sdgs 0;
}

.sdgs_item {
  position: relative;
  padding: 48px 24px 80px;
  border: 2px solid var(--clr-main-1);
  counter-increment: sdgs;
}

.sdgs_body_wrap {
  display: grid;
  grid-template-columns: minmax(440px, 520px) minmax(360px, 432px);
  gap: clamp(40px, calc((80 - 40)/(1280 - 1216)*(100vw - 1216px) + 40px), 80px);
  justify-content: center;
  align-items: center;
}

.sdgs_outline_wrap h2 {
  text-align: center;
}

.sdgs_outline_wrap h2::after {
  content: counter(sdgs);
}

.sdgs_goal {
  margin-top: var(--content-sm);
  text-align: center;
  line-height: 2;
}

.sdgs_icon_wrap {
  --gap: clamp(24px, calc((40 - 24)/(1280 - 1216)*(100vw - 1216px) + 24px), 40px);
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap);
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-top: var(--content-md);
}

.sdgs_icon_wrap:has(img:nth-child(n+4)) {
  justify-content: start;
}

.sdgs_icon_wrap img {
  width: min(calc((100% - var(--gap)*2)/3), 140px);
  aspect-ratio: 1/1;
}

.sdgs_outline_wrap h3 {
  margin-top: var(--content-md);
  font-weight: 400;
  text-align: center;
}

.sdgs_initiative {
  width: fit-content;
  margin-top: var(--content-sm);
  margin-inline: auto;
  line-height: 2;
}

.sdgs_image_container {
  container-type: inline-size;
  padding-right: min(calc(32/532*100vw), 32px);
  padding-bottom: min(calc(32/532*100vw), 32px);
}

.sdgs_image_wrap {
  --st: min(calc(32/532*100vw), 32px);
  max-width: 400px;
  aspect-ratio: 1618/1000;
}

.sdgs_image_wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sdgs_bg_txt_wrap {
  position: absolute;
  right: min(calc(32/768*100vw), 32px);
  bottom: -0.5em;
  padding-inline: 16px;
  background-color: #fff;
  font-size: min(calc(80/768*100vw), 80px);
}

.sdgs_bg_txt {
  background-color: var(--clr-main-1);
  background-clip: text;
  color: #fff;
  -webkit-text-stroke: min(calc(4/768*100vw), 4px) transparent;
}

.sdgs_bg_txt::after {
  content: counter(sdgs, decimal-leading-zero);
}

.sdgs_explanation {
  margin-top: var(--content-3xl);
  padding-inline: var(--content-side-space);
}

.sdgs_explanation_wrap {
  max-width: 1200px;
  margin-inline: auto;
  padding: 48px 88px;
  background-color: var(--clr-sub-1);
}

@media(max-width: 1023px) {
  .sdgs_item {
    padding: 32px 24px 80px;
  }

  .sdgs_body_wrap {
    grid-template-columns: 1fr;
  }

  .sdgs_image_wrap {
    margin-inline: auto;
  }

  .sdgs_explanation_wrap {
    padding: 48px;
  }
}

@media(max-width: 767px) {
  .sdgs_item {
    padding: 24px 24px min(calc(80/768*100vw), 80px);
  }

  .sdgs_explanation_wrap {
    padding: 32px 24px;
  }
}

@media(max-width: 499px) {
  .sdgs_icon_wrap {
    flex-direction: column;
  }
}


/* ========== 協力業者募集 ========== */
.cooperative_desc {
  margin-top: var(--content-2xl);
  padding-inline: var(--content-side-space);
}

.cooperative_desc h2 {
  text-align: center;
  text-shadow: 0 0 3px #fff;
}

.cooperative_desc_body {
  margin-top: var(--content-lg);
}

.cooperative_requirements {
  margin-top: var(--content-2xl);
  padding-inline: var(--content-side-space);
}

.cooperative_requirements_wrap {
  max-width: 1024px;
  margin-inline: auto;
  padding: 84px 48px;
  border-radius: 20px;
  background-color: var(--clr-sub-1);
}

.cooperative_requirements_list {
  max-width: 715px;
  margin-inline: auto;
  counter-reset: coop-count;
}

.cooperative_requirements_item:not(:first-child) {
  margin-top: var(--content-2xl);
}

.cooperative_requirements_item {
  text-align: center;
}

.cooperative_count::before {
  counter-increment: coop-count;
  content: counter(coop-count, decimal)". ";
}

.cooperative_requirements_table_wrap {
  margin-top: var(--content-lg);
}

.cooperative_requirements_table_wrap table {
  width: 100%;
  background-color: #fff;
  border-collapse: collapse;
}

.cooperative_requirements_table_wrap :where(th, td) {
  border: 1px solid var(--clr-border-1);
  vertical-align: middle;
  line-height: 2;
}

.cooperative_requirements_table_wrap th {
  padding: 24px 32px;
  font-weight: 400;
}

.cooperative_requirements_table_wrap td {
  padding: 24px 48px;
  text-align: start;
}

@media(max-width: 1023px) {
  .cooperative_requirements_wrap {
    padding: 48px 48px;
  }

  .cooperative_requirements_table_wrap th {
    padding: 20px;
  }

  .cooperative_requirements_table_wrap td {
    padding: 20px 28px;
  }
}

@media(max-width: 767px) {
  .cooperative_requirements_wrap {
    padding: 32px 24px;
  }

  .b_table :is(table, th, td) {
    display: block !important;
  }

  .b_table :is(tbody, tr) {
    display: contents !important;
  }

  .b_table table th {
    padding: 20px !important;
    text-align: start !important;
    border: none !important;
    border-top: 2px solid var(--clr-border-1) !important;
    font-weight: 700 !important;
  }

  .b_table table td {
    padding: 20px !important;
    border: none !important;
    border-top: 1px dotted var(--clr-main-1) !important;
  }

  .b_table table tr:last-child td {
    border-bottom: 2px solid var(--clr-border-1) !important;
  }
}

.cooperative_contact {
  margin-top: var(--content-2xl);
  padding-inline: var(--content-side-space);
}

.cooperative_contact h2 {
  text-align: center;
}

.cooperative_contact_desc {
  max-width: 1024px;
  margin-top: var(--content-lg);
  margin-inline: auto;
  text-align: center;
  line-height: 2.25;
}

.cooperative_contact_container {
  max-width: 1024px;
  margin-top: var(--content-lg);
  margin-inline: auto;
  padding: 48px;
  border-radius: 20px;
  background-color: var(--clr-sub-1);
}

.cooperative_contact_grid_wrap {
  display: flex;
  gap: 64px;
  justify-content: center;
}

.cooperative_contact_grid_wrap::before {
  content: '';
  order: 2;
  display: block;
  width: 2px;
  height: auto;
  background-color: var(--clr-main-1);
}

.cooperative_contact_tel,
.cooperative_contact_form {
  padding-block: 32px;
}

.cooperative_contact_tel {
  order: 1;
}

.cooperative_contact_form {
  order: 3
}

.detail_tel,
.detail_form {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
  font-family: var(--ff-std);
  font-size: var(--px-5xl);
  font-weight: 700;
}

.detail_form::before,
.detail_tel::before {
  content: "";
  display: block;
  width: 64px;
  aspect-ratio: 1/1;
  background-color: var(--clr-main-1);
}

.detail_tel::before {
  mask: url(../img/icon_tel.svg) center / contain no-repeat;
}

.detail_form::before {
  mask: url(../img/icon_form.svg) center / contain no-repeat;
}

.tel_link {
  display: grid;
  place-content: center;
  min-width: clamp(238.16px, calc(360/1280*100vw), 360px);
  min-height: clamp(75px, calc(100/1280*100vw), 100px);
  margin-top: var(--content-lg);
  padding: 16px;
  background-color: #fff;
  font-size: var(--px-xl);
  text-decoration: none;
}

.cooperative_contact_tel p {
  margin-top: 24px;
  text-align: center;
  line-height: 1.5;
}

.cooperative_contact .btn_link_cta {
  margin-top: var(--content-lg);
  box-shadow: var(--shadow-param);
}

@media (max-width: 1023px) {
  .cooperative_contact_container {
    padding: 48px;
  }

  .cooperative_contact_grid_wrap {
    gap: 32px;
    flex-direction: column;
    align-items: center;
  }

  .cooperative_contact_grid_wrap::before {
    width: 90%;
    height: 2px;
  }

  .cooperative_contact_tel,
  .cooperative_contact_form {
    padding-block: 0;
  }
}

@media (max-width: 767px) {
  .cooperative_contact_container {
    padding: 32px 24px;
  }

  .cooperative_contact_grid_wrap::before {
    width: 95%;
  }

  .detail_tel {
    font-size: var(--px-4xl);
  }

  .detail_tel::before {
    width: 48px;
  }

  .detail_form {
    font-size: var(--px-4xl);
  }

  .detail_form::before {
    width: 48px;
  }
}

@media (min-width: 521px) {
  .cooperative_contact .btn_link_cta {
    min-width: unset;
    width: clamp(300px, calc((360 - 300)/(1920 - 1024)*(100vw - 1024px) + 300px), 360px);
  }

  .cooperative_contact .btn_link_cta a {
    min-width: unset;
    width: clamp(300px, calc((360 - 300)/(1920 - 1024)*(100vw - 1024px) + 300px), 360px);
  }

  .cooperative_contact .btn_link_cta a {
    justify-content: center;
    padding-inline: 16px;
  }

  .cooperative_contact .btn_link::after {
    width: clamp(80px, calc((90 - 80)/(1920 - 1024)*(100vw - 1024px) + 80px), 90px);
  }
}

@media (max-width: 520px) {
  .tel_link {
    min-width: 0;
    max-width: calc(100vw - 48px - min(calc(40/520*100vw), 40px));
    font-size: var(--px-lg);
  }
}


/* ========== リンク ========== */
.link_desc {
  margin-top: var(--content-2xl);
  padding-inline: auto;
}

.link_desc_body {
  max-width: 1024px;
  margin-inline: auto;
  text-shadow: 0 0 3px #fff;
}

.link_list_wrap {
  margin-top: var(--content-2xl);
  padding-inline: var(--content-side-space);
}

.link_list_wrap h2 {
  text-align: center;
}

.link_list_wrap table {
  display: grid;
  grid-template-columns: 1fr auto;
  justify-content: space-between;
  width: min(960px, 100%);
  margin-top: var(--content-lg);
  margin-inline: auto;
  overflow-wrap: break-word;
  line-height: 1.25;
}

.link_list_wrap table :where(tbody, tr) {
  display: contents;
}

.link_list_wrap table :where(th, td) {
  border-top: 1px solid var(--clr-border-1);
  padding: 28px 16px;
  font-weight: 400;
  text-align: start;
}

.link_list_wrap table tr:last-child :where(th, td) {
  border-bottom: 1px solid var(--clr-border-1);
}

.link_list_wrap table a::after {
  display: none;
}

@media(max-width: 767px) {
  .link_list_wrap table tr:last-child :where(th, td):first-child {
    border-bottom: none;
  }
}


/* ========== お知らせ（記事一覧） ========== */
.news-archive_category {
  margin-top: var(--content-2xl);
  overflow-x: auto;
}

.news-archive_category_list {
  display: flex;
  gap: 24px;
  justify-content: safe center;
  width: max-content;
  margin-inline: auto;
  padding: 8px 24px;
}

.news-archive_item a {
  display: block;
  width: fit-content;
  border: 1px solid var(--clr-border-1);
  padding: 16px 24px;
  background-color: #fff;
  text-decoration: none;
  transition: opacity 0.25s;
}

.news-archive_item.current-cat a {
  pointer-events: none;
  background-color: var(--clr-main-1);
  color: #fff;
  border: 1px solid var(--clr-main-1);
}

@media(any-hover: hover) {
  .news-archive_item:not(.current-cat) a:hover {
    opacity: 0.6;
  }
}

.news-archive_article {
  position: relative;
  z-index: 2;
  margin-top: var(--content-lg);
  padding-inline: var(--content-side-space);
}

.news-archive_article_list {
  display: table;
  width: min(1024px, 100%);
  margin-inline: auto;
  border-collapse: collapse;
  border-bottom: 1px solid var(--clr-border-2);
}

.news-archive_article_item {
  display: table-row;
  height: calc(2em + 48px);
}

.news-archive_article_item :where(.news-time_wrap, .news-category_wrap, .news-anchor_wrap) {
  display: table-cell;
  border-top: 1px solid var(--clr-border-2);
  vertical-align: middle;
}

.news-archive_article_item :where(.news-time_wrap, .news-category_wrap) {
  width: 1%;
  white-space: nowrap;
}

.news-archive_article_item .news-time_wrap {
  padding-block: 8px;
  padding-inline: 28px 0;
}

.news-archive_article_item time {
  font-size: var(--px-sm);
}

.news-archive_article_item .news-category_wrap {
  padding-block: 8px;
  padding-left: 32px;
}

.news-archive_article_item .news-category {
  width: fit-content;
  padding: 4px 8px;
  border: 1px solid var(--clr-txt);
  border-radius: 16px 0;
  font-size: var(--px-sm);
}

.news-archive_article_item .news-anchor_wrap {
  max-width: 0;
  padding-block: 8px;
  padding-inline: 32px 28px;
}

.news-archive_article_item a {
  display: block;
  line-height: 1.5;
  text-decoration: none;
  transition: color 0.25s;
}

@media(any-hover:hover) {
  .news-archive_article_item :where(a:hover, a:focus) {
    color: var(--clr-border-1);
  }
}

.news-archive_pagination {
  margin-top: var(--content-2xl);
}

.news-archive_pagination ul {
  display: flex;
  gap: 32px;
  justify-content: center;
}

.news-archive_pagination li > * {
  display: grid;
  place-content: center;
  width: 44px;
  height: 44px;
}

.news-archive_pagination :where(a, .current) {
  border: 1px solid var(--clr-border-1);
}

.news-archive_pagination a {
  text-decoration: none;
  transition: opacity 0.25s;
}

@media(any-hover:hover) {
  .news-archive_pagination :where(a:hover, a:focus) {
    opacity: 0.6;
  }
}

.news-archive_pagination .current {
  border-color: var(--clr-main-1);
  background-color: var(--clr-main-1);
  color: #fff;
}

.news-archive_pagination li:has(.prev, .next) {
  display: none;
}

@media(max-width: 1023px) {
  .news-archive_article_list {
    display: block;
  }

  .news-archive_article_item {
    display: grid;
    grid-template-columns: auto 1fr;
    row-gap: 10px;
    height: auto;
    padding: 24px;
    border-top: 1px solid var(--clr-border-2);
  }

  .news-archive_article_item :where(.news-time_wrap, .news-category_wrap, .news-anchor_wrap) {
    display: block;
    border: none;
  }

  .news-archive_article_item :where(.news-time_wrap, .news-category_wrap) {
    width: auto;
  }

  .news-archive_article_item .news-time_wrap {
    padding-inline: 0;
  }

  .news-archive_article_item .news-category_wrap {
    padding-left: 24px;
  }

  .news-archive_article_item .news-anchor_wrap {
    grid-column: span 2;
    max-width: unset;
    padding-inline: 0;
  }

  .news-archive_article_item a {
    line-height: 1.5;
  }
}

@media(max-width: 767px) {
  .news-archive_pagination ul {
    gap: 24px;
  }
}

@media(max-width: 499px) {
  .news-archive_article_item {
    grid-template-columns: 1fr;
    row-gap: 0;
    padding: 16px;
  }

  .news-archive_article_item .news-time_wrap {
    order: 2;
    margin-top: 0;
  }

  .news-archive_article_item .news-category_wrap {
    order: 1;
    padding-left: 0;
  }

  .news-archive_article_item .news-anchor_wrap {
    order: 3;
    grid-column: unset;
    padding-block: 0;
  }

  .news-archive_pagination li {
    display: none;
  }

  .news-archive_pagination :is(li:has(.current, .prev, .next)) {
    display: block;
  }
}


/* ========== お知らせ詳細(コンテンツ以外) ========== */
.news-detail_article_header {
  margin-top: var(--content-2xl);
  padding-inline: var(--content-side-space);
}

.news-detail_article_header_inner {
  max-width: 1024px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
}

.news-detail_article_header_inner::before {
  content: '';
  order: 2;
  display: block;
  width: 100%;
  height: 2px;
  margin-top: calc(16px - var(--px-2xl)*0.125);
  background-color: var(--clr-main-1);
}

.news-detail_article_header h2 {
  order: 1;
  width: fit-content;
  margin-inline: auto;
  font-family: var(--ff-std);
  font-size: var(--px-2xl);
  line-height: 1.25;
}

.news-detail_article_info {
  order: 3;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: end;
  align-items: center;
  margin-top: 8px;
  margin-right: 8px;
}

.news-detail_article_info .news-category {
  width: fit-content;
  padding: 4px 8px;
  border: 1px solid var(--clr-txt);
  border-radius: 16px 0;
  font-size: var(--px-sm);
}

.news-detail_article_info time {
  font-size: var(--px-sm);
}

.news-detail_pagination {
  margin-top: var(--content-2xl);
  padding-inline: var(--content-side-space);
}

.news-detail_pagination_wrap {
  max-width: 1024px;
  margin-inline: auto;
  padding-top: var(--content-md);
  border-top: 2px solid var(--clr-main-1);
}

.news-detail_pagination_list {
  --rg: clamp(8px, calc(40/767*100vw), 40px);
  --cg: clamp(16px, calc(56/767*100vw), 56px);
  display: flex;
  flex-wrap: wrap;
  gap: var(--rg) var(--cg);
  justify-content: center;
  align-items: center;
  margin-inline: auto;
}

.news-detail_pagination_link a {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  width: clamp(145px, calc(175/767*100vw), 175px);
  height: clamp(50px, calc(60/767*100vw), 60px);
  border: 1px solid var(--clr-border-1);
  text-decoration: none;
}


.news-detail_pagination_list .next a::before,
.news-detail_pagination_list .prev a::after {
  content: '';
  display: block;
  width: 1em;
  height: 1em;
  mask: url(../img/icon_arrow.svg)center/contain no-repeat;
  background-color: var(--clr-main-1);
}


.news-detail_pagination_list .next a::before {
  rotate: 180deg;
}

@media(max-width: 767px) {
  .news-detail_pagination_list {
    max-width: 450px;
  }

  .news-detail_pagination_list .next {
    order: 1;
  }

  .news-detail_pagination_list .archive {
    order: 3;
  }

  .news-detail_pagination_list .prev {
    order: 2;
  }
}

@media(max-width: 439px) {
  .news-detail_pagination_list {
    flex-direction: column;
    margin-inline: 0;
  }

  .news-detail_pagination_link {
    width: 100%;
    margin-inline: 0;
  }

  .news-detail_pagination_link a {
    width: 100%;
  }
}


/* ========== ブログ ========== */
.blog-archive_container {
  margin-top: var(--content-2xl);
  padding-inline: var(--content-side-space);
}

.blog-archive_container_inner {
  display: flex;
  gap: 40px;
  justify-content: space-between;
  max-width: 1360px;
  margin-inline: auto;
}

.blog-archive_article {
  max-width: 1120px;
}

.blog-archive_article_list {
  display: flex;
  flex-wrap: wrap;
  justify-content: start;
  gap: 64px 24px;
}

.blog-archive_article_item {
  width: min(320px, calc((100% - 48px)/3));
}

.blog-panel a {
  text-decoration: none;
  transition: opacity 0.25s;
}

@media(any-hover: hover) {
  .blog-panel :where(a:hover, a:focus) {
    opacity: 0.6;
  }
}

.blog-panel_thumbnail {
  width: 100%;
  aspect-ratio: 191/100;
}

.blog-panel_thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-panel_article_ttl {
  margin-top: 16px;
  line-height: 1.75;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
}

.blog-panel_article-dates {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 16px;
  color: var(--clr-border-1);
  font-size: var(--px-sm);
}

.published_date,
.updated_date {
  display: flex;
  gap: 8px;
}

.published_date::before,
.updated_date::before {
  content: '';
  display: block;
  width: 1em;
  height: 1em;
  mask: center/contain no-repeat;
  background-color: var(--clr-border-1);
}

.published_date::before {
  mask-image: url(../img/icon_published.svg);
}

.updated_date::before {
  mask-image: url(../img/icon_updeted.svg);
}

.blog-archive_archive {
  flex: 0 0 200px;
}

.blog-archive_archive h2 {
  font-size: var(--px-4xl);
  font-weight: 400;
  text-align: center;
}

.blog-archive_archive_list {
  margin-top: 44px;
  border-bottom: 1px solid var(--clr-border-1);
}

.blog-archive_archive_item {
  border-top: 1px solid var(--clr-border-1);
}

.blog-archive_archive_item a {
  display: block;
  padding-block: 16px;
  text-decoration: none;
  transition: opacity 0.25s;
}

@media(any-hover: hover) {
  .blog-archive_archive_item :where(a:hover, a:focus) {
    opacity: 0.6;
  }
}

.blog-archive_past_posts_link {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 320px;
  margin-top: 32px;
  margin-inline: auto;
  padding: 14px 16px;
  background: var(--gradient-main) var(--clr-main-1);
  font-size: var(--px-sm);
  text-decoration: none;
  line-height: 1.75;
  color: var(--clr-main-1);
  transition: opacity 0.25s;
}

@media(any-hover: hover) {
  .blog-archive_past_posts_link:where(:hover, :focus) {
    opacity: 0.6;
  }
}

.blog-archive_past_posts_link::before {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  z-index: -1;
  display: block;
  width: calc(100% - 4px);
  height: calc(100% - 4px);
  background-color: #fff;
}

.blog-archive_past_posts_link::after {
  content: '';
  width: 16px;
  height: 16px;
  mask: url(../img/icon_external.svg) center/contain no-repeat;
  background-color: var(--clr-main-1);
}

.blog-archive_pagination {
  margin-top: var(--content-2xl);
}

.blog-archive_pagination ul {
  display: flex;
  gap: 32px;
  justify-content: center;
}

.blog-archive_pagination li > * {
  display: grid;
  place-content: center;
  width: 44px;
  height: 44px;
}

.blog-archive_pagination :where(a, .current) {
  border: 1px solid var(--clr-border-1);
  border-radius: 8px;
}

.blog-archive_pagination a {
  text-decoration: none;
  transition: opacity 0.25s;
}

@media(any-hover:hover) {
  .blog-archive_pagination :where(a:hover, a:focus) {
    opacity: 0.6;
  }
}

.blog-archive_pagination .current {
  border-color: var(--clr-main-1);
  background-color: var(--clr-main-1);
  color: #fff;
}

.blog-archive_pagination li:has(.prev, .next) {
  display: none;
}

@media(max-width: 1120px) {
  .blog-archive_article {
    max-width: 720px;
  }

  .blog-archive_article_item {
    width: min(320px, calc((100% - 24px)/2));
  }
}

@media(max-width: 861px) {
  .blog-archive_container_inner {
    flex-direction: column;
  }
}

@media(max-width: 767px) {
  .blog-archive_pagination ul {
    gap: 24px;
  }
}

@media(max-width: 542px) {
  .blog-archive_article_list {
    justify-content: center;
    row-gap: 48px;
  }

  .blog-archive_article_item {
    width: min(320px, 100%);
  }
}

@media(max-width: 499px) {
  .blog-archive_pagination li {
    display: none;
  }

  .blog-archive_pagination :is(li:has(.current, .prev, .next)) {
    display: block;
  }
}


/* ========== ブログ詳細(コンテンツ以外) ========== */
.blog-detail_article_header {
  max-width: 960px;
  margin-top: var(--content-2xl);
  margin-inline: auto;
  padding-inline: var(--content-side-space);
}

.blog-detail_article_header h2 {
  font-family: var(--ff-std);
  font-size: var(--px-4xl);
  line-height: 1.5;
}

.blog-detail_article_info {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin-top: 8px;
  font-size: var(--px-sm);
  color: var(--clr-border-1);
}

.blog-detail_thumbnail {
  width: 100%;
  aspect-ratio: 191/100;
  margin-top: 40px;
}

.blog-detail_thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-detail_related {
  margin-top: var(--content-2xl);
  padding-inline: var(--content-side-space);
}

.blog-detail_related-wrap {
  max-width: 1280px;
  margin-inline: auto;
  padding: 48px 48px 80px;
  border-radius: 8px;
  background-color: var(--clr-sub-1);
}

.blog-detail_related-wrap h2 {
  text-align: center;
  font-size: var(--px-4xl);
  font-weight: 400;
}

.blog-detail_related_list {
  display: flex;
  gap: 24px;
  justify-content: space-between;
  max-width: 1088px;
  margin-top: var(--content-lg);
  margin-inline: auto;
}

.blog-detail_related_item {
  max-width: 320px;
}

.blog-detail_pagination {
  margin-top: var(--content-2xl);
  padding-inline: var(--content-side-space);
}

.blog-detail_pagination_wrap {
  max-width: 1024px;
  margin-inline: auto;
}

.blog-detail_pagination_list {
  --rg: clamp(8px, calc(40/767*100vw), 40px);
  --cg: clamp(16px, calc(56/767*100vw), 56px);
  display: flex;
  flex-wrap: wrap;
  gap: var(--rg) var(--cg);
  justify-content: center;
  align-items: center;
  margin-inline: auto;
}

.blog-detail_pagination_link a {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  width: clamp(145px, calc(175/767*100vw), 175px);
  height: clamp(50px, calc(60/767*100vw), 60px);
  border: 1px solid var(--clr-border-1);
  border-radius: 8px;
  text-decoration: none;
}


.blog-detail_pagination_list .next a::before,
.blog-detail_pagination_list .prev a::after {
  content: '';
  display: block;
  width: 1em;
  height: 1em;
  mask: url(../img/icon_arrow.svg)center/contain no-repeat;
  background-color: var(--clr-main-2);
}


.blog-detail_pagination_list .next a::before {
  rotate: 180deg;
}

@media(max-width: 1023px) {
  .blog-detail_related-wrap {
    padding: 48px 24px 48px;
  }
}

@media(max-width: 767px) {
  .blog-detail_related-wrap {
    padding: 32px 24px;
  }

  .blog-detail_related_list {
    flex-direction: column;
    gap: 48px;
    align-items: center;
  }

  .blog-detail_pagination_list {
    max-width: 470px;
    gap: 0;
    margin-inline: auto;
  }

  .blog-detail_pagination_link {
    margin: calc(var(--rg)/2) calc(var(--cg)/2);
  }

  .blog-detail_pagination_list .next {
    order: 1;
  }

  .blog-detail_pagination_list .archive {
    order: 3;
  }

  .blog-detail_pagination_list .prev {
    order: 2;
  }
}

@media(max-width: 439px) {
  .blog-detail_pagination_list {
    flex-direction: column;
    margin-inline: 0;
  }

  .blog-detail_pagination_link {
    width: 100%;
    margin-inline: 0;
  }

  .blog-detail_pagination_link a {
    width: 100%;
  }
}


/* ========== お問合せの前に ========== */
.confirm {
  margin-top: var(--content-2xl);
  padding-inline: var(--content-side-space);
}

.confirm_body {
  max-width: 1024px;
  margin-inline: auto;
}

.confirm_body h2 {
  text-align: center;
  text-shadow: 0 0 3px #fff;
}

.confirm_body h2 + p {
  margin-top: var(--content-lg);
  text-shadow: 0 0 3px #fff;
}

.confirm_body p {
  width: fit-content;
  margin-top: 32px;
  margin-inline: auto;
  line-height: 2.25;
}

.confirm_body ul {
  width: fit-content;
  margin-top: 32px;
  margin-inline: auto;
  padding: 48px 48px 48px calc(1.5em + 48px);
  border-radius: 12px;
  background-color: var(--clr-sub-1);
}

.confirm_body li {
  font-size: var(--px-lg);
  line-height: 1.25;
}

.confirm_body ul > li + li {
  margin-top: 1em;
}

.check {
  margin-top: 64px;
  padding-inline: var(--content-side-space);
}

.check label {
  display: flex;
  width: fit-content;
  margin-inline: auto;
  padding: 24px;
  border: 1px solid var(--clr-border-2);
  border-radius: 8px;
  background-color: #fff;
  font-size: var(--px-lg);
  line-height: 1.5;
  cursor: pointer;
}

.check input {
  flex-shrink: 0;
  width: 1em;
  height: 1em;
  margin: 0.25em 1em 0 0;
  vertical-align: text-bottom;
}

.check .annot {
  margin-top: 8px;
  line-height: 1.25;
  text-align: center;
}

.check a {
  display: block;
  width: fit-content;
  margin-top: 64px;
  margin-inline: auto;
  padding: 24px;
  border: 2px solid var(--clr-border-2);
  border-radius: 6px;
  background-color: #f0f0f0;
  color: #666;
  text-decoration: none;
  pointer-events: none;
  transition-duration: 0.25s;
  transition-property: background-color, border-color, color, opacity;
}

.check:has(input:checked) a {
  pointer-events: unset;
  background-color: #fff;
  color: var(--clr-txt);
  border-color: var(--clr-main-1);
}

.to_home {
  margin-top: 48px;
  text-align: center;
  transition: opacity 0.25s;
}

@media(any-hover: hover) {
  .check:has(input:checked) a:hover {
    opacity: 0.6;
  }

  .to_home:hover {
    opacity: 0.6;
  }
}

@media(max-width: 1023px) {
  .confirm_body ul {
    padding: 32px 32px 32px calc(1.5em + 32px);
  }

}

@media(max-width: 767px) {
  .confirm_body ul {
    padding: 24px 24px 24px calc(1em + 24px);
  }

  .check {
    margin-top: 32px;
  }

  .check a {
    margin-top: 32px;
  }
}


/* ========== お問合せ ========== */
.contact_tel,
.contact_form {
  margin-top: var(--content-2xl);
  padding-inline: var(--content-side-space);
}

:where(.contact_tel, .contact_form) h2 {
  text-align: center;
  text-shadow: 0 0 3px #fff;
}

.contact_tel_body_wrap {
  max-width: 1024px;
  margin-top: var(--content-lg);
  margin-inline: auto;
  padding: 48px 24px;
  background-color: var(--clr-sub-1);
}

.contact_tel_body_wrap * {
  width: fit-content;
  margin-inline: auto;
}

.contact_tel_body_wrap > * + * {
  margin-top: 32px;
}

.contact_tel_body_wrap p {
  line-height: 2.25;
}

.contact_tel_annot {
  text-align: center;
}

.contact_form > p {
  width: fit-content;
  margin-top: var(--content-lg);
  margin-inline: auto;
  line-height: 2.25;
}

.contact_form > p > strong {
  color: var(--clr-accent-1);
  font-size: var(--px-lg);
  font-weight: 400;
}

.contact_form_container {
  max-width: 1024px;
  margin-top: var(--content-lg);
  margin-inline: auto;
  padding: 48px 64px;
  background-color: var(--clr-sub-1);
}

.contact_form_container *:focus-visible {
  outline-color: #00507d;
}

.contact_label:not(:first-child) {
  margin-top: 36px;
}

.contact_label:has(+.contact_input [aria-required=true]) label::after {
  content: '必須';
  display: inline-block;
  padding: 4px 8px;
  margin-left: 1.5em;
  background-color: var(--clr-accent-1);
  font-size: var(--px-sm);
  color: #fff;
  translate: 0 -1px;
}

.contact_input {
  margin-top: 8px;
}

.contact_input:has(input[type=radio]) {
  margin-top: 16px;
}

input[type=radio] {
  appearance: none;
  position: relative;
  width: 1em;
  height: 1em;
  border: 1px solid var(--clr-border-2);
  border-radius: 50%;
  margin: 0;
  vertical-align: text-bottom;
  cursor: pointer;
}

input[type=radio]::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  z-index: 2;
  display: block;
  width: 0.5em;
  height: 0.5em;
  border-radius: 50%;
}

input[type=radio]:checked::before {
  background-color: #00507d;
}

.wpcf7-radio .wpcf7-list-item.first {
  margin-left: 0;
}

.wpcf7-radio .wpcf7-list-item.last {
  margin-left: clamp(16px, calc(32/767*100vw), 32px);
}

input[type=text],
input[type=tel],
input[type=email] {
  width: 100%;
  padding-inline: 0.5em;
  border: 1px solid var(--clr-border-2);
  border-radius: 4px;
  line-height: 2;
}

.postal1 {
  width: min(6em, calc((100% - 3ex)/7*3)) !important;
}

.postal2 {
  width: min(8em, calc((100% - 3ex)/7*4)) !important;
}

.postal-search {
  width: fit-content;
  margin-left: 24px;
  padding: 8px 12px;
  border: 1px solid var(--clr-main-2);
  border-radius: 6px;
  background-color: #fff;
  color: var(--clr-main-1);
  cursor: pointer;
}

input[type=tel] {
  width: min(15em, 100%);
}

select {
  appearance: none;
  width: 100%;
  padding-inline: 0.75em;
  border: 1px solid var(--clr-border-2);
  border-radius: 4px;
  line-height: 2;
}

.select_wrap {
  position: relative;
  width: min(322px, 100%);
}

.select_wrap::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 12px;
  translate: 0 -50%;
  display: block;
  background-color: #000;
  width: 0.75em;
  height: calc(tan(60deg) * 0.75em / 2);
  clip-path: polygon(0% 0%, 100% 0%, 50% 100%);
}

textarea {
  width: 100%;
  height: 14em;
  resize: none;
  padding: 0.5em;
  border: 1px solid var(--clr-border-2);
  border-radius: 4px;
  line-height: 1.25;
}

.contact_form_container .annot {
  margin-top: 8px;
  font-size: var(--px-sm);
}

.contact_confirm_wrap {
  margin-top: var(--content-lg);
}

.contact_desc {
  width: fit-content;
  margin-inline: auto;
  line-height: 2.25;
}

.accept_box {
  display: block;
  width: fit-content;
  padding: 24px 36px;
  margin-top: 32px;
  margin-inline: auto;
  border: 1px solid var(--clr-border-2);
  border-radius: 4px;
  background-color: #fff;
  cursor: pointer;
}

.accept_box .wpcf7-list-item {
  margin: 0;
}

.accept_box :where(.wpcf7-list-item-label::before, .wpcf7-list-item-label::after) {
  display: none;
}

.accept_box input {
  margin: 0 28px 0 0;
  width: 1em;
  height: 1em;
  vertical-align: text-bottom;
  cursor: pointer;
}

.contact_alert {
  width: fit-content;
  margin-top: 32px;
  margin-inline: auto;
  line-height: 1.5;
}

input[type=submit] {
  display: block;
  width: min(266px, 90%);
  margin-top: 72px;
  margin-inline: auto;
  padding: min(calc(36/392*100vw), 36px);
  border: 2px solid var(--clr-border-1);
  border-radius: 8px;
  background-color: #f0f0f0;
  color: #666;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.05em;
  transition-duration: 0.25s;
  transition-property: background-color, border-color, color, opacity;
}

form:has(.accept:checked) input[type=submit] {
  background-color: #fff;
  border-color: var(--clr-main-1);
  color: var(--clr-txt);
  cursor: pointer;
}

@media(any-hover: hover) {
  form:has(.accept:checked) input[type=submit]:hover {
    opacity: 0.6;
  }
}

@media(max-width: 1023px) {
  input[type=submit] {
    margin-top: 64px;
  }
}

@media(max-width: 767px) {
  .contact_tel_body_wrap {
    padding: 32px 24px;
  }

  .contact_form_container {
    padding: 24px;
  }

  input[type=submit] {
    margin-top: 48px;
  }
}

@media(max-width: 499px) {
  .postal-search {
    display: block;
    margin-left: 0;
    margin-top: 1em;
  }
}


/* ========== 送信が完了しました ========== */
.thanks_to_home {
  margin-top: var(--content-lg);
  padding-inline: var(--content-side-space);
}

.thanks_to_home a {
  display: block;
  width: fit-content;
  margin-inline: auto;
  padding: 32px 48px;
  border: 2px solid var(--clr-main-1);
  border-radius: 4px;
  text-decoration: none;
  transition: 0.25s opacity;
}

@media(any-hover:hover) {
  .thanks_to_home a:hover {
    opacity: 0.6;
  }
}


/* ========== エディタ ========== */

.editor > *:first-child {
  margin-top: 0 !important;
}

.editor :where(h1, h2, h3, h4, h5, h6) {
  margin-top: var(--edit-xl);
  line-height: 1.5;
}

.editor p {
  margin-top: var(--content-sm);
  line-height: 2.25;
}

.editor a[target=_blank]::after {
  margin-right: 0.5em;
}

.editor figure {
  margin-top: var(--content-sm);
}

.editor hr {
  margin-top: var(--edit-xl);
}

.editor hr + * {
  margin-top: var(--edit-xl);
}

.editor :where(ul, ol) {
  margin-top: var(--content-sm);
}

.editor li {
  line-height: 2.25;
}

.editor li :where(ul, ol) {
  margin-top: 0 !important;
}

.editor .wp-block-table :where(th, td) {
  padding-block: 1em;
  line-height: 2;
}

.editor table {
  margin-top: var(--content-sm);
}

.editor figure table {
  margin-top: 0;
}

.editor table :where(th, td) {
  line-height: 2;
}

.editor table:not([cellpadding]) :where(th, td) {
  padding: 1em;
  line-height: 2;
}

.editor blockquote {
  border-radius: 8px;
  padding: 1em;
}

.editor blockquote > :first-child {
  margin-top: 0;
}

.article-editor :is(h1, h2, h3, h4, h5, h6) {
  font-family: var(--ff-std);
}

.article-editor :is(p, figure, ul, ol) {
  margin-top: var(--edit-md);
}

.article-editor hr {
  margin-top: var(--edit-xl);
}

.article-editor hr + * {
  margin-top: var(--edit-xl);
}

.anniv-editor :is(h1, h2, h3, h4, h5, h6) {
  margin-top: var(--content-2xl);
  font-size: var(--px-5xl);
}

.anniv-editor p {
  margin-top: var(--content-md);
  line-height: 3;
  letter-spacing: 0.015em;
}

.anniv-editor :is(figure, ul, ol, blockquote) {
  margin-top: var(--content-md);
}

.anniv-editor p:has(img:first-child) {
  margin-top: calc(var(--content-lg));
}

.anniv-editor li {
  line-height: 2.5;
}

.anniv-editor hr {
  margin-top: var(--edit-xl);
}

.anniv-editor hr + * {
  margin-top: var(--edit-xl);
}

.anniv-editor table {
  margin-top: var(--content-md);
}

.anniv-editor figure table {
  margin-top: 0;
}

.sdgs-editor :is(h1, h2, h3, h4, h5, h6) {
  margin-top: var(--content-2xl);
}

.sdgs-editor :is(p, figure, ul, ol, blockquote) {
  margin-top: var(--content-lg);
}

.sdgs-editor img {
  margin-top: var(--content-2xl);
}

.sdgs-editor hr {
  margin-top: var(--content-lg);
}

.sdgs-editor hr + * {
  margin-top: var(--content-lg);
}

.md-content {
  max-width: 1024px;
  margin-top: var(--content-2xl);
  margin-inline: auto;
  padding-inline: var(--content-side-space);
}

.sm-content {
  max-width: 960px;
  margin-top: var(--content-xl);
  margin-inline: auto;
  padding-inline: var(--content-side-space);
}


/* ========== 404 Not Found ========== */
.not-found {
  margin-top: var(--content-2xl);
  padding-inline: var(--content-side-space);
}

.not-found_body {
  width: fit-content;
  max-width: 1024px;
  margin-inline: auto;
  line-height: 2.5;
}

.not-found_btn_wrap {
  margin-top: var(--content-2xl);
  padding-inline: var(--content-side-space);
}

.not-found_btn_wrap a {
  display: grid;
  place-content: center;
  width: fit-content;
  margin-inline: auto;
  padding: 24px;
  border: 2px solid var(--clr-main-1);
  border-radius: 6px;
  transition: 0.25s opacity;
  text-decoration: none;
}

@media(any-hover: hover) {
  .not-found_btn_wrap a:hover {
    opacity: 0.6;
  }
}