@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;700&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css?ver=6.6.1');

.header *,
.humberger-menu *,
.footer *,
.copyright *,
.navigation * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
.header,
.humberger-menu,
.footer,
.copyright,
.navigation {
  font-family: var(--family-noto);
  font-size: unset;
  font-weight: unset;
  line-height: normal;
  box-sizing: border-box;
}
.navigation[aria-modal]::before {
  display: none;
}

:where(img) {
  display: block;
  max-width: 100%;
  max-height: 100%;
}

:where(ul, ol) {
  list-style: none;
}

:root {
  --main-width: 1200px;
  --navigation-width: 850px;
  --content-spacing: clamp(1.25rem, 24vw, max(calc(50vw - var(--main-width) / 2), 12px));
  --navigation-spacing: clamp(1.25rem, 24vw, max(calc(50vw - var(--navigation-width) / 2), 12px));

  --base-color: #fff;
  --contents-bg-color: #fff;
  --text-contrast-color: #fff;
  --main-color: #318ccc;
  --sub-color: #309d71;
  --text-color: #2e2929;
  --text-point-color: #31739a;
  --price-color: #d14f3e;
  --link-color: #427c95;
  --header-color: #fff;
  --footer-color: #f3f9fc;
  --navigation-bg-color: #000;
  --navigation-text-color: #fff;
  --navigation-border-color: #555;
  --breadcrumb-bg-color: #f5f5f5;
  --breadcrumb-text-color: #333;
  --breadcrumb-link-color: #427c95;
  --breadcrumb-sep-color: #e2e2e2;
  --border-color: #e6e6e6;
  --deco1-color: #f3f9fc;
  --deco2-color: #f0f7e9;
  --deco3-color: #f4f1e9;
  --deco4-color: #fff;
  --deco5-color: #fff;
  --gradation-color: linear-gradient(90deg, var(--main-color) 0%, var(--sub-color) 100%);

  --new-color: #dfc243;
  --required-color: #d83a3a;
  --bg-color: #fff;
  --bg-gray-color: #bbb;
  --bg-breadcrumb-color: #f5f5f5;
  --border-scube-color: #e6e6e6;
  --border-content-color: #e2e2e2;
  --family-noto: 'Noto Sans JP', sans-serif;
  --weight-bold: 700;
  --weight-regular: 400;
  --line-height-sm: 1;
  --line-height-md: 1.5;
  --line-height-lg: 1.8;
  --line-height-xl: 2;
  --text-xxs: 0.625rem;
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-md: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.5rem;
  --text-xxl: 1.875rem;
  --text-xxxl: 2.25rem;
  --text-4xl: 2.75rem;
  --text-price: 1.25rem;
  --p-sm: 0.25rem;
  --p-md: 0.625rem;
  --p-lg: 1.25rem;
  --p-xl: 2rem;
  --p-xxl: 2.5rem;
  --p-xxxl: 3.5rem;
  --gap-sm: 0.25rem;
  --gap-md: 0.625rem;
  --gap-lg: 1.25rem;
  --gap-xl: 2rem;
  --gap-xxl: 2.5rem;
  --gap-xxxl: 3.5rem;
  --gap-xxxxl: 4.5rem;
  --z-index-overlay: 200;
  --z-index-section: 10;
  --swiper-pagination-color: #888;
  --swiper-pagination-bullet-width: 8px;
  --swiper-pagination-bullet-height: 8px;
  --swiper-pagination-bullet-horizontal-gap: 8px;
}

::-webkit-scrollbar {
  width: 8px;
  height: 4px;
  background: var(--sub-color);
}

::-webkit-scrollbar-thumb {
  background: var(--main-color);
}

@-moz-document url-prefix() {
  * {
    scrollbar-width: thin;
    scrollbar-color: var(--main-color) var(--sub-color);
  }
}

body {
  background-color: var(--base-color);
}

html {
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--text-color);
  scroll-padding-top: 70px;
}

/*-------------------------
  header 親テーマ
  wp-formatline-theme global.css
-------------------------*/
.header {
  width: 100%;
  height: 60px;
  padding: var(--p-md) var(--content-spacing);
  z-index: 100;
  background-color: rgb(from var(--header-color) r g b/0.8);
  border-bottom: 3px solid var(--main-color);
  display: flex;
  align-items: center;
  position: relative;
}
.header .inner {
  display: flex;
  justify-content: space-between;
}
.header .inner .link {
  display: inline-block;
  font-size: 1.25rem;
  font-weight: var(--weight-bold);
  text-decoration: none;
  color: var(--text-color);
  line-height: 1.6;
}
.header .inner .link:hover {
  color: var(--main-color);
}
.header .inner .link.logo {
  max-height: 60px;
  max-width: 200px;
  padding: 0;
}
.header .list {
  display: none;
}
.header .information {
  display: none;
}

/*-------------------------
  header 親テーマ
  wp-formatline-theme global.css
  (min-width: 890px)
-------------------------*/
.header {
  display: block;
  height: auto;
}
.header .inner {
  align-items: center;
}
.header .inner .link {
  font-size: var(--text-xl);
}
.header .information {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding-top: var(--p-sm);
  padding-right: var(--p-xxxl);
}
.header .information .block {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-color);
}
.header .information .block-tel {
  gap: var(--gap-md);
}
.header .information .text {
  font-size: var(--text-sm);
}
.header .information .tel {
  color: var(--text-color);
  font-size: var(--text-xl);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: var(--gap-sm);
}
.header .information .tel::before {
  font: var(--fa-font-solid);
  content: '\f095';
  display: inline-block;
  font-size: var(--text-lg);
  color: var(--text-color);
  padding-top: var(--p-sm);
}
.header .information .tel:hover {
  color: var(--main-color);
}
.header .information .tel:hover:before {
  color: var(--main-color);
}
.header .information .block-text {
  font-size: var(--text-xs);
}
:is(.header .information) .block-text + .block-text-title {
  margin-left: var(--gap-md);
}
.header .sep {
  display: block;
  width: 1px;
  height: 30px;
  background-color: var(--text-color);
  flex-shrink: 0;
}
.header .list {
  position: relative;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding-block: var(--p-md);
}
.header .list .item {
  width: 100%;
  height: 60px;
}
.header .list .item:last-child .link {
  border-right: 1px solid var(--text-color);
}
.header .list .item.toggle:hover {
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 8px 8px 0 0;
  transition: 0.2s;
  cursor: default;
}
.header .list .item.toggle:hover .text {
  color: var(--main-color);
  font-weight: var(--weight-bold);
}
.header .list .item.group {
  grid-column: span 3;
  height: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--gap-md);
}
.header .list .item .text {
  display: block;
  text-align: center;
  text-decoration: none;
  color: var(--text-color);
  font-size: var(--text-sm);
  padding-block: var(--p-lg);
}
.header .list .item .menu {
  position: absolute;
  top: calc(100% - var(--p-md));
  left: 0;
  display: grid;
  box-sizing: border-box;
  width: 100%;
  height: 0;
  background-color: rgba(255, 255, 255, 0.9);
  padding: 0 var(--p-xxl);
  grid-template-columns: 150px 1fr;
  border-radius: 8px;
  opacity: 0;
  z-index: 10;
  transition: 0.5s;
}
.header .list .item .menu .heading {
  display: none;
  font-size: var(--text-lg);
  color: var(--text-color);
  font-weight: var(--weight-bold);
}
.header .list .item .menu .inner {
  display: none;
  align-items: flex-start;
  grid-template-columns: repeat(3, 1fr);
  row-gap: var(--gap-lg);
  padding-block: 0;
}
.header .list .item .menu .inner .block {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--p-lg);
  width: 100%;
}
:is(.header .list .item .menu .inner .block) + .tag {
  margin-top: var(--p-xl);
}
.header .list .item:hover .menu {
  height: auto;
  padding-block: var(--p-xxl);
  opacity: 1;
  transition: 0.5s;
}
.header .list .item:hover .menu .heading {
  display: block;
}
.header .list .item:hover .menu .inner {
  display: grid;
}
.header .tag {
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  color: var(--text-contrast-color);
  background-color: var(--main-color);
  border-radius: 50px;
  padding: 4px var(--p-md);
  margin-bottom: var(--p-md);
}
.header .link {
  display: block;
  text-align: center;
  text-decoration: none;
  color: var(--text-color);
  font-size: var(--text-sm);
  padding-block: var(--p-lg);
}
.header .link:hover {
  color: var(--main-color);
  font-weight: var(--weight-bold);
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 8px;
}
.header .block-link {
  display: block;
  text-align: left;
  position: relative;
  text-decoration: none;
  font-size: var(--text-lg);
  color: var(--text-color);
  padding: var(--p-lg) var(--p-md);
  border-bottom: 1px solid var(--border-color);
  font-weight: var(--weight-bold);
  transition: 0.2s;
}
.header .block-link::after {
  position: absolute;
  content: '';
  top: 0;
  bottom: 0;
  right: var(--p-md);
  margin: auto;
  width: 8px;
  height: 8px;
  border-top: 2px solid var(--text-color);
  border-right: 2px solid var(--text-color);
  transform: rotate(45deg);
}
.header .block-link:hover {
  color: var(--text-contrast-color);
  background-color: var(--main-color);
  transition: 0.2s;
}
.header .block-link:hover::after {
  border-color: var(--text-contrast-color);
}

/*-------------------------
  header 子テーマ
  formatline global.css
-------------------------*/

.header {
  height: auto;
  border: none;
  background-color: var(--header-color);
  font-size: 16px;
}
.header {
  padding-block: 1em !important;
}
.header .information {
  flex-direction: row;
  align-items: center;
  gap: 34px;
  padding-block: 0;
}
.header .information .tel {
  font-weight: var(--weight-bold);
  font-size: var(--text-xxl);
}
.header .information .tel::before {
  font-size: var(--text-xl);
}
.header .inner {
  gap: 31px;
  flex-direction: row;
  background-color: transparent;
}
.header .inner .link.logo {
  margin-right: auto;
  max-height: 40px;
}
.header .inner .link.logo {
  height: 50px;
  max-height: 50px;
}
.header .inner .link.logo .img {
  height: 40px;
}
.header .inner .link.logo .img {
  height: auto;
}

.header .inner .link.form {
  height: 50px;
  padding: 0;
  font-size: var(--text-md);
  line-height: 1;
  border-radius: 10px;
  color: var(--text-contrast-color);
  background: var(--gradation-color);
  display: flex;
  align-items: center;
  width: 146px;
  justify-content: center;
}
.header .inner .link.form:hover {
  color: var(--main-color);
  background: var(--contents-bg-color);
  border: 1px solid var(--main-color);
}
.header .list {
  display: none;
}
@media (min-width: 1100px) {
  .header .list {
    display: flex;
    gap: 26px;
    padding: 0;
  }
  .header .list .sep {
    display: none;
  }
  .header .list .item {
    height: 50px;
    line-height: 50px;
  }
  .header .list .item .menu {
    display: flex;
  }
  .header .list .item .text,
  .header .list .item .link {
    font-size: var(--text-md);
    font-weight: var(--weight-bold);
    white-space: nowrap;
    padding: 0;
    line-height: 50px;
  }
  .header .list .item:hover .menu {
    top: 100%;
  }
  .header .list .item:hover .menu .inner {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 0;
  }
  .header .list .item:hover .menu .inner li {
    width: 100%;
  }
  .header .list .item:hover .menu .heading {
    display: none;
  }
}
/*-------------------------
  header 子テーマ
  formatline global.css
  (min-width: 890px)
-------------------------*/

/*-------------------------
  header 詳細追加分
-------------------------*/
.header {
  border-bottom: 5px solid var(--main-color);
  padding-bottom: 0;
}

/*-------------------------
  hamburger 親テーマ
  formatline global.css
-------------------------*/
.hamburger-menu {
  position: fixed;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  top: 10px;
  width: 40px;
  height: 40px;
  padding: 10px;
  border: none;
  background-color: initial;
  right: var(--content-spacing);
  z-index: 1000;
  cursor: pointer;
}
.hamburger-menu .item {
  display: block;
  width: 20px;
  height: 2px;
  background-color: var(--text-color);
  border-radius: 1px;
  transition: background-color 0.2s ease-in;
}
.hamburger-menu:hover {
  opacity: 0.7;
}
.hamburger-menu {
  top: 20px;
}
.menu-open :where(.hamburger-menu) {
  background-color: unset;
}
.menu-open :where(.hamburger-menu) .item {
  background-color: var(--main-color);
}
.menu-open :where(.hamburger-menu) .item-top {
  position: absolute;
  left: 50%;
  top: 50%;
  transform-origin: center center;
  rotate: 45deg;
  translate: -50% -50%;
}
.menu-open :where(.hamburger-menu) .item-center {
  opacity: 0;
}
.menu-open :where(.hamburger-menu) .item-bottom {
  position: absolute;
  left: 50%;
  top: 50%;
  transform-origin: center center;
  rotate: -45deg;
  translate: -50% -50%;
}

/*-------------------------
  hamburger 子テーマ
  formatline global.css
-------------------------*/
.hamburger-menu {
  gap: 5px;
  padding: 0;
  height: 50px;
  top: 5px;
}
@media (min-width: 890px) {
  .hamburger-menu {
    top: 16px;
  }
}
.hamburger-menu .item {
  background-color: var(--main-color);
  height: 5px;
  border-radius: 3px;
  width: 29px;
}

/*-------------------------
  footer 親テーマ
  wp-formatline-theme global.css
-------------------------*/
.footer {
  width: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  padding-top: var(--p-xxl);
  align-items: center;
  background-color: var(--footer-color);
}
.footer .information {
  padding-inline: var(--content-spacing);
  padding-bottom: var(--p-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.footer .information .link {
  display: inline-block;
  font-size: 1.25rem;
  font-weight: var(--weight-bold);
  color: var(--text-color);
  text-align: left;
  text-decoration: none;
  margin-bottom: var(--p-md);
}
.footer .information .link:hover {
  color: var(--main-color);
}
.footer .information .address {
  display: flex;
  flex-wrap: wrap;
  gap: 0 5px;
  font-size: var(--text-sm);
}
.footer .information .tel {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: -moz-fit-content;
  width: fit-content;
  gap: var(--p-sm);
  font-size: var(--text-xl);
  line-height: var(--line-height-md);
  text-decoration: none;
  position: relative;
  color: var(--text-color);
}
.footer .information .tel::before {
  font: var(--fa-font-solid);
  content: '\f095';
  display: inline-block;
  padding-top: var(--p-md);
  font-size: var(--text-lg);
}
.footer .information .tel:hover {
  color: var(--main-color);
}
.footer .information .tel:hover::before {
  color: var(--main-color);
}
.footer .information .text {
  display: flex;
  flex-direction: column;
  font-size: var(--text-sm);
}
.footer .list {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid #e6e6da;
}
.footer .list .item {
  border-bottom: 1px solid #e6e6da;
}
.footer .list .item:nth-child(odd) {
  border-right: 1px solid #e6e6da;
}
.footer .list .item .link {
  width: 100%;
  padding-block: var(--p-md);
  font-size: var(--text-sm);
  text-align: center;
  color: var(--text-color);
  text-decoration: none;
  display: block;
}
.footer .list .item .link:hover {
  color: var(--main-color);
  font-weight: var(--weight-bold);
}
.footer {
  display: grid;
  align-items: flex-start;
  grid-template-columns: max-content 1fr;
  padding: var(--p-xl) var(--content-spacing) 0 var(--content-spacing);
}
.footer .information {
  padding-left: 0;
  padding-right: 0;
  display: block;
}
.footer .information .link {
  width: auto;
  font-size: var(--text-xl);
  font-weight: var(--weight-bold);
}
.footer .information .logo {
  width: 474px;
  height: 48px;
}
.footer .information .text {
  flex-direction: row;
  gap: 0 15px;
}
.footer .list {
  width: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0 var(--gap-lg);
  margin-top: 6px;
  border-top: none;
}
.footer .list .item {
  border: none;
}
.footer .list .item:nth-child(odd) {
  border: none;
}

/*-------------------------
  footer 子テーマ
  formatline global.css
-------------------------*/
.footer {
  font-size: 16px;
  display: flex;
  flex-direction: column;
  gap: var(--gap-xxl);
  padding-block: var(--p-xxxl);
}
.footer .footer_header {
  padding-inline: var(--content-spacing);
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: column;
  gap: var(--gap-xxl) 60px;
}
.footer .footer_header {
  flex-direction: row;
  padding-inline: 0;
  flex-wrap: wrap;
  gap: var(--gap-xxl) 60px;
}
.footer .footer_header .logo {
  display: flex;
  align-items: center;
  gap: 1em;
  flex-direction: column;
  width: 100%;
}
.footer .footer_header .logo {
  width: auto;
  flex-direction: row;
}
.footer .footer_header .address {
  display: flex;
  align-items: center;
  gap: 1em;
  flex-direction: column;
  word-break: keep-all;
  overflow-wrap: break-word;
  white-space: nowrap;
}
.footer .footer_header .address {
  flex-direction: row;
}
.footer .footer_header .address .address-text {
  display: flex;
  flex-direction: column;
}
.footer .footer_header .address .address-text wbr {
  display: none;
}
.footer .footer_header .address .address-text,
.footer .footer_header .address .address-text wbr {
  display: inline;
}
.footer .footer_header .address .link.map {
  display: block;
  padding-inline: var(--p-xl);
  color: var(--text-contrast-color);
  background-color: var(--main-color);
  border: 1px solid var(--main-color);
  text-decoration: none;
  border-radius: 20px;
  margin: 0 auto;
}
.footer .footer_header .address .link.map:hover {
  color: var(--main-color);
  background-color: var(--contents-bg-color);
}
.footer .footer_information {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0 60px;
}
.footer .footer_information {
  width: 100%;
}
.footer .footer_information .information {
  padding-bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.footer .footer_information .information {
  align-items: flex-start;
}
.footer .footer_information .information .link.form {
  width: 100%;
  height: 4em;
  font-size: var(--text-lg);
  line-height: 1;
  border-radius: 10px;
  color: var(--text-contrast-color);
  background: var(--gradation-color);
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer .footer_information .information .link.form {
  max-width: 300px;
}
.footer .footer_information .information .link.form:hover {
  color: var(--main-color);
  background: var(--contents-bg-color);
  border: 1px solid var(--main-color);
}
.footer .footer_information .information .tel {
  font-weight: var(--weight-bold);
  font-size: var(--text-xxxl);
}
.footer .footer_information .information .tel::before {
  font-size: var(--text-xl);
}
.footer .footer_information .information .text {
  align-items: center;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
}
.footer .footer_information .information .text .title {
  width: 100%;
  text-align: center;
}
.footer .footer_information .information .text span {
  white-space: nowrap;
}
.footer .footer_information .information .text span::after {
  content: '｜';
}
.footer .footer_information .information .text span:first-child::after,
.footer .footer_information .information .text span:last-child::after,
.footer .footer_information .information .text span:nth-last-child(2)::after {
  content: '';
}
.footer .footer_information .information .text {
  display: block;
  font-size: var(--text-xs);
}
.footer .list {
  display: none;
}
.footer .list {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 0 30px;
  grid-template-rows: repeat(6, auto);
  grid-auto-flow: column;
}
.footer .list .item .link {
  text-align: left;
  white-space: nowrap;
}
.footer .list .item:nth-child(5) {
  grid-area: 5/1/7/2;
}
.footer .list .item:nth-child(10) {
  grid-area: 5/2/7/2;
}
@media (min-width: 890px) {
  .footer .list {
    gap: 0 65px;
  }
}
.footer .footer_footer {
  width: 100%;
  padding-inline: var(--content-spacing);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-color);
}
.footer .footer_footer {
  padding-inline: 0;
}
.button-link {
  background-color: var(--main-color);
  border-color: var(--main-color);
  color: var(--text-contrast-color);
}
.button-link:hover {
  background-color: var(--contents-bg-color);
  color: var(--main-color);
}
.sns {
  display: flex;
  gap: var(--gap-md);
}
.sns .link {
  font-size: var(--text-xl);
  color: var(--text-color);
}
.sns .link:hover {
  color: var(--main-color);
}
.case-item {
  display: flex;
  flex-direction: column;
  position: relative;
}
.case-item .item-link {
  width: 100%;
  height: 100%;
  border-radius: 16px;
  position: absolute;
  z-index: 2;
  left: 0;
  top: 0;
  box-sizing: border-box;
}
.case-item .item-link:hover {
  background-color: rgba(255, 255, 255, 0.3);
  border: 1px solid var(--main-color);
}
@media (min-width: 1000px) {
  .case-item {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-areas: 'image content';
    border-radius: 16px;
    overflow: hidden;
    min-height: 312px;
  }
  .case-item[data-image-count='0'] {
    display: block;
  }
}
@media (min-width: 1100px) {
  .case-item {
  }
}
.case-item[data-image-count='0'] .content {
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  height: 100%;
}
@media (min-width: 1000px) {
  .case-item[data-image-count='0'] .content {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
  }
}
.case-item .content {
  order: 2;
  background-color: #f4f1e9;
  padding: 15px 20px 30px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
}
@media (min-width: 1000px) {
  .case-item .content {
    grid-area: content;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    padding: 30px 40px;
  }
}
.case-item .content .title {
  display: flex;
  align-items: center;
  padding-inline-start: 60px;
  position: relative;
  height: 44px;
}
@media (min-width: 1000px) {
  .case-item .content .title {
    padding-inline-start: 65px;
    height: 57px;
    justify-content: space-between;
  }
}
.case-item .content .title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 44px;
  height: 44px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
@media (min-width: 1000px) {
  .case-item .content .title::before {
    width: 57px;
    height: 57px;
  }
}
.case-item .content .title.title-male::before {
  background-image: url('../image/case-icon-male.png');
}
.case-item .content .title.title-female::before {
  background-image: url('../image/case-icon-female.png');
}
.case-item .content .title.title-no-selection::before {
  background-image: url('../image/case-icon-no-selection.png');
}
.case-item .content .title .title-text {
  font-size: 15px;
  line-height: calc(28 / 15);
}
@media (min-width: 1000px) {
  .case-item .content .title .title-text {
    font-size: 16px;
    line-height: 1.75;
  }
}
.case-item .content .title .link {
  display: none;
}
@media (min-width: 1000px) {
  .case-item .content .title .link {
    display: inline-block;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    text-decoration: none;
    color: #fff;
    background-color: var(--main-color);
    border-radius: 9999px;
    width: 200px;
    text-align: center;
    padding-block: 4px;
  }
}
.case-item .content .info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
@media (min-width: 1000px) {
  .case-item .content .info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    -moz-column-gap: 40px;
    column-gap: 40px;
  }
}
.case-item .content .info .block {
  display: grid;
  grid-template-columns: 80px 1fr;
  -moz-column-gap: 16px;
  column-gap: 16px;
}
.case-item .content .info .label {
  width: 100%;
  font-size: 13px;
  line-height: calc(20 / 13);
  text-align: center;
  background-color: #fff;
  font-weight: 700;
  padding: 4px 0;
  height: 27px;
}
@media (min-width: 1000px) {
  .case-item .content .info .label {
    font-size: 14px;
  }
}
.case-item .content .info .value {
  font-size: 13px;
  line-height: calc(20 / 13);
  padding: 4px 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (min-width: 1000px) {
  .case-item .content .info .value {
    font-size: 15px;
    padding: 2px 0;
  }
}
.case-item .content .description {
  font-size: 15px;
  line-height: calc(26 / 15);
  word-break: break-all;
  min-height: 78px;
}
@media (min-width: 1000px) {
  .case-item .content .description {
    font-size: 16px;
    line-height: 1.75;
  }
}
.case-item .content .description > p {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}
.case-item .content .link-wrapper {
  display: flex;
  justify-content: center;
}
@media (min-width: 1000px) {
  .case-item .content .link-wrapper {
    display: none;
  }
}
.case-item .content .link-wrapper .link {
  max-width: 180px;
  background-color: var(--main-color);
  padding: 14px 28px;
  border-radius: 9999px;
  text-decoration: none;
  color: #fff;
  font-size: 15px;
  text-align: center;
}
.case-item .images {
  order: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  aspect-ratio: 46/31;
}
.case-item .images.images-hidden {
  display: none;
}
.case-item .images.images-single {
  display: block;
}
@media (min-width: 1000px) {
  .case-item .images {
    grid-area: image;
    max-height: 312px;
    overflow: hidden;
  }
}
.case-item .images .image {
  width: 100%;
  height: auto;
  aspect-ratio: 9/16;
  aspect-ratio: 23/31;
  -o-object-fit: cover;
  object-fit: cover;
  overflow: hidden;
  max-height: 414px;
}
@media (min-width: 1000px) {
  .case-item .images .image {
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    max-height: none;
  }
}
.case-item .images .image:first-child {
  border-top-left-radius: 16px;
}
@media (min-width: 1000px) {
  .case-item .images .image:first-child {
    border-top-left-radius: 0;
  }
}
.case-item .images .image:last-child {
  border-top-right-radius: 16px;
}
@media (min-width: 1000px) {
  .case-item .images .image:last-child {
    border-top-right-radius: 0;
  }
}
.case-item .images.images-single .image {
  aspect-ratio: 46/31;
}
.contact .contact-inner {
  box-sizing: border-box;
  text-align: center;
  padding: 3px;
  background: var(--gradation-color);
}
.contact .title {
  font-size: 15px;
  text-align: center;
  color: #fff;
  font-weight: bold;
  line-height: 1.5;
  padding: 8px 5px;
  letter-spacing: 1px;
  display: flex;
  flex-direction: column;
}
.contact .block {
  background: #f4f1e9;
  padding: 1rem;
}
.contact .block .tel-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--gap-sm);
  margin-bottom: var(--p-md);
  margin-left: auto;
}
.contact .block .tel-wrapper .tel {
  color: #000;
  text-decoration: none;
  font-weight: 500;
  font-size: clamp(26px, 8.3vw, 32px);
  display: flex;
  justify-content: center;
  gap: var(--gap-sm);
  line-height: 1;
  white-space: nowrap;
}
.contact .block .tel-wrapper .tel::before {
  font: var(--fa-font-solid);
  content: '\f095';
  display: inline-block;
  padding-top: var(--p-md);
  font-size: var(--text-lg);
}
.contact .block .information {
  color: #333;
  line-height: 1.5;
  font-size: var(--text-xs);
}
.contact .block .information .time {
  white-space: nowrap;
}
.contact .block .information .time::after {
  content: '｜';
}
.contact .block .information .time:first-child::after,
.contact .block .information .time:last-child::after,
.contact .block .information .time:nth-last-child(2)::after {
  content: '';
}
.contact .block .mail-wrapper {
  margin-top: 0.5rem;
  display: flex;
  justify-content: center;
}
.contact .block .mail-wrapper .mail {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  height: 80px;
  background: #f9f9f9;
  border: 2px solid #318ccc;
  border-radius: 10px;
  color: #333;
  font-size: 18px;
  font-weight: bold;
  letter-spacing: 1px;
  text-decoration: none;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-inline: var(--p-lg);
  max-width: 280px;
}
@media (min-width: 800px) {
  .contact .block .mail-wrapper .mail {
    padding-inline: var(--p-xl);
  }
}
.contact .block .mail-wrapper .mail:hover {
  transition: 0.3s;
  border-color: var(--main-color);
  background-color: var(--main-color);
  color: var(--base-color);
}
.contact .block .mail-wrapper .mail:hover::after {
  border-color: var(--base-color);
}
.contact {
  width: 100%;
}
@media (min-width: 800px) {
  .contact .title {
    flex-direction: row;
    justify-content: center;
    font-size: var(--text-lg);
  }
  .contact .block {
    padding: 1.5rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(4, auto);
    -moz-column-gap: var(--gap-xxl);
    column-gap: var(--gap-xxl);
  }
  .contact .block .tel-wrapper {
    grid-column: 1;
    grid-area: 2;
    justify-content: flex-end;
    font-size: var(--text-xxxl);
  }
  .contact .block .tel-wrapper .tel {
    font-size: var(--text-xxxl);
  }
  .contact .block .tel-wrapper .tel::before {
    padding-top: 0.8rem;
  }
  .contact .block .tel-wrapper:hover {
    color: var(--main-color);
  }
  .contact .block .tel-wrapper:hover .tel {
    color: var(--main-color);
  }
  .contact .block .information {
    grid-column: 1;
    grid-area: 3;
    font-size: 0.75rem;
    text-align: right;
  }
  .contact .block .mail-wrapper {
    grid-column: 2;
    grid-area: span 4;
    max-width: 400px;
    min-width: 360px;
    margin-top: 0;
  }
  .contact .block .mail-wrapper .mail {
    height: 100px;
    font-size: var(--text-xl);
    background-position: 30px 50%;
    line-height: 1;
    max-width: 400px;
  }
}
@media (min-width: 900px) {
  .contact .block .information {
    font-size: var(--text-sm);
    max-width: 400px;
    margin-left: auto;
  }
}

/*-------------------------
  footer copyright 親テーマ
  wp-formatline-theme global.css
-------------------------*/
.footer .copyright {
  grid-column: span 2;
  text-align: center;
  font-size: var(--text-xs);
  color: var(--text-gray-color);
  padding-block: var(--p-md);
}
.footer .copyright .link {
  text-decoration: none;
  color: var(--text-gray-color);
}
/*-------------------------
  footer copyright 子テーマ
  formatline global.css
-------------------------*/

/*-------------------------
  navigation keyframes
-------------------------*/
@keyframes open {
  from {
    display: block;
    opacity: 0;
  }

  to {
    opacity: 1;
    z-index: var(--z-index-overlay);
  }
}

@keyframes close {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
    display: none;
    z-index: -1;
  }
}

/*-------------------------
  navigation 親テーマ
  wp-formatline-theme global.css
-------------------------*/
.navigation {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0;
  overflow-y: scroll;
  background: rgb(from var(--navigation-bg-color) r g b/0.9);
  animation: 200ms linear 0s 1 normal forwards running;
  padding: 20px 0;
  z-index: 1000;
}
.navigation .contents {
  padding: 40px var(--content-spacing);
}
.navigation .contents .divider {
  border-color: var(--navigation-border-color);
  border-width: 1px;
  border-style: solid;
}
.navigation .contents .block {
  display: flex;
  flex-direction: column;
  gap: var(--gap-lg);
  padding-block: 24px;
}
.navigation .contents .block .heading {
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  color: var(--navigation-text-color);
}
.navigation .contents .block .list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--gap-lg);
}
.navigation .contents .block .list .heading {
  width: -moz-max-content;
  width: max-content;
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  color: var(--text-contrast-color);
  background-color: var(--main-color);
  border-radius: 50px;
  padding: 1px var(--p-lg) 2px;
}
.navigation .contents .block .list .list-inner {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.navigation .link {
  position: relative;
  display: inline-block;
  color: var(--navigation-text-color);
  font-size: var(--text-md);
  font-weight: var(--weight-bold);
  text-decoration: none;
  padding-left: var(--p-lg);
}
.navigation .link::before {
  position: absolute;
  content: '';
  display: block;
  width: 8px;
  height: 8px;
  border: solid 1px var(--main-color);
  border-width: 2px 2px 0 0;
  position: absolute;
  left: 0;
  top: 46%;
  transform: translateY(-50%) rotate(45deg);
}
.navigation .link:hover {
  text-decoration: underline;
}
.navigation .group {
  display: flex;
  flex-direction: column;
  gap: var(--gap-md);
}
.navigation .contents {
  padding: 60px var(--navigation-spacing);
}
.navigation .contents .block {
  display: grid;
  grid-template-columns: 180px 1fr;
  align-items: center;
}
.navigation .contents .block .heading {
  font-size: var(--text-lg);
}
.navigation .contents .block .list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.navigation[aria-hidden='true'] {
  animation-name: close;
}
.navigation[aria-hidden='false'] {
  animation-name: open;
}
