@charset "UTF-8";

/* ヘッダーの高さをCSS変数で管理 */
:root {
  --header-h: 96px;
  --adminbar-h: 0px;
}

/* WPログイン時の管理バー（PC=32px, SP=46px）を加味 */
body.admin-bar {
  --adminbar-h: 32px;
}

@media (max-width: 782px) {
  body.admin-bar {
    --adminbar-h: 46px;
  }
}

/* ブラウザのデフォルトアンカースクロールに余白を付ける（推奨） */
html {
  scroll-padding-top: calc(var(--header-h) + var(--adminbar-h));
}

/* 念のため、ターゲット要素側にもマージンオフセットを付与 */
[id] {
  scroll-margin-top: calc(var(--header-h) + var(--adminbar-h));
}

/* （任意）スムーススクロール */
html {
  scroll-behavior: smooth;
}


html {
  width: 100%;
  height: 100%;
}

@media (max-width: 1280px) and (min-width: 769px) {
  html {
    font-size: 16px;
    font-size: 1.25vw;
  }
}

@media (max-width: 375px) {
  html {
    font-size: 16px;
    font-size: 4.2666666667vw;
  }
}

/* カスタムプロパティ */
:root {
  --main-color: #0E6A67;
  --accent-color: #438886;
  --main-font-family: "Quicksand", sans-serif;
}

body {
  width: 100%;
  margin: 0;
  padding: 0;
  font-family: "Noto Sans JP", "游ゴシック", YuGothic, Arial, Roboto, "Droid Sans", "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, sans-serif;
  overflow-x: hidden;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  color: #3B4043;
  font-size: 1rem;
  letter-spacing: 0.05em;
}

body.no_scroll {
  overflow: hidden;
  position: relative;
}

a {
  cursor: pointer;
  text-decoration: none;
  outline: none;
  color: #3B4043;
  font-size: max(1rem, 14px);
}

p {
  font-size: max(1rem, 14px);
  line-height: 2;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

strong {
  font-weight: 700;
}

.en {
  font-family: "Quicksand", sans-serif;
}

.u-tb {
  display: none;
}

.u-sp {
  display: none;
}

@media screen and (max-width: 992px) {
  .u-tb {
    display: block;
  }
}

@media screen and (max-width: 768px) {
  body {
    font-size: 0.875rem;
  }

  a {
    font-size: 0.875rem;
  }

  p {
    font-size: 0.875rem;
  }

  .u-pc {
    display: none;
  }

  .u-sp {
    display: block;
  }
}

/* -----------------------------------
  header footer 共通
  -----------------------------------*/
.c-menu.sellers .c-menu-ttl {
  color: #0E6A67;
}

.c-menu.sellers .c-menu-ttl__main::before {
  content: "";
  display: block;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100%;
  mask-size: 100%;
  -webkit-mask-position: center;
  mask-position: center;
  width: 28px;
  height: 32px;
  -webkit-mask-image: url("../img/common/icon_sellers.svg");
  mask-image: url("../img/common/icon_sellers.svg");
  background-color: #0E6A67;
}

.c-menu.sellers .c-menu-ttl__sub::before {
  background-color: #0E6A67;
}

.c-menu.buyers .c-menu-ttl {
  color: #438886;
}

.c-menu.buyers .c-menu-ttl__main::before {
  content: "";
  display: block;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100%;
  mask-size: 100%;
  -webkit-mask-position: center;
  mask-position: center;
  width: 36px;
  height: 28px;
  -webkit-mask-image: url("../img/common/icon_buyers.svg");
  mask-image: url("../img/common/icon_buyers.svg");
  background-color: #438886;
}

.c-menu.buyers .c-menu-ttl__sub::before {
  background-color: #438886;
}

.c-menu-ttl {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  position: relative;
  gap: 5px;
  width: 100%;
  font-size: 1.375rem;
  font-weight: 700;
}

a.c-menu-ttl {
  transition: 0.3s ease;
}

@media (hover: hover) {
  a.c-menu-ttl:hover {
    opacity: 0.7;
  }
}

.c-menu-ttl__main {
  font-size: 1.375rem;
  font-weight: 700;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  gap: 8px;
}

.c-menu-ttl__sub {
  font-size: 0.875rem;
  font-weight: 500;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  gap: 5px;
}

.c-menu-ttl__sub::before {
  content: "";
  display: block;
  width: 14px;
  height: 2px;
  border-radius: 4px;
}

.c-contact-list {
  display: -ms-flexbox;
  display: flex;
  gap: 20px;
  -ms-flex-pack: end;
  justify-content: flex-end;
  -ms-flex-align: center;
  align-items: center;
}

.c-contact-list li {
  width: 100%;
  max-width: 224px;
}

.c-contact-list .btn {
  border-radius: 60px;
  padding: 10px;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-pack: center;
  justify-content: center;
  gap: 10px;
  color: #fff;
  font-size: 1.125rem;
  width: 100%;
  transition: 0.3s ease;
}

.c-contact-list .btn.contact {
  background-color: #0E6A67;
  border: 1px solid #0E6A67;
  font-weight: 700;
}

@media (hover: hover) {
  .c-contact-list .btn.contact:hover {
    color: #0E6A67;
    background-color: #fff;
  }

  .c-contact-list .btn.contact:hover::after {
    background-color: #0E6A67;
  }
}

.c-contact-list .btn.tel {
  border: 1px solid #438886;
  font-family: "Quicksand", sans-serif;
  background-color: #438886;
  font-weight: 600;
}

.c-contact-list .btn.tel::before {
  content: "";
  display: block;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100%;
  mask-size: 100%;
  -webkit-mask-position: center;
  mask-position: center;
  width: 16px;
  height: 21px;
  -webkit-mask-image: url("../img/common/icon_tel.svg");
  mask-image: url("../img/common/icon_tel.svg");
  background-color: #fff;
}

@media screen and (max-width: 992px) {
  .c-menu.sellers .c-menu-ttl__main::before {
    width: 26px;
    height: 30px;
  }

  .c-menu.buyers .c-menu-ttl__main::before {
    width: 33px;
    height: 26px;
  }

  .c-menu-ttl {
    font-size: 1.25rem;
    line-height: 1.5;
  }

  .c-menu-ttl__main {
    font-size: 1.25rem;
  }

  .c-menu-ttl__sub {
    font-size: 0.8125rem;
    font-size: max(0.8125rem, 11px);
  }

  .c-menu-ttl__sub::before {
    width: 12px;
    height: 2px;
  }

  .c-contact-list {
    -ms-flex-direction: column;
    flex-direction: column;
    -ms-flex-align: start;
    align-items: flex-start;
    margin-bottom: 32px;
    gap: 16px;
  }

  .c-contact-list li {
    width: 100%;
    max-width: 335px;
  }

  .c-contact-list .btn {
    padding: 12px;
  }

  .c-contact-list .btn.contact {
    font-size: 0.875rem;
    font-size: 14px;
  }

  .c-contact-list .btn.tel {
    font-size: max(1.0625rem, 15px);
  }
}

/* -----------------------------------
  ヘッダー header
  -----------------------------------*/
.l-header {
  width: 100%;
  margin: 0 auto;
  position: sticky;
  top: 0;
  left: 0;
  z-index: 99999;
  background-color: #fff;
}

.l-header__wrap {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: justify;
  justify-content: space-between;
  padding: 12px 3rem;
  margin: 0 auto;
  z-index: 9999999;
}

.l-header__logo {
  width: 15%;
  max-width: 192px;
  position: relative;
  z-index: 9999;
  margin-top: auto;
}

.l-header__block {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-pack: end;
  justify-content: flex-end;
  gap: 1.75rem;
}

.l-header__block .l-header__nav {
  -ms-flex: 1;
  flex: 1;
}

/* ----- tel list ----- */
.l-header__tel {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
  gap: 12px;
}

.l-header__tel a {
  color: #438886;
  font-weight: 700;
  font-family: "Quicksand", sans-serif;
  font-size: 1.6875rem;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  width: 100%;
  gap: 8px;
  transition: 0.3s ease;
  line-height: 1;
  letter-spacing: 0;
}

.l-header__tel .icon {
  width: 28px;
  aspect-ratio: 1/1;
  background-color: #438886;
  border-radius: 50%;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-pack: center;
  justify-content: center;
}

/* ----- nav -----*/
.l-header__list {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  position: relative;
  gap: 1.75rem;
  z-index: 9;
}

.l-header__list li {
  position: relative;
}

.l-header__list li a {
  font-weight: 500;
  position: relative;
  text-decoration: none;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-pack: center;
  justify-content: center;
  transition: 0.3s ease;
}

@media (hover: hover) {
  .l-header__list li:hover>a {
    opacity: 0.7;
  }
}

.l-header__list li.nav-contact a {
  background-color: #0E6A67;
  border: 1px solid #0E6A67;
  color: #fff;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -ms-flex-align: center;
  align-items: center;
  padding: 12px 2rem;
  border-radius: 24px;
  letter-spacing: 0;
  font-size: 1rem;
}

@media (hover: hover) {
  .l-header__list li.nav-contact a:hover {
    opacity: 1;
    background-color: #fff;
    color: #0E6A67;
  }
}

.l-header__container .nav-sp {
  display: none;
}

.l-header__btn-menu {
  display: -ms-flexbox;
  display: flex;
}

.l-header__btn-menu .c-menu {
  -ms-flex: 1;
  flex: 1;
  height: 64px;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.l-header__btn-menu .c-menu .c-menu-ttl {
  -ms-flex-pack: center;
  justify-content: center;
  position: relative;
  color: #fff;
  gap: 5px;
  width: 100%;
  height: 100%;
}

.l-header__btn-menu .c-menu .c-menu-ttl::after {
  content: "";
  display: block;
  width: 21px;
  height: 6px;
  -webkit-mask-image: url("../img/common/icon_arrow.svg");
  mask-image: url("../img/common/icon_arrow.svg");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100%;
  mask-size: 100%;
  -webkit-mask-position: center;
  mask-position: center;
  background-color: #fff;
  position: absolute;
  top: 50%;
  right: 2rem;
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}

.l-header__btn-menu .c-menu .c-menu-ttl__main::before {
  content: "";
  display: block;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100%;
  mask-size: 100%;
  -webkit-mask-position: center;
  mask-position: center;
  background-color: #fff;
}

.l-header__btn-menu .c-menu .c-menu-ttl__sub::before {
  background-color: #fff;
}

.l-header__btn-menu .c-menu.sellers {
  background-color: #0E6A67;
}

.l-header__btn-menu .c-menu.sellers .c-menu-ttl__main::before {
  width: 28px;
  height: 32px;
  -webkit-mask-image: url("../img/common/icon_sellers.svg");
  mask-image: url("../img/common/icon_sellers.svg");
}

.l-header__btn-menu .c-menu.buyers {
  background-color: #438886;
}

.l-header__btn-menu .c-menu.buyers .c-menu-ttl__main::before {
  width: 36px;
  height: 28px;
  -webkit-mask-image: url("../img/common/icon_buyers.svg");
  mask-image: url("../img/common/icon_buyers.svg");
}

.l-header__btn-menu .l-header__list {
  gap: 2rem;
}

.l-header__btn-menu .l-header__list a {
  color: #fff;
  font-weight: 400;
}

.l-header__contact {
  display: none;
}

/* ----- hamburger -----*/
.c-hamburger {
  display: none;
}

/* ----- top header -----*/
.l-header-top .l-header__btn-menu .l-header__list {
  display: none;
}

/* ----- sellers header -----*/
.l-header-sellers .l-header__btn-menu .l-header__nav.buyers {
  width: 22.5rem;
  -ms-flex: initial;
  flex: initial;
}

.l-header-sellers .l-header__btn-menu .l-header__nav.buyers .c-menu-ttl {
  -ms-flex-pack: start;
  justify-content: flex-start;
  padding: 0 2.375rem;
}

.l-header-sellers .l-header__btn-menu .l-header__nav.buyers .l-header__list {
  display: none;
}

.l-header-sellers .l-header__btn-menu .l-header__nav.sellers {
  gap: 2rem;
}

.l-header-sellers .l-header__btn-menu .l-header__nav.sellers .c-menu-ttl {
  width: auto;
}

.l-header-sellers .l-header__btn-menu .l-header__nav.sellers .c-menu-ttl::after {
  display: none;
}

.l-header-sellers .l-header__btn-menu .l-header__nav.sellers .c-menu-ttl__sub {
  display: none;
}

/* ----- buyers header -----*/
.l-header-buyers .l-header__btn-menu .l-header__nav.sellers {
  width: 22.5rem;
  -ms-flex: initial;
  flex: initial;
}

.l-header-buyers .l-header__btn-menu .l-header__nav.sellers .c-menu-ttl {
  -ms-flex-pack: start;
  justify-content: flex-start;
  padding: 0 2.375rem;
}

.l-header-buyers .l-header__btn-menu .l-header__nav.sellers .l-header__list {
  display: none;
}

.l-header-buyers .l-header__btn-menu .l-header__nav.buyers {
  gap: 2rem;
}

.l-header-buyers .l-header__btn-menu .l-header__nav.buyers .c-menu-ttl {
  width: auto;
}

.l-header-buyers .l-header__btn-menu .l-header__nav.buyers .c-menu-ttl::after {
  display: none;
}

.l-header-buyers .l-header__btn-menu .l-header__nav.buyers .c-menu-ttl__sub {
  display: none;
}

@media screen and (max-width: 1320px) {
  .l-header__wrap {
    padding: 12px 2rem;
  }

  .l-header__btn-menu .c-menu .c-menu-ttl::after {
    right: 1rem;
  }

  .l-header__btn-menu .l-header__list {
    gap: 1.25rem;
  }

  .l-header__btn-menu .l-header__list a {
    color: #fff;
    font-weight: 400;
    font-size: max(1rem, 12px);
  }
}

@media screen and (max-width: 992px) {
  .l-header {
    height: 56px;
    position: fixed;
  }

  .l-header__wrap {
    position: relative;
    background-color: #fff;
    height: 100%;
  }

  .l-header__wrap {
    padding: 0 0 0 20px;
    -ms-flex-align: center;
    align-items: center;
  }

  .l-header__logo {
    padding: 0;
    margin: 0;
    width: 30%;
    max-width: 140px;
  }

  .l-header__block {
    display: none;
  }

  .l-header__container {
    z-index: 99999;
    width: 100%;
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    background-color: #F4F8F8;
    padding: 88px 20px 7.5rem;
  }

  .l-header__container .nav-sp {
    display: block;
  }

  .l-header__list {
    display: block;
    margin-top: 18px;
  }

  .l-header__list li {
    width: 100%;
    text-align: left;
    height: auto;
  }

  .l-header__list li:not(:last-child) {
    margin-bottom: 18px;
  }

  .l-header__list li a {
    width: 100%;
    display: block;
    font-size: max(0.875rem, 12px);
  }

  .l-header__btn-menu {
    -ms-flex-direction: column;
    flex-direction: column;
    margin-top: 28px;
    gap: 32px;
  }

  .l-header__btn-menu .l-header__nav {
    display: block;
  }

  .l-header__btn-menu .l-header__list a {
    color: #3B4043;
    font-weight: 500;
    font-size: max(0.875rem, 12px);
  }

  .l-header__btn-menu .c-menu {
    -ms-flex-direction: column;
    flex-direction: column;
    height: auto;
  }

  .l-header__btn-menu .c-menu .c-menu-ttl {
    -ms-flex-pack: start;
    justify-content: flex-start;
  }

  .l-header__btn-menu .c-menu .c-menu-ttl::after {
    display: none;
  }

  .l-header__btn-menu .c-menu.sellers {
    background: none;
  }

  .l-header__btn-menu .c-menu.sellers .c-menu-ttl {
    color: #0E6A67;
  }

  .l-header__btn-menu .c-menu.sellers .c-menu-ttl__main::before {
    background-color: #0E6A67;
  }

  .l-header__btn-menu .c-menu.sellers .c-menu-ttl__sub::before {
    background-color: #0E6A67;
  }

  .l-header__btn-menu .c-menu.buyers {
    background: none;
  }

  .l-header__btn-menu .c-menu.buyers .c-menu-ttl {
    color: #438886;
  }

  .l-header__btn-menu .c-menu.buyers .c-menu-ttl__main::before {
    background-color: #438886;
  }

  .l-header__btn-menu .c-menu.buyers .c-menu-ttl__sub::before {
    background-color: #438886;
  }

  .l-header__contact {
    display: -ms-flexbox;
    display: flex;
    margin-top: 32px;
  }

  .c-hamburger {
    display: inline-block;
    transition: all 0.2s;
    box-sizing: border-box;
    position: absolute;
    top: 0;
    right: 0;
    width: 56px;
    height: 56px;
    z-index: 99999999;
    display: block;
  }

  .c-hamburger span {
    display: inline-block;
    transition: all 0.2s;
    box-sizing: border-box;
    position: absolute;
    height: 2px;
    background-color: #fff;
    border-radius: 4px;
    width: 24px;
    left: 14px;
  }

  .c-hamburger span:nth-of-type(1) {
    top: 14px;
    background-color: #0E6A67;
  }

  .c-hamburger span:nth-of-type(2) {
    top: 21px;
    width: 15px;
    background-color: #438886;
  }

  .c-hamburger span:nth-of-type(3) {
    top: 28px;
    background-color: #0E6A67;
  }

  .c-hamburger span:nth-of-type(4) {
    top: 34px;
    width: auto;
    height: auto;
    color: #0E6A67;
    font-weight: 700;
    font-size: 0.5625rem;
    font-size: 9px;
    background: none;
  }

  .c-hamburger span:nth-of-type(4)::after {
    content: "MENU";
  }

  .c-hamburger.is-active span:nth-of-type(1) {
    -ms-transform: translateY(7px) rotate(-45deg);
    transform: translateY(7px) rotate(-45deg);
  }

  .c-hamburger.is-active span:nth-of-type(2) {
    opacity: 0;
  }

  .c-hamburger.is-active span:nth-of-type(3) {
    -ms-transform: translateY(-7px) rotate(45deg);
    transform: translateY(-7px) rotate(45deg);
  }

  .c-hamburger.is-active span:nth-of-type(4)::after {
    content: "CLOSE";
  }

  .l-header-top .l-header__btn-menu .l-header__list {
    display: block;
  }

  /* ----- sellers header -----*/
  .l-header-sellers .l-header__btn-menu .l-header__nav.buyers {
    width: auto;
    -ms-flex: initial;
    flex: initial;
  }

  .l-header-sellers .l-header__btn-menu .l-header__nav.buyers .c-menu-ttl {
    padding: 0;
  }

  .l-header-sellers .l-header__btn-menu .l-header__nav.buyers .l-header__list {
    display: block;
  }

  .l-header-sellers .l-header__btn-menu .l-header__nav.sellers .c-menu-ttl__sub {
    display: -ms-flexbox;
    display: flex;
  }

  /* ----- buyers header -----*/
  .l-header-buyers .l-header__btn-menu .l-header__nav.sellers {
    width: auto;
    -ms-flex: initial;
    flex: initial;
  }

  .l-header-buyers .l-header__btn-menu .l-header__nav.sellers .c-menu-ttl {
    padding: 0;
  }

  .l-header-buyers .l-header__btn-menu .l-header__nav.sellers .l-header__list {
    display: block;
  }

  .l-header-buyers .l-header__btn-menu .l-header__nav.buyers .c-menu-ttl__sub {
    display: -ms-flexbox;
    display: flex;
  }
}

/* ------- floating ------- */
.l-floating {
  display: none;
}

@media screen and (max-width: 992px) {
  .l-floating {
    display: block;
    position: fixed;
    bottom: 0;
    right: 0;
    z-index: 99;
    width: 100%;
  }

  .l-floating__btns {
    display: -ms-flexbox;
    display: flex;
    width: 100%;
  }

  .l-floating__btns .c-menu {
    -ms-flex: 1;
    flex: 1;
  }

  .l-floating__btns .c-menu.sellers {
    background-color: #0E6A67;
  }

  .l-floating__btns .c-menu.sellers .c-menu-ttl {
    color: #fff;
  }

  .l-floating__btns .c-menu.sellers .c-menu-ttl__main::before {
    background-color: #fff;
    width: 18px;
    height: 20px;
  }

  .l-floating__btns .c-menu.sellers .c-menu-ttl__sub::before {
    background-color: #fff;
  }

  .l-floating__btns .c-menu.buyers {
    background-color: #438886;
  }

  .l-floating__btns .c-menu.buyers .c-menu-ttl {
    color: #fff;
  }

  .l-floating__btns .c-menu.buyers .c-menu-ttl__main::before {
    background-color: #fff;
    width: 23px;
    height: 18px;
  }

  .l-floating__btns .c-menu.buyers .c-menu-ttl__sub::before {
    background-color: #fff;
  }

  .l-floating__btns .c-menu-ttl {
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 0;
    padding: 6px;
  }

  .l-floating__btns .c-menu-ttl::after {
    content: "";
    display: block;
    width: 17px;
    height: 5px;
    -webkit-mask-image: url("../img/common/icon_arrow.svg");
    mask-image: url("../img/common/icon_arrow.svg");
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: 100%;
    mask-size: 100%;
    -webkit-mask-position: center;
    mask-position: center;
    background-color: #fff;
    transition: 0.3s ease;
    position: absolute;
    top: 50%;
    right: 16px;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
  }

  .l-floating__btns .c-menu-ttl__main {
    font-size: 0.875rem;
  }

  .l-floating__btns .c-menu-ttl__sub {
    font-size: 0.625rem;
  }

  .l-floating__contact {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    -ms-flex-pack: end;
    justify-content: flex-end;
    -ms-flex-align: end;
    align-items: flex-end;
    gap: 12px;
    padding: 16px;
  }

  .l-floating__contact a {
    width: 44px;
    height: 44px;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: center;
    justify-content: center;
    border-radius: 50%;
  }

  .l-floating__contact a.tel {
    background-color: #0E6A67;
  }

  .l-floating__contact a.mail {
    background-color: #438886;
  }
}

/* -------- cta -------- */
.l-cta {
  padding: 70px 0;
  position: relative;
  overflow: hidden;
  margin-bottom: 88px;
}

.l-cta .l-wrap {
  position: relative;
  z-index: 1;
}

.l-cta .c-ttl {
  color: #fff;
  margin-bottom: 32px;
}

.l-cta .c-ttl .en {
  color: #fff;
}

.l-cta p {
  color: #fff;
  font-weight: 500;
}

.l-cta .c-btn {
  margin: 48px auto 0;
}

.l-cta__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.l-cta__bg:before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background-color: rgba(1, 30, 30, 0.33);
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  opacity: 1;
}

.l-cta__bg img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  position: relative;
}

@media screen and (max-width: 768px) {
  .l-cta {
    padding: 44px 0;
    margin-bottom: 72px;
  }

  .l-cta .c-btn {
    margin: 32px auto 0;
  }
}

/* ---------------------------------------------
  footer フッター
  --------------------------------------------- */
.l-footer {
  position: relative;
  z-index: 999;
  padding-top: 80px;
  background-color: #F2F7F7;
}

.l-footer .l-footer__wrap {
  max-width: 1300px;
  display: -ms-flexbox;
  display: flex;
  gap: min(7.63vw, 110px);
}

.l-footer__logo {
  margin-bottom: 42px;
}

.l-footer__links {
  display: inline-block;
  margin-top: 32px;
}

.l-footer__contact {
  margin-bottom: 64px;
  -ms-transform: translateY(10px);
  transform: translateY(10px);
}

.l-footer__contact .btn.contact {
  font-size: max(1rem, 14px);
}

.l-footer__container {
  -ms-flex: 1;
  flex: 1;
  margin-bottom: 88px;
}

.l-footer__nav {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.l-footer__nav .list {
  margin-top: 18px;
}

.l-footer__nav .list li {
  font-weight: 500;
}

.l-footer__nav .list li:not(:last-child) {
  margin-bottom: 12px;
}

.l-footer__nav .list a {
  transition: 0.3s ease;
}

@media (hover: hover) {
  .l-footer__nav .list a:hover {
    opacity: 0.7;
  }
}

.l-footer__nav .nav-sp {
  display: none;
}

.l-footer__copy {
  background-color: #0E6A67;
  color: #fff;
  text-align: center;
  padding: 10px;
}

.l-footer__copy small {
  font-size: 0.875rem;
  font-size: 14px;
}

@media screen and (max-width: 992px) {
  .l-footer {
    padding-top: 32px;
  }

  .l-footer .l-footer__wrap {
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 32px;
    position: relative;
  }

  .l-footer__info address, .l-footer__info p {
    font-size: 0.8125rem;
    font-size: 13px;
  }

  .l-footer__logo {
    margin-bottom: 20px;
    max-width: 162px;
  }

  .l-footer__links {
    display: none;
  }

  .l-footer__contact {
    -ms-transform: none;
    transform: none;
    margin-bottom: 32px;
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    -ms-flex-align: end;
    align-items: flex-end;
  }

  .l-footer__container {
    margin-bottom: 60px;
  }

  .l-footer__nav {
    gap: 32px;
  }

  .l-footer__nav .nav-item:last-of-type {
    -ms-flex-order: 1;
    order: 1;
  }

  .l-footer__nav .nav-item.sellers {
    -ms-flex-order: 2;
    order: 2;
  }

  .l-footer__nav .nav-item.buyers {
    -ms-flex-order: 3;
    order: 3;
  }

  .l-footer__nav .c-menu-ttl {
    font-size: 1.125rem;
  }

  .l-footer__nav .list {
    margin-top: 16px;
  }

  .l-footer__nav .list li:not(:last-child) {
    margin-bottom: 16px;
  }

  .l-footer__nav .nav-sp {
    display: block;
  }

  .l-footer__copy {
    padding: 8px;
  }

  .l-footer__copy small {
    font-size: 0.75rem;
    font-size: 12px;
  }
}

@media screen and (max-width: 768px) {
  .l-footer__links {
    display: none;
  }

  .l-footer__contact {
    position: static;
    -ms-flex-align: start;
    align-items: flex-start;
  }

  .l-footer__contact .btn.contact {
    font-size: 0.875rem;
  }

  .l-footer__nav {
    -ms-flex-direction: column;
    flex-direction: column;
  }

  .l-footer__nav .c-menu-ttl {
    font-size: 1.125rem;
  }
}

/* —————————————————
  component
  —————————————————*/
/* ------- title --------- */
.c-ttl {
  width: 100%;
  margin-bottom: 40px;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
  gap: 2px;
  font-weight: 700;
}

.c-ttl .en {
  font-size: 1.125rem;
  line-height: 1.2;
  color: #0E6A67;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  letter-spacing: 0.02em;
  gap: 8px;
}

.c-ttl .en::after {
  content: "";
  width: 20px;
  height: 2px;
  background-color: #0E6A67;
  border-radius: 4px;
}

.c-ttl .ja {
  font-size: 2rem;
  letter-spacing: 0.05em;
}

.c-ttl.center {
  -ms-flex-align: center;
  align-items: center;
}

.c-ttl.center .en::after {
  display: none;
}

.c-ttl.sellers .ja {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  gap: 10px;
}

.c-ttl.sellers .ja::before {
  content: "";
  display: block;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100%;
  mask-size: 100%;
  -webkit-mask-position: center;
  mask-position: center;
  width: 42px;
  height: 48px;
  -webkit-mask-image: url("../img/common/icon_sellers.svg");
  mask-image: url("../img/common/icon_sellers.svg");
  background-color: #0E6A67;
}

.c-ttl.buyers .ja {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  gap: 10px;
}

.c-ttl.buyers .ja::before {
  content: "";
  display: block;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100%;
  mask-size: 100%;
  -webkit-mask-position: center;
  mask-position: center;
  width: 51px;
  height: 40px;
  -webkit-mask-image: url("../img/common/icon_buyers.svg");
  mask-image: url("../img/common/icon_buyers.svg");
  background-color: #438886;
}

.c-section-lead {
  font-size: 2.375rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0;
  margin-bottom: 40px;
  color: #0E6A67;
}

@media screen and (max-width: 768px) {
  .c-ttl {
    margin-bottom: 32px;
    gap: 3px;
  }

  .c-ttl .en {
    font-size: 0.875rem;
  }

  .c-ttl .en::after {
    width: 12px;
    height: 2px;
  }

  .c-ttl .ja {
    font-size: 1.1875rem;
  }

  .c-ttl.sellers .ja {
    gap: 8px;
  }

  .c-ttl.sellers .ja::before {
    width: 28px;
    height: 32px;
  }

  .c-ttl.buyers .ja {
    gap: 8px;
  }

  .c-ttl.buyers .ja::before {
    width: 36px;
    height: 29px;
  }

  .c-section-lead {
    font-size: 1.375rem;
    margin-bottom: 32px;
    line-height: 1.7;
  }
}

/* ------- btn --------- */
.c-btn {
  font-weight: 700;
  display: -ms-flexbox;
  display: flex !important;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-pack: center;
  justify-content: center;
  width: -moz-fit-content;
  width: fit-content;
  transition: 0.3s ease;
  background-color: #0E6A67;
  border: 1px solid #0E6A67;
  border-radius: 60px;
  color: #fff;
  margin-top: 64px;
  padding: 15px 66px;
  position: relative;
}

.c-btn::after {
  content: "";
  display: block;
  width: 20px;
  height: 8px;
  -webkit-mask-image: url("../img/common/icon_arrow.svg");
  mask-image: url("../img/common/icon_arrow.svg");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100%;
  mask-size: 100%;
  -webkit-mask-position: center;
  mask-position: center;
  background-color: #fff;
  transition: 0.3s ease;
  position: absolute;
  top: 50%;
  right: 20px;
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}

@media (hover: hover) {
  .c-btn:hover {
    color: #0E6A67;
    background-color: #fff;
  }

  .c-btn:hover::after {
    background-color: #0E6A67;
  }
}

.c-btn.center {
  margin-right: auto;
  margin-left: auto;
}

@media screen and (max-width: 768px) {
  .c-btn {
    width: 100%;
    margin-top: 48px;
    padding: 16px;
    font-size: 0.875rem;
  }

  .c-btn::after {
    width: 17px;
    height: 5px;
    right: 14px;
  }
}

@media screen and (max-width: 768px) {
  .c-img img {
    aspect-ratio: 390/180;
    -o-object-fit: cover;
    object-fit: cover;
  }
}

.u-center {
  text-align: center;
}

.u-right {
  text-align: right;
}

.u-border {
  border-bottom: 1px solid #ccc;
  font-weight: 700;
  padding-bottom: 10px;
  margin-bottom: 10px;
}

.u-bold {
  font-weight: 700;
}

.u-marker {
  font-weight: 700;
  background-color: #E1EBF5;
}

.l-wrap {
  width: calc(100% - 7.5rem);
  max-width: 1300px;
  margin: 0 auto;
}

.l-wrap.wide {
  max-width: 1440px;
}

@media screen and (max-width: 992px) {
  .l-wrap {
    width: calc(100% - 40px);
  }
}

/* ---------------------------------------------
  top-mv
  --------------------------------------------- */
.p-top-mv {
  width: 100%;
  position: relative;
  overflow: hidden;
}

.p-top-mv__wrap {
  position: relative;
}

.p-top-mv__bg {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  position: relative;
  min-height: 640px;
}

.p-top-mv__bg::after {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background-color: rgba(1, 30, 30, 0.3);
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.p-top-mv__slider:nth-child(3) {
  grid-column: 2;
  grid-row: 1/span 2;
}

.p-top-mv__slider .swiper-slide img {
  width: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  min-height: 100%;
}

.p-top-mv__block {
  width: calc(100% - 40px);
  max-width: 1240px;
  position: absolute;
  top: 50%;
  left: 50%;
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  z-index: 2;
  color: #fff;
}

.p-top-mv__block p {
  text-shadow: 1px 1px 1px rgba(0, 24, 24, 0.16);
}

.p-top-mv__copy {
  font-size: 3.25rem;
  font-weight: 700;
  line-height: 1.62;
  text-shadow: 1px 1px 1px rgba(0, 24, 24, 0.16);
  letter-spacing: 0.05em;
  margin-bottom: 32px;
}

@media screen and (max-width: 1040px) {
  .p-top-mv__bg {
    min-height: 768px;
  }
}

@media screen and (max-width: 768px) {
  .p-top-mv {
    margin-top: 56px;
  }

  .p-top-mv__bg {
    grid-template-rows: auto;
    min-height: initial;
  }

  .p-top-mv__slider:nth-child(1) {
    grid-column: span 2;
  }

  .p-top-mv__slider:nth-child(3) {
    grid-row: initial;
    grid-column: initial;
  }

  .p-top-mv__block p {
    font-size: max(3.4vw, 0.75rem);
    font-weight: 500;
  }

  .p-top-mv__copy {
    font-size: max(6.4vw, 1.5rem);
    line-height: 1.75;
    margin-bottom: 30px;
  }
}

/* ---------------------------------------------
   top news
  --------------------------------------------- */
.p-top-news {
  position: absolute;
  bottom: 2rem;
  right: 0;
  z-index: 2;
}

.p-top-news .l-wrap {
  background-color: rgba(255, 255, 255, 0.95);
  width: 100%;
  max-width: 37.5rem;
  padding: 28px 2.5rem;
  border-radius: 12px 0 0 12px;
}

.p-top-news .c-ttl {
  margin-bottom: 14px;
}

.p-top-news .c-ttl .en {
  font-size: 2rem;
}

.p-top-news .c-ttl .en::after {
  display: none;
}

.p-top-news__list li:not(:last-child) {
  margin-bottom: 5px;
}

.p-top-news__list li a {
  transition: 0.3s ease;
}

@media (hover: hover) {
  .p-top-news__list li a:hover {
    opacity: 0.8;
  }
}

.p-top-news__list .p-news__text {
  -ms-flex: 1;
  flex: 1;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  gap: 7px;
  font-weight: 500;
  border-bottom: 1px solid rgba(14, 106, 103, 0.5);
  padding-bottom: 5px;
}

.p-top-news__list .news-category {
  display: block;
  background-color: #DBE9E8;
  line-height: 1.2;
  padding: 2px;
  font-size: 0.875rem;
  font-size: 14px;
  min-width: 90px;
  text-align: center;
  border-radius: 30px;
}

.p-top-news__list .news-ttl {
  -ms-flex: 1;
  flex: 1;
  transition: 0.3s ease;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

@media screen and (max-width: 992px) {
  .p-top-news .l-wrap {
    max-width: 520px;
  }
}

@media screen and (max-width: 768px) {
  .p-top-news {
    position: static;
    background-color: #F2F7F7;
    width: calc(100% - 15px);
    margin: 42px 0 0 auto;
    border-radius: 8px 0 0 0;
  }

  .p-top-news .l-wrap {
    background: none;
    padding: 30px 20px;
    border-radius: 0;
  }

  .p-top-news .c-ttl {
    margin-bottom: 20px;
  }

  .p-top-news .c-ttl .en {
    font-size: 1.625rem;
  }

  .p-top-news__list .p-news__text {
    -ms-flex: 1;
    flex: 1;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    gap: 6px;
    font-weight: 500;
  }

  .p-top-news__list .news-date {
    font-size: 0.75rem;
  }

  .p-top-news__list .news-category {
    font-size: 0.625rem;
    min-width: 65px;
  }

  .p-top-news__list .news-ttl {
    font-size: 0.75rem;
  }
}

/* ---------------------------------------------
  about section
  --------------------------------------------- */
.p-top-about {
  padding: 9rem 0 10.5rem;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.p-top-about__block .about-img {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: start;
  align-items: flex-start;
  position: absolute;
  top: 9rem;
  right: 0;
  width: 42.7%;
  gap: 2.25rem;
}

.p-top-about__block .about-img .item:first-child {
  margin-top: 22%;
}

.p-top-about__block .about-img .item:first-child img {
  border-radius: 12px;
}

.p-top-about__block .about-img .item:last-child img {
  border-radius: 12px 0 0 12px;
}

.p-top-about__block .about-text {
  width: 56%;
  margin: 0 auto 0 0;
}

.p-top-about__block .c-section-lead {
  font-size: 2.8125rem;
  font-size: min(3.125vw, 2.8125rem);
}

.p-top-about__block .desc {
  max-width: 585px;
}

.p-top-about__block .c-btn {
  -ms-transform: translateX(-24px);
  transform: translateX(-24px);
}

@media screen and (max-width: 992px) {
  .p-top-about__block .c-btn {
    -ms-transform: none;
    transform: none;
  }
}

@media screen and (max-width: 768px) {
  .p-top-about {
    padding: 50px 0 56px;
  }

  .p-top-about .c-ttl {
    margin-bottom: 40px;
  }

  .p-top-about__block {
    padding-left: 0;
  }

  .p-top-about__block .c-ttl {
    padding-top: 0;
  }

  .p-top-about__block .c-section-lead {
    font-size: 1.625rem;
  }

  .p-top-about__block .about-img {
    position: static;
    width: calc(100% + 20px);
    gap: 16px;
    margin-bottom: 40px;
  }

  .p-top-about__block .about-img .item:first-child {
    margin-top: 0;
  }

  .p-top-about__block .about-img .item:first-child img {
    border-radius: 8px;
  }

  .p-top-about__block .about-img .item:last-child {
    margin-top: 24%;
  }

  .p-top-about__block .about-img .item:last-child img {
    border-radius: 8px 0 0 8px;
  }

  .p-top-about__block .about-text {
    width: 100%;
    margin: 0 auto 0 0;
  }

  .p-top-about__block .c-section-lead {
    font-size: 1.625rem;
    line-height: 1.7;
  }

  .p-top-about__block .desc {
    max-width: 100%;
  }

  .p-top-about__block .c-btn {
    -ms-transform: none;
    transform: none;
    font-size: 0.8125rem;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding: 16px 1.25rem;
  }
}

/* ---------------------------------------------
  top sellers
  --------------------------------------------- */
.p-top-sellers {
  background-color: #F2F7F7;
  padding: 7.5rem 0 10rem;
  position: relative;
  margin-bottom: 80px;
}

/* -------- menu list  -------- */
.p-menu__list {
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 56px;
  gap: 8px;
}

.p-menu__list .item {
  position: relative;
  overflow: hidden;
}

.p-menu__list .item:first-child .menu-img {
  border-radius: 0 12px 12px 0;
}

.p-menu__list .item:last-child .menu-img {
  border-radius: 12px 0 0 12px;
}

.p-menu__list .menu-img {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  transition: 0.3s ease;
}

.p-menu__list .menu-img::before {
  content: "";
  display: block;
  width: 100%;
  height: 30%;
  background: linear-gradient(180deg, rgba(0, 24, 24, 0) 0%, #001818 100%);
  opacity: 0.7;
  position: absolute;
  bottom: 0;
  left: 0;
}

.p-menu__list .menu-img img {
  aspect-ratio: 354/423;
  -o-object-fit: cover;
  object-fit: cover;
  width: 100%;
}

.p-menu__list .menu-ttl {
  font-size: 1.125rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.6;
  position: absolute;
  bottom: 20px;
  right: 20px;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: end;
  justify-content: flex-end;
  -ms-flex-align: center;
  align-items: center;
  gap: 12px;
}

.p-menu__list .menu-ttl::after {
  content: "";
  display: block;
  width: 20px;
  height: 8px;
  -webkit-mask-image: url("../img/common/icon_arrow.svg");
  mask-image: url("../img/common/icon_arrow.svg");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100%;
  mask-size: 100%;
  -webkit-mask-position: center;
  mask-position: center;
  background-color: #fff;
  transition: 0.3s ease;
}

.p-menu__list a {
  transition: 0.3s ease;
}

@media (hover: hover) {
  .p-menu__list a:hover .menu-img {
    opacity: 0.8;
  }
}

/* -------- guide  -------- */
.p-sellers-guide__block {
  background-color: #fff;
  border-radius: 12px;
  padding: 40px 32px;
  margin-top: 72px;
}

.p-sellers-guide__block .p-guide__ttl {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.guide-lead {
  margin-bottom: 10px;
}

.p-guide__list {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 20px;
}

.p-guide__list a {
  display: inline-block;
  padding: 2px 22px;
  background-color: #DBE9E8;
  border-radius: 30px;
  font-weight: 500;
  line-height: 1.7;
}

.p-guide__list a::before {
  content: "#";
}

@media screen and (max-width: 768px) {
  .p-top-sellers {
    padding: 44px 0 56px;
    margin-bottom: 56px;
  }

  .p-menu__list {
    width: calc(100% - 20px);
    grid-template-columns: 1fr;
    margin-top: 80px;
    margin: 40px auto 0 0;
    gap: 32px;
  }

  .p-menu__list .item {
    position: relative;
    overflow: hidden;
  }

  .p-menu__list .item:first-child .menu-img {
    border-radius: 0 12px 12px 0;
  }

  .p-menu__list .item:last-child .menu-img {
    border-radius: 0 12px 12px 0;
  }

  .p-menu__list .menu-img {
    border-radius: 0 12px 12px 0;
  }

  .p-menu__list .menu-img img {
    aspect-ratio: 355/207;
  }

  .p-menu__list .menu-ttl {
    font-size: 0.875rem;
    bottom: 16px;
    right: 16px;
  }

  .p-menu__list .menu-ttl::after {
    width: 17px;
    height: 5px;
  }

  .p-sellers-guide__block {
    padding: 24px;
    margin-top: 40px;
  }

  .p-sellers-guide__block .p-guide__ttl {
    font-size: 1.125rem;
  }

  .p-guide__list {
    gap: 22px;
  }

  .p-guide__list a {
    padding: 4px 16px;
    font-size: 0.875rem;
  }
}

/* ---------------------------------------------
  top buyers
  --------------------------------------------- */
.p-top-buyers {
  background-color: #F2F7F7;
  padding: 7.5rem 0 10rem;
  position: relative;
}

.p-top-buyers .c-section-lead {
  letter-spacing: 0.05em;
}

/* -------- search  -------- */
.p-top-buying-search {
  background-color: #fff;
  border-radius: 12px;
  padding: 40px 3.5rem;
  margin-top: 80px;
}

.p-top-buying-search .p-search__ttl {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 32px;
}

.p-top-buying-search .tab-list {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  list-style: none;
  gap: 8px;
  border-bottom: 1px solid #438886;
}

.p-top-buying-search .tab-list .item {
  cursor: pointer;
  border-bottom: none;
  color: #fff;
  background-color: rgba(126, 143, 142, 0.67);
  font-weight: 600;
  text-align: center;
  padding: 8px 0;
  border-radius: 4px 4px 0 0;
}

.p-top-buying-search .tab-list .item.is-active {
  background: #438886;
}

.p-top-buying-search .tab-contents {
  margin-top: 32px;
}

.p-top-buying-search .tab-contents .tab-contents-block {
  display: none;
}

.p-top-buying-search .tab-contents .tab-contents-block.is-active {
  display: block;
}

.p-top-buying-search .tab-contets-nested {
  margin-top: 64px;
}

/* -------- map detail  -------- */
.p-search-contents {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: center;
  justify-content: center;
  gap: 3.125rem;
}

.p-search-contents.tokyo-23 {
  gap: 4.375rem;
}

.p-search-contents.tokyo-23 .p-search-map__block {
  width: 80%;
  max-width: 400px;
}

.p-search-contents.tokyo-23 .p-search-map__list {
  max-width: 610px;
}

.p-search-contents.chiba {
  gap: 4.375rem;
}

.p-search-map__block svg {
  width: 100%;
  height: auto;
}

.p-search-map__block path {
  transition: 0.1s ease;
}

.p-search-map__block path.is-active {
  fill: #0E6A67;
}

.p-search-map__list {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
  gap: 32px;
  max-width: 640px;
}

.p-search-map__list>li {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: start;
  align-items: flex-start;
  gap: 20px;
}

.p-search-map__list .row {
  background-color: #438886;
  border-radius: 4px;
  padding: 4px 20px;
  color: #fff;
  font-weight: 500;
  font-size: 0.9375rem;
  line-height: 1.45;
}

.p-search-map__list .item-list, .railway .item-list, .area .item-list {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 16px;
  -ms-flex: 1;
  flex: 1;
}

.p-search-map__list .item-list a {
  display: inline-block;
  background-color: #DBE9E8;
  border-radius: 30px;
  font-size: 0.9375rem;
  padding: 3px 18px;
  font-weight: 500;
  transition: 0.3s ease;
}

.railway .item-list a {
  display: inline-block;
  background-color: #DBE9E8;
  border-radius: 30px;
  font-size: 0.9375rem;
  padding: 3px 18px;
  font-weight: 500;
  transition: 0.3s ease;
}

.area .item-list a {
  display: inline-block;
  background-color: #DBE9E8;
  border-radius: 30px;
  font-size: 0.9375rem;
  padding: 3px 18px;
  font-weight: 500;
  transition: 0.3s ease;
}

@media (hover: hover) {
  .p-search-map__list .item-list a:hover {
    opacity: 0.8;
  }
}

.p-search-map__list .item-list.list-4 {
  max-width: 480px;
}

@media screen and (max-width: 768px) {
  .p-top-buyers {
    padding: 44px 0 84px;
  }

  /* -------- search  -------- */
  .p-top-buying-search {
    border-radius: 12px 0 0 12px;
    padding: 24px;
    width: calc(100vw - 20px);
    margin: 40px 0 0 auto;
  }

  .p-top-buying-search .p-search__ttl {
    font-size: 1.125rem;
  }

  .p-top-buying-search .tab-list-wrap {
    overflow-x: scroll;
    width: calc(100% + 24px);
  }

  .p-top-buying-search .tab-list {
    gap: 4px;
    padding-right: 24px;
  }

  .p-top-buying-search .tab-list .item {
    border-radius: 4px 4px 0 0;
    white-space: nowrap;
    min-width: 152px;
  }

  .p-top-buying-search .tab-contents {
    margin-top: 20px;
  }

  .p-top-buying-search .tab-contets-nested {
    margin-top: 40px;
  }

  .p-search-contents {
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 30px;
  }

  .p-search-contents.tokyo-23 {
    gap: 30px;
  }

  .p-search-contents.tokyo-23 .p-search-map__block {
    width: 100%;
    max-width: 400px;
  }

  .p-search-contents.chiba {
    gap: 30px;
  }

  .p-search-map__list {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 32px;
  }

  .p-search-map__list>li {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: start;
    align-items: flex-start;
    gap: 16px;
  }

  .p-search-map__list .row {
    padding: 0 10px;
    font-size: 0.875rem;
    min-width: 50px;
  }

  .p-search-map__list .item-list {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 16px;
  }

  .p-search-map__list .item-list a {
    font-size: 0.875rem;
    padding: 2px 12px;
  }
}

/* ---------------------------------------------
    p-specialists-section
  --------------------------------------------- */
.p-specialists-section {
  padding: 7.5rem 0 5.5rem;
}

.p-specialists-section .c-section-lead {
  letter-spacing: 0.05em;
}

@media screen and (max-width: 768px) {
  .p-specialists-section {
    padding: 44px 0 72px;
  }

  .p-specialists-section .c-section-lead {
    letter-spacing: 0;
  }
}

/* ------------------------
  page component
  ------------------------*/
/* -------- page-head -------- */
.c-page-head {
  position: relative;
  z-index: 3;
}

.c-page-head .c-ttl {
  margin-bottom: 0;
}

.c-page-head__img {
  position: relative;
}

.c-page-head__img img {
  aspect-ratio: 1440/360;
  -o-object-fit: cover;
  object-fit: cover;
}

.c-page-head__img::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background-color: #011E1E;
  opacity: 0.39;
  position: absolute;
  top: 0;
  left: 0;
  mix-blend-mode: multiply;
}

.c-page-head__ttl {
  position: absolute;
  top: 50%;
  left: 50%;
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  width: calc(100% - 2rem);
}

.c-page-head__ttl .c-ttl {
  -ms-flex-align: center;
  align-items: center;
  color: #fff;
}

.c-page-head__ttl .c-ttl .en {
  color: #fff;
  text-transform: uppercase;
}

.c-page-head__ttl .c-ttl .en::after {
  background-color: #fff;
}

.c-page-head__ttl .c-ttl .ja::before {
  background-color: #fff;
}

.c-page-head__ttl .c-ttl-sub {
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  color: #fff;
}

@media screen and (max-width: 992px) {
  .c-page-head {
    margin-top: 56px;
  }
}

@media screen and (max-width: 768px) {
  .c-page-head {
    margin-top: 56px;
  }

  .c-page-head .c-ttl {
    margin-bottom: 0;
  }

  .c-page-head__img img {
    aspect-ratio: 375/220;
  }

  .c-page-head__ttl .c-ttl-sub {
    font-size: 0.875rem;
  }
}

/* ----------- breadcrumbs -----------*/
.c-breadcrumbs {
  position: relative;
  z-index: 1;
  width: calc(100% - 40px);
  max-width: 1300px;
  margin: 10px auto 0;
}

.c-breadcrumbs .breadcrumbs {
  color: #333;
  font-weight: 500;
}

.c-breadcrumbs__list {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  width: -moz-fit-content;
  width: fit-content;
}

.c-breadcrumbs__list li:not(:last-of-type)::after {
  content: ">";
  margin: 0 3px;
}

.c-breadcrumbs__list li,
.c-breadcrumbs__list a {
  display: inline-block;
  font-size: 0.875rem;
  line-height: 1.6;
  font-weight: 500;
}

@media screen and (max-width: 768px) {
  .c-breadcrumbs {
    margin-top: 8px;
  }

  .c-breadcrumbs.is-bg::before {
    top: -32px;
  }

  .c-breadcrumbs__list {
    width: auto;
    display: -ms-flexbox;
    display: flex;
    white-space: nowrap;
    overflow: auto;
  }

  .c-breadcrumbs__list li,
  .c-breadcrumbs__list a {
    font-size: 0.6875rem;
  }
}

/* -------- category -------- */
.c-category {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 10px;
}

.c-category li {
  background-color: #DBE9E8;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 2px 16px;
  border-radius: 30px;
}

@media screen and (max-width: 768px) {
  .c-category li {
    font-size: 0.8125rem;
  }
}

/* ---------------------------------------------
  sellers page
  --------------------------------------------- */
/* -------------- strengths -------------- */
.p-sellers-strengths {
  padding: 6.875rem 0 8.75rem;
  position: relative;
  overflow: hidden;
}

.p-strengths__block .strengths-img {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: start;
  align-items: flex-start;
  position: absolute;
  right: 0;
  bottom: 8.75rem;
  width: 42.7%;
  gap: 35px;
}

.p-strengths__block .strengths-img .item:first-child {
  margin-top: 22%;
}

.p-strengths__block .strengths-img .item:first-child img {
  border-radius: 12px;
}

.p-strengths__block .strengths-img .item:last-child img {
  border-radius: 12px 0 0 12px;
}

.p-strengths__block .strengths-text {
  width: 58%;
  margin: 0 auto 0 0;
}

.p-strengths__block .desc {
  max-width: 585px;
}

@media screen and (max-width: 768px) {
  .p-sellers-strengths {
    padding: 60px 0;
  }

  .p-strengths__block .strengths-img {
    position: static;
    width: calc(100% + 20px);
    gap: 16px;
    margin-bottom: 40px;
  }

  .p-strengths__block .strengths-img .item:first-child {
    margin-top: 0;
  }

  .p-strengths__block .strengths-img .item:first-child img {
    border-radius: 8px;
  }

  .p-strengths__block .strengths-img .item:last-child {
    margin-top: 20%;
  }

  .p-strengths__block .strengths-img .item:last-child img {
    border-radius: 8px 0 0 8px;
  }

  .p-strengths__block .strengths-text {
    width: 100%;
    margin: 0 auto 0 0;
  }

  .p-strengths__block .desc {
    max-width: 100%;
  }

  .p-strengths__block .c-btn {
    -ms-transform: none;
    transform: none;
    font-size: 0.8125rem;
  }
}

/* -------------- guide -------------- */
.p-sellers-guide {
  padding: 7.5rem 0;
  position: relative;
  background-color: #F2F7F7;
}

.p-top-guide__block .guide-img {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: start;
  align-items: flex-start;
  position: absolute;
  top: 9.6875rem;
  right: 0;
  width: 50%;
  max-width: 800px;
}

.p-top-guide__block .guide-img img {
  border-radius: 12px 0 0 12px;
}

.p-top-guide__block .guide-text {
  width: 46%;
  margin: 0 auto 0 0;
}

.p-top-guide__block .desc {
  max-width: 570px;
}

@media screen and (max-width: 768px) {
  .p-sellers-guide {
    padding: 60px 0;
  }

  .p-top-guide__block .guide-img {
    position: static;
    width: calc(100% + 20px);
    margin-bottom: 40px;
  }

  .p-top-guide__block .guide-text {
    width: 100%;
    margin: 0 auto 0 0;
  }
}

/* -------------- flow -------------- */
.p-sellers-flow {
  padding: 7.5rem 0;
}

.p-sellers-flow .c-btn {
  margin: 64px 0 0 auto;
}

.p-sellers-flow__list {
  margin: 56px auto 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.p-sellers-flow__list .item {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
  gap: 20px;
}

.p-sellers-flow__list .item img {
  border-radius: 4px;
}

.p-sellers-flow__list .item:first-child .item-text {
  padding-left: 20px;
}

.p-sellers-flow__list .item-text {
  color: #0E6A67;
  font-weight: 700;
  -webkit-clip-path: polygon(85% 0, 100% 50%, 85% 100%, 0 100%, 0 0);
  clip-path: polygon(85% 0, 100% 50%, 85% 100%, 0 100%, 0 0);
  background-color: #0E6A67;
  position: relative;
  padding: 12px;
}

.p-sellers-flow__list .item-text::before {
  content: "";
  width: calc(100% - 4px);
  height: calc(100% - 4px);
  position: absolute;
  top: 2px;
  left: 2px;
  -webkit-clip-path: polygon(85% 0, 100% 50%, 85% 100%, 0 100%, 0 0);
  clip-path: polygon(85% 0, 100% 50%, 85% 100%, 0 100%, 0 0);
  background-color: #F2F7F7;
}

.p-sellers-flow__list .step-num {
  position: relative;
  font-family: "Quicksand", sans-serif;
  font-size: 1.125rem;
}

.p-sellers-flow__list .step-ttl {
  position: relative;
}

@media screen and (max-width: 768px) {
  .p-sellers-flow {
    padding: 60px 0;
  }

  .p-sellers-flow .c-btn {
    margin: 40px 0 0 auto;
  }

  .p-sellers-flow__list {
    grid-template-columns: auto;
    gap: 20px;
  }

  .p-sellers-flow__list .item {
    -ms-flex-direction: row;
    flex-direction: row;
    gap: 20px;
  }

  .p-sellers-flow__list .item-text {
    -webkit-clip-path: polygon(0 0, 100% 0, 100% 85%, 50% 100%, 0 85%);
    clip-path: polygon(0 0, 100% 0, 100% 85%, 50% 100%, 0 85%);
    min-width: 10rem;
    text-align: center;
  }

  .p-sellers-flow__list .item-text::before {
    -webkit-clip-path: polygon(0 0, 100% 0, 100% 85%, 50% 100%, 0 85%);
    clip-path: polygon(0 0, 100% 0, 100% 85%, 50% 100%, 0 85%);
  }

  .p-sellers-flow__list .step-num {
    display: block;
    font-size: 1rem;
    text-align: center;
  }
}

/* -------------- case -------------- */
.p-case-section {
  padding: 7.5rem 0;
  position: relative;
  background-color: #F2F7F7;
}

.p-case-section .lead {
  width: -moz-fit-content;
  width: fit-content;
  margin: 0 auto;
}

.p-case-section .p-case__list+.c-btn {
  margin-top: 80px;
}

.p-case__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 440px));
  -ms-flex-pack: center;
  justify-content: center;
  gap: 4.5rem;
  margin-top: 56px;
}

.p-case__list .case-img img {
  aspect-ratio: 440/242;
  width: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

.p-case__list .case-text {
  padding: 18px 16px 24px;
}

.p-case__list .case-ttl {
  color: #0E6A67;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.p-case__list .c-btn {
  margin: 20px 0 0 auto;
  padding: 8px 60px 8px 50px;
}

.p-case__list a {
  transition: 0.3s ease;
  display: block;
  width: 100%;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.08);
  background-color: #fff;
  border-radius: 12px;
  overflow: hidden;
}

@media (hover: hover) {
  .p-case__list a:hover .c-btn {
    color: #0E6A67;
    background-color: #fff;
  }

  .p-case__list a:hover .c-btn::after {
    background-color: #0E6A67;
  }
}

@media screen and (max-width: 768px) {
  .p-case-section {
    padding: 60px 0;
  }

  .p-case-section .p-case__list+.c-btn {
    margin-top: 40px;
  }

  .p-case__list {
    grid-template-columns: 1fr;
    margin-top: 60px;
  }

  .p-case__list .c-btn {
    width: -moz-fit-content;
    width: fit-content;
  }

  .p-case__list .case-ttl {
    font-size: 1.125rem;
  }
}

/* -------------- faq -------------- */
.p-faq-section {
  padding: 7.5rem 0 8.75rem;
}

.p-faq-section .c-ttl {
  margin-bottom: 72px;
}

.p-faq-section .c-btn {
  margin-top: 80px;
}

.p-faq__block {
  max-width: 1216px;
  margin: 0 auto;
  background-color: #F2F7F7;
  border-radius: 12px;
  padding: 16px 24px;
  cursor: pointer;
}

.p-faq__block:not(:last-child) {
  margin-bottom: 32px;
}

.p-faq__block .p-faq__question {
  font-size: 1.25rem;
  position: relative;
  transition: 0.3s ease all;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  gap: 24px;
  font-weight: 700;
  line-height: 2;
  color: #0E6A67;
  padding: 0 60px 0 16px;
}

.p-faq__block .p-faq__question::before {
  content: "Q";
  font-family: "Roboto", sans-serif;
  font-size: 1.625rem;
  font-weight: 500;
  line-height: 2;
  color: #fff;
  width: 53px;
  min-width: 53px;
  height: 53px;
  background-color: #0E6A67;
  color: #fff;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-pack: center;
  justify-content: center;
  border-radius: 50%;
}

.p-faq__block .p-faq__question::after {
  content: "+";
  display: inline-block;
  font-size: 3.125rem;
  line-height: 1;
  font-weight: 400;
  position: absolute;
  top: 0;
  right: 12px;
}

.p-faq__block .p-faq__answer {
  display: none;
  margin: 0;
  padding: 0;
  position: relative;
  background-color: #fff;
  border-radius: 12px;
  margin-top: 16px;
  padding: 24px 60px 24px 16px;
}

.p-faq__block .p-faq__answer .wrap {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  gap: 24px;
}

.p-faq__block .p-faq__answer .wrap::before {
  content: "A";
  font-family: "Roboto", sans-serif;
  font-size: 1.625rem;
  font-weight: 500;
  line-height: 2;
  color: #fff;
  width: 53px;
  min-width: 53px;
  height: 53px;
  background-color: #438886;
  color: #fff;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-pack: center;
  justify-content: center;
  border-radius: 50%;
}

.p-faq__block .p-faq__answer .wrap::after {
  content: "";
  display: inline-block;
  width: 22px;
  height: 3px;
  background-color: #0E6A67;
  border-radius: 4px;
  font-size: 3.125rem;
  line-height: 1;
  font-weight: 400;
  position: absolute;
  top: 40px;
  right: 18px;
}

.p-faq__block .p-faq__answer p {
  -ms-flex: 1;
  flex: 1;
  font-weight: 700;
}

.p-faq__block.is-open {
  padding-bottom: 24px;
}

@media screen and (max-width: 768px) {
  .p-faq-section {
    padding: 60px 0;
  }

  .p-faq-section .c-ttl {
    margin-bottom: 40px;
  }

  .p-faq-section .c-btn {
    margin-top: 48px;
  }

  .p-faq__block {
    padding: 16px 12px 24px;
  }

  .p-faq__block:not(:last-child) {
    margin-bottom: 24px;
  }

  .p-faq__block .p-faq__question {
    font-size: 1rem;
    padding: 0 40px 0 12px;
    -ms-flex-align: start;
    align-items: flex-start;
    line-height: 1.7;
    gap: 20px;
  }

  .p-faq__block .p-faq__question::before {
    font-size: 1.25rem;
    width: 34px;
    min-width: 34px;
    height: 34px;
  }

  .p-faq__block .p-faq__question::after {
    font-size: 2rem;
    right: 10px;
  }

  .p-faq__block .p-faq__answer {
    margin-top: 20px;
    padding: 16px 50px 24px 12px;
  }

  .p-faq__block .p-faq__answer .wrap {
    -ms-flex-align: start;
    align-items: flex-start;
    gap: 20px;
  }

  .p-faq__block .p-faq__answer .wrap::before {
    font-size: 1.25rem;
    width: 34px;
    min-width: 34px;
    height: 34px;
  }

  .p-faq__block .p-faq__answer .wrap::after {
    width: 16px;
    height: 2px;
    top: 24px;
    right: 12px;
  }

  .p-faq__block .p-faq__answer p {
    font-weight: 500;
  }
}

/* ---------------------------------------------
  buyers page
  --------------------------------------------- */
/* -------------- property -------------- */
.p-property-section {
  padding: 7.5rem 0;
  position: relative;
  background-color: #F2F7F7;
}

.p-property-section .p-property__list+.c-btn {
  margin-top: 80px;
}

.p-property__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  -ms-flex-pack: center;
  justify-content: center;
  gap: 20px;
  margin-top: 64px;
}

.p-property__list .property-img img {
  aspect-ratio: 310/177;
  width: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

.p-property__list .property-text {
  padding: 18px 16px 24px;
}

.p-property__list .property-ttl {
  color: #0E6A67;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 14px;
  text-align: center;
}

.p-property__list a {
  transition: 0.3s ease;
  display: block;
  width: 100%;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.08);
  background-color: #fff;
  border-radius: 12px;
  overflow: hidden;
  min-height: 23.75rem;
}

@media (hover: hover) {
  .p-property__list a:hover {
    opacity: 0.7;
  }
}

@media screen and (max-width: 768px) {
  .p-property-section {
    padding: 60px 0;
  }

  .p-property-section .p-property__list+.c-btn {
    margin-top: 40px;
  }

  .p-property__list {
    grid-template-columns: 1fr;
    margin-top: 60px;
  }

  .p-property__list .c-btn {
    width: -moz-fit-content;
    width: fit-content;
  }

  .p-property__list .property-ttl {
    font-size: 1.125rem;
  }
}

/* -------------- ranking -------------- */
.p-ranking-section {
  padding: 7.5rem 0;
  position: relative;
}

.p-ranking-section .p-ranking__list {
  gap: 2.875rem;
}

.p-ranking-section .p-ranking__list+.c-btn {
  margin-top: 80px;
}

.p-ranking__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  -ms-flex-pack: center;
  justify-content: center;
  gap: 20px;
  margin-top: 64px;
}

.p-ranking__list li:first-child .ranking-num {
  background-color: #C2AE4A;
}

.p-ranking__list li:nth-child(2) .ranking-num {
  background-color: #A7A2A2;
}

.p-ranking__list li:nth-child(3) .ranking-num {
  background-color: #B99868;
}

.p-ranking__list .ranking-num {
  font-family: "Quicksand", sans-serif;
  font-weight: 600;
  font-size: 1.5rem;
  -webkit-clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 75%, 0 100%);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 75%, 0 100%);
  background-color: #0E6A67;
  color: #fff;
  position: absolute;
  top: 0;
  left: 16px;
  width: 56px;
  height: 72px;
  text-align: center;
  padding-top: 16px;
  line-height: 1;
}

.p-ranking__list .ranking-img img {
  aspect-ratio: 403/241;
  width: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

.p-ranking__list .ranking-text {
  padding: 20px 20px 24px;
}

.p-ranking__list .ranking-ttl {
  color: #0E6A67;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 14px;
  text-align: center;
}

.p-ranking__list a {
  transition: 0.3s ease;
  display: block;
  width: 100%;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.08);
  background-color: #fff;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}

@media (hover: hover) {
  .p-ranking__list a:hover {
    opacity: 0.7;
  }
}

@media screen and (max-width: 768px) {
  .p-ranking-section {
    padding: 60px 0;
  }

  .p-ranking-section .p-ranking__list {
    gap: 20px;
  }

  .p-ranking-section .p-ranking__list+.c-btn {
    margin-top: 40px;
  }

  .p-ranking__list {
    grid-template-columns: 1fr;
    margin-top: 60px;
  }

  .p-ranking__list .c-btn {
    width: -moz-fit-content;
    width: fit-content;
  }

  .p-ranking__list .ranking-ttl {
    font-size: 1.125rem;
  }
}

/* ---------------------------------------------
  strength page
  --------------------------------------------- */
/* -------------- strength section -------------- */
.p-strength-section {
  padding: 6.875rem 0 8.75rem;
}

.p-strength-section .l-wrap {
  width: calc(100% - 6.25rem);
  max-width: 1340px;
}

.c-block-media-text {
  display: -ms-flexbox;
  display: flex;
  position: relative;
}

.c-block-media-text::before {
  content: "";
  display: block;
  width: 95vw;
  height: 100%;
  background-color: #F2F7F7;
  position: absolute;
  top: 8.5%;
  left: 0;
  border-radius: 12px 0 0 12px;
}

.c-block-media-text:not(:last-child) {
  margin-bottom: 8.75rem;
}

.c-block-media-text:nth-of-type(even) {
  -ms-flex-direction: row-reverse;
  flex-direction: row-reverse;
}

.c-block-media-text:nth-of-type(even)::before {
  left: initial;
  right: 0;
  border-radius: 0 12px 12px 0;
}

.c-block-media-text:nth-of-type(even) .c-block-media-text__media {
  margin-right: initial;
  margin-left: calc(50% - 50vw);
  padding: 0 0 0 40px;
}

.c-block-media-text__media {
  position: relative;
  width: 52%;
  overflow: hidden;
  margin-right: calc(50% - 50vw);
  z-index: 1;
  padding-right: 40px;
}

.c-block-media-text__media img {
  border-radius: 12px;
}

.c-block-media-text__content {
  position: relative;
  width: 55%;
  z-index: 1;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
}

.c-block-media-text__content .content-head {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  color: #0E6A67;
  font-weight: 700;
  padding: 0 3.5rem;
  margin-bottom: 36px;
  gap: 4px;
}

.c-block-media-text__content .content-head .en {
  font-size: 1.125rem;
  line-height: 1;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -ms-flex-align: center;
  align-items: center;
  gap: 10px;
}

.c-block-media-text__content .content-head .en::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 2px;
  background-color: #0E6A67;
  border-radius: 4px;
}

.c-block-media-text__content .content-head .num {
  font-family: "Roboto", sans-serif;
  font-size: 4.0625rem;
  line-height: 1.2;
}

.c-block-media-text__content .desc {
  padding: 0 3.5rem;
}

.c-block-ttl {
  font-size: 2rem;
  font-weight: 700;
  color: #0E6A67;
  position: relative;
  margin-bottom: 24px;
  padding: 0 1.5rem 24px 3.5rem;
  letter-spacing: 0.05em;
}

.c-block-ttl::before {
  content: "";
  width: 25%;
  height: 2px;
  background-color: #0E6A67;
  position: absolute;
  bottom: 0;
  left: 0;
  border-radius: 4px;
}

.c-block-ttl::after {
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 4px;
  background-color: rgba(14, 106, 103, 0.4);
  position: absolute;
  bottom: 0;
  left: 0;
}

.c-block-ttl.sm {
  font-size: 1.875rem;
  letter-spacing: 0.02em;
}

@media screen and (max-width: 768px) {
  .p-strength-section {
    padding: 60px 0 80px;
  }

  .p-strength-section .l-wrap {
    width: calc(100% - 40px);
  }

  .c-block-media-text {
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 30px;
  }

  .c-block-media-text::before {
    width: 100vw;
    top: 28px;
    left: calc(50% - 50vw);
    border-radius: 0;
  }

  .c-block-media-text:not(:last-child) {
    margin-bottom: 100px;
  }

  .c-block-media-text:nth-of-type(even) {
    -ms-flex-direction: row-reverse;
    flex-direction: row-reverse;
  }

  .c-block-media-text:nth-of-type(even)::before {
    right: initial;
    left: calc(50% - 50vw);
    border-radius: 0;
  }

  .c-block-media-text:nth-of-type(even) .c-block-media-text__media {
    margin-left: auto;
    padding: 0;
  }

  .c-block-media-text__media {
    width: 100%;
    margin-right: auto;
    padding-right: 0;
  }

  .c-block-media-text__content {
    width: 100%;
  }

  .c-block-media-text__content .content-head {
    margin-bottom: 24px;
    gap: 8px;
    padding: 0;
  }

  .c-block-media-text__content .content-head .en {
    font-size: 1rem;
  }

  .c-block-media-text__content .content-head .num {
    font-size: 3.375rem;
  }

  .c-block-media-text__content .desc {
    padding: 0;
  }

  .c-block-ttl {
    font-size: 1.375rem;
    margin-bottom: 24px;
    padding: 0 0 16px;
  }

  .c-block-ttl.sm {
    font-size: 1.5rem;
  }
}

/* ---------------------------------------------
  flow
  --------------------------------------------- */
.p-flow-section {
  padding: 6.875rem 0 8.75rem;
}

.p-seles-flow__list .item {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: start;
  align-items: flex-start;
  gap: 4.625rem;
  background-color: #F2F7F7;
  border-radius: 12px;
  padding: 24px 24px 24px 40px;
}

.p-seles-flow__list .item .step-text {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 20px 40px;
  position: relative;
  -ms-flex: 1;
  flex: 1;
}

.p-seles-flow__list .item .step-num {
  position: relative;
  font-family: "Quicksand", sans-serif;
  font-size: 1.125rem;
  width: 90px;
  min-width: 90px;
  height: 90px;
  border: 2px solid #0E6A67;
  background-color: #fff;
  border-radius: 50%;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-direction: column;
  flex-direction: column;
  -ms-flex-pack: center;
  justify-content: center;
  color: #0E6A67;
  font-weight: 700;
  line-height: 1;
  z-index: 2;
  grid-row: span 2;
}

.p-seles-flow__list .item .step-num span {
  font-size: 1.875rem;
  font-weight: 600;
  line-height: 1;
}

.p-seles-flow__list .item .step-ttl {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.5;
  color: #0E6A67;
}

.p-seles-flow__list .item .step-img {
  max-width: 22.5rem;
}

.p-seles-flow__list .item .step-img img {
  border-radius: 12px;
}

.p-seles-flow__list .item:not(:last-child) {
  margin-bottom: 72px;
}

.p-seles-flow__list .item:not(:last-child) .step-text::after {
  content: "";
  display: block;
  width: 2px;
  height: 150%;
  margin: 0 auto;
  background-color: rgba(14, 106, 103, 0.5);
  position: absolute;
  left: 43px;
  top: 88px;
}

@media screen and (max-width: 768px) {
  .p-flow-section {
    padding: 60px 0 80px;
  }

  .p-seles-flow__list .item {
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 30px;
    padding: 24px 16px;
    position: relative;
  }

  .p-seles-flow__list .item .step-text {
    gap: 24px 20px;
    grid-template-columns: 64px 1fr;
    -ms-flex-align: center;
    align-items: center;
  }

  .p-seles-flow__list .item .step-num {
    font-size: 0.9375rem;
    width: 64px;
    min-width: 64px;
    height: 64px;
    grid-row: initial;
  }

  .p-seles-flow__list .item .step-num span {
    font-size: 1.375rem;
  }

  .p-seles-flow__list .item .step-ttl {
    font-size: 1.375rem;
  }

  .p-seles-flow__list .item .step-content {
    grid-column: span 2;
  }

  .p-seles-flow__list .item .step-img {
    min-width: initial;
  }

  .p-seles-flow__list .item:not(:last-child) {
    margin-bottom: 60px;
  }

  .p-seles-flow__list .item:not(:last-child)::after {
    content: "";
    display: block;
    width: 50px;
    height: 24px;
    margin: 0 auto;
    background-color: rgba(14, 106, 103, 0.5);
    position: absolute;
    left: 50%;
    top: calc(100% + 20px);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    -webkit-clip-path: polygon(50% 100%, 0 0, 100% 0);
    clip-path: polygon(50% 100%, 0 0, 100% 0);
  }

  .p-seles-flow__list .item:not(:last-child) .step-text::after {
    display: none;
  }
}

/* ------------ container ------------*/
.l-container {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: start;
  align-items: flex-start;
  -ms-flex-pack: justify;
  justify-content: space-between;
  width: calc(100% - 40px);
  max-width: 1250px;
  gap: 20px;
  margin: 0 auto;
  padding: 6.875rem 0 8.75rem;
}

.l-container .l-main-contents {
  width: 79%;
  max-width: 920px;
}

.l-container .l-main-contents .c-ttl-border {
  font-weight: 400;
}

.l-container.l-container-article {
  max-width: 1140px;
}

.l-container.l-container-article .l-main-contents {
  width: 76%;
  max-width: 800px;
}

.l-container.l-container-article .l-side-block {
  width: 24%;
}

.l-side-block {
  width: 21%;
  max-width: 270px;
  padding-bottom: 60px;
}

.l-side-ttl {
  margin-bottom: 24px;
  font-weight: 700;
  position: relative;
}

ul.l-side-category-list+.l-side-ttl {
  margin-top: 36px;
}

.l-side-ttl::before {
  content: "";
  width: 45%;
  height: 2px;
  background-color: #0E6A67;
  position: absolute;
  bottom: 0;
  left: 0;
  border-radius: 4px;
}

.l-side-ttl::after {
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 4px;
  background-color: rgba(14, 106, 103, 0.4);
  margin-top: 10px;
}

.l-side-category-list {
  position: relative;
  background-color: #F2F7F7;
  border-radius: 6px;
  padding: 24px;
}

.l-side-category-list li {
  border-bottom: 1px solid rgba(14, 106, 103, 0.3);
}

.l-side-category-list li:not(:last-child) {
  margin-bottom: 14px;
}

.l-side-category-list li a {
  width: 100%;
  transition: 0.2s ease;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-pack: justify;
  justify-content: space-between;
  gap: 5px;
  font-weight: 700;
  padding-bottom: 14px;
}

.l-side-category-list li a::after {
  content: "";
  display: block;
  width: 17px;
  height: 5px;
  -webkit-mask-image: url("../img/common/icon_arrow.svg");
  mask-image: url("../img/common/icon_arrow.svg");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100%;
  mask-size: 100%;
  -webkit-mask-position: center;
  mask-position: center;
  background-color: #0E6A67;
  transition: 0.3s ease;
}

.l-side-blog-list {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 48px;
}

.l-side-blog-list a {
  display: block;
  text-align: center;
  padding: 10px;
  border-radius: 4px;
  font-weight: 700;
  background-color: #DBE9E8;
  color: rgba(59, 64, 67, 0.5);
}

.l-side-blog-list li.represent a {
  background-color: #0E6A67;
  color: #fff;
}

.l-side-blog-list li.staff a {
  background-color: #DBE9E8;
  color: rgba(59, 64, 67, 0.5);
}

@media screen and (max-width: 768px) {
  .l-container {
    -ms-flex-direction: column-reverse;
    flex-direction: column-reverse;
    padding: 60px 0 80px;
    gap: 60px;
  }

  .l-container .l-main-contents {
    width: 100%;
    max-width: 100%;
  }

  .l-container .l-side-block {
    width: 100%;
    max-width: 100%;
    position: relative;
    top: 0;
    padding-bottom: 0;
  }

  .l-container .l-side-category-list {
    padding: 24px 16px;
  }

  .l-container .l-side-category-list li:not(:last-child) {
    margin-bottom: 16px;
  }

  .l-container .l-side-category-list li a {
    font-size: 0.9375rem;
  }

  .l-container.l-container-article .l-main-contents {
    width: 100%;
    max-width: 100%;
  }

  .l-container.l-container-article .l-side-block {
    width: 100%;
    max-width: 100%;
  }
}

/* ------------ pagenation ------------*/
ul.page-numbers {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-pack: center;
  justify-content: center;
  margin-top: 80px;
  gap: 32px;
}

.page-numbers li .page-numbers {
  font-family: "Quicksand", sans-serif;
  display: block;
  width: 50px;
  height: 50px;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-pack: center;
  justify-content: center;
  font-size: 1.125rem;
  transition: 0.3s ease;
  border: 2px solid #0E6A67;
  border-radius: 50%;
  background-color: #F2F7F7;
  font-weight: 700;
  color: #0E6A67;
}

.page-numbers li a.page-numbers:hover {
  opacity: 0.7;
}

.page-numbers li .current {
  background-color: #0E6A67;
  color: #fff;
}

.page-numbers li .page-numbers.prev,
.page-numbers li .page-numbers.next,
.page-numbers li .page-numbers.first,
.page-numbers li .page-numbers.last {
  width: auto;
  height: auto;
  background: none;
  border: none;
}

.page-numbers.prev::before,
.page-numbers.next::before,
.page-numbers.first::before,
.page-numbers.last::before {
  content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
}

.page-numbers.next::before,
.page-numbers.last::before,
.page-numbers.last::after {
  border-top: 3px solid #0E6A67;
  border-right: 3px solid #0E6A67;
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

.page-numbers.prev::before,
.page-numbers.first::before,
.page-numbers.first::after {
  border-left: 3px solid #0E6A67;
  border-bottom: 3px solid #0E6A67;
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

.page-numbers.first::after,
.page-numbers.last::after {
  content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
}

.page-numbers.last::after {
  margin-left: -2px;
}

.page-numbers.first::after {
  margin-left: -2px;
}

@media screen and (max-width: 768px) {
  ul.page-numbers {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: center;
    justify-content: center;
    margin-top: 60px;
    gap: 24px;
  }

  .page-numbers li .page-numbers {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .page-numbers li .page-numbers.prev,
  .page-numbers li .page-numbers.next,
  .page-numbers li .page-numbers.first,
  .page-numbers li .page-numbers.last {
    width: auto;
    height: auto;
  }

  .page-numbers.prev::before,
  .page-numbers.next::before,
  .page-numbers.first::before,
  .page-numbers.last::before {
    content: "";
    display: inline-block;
    width: 10px;
    height: 10px;
  }

  .page-numbers.next::before,
  .page-numbers.last::before,
  .page-numbers.last::after {
    border-width: 2px;
  }

  .page-numbers.prev::before,
  .page-numbers.first::before,
  .page-numbers.first::after {
    border-width: 2px;
  }

  .page-numbers.first::after,
  .page-numbers.last::after {
    content: "";
    display: inline-block;
    width: 10px;
    height: 10px;
  }
}

/* ---------------------------------------------
  case index page
  --------------------------------------------- */
.p-case-page .p-case__list {
  gap: 40px;
  margin-top: 0;
}

/* ---------------------------------------------
  case article
  --------------------------------------------- */
.p-article__head {
  margin-bottom: 32px;
}

.p-article__date {
  font-size: 1.125rem;
  font-weight: 700;
  color: #0E6A67;
  opacity: 0.6;
  margin-bottom: 16px;
}

.p-article__ttl {
  font-weight: 700;
  font-size: 1.75rem;
  color: #0E6A67;
  margin-bottom: 30px;
}

.p-article__eye-catch {
  margin-bottom: 40px;
}

.p-article__eye-catch img {
      aspect-ratio: 4 / 3;
  border-radius: 8px;
  -o-object-fit: cover;
  object-fit: cover;
  overflow: hidden;
  width: 100%;
}

.swiper-button-next:after, .swiper-button-prev:after {
  color: #fff;
}

/* スライダーの左右矢印ボタン（背景色） */
.swiper-button-prev,
.swiper-button-next {
  background-color: var(--main-color);
  /* 背景色 */
  width: 40px;
  /* お好みで調整 */
  height: 40px;
  border-radius: 50%;
  /* 丸ボタンに */
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Swiper デフォルトの矢印（← →）は border で作られているため色を変更 */
.swiper-button-prev::after,
.swiper-button-next::after {
  color: #fff;
  /* ← → の色を白に */
  font-size: 18px;
  /* お好みで */
}

.property-gallery__thumbs.js-property-gallery-thumbs {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.property-gallery__thumbs.js-property-gallery-thumbs:after {
  display: block;
  content: "";
  width: 24%;
}

.property-gallery__thumbs.js-property-gallery-thumbs>img {
  width: 24%;
      aspect-ratio: 4 / 3;
}

.p-blog-article__body>* {
  margin-top: 20px;
}

.p-blog-article__body img:not(:first-child) {
  margin-top: 20px;
}

.p-case-article__body section {
  padding-bottom: 24px;
  position: relative;
}

.p-case-article__body section:not(:last-of-type) {
  margin-bottom: 24px;
}

.p-case-article__body section::before {
  content: "";
  width: 54px;
  height: 2px;
  background-color: #0E6A67;
  position: absolute;
  bottom: 0;
  left: 0;
  border-radius: 4px;
}

.p-case-article__body section::after {
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 4px;
  background-color: rgba(14, 106, 103, 0.4);
  position: absolute;
  bottom: 0;
  left: 0;
}

.p-case-article__body h2 {
  font-size: 1.125rem;
  font-weight: 700;
  color: #0E6A67;
  margin-bottom: 14px;
}

.p-case-article__body p {
  font-weight: 500;
}

.p-case-article__body img {
  border-radius: 8px;
}

.p-article__pagination {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: center;
  justify-content: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 40px;
  margin-top: 80px;
}

.p-article__pagination li.back a {
  font-weight: 700;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-pack: center;
  justify-content: center;
  width: -moz-fit-content;
  width: fit-content;
  transition: 0.3s ease;
  background-color: #0E6A67;
  border: 1px solid #0E6A67;
  border-radius: 60px;
  color: #fff;
  padding: 12px 44px 12px 28px;
  position: relative;
  gap: 18px;
  transition: 0.3s ease;
}

.p-article__pagination li.back a::before {
  content: "";
  display: block;
  width: 20px;
  height: 8px;
  -webkit-mask-image: url("../img/common/icon_arrow.svg");
  mask-image: url("../img/common/icon_arrow.svg");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100%;
  mask-size: 100%;
  -webkit-mask-position: center;
  mask-position: center;
  background-color: #fff;
  transition: 0.3s ease;
  -ms-transform: scale(-1, 1);
  transform: scale(-1, 1);
}

@media (hover: hover) {

  .p-article__pagination li.back a:hover {
    color: #0E6A67;
    background-color: #fff;
  }

  .p-article__pagination li.back a:hover::before {
    background-color: #0E6A67;
  }
}

.p-article__pagination li.next a, .p-article__pagination li.prev a {
  font-size: 0.875rem;
  font-weight: 700;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -ms-flex-align: center;
  align-items: center;
  gap: 10px;
}

.p-article__pagination li.next a::after {
  content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
  border-top: 3px solid #0E6A67;
  border-right: 3px solid #0E6A67;
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

.p-article__pagination li.prev a::before {
  content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
  border-left: 3px solid #0E6A67;
  border-bottom: 3px solid #0E6A67;
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

@media screen and (max-width: 768px) {
  .p-article__date {
    font-size: 1rem;
  }

  .p-article__ttl {
    font-size: 1.5rem;
  }

  .property-gallery__thumbs.js-property-gallery-thumbs {
    gap: 5px;
  }

  .property-gallery__thumbs.js-property-gallery-thumbs>img, .property-gallery__thumbs.js-property-gallery-thumbs:after {
    width: 31.5%;
  }

  .p-article__pagination {
    gap: 10px;
    -ms-flex-pack: justify;
    justify-content: space-between;
    max-width: 375px;
    margin: 60px auto 0;
  }

  .p-article__pagination li.back a {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: center;
    justify-content: center;
    padding: 12px;
    font-size: 0.75rem;
    gap: 8px;
  }

  .p-article__pagination li.back a::before {
    width: 16px;
    height: 6px;
  }

  .p-article__pagination li.next a, .p-article__pagination li.prev a {
    font-size: 0.75rem;
    gap: 4px;
  }

  .p-article__pagination li.next a::after {
    width: 10px;
    height: 10px;
    border-width: 2px;
  }

  .p-article__pagination li.prev a::before {
    width: 10px;
    height: 10px;
    border-width: 2px;
  }
}

/* ---------------------------------------------
  faq page
  --------------------------------------------- */
.p-faq-page {
  padding: 6.875rem 0 8.75rem;
}

@media screen and (max-width: 768px) {
  .p-faq-page {
    padding: 60px 0;
  }
}

/* ---------------------------------------------
  blog index
  --------------------------------------------- */
/* -------------- blog -------------- */
.p-blog-section {
  padding: 7.5rem 0;
  position: relative;
  background-color: #F2F7F7;
}

.p-blog-section .lead {
  width: -moz-fit-content;
  width: fit-content;
  margin: 0 auto;
}

.p-blog-section .p-blog__list+.c-btn {
  margin-top: 80px;
}

.p-blog__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 440px));
  -ms-flex-pack: center;
  justify-content: center;
  gap: 40px;
}

.p-blog__list .blog-img img {
  aspect-ratio: 440/242;
  width: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

.p-blog__list .blog-text {
  padding: 18px 24px 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.blog-text>.wrap+p {
  flex-grow: 1;
}

.p-blog__list .blog-text .wrap {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  gap: 24px;
  margin-bottom: 16px;
}

.p-blog__list .blog-text .wrap .c-category {
  margin-bottom: 0;
}

.p-blog__list .blog-date {
  font-family: "Quicksand", sans-serif;
  color: rgba(14, 106, 103, 0.7);
  font-weight: 700;
  line-height: 1.2;
}

.p-blog__list .blog-ttl {
  color: #0E6A67;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0;
  margin-bottom: 14px;
}

.p-blog__list .c-btn {
  margin: 20px 0 0 auto;
  padding: 10px 50px;
}

.p-blog__list a {
  transition: 0.3s ease;
  display: block;
  width: 100%;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.08);
  background-color: #fff;
  border-radius: 12px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

@media (hover: hover) {
  .p-blog__list a:hover .c-btn {
    color: #0E6A67;
    background-color: #fff;
  }

  .p-blog__list a:hover .c-btn::after {
    background-color: #0E6A67;
  }
}

.p-blog-article__body p {
  font-weight: 500;
}

@media screen and (max-width: 768px) {
  .p-blog-section {
    padding: 60px 0;
  }

  .p-blog-section .p-blog__list+.c-btn {
    margin-top: 40px;
  }

  .p-blog__list {
    grid-template-columns: 1fr;
  }

  .p-blog__list .c-btn {
    width: -moz-fit-content;
    width: fit-content;
  }

  .p-blog__list .blog-ttl {
    font-size: 1.125rem;
  }
}

/* ---------------------------------------------
  reason page
  --------------------------------------------- */
.p-reason-section {
  padding: 6.875rem 0 8.75rem;
}

.p-reason-section .l-wrap {
  width: calc(100% - 6.25rem);
  max-width: 1340px;
}

.p-reason-section .c-block-media-text::before {
  height: calc(100% + 26px);
}

.p-reason-section .c-block-media-text:not(:last-child) {
  margin-bottom: 11rem;
}

.p-reason-section .c-block-media-text__content {
  min-height: 27.125rem;
}

.p-reason-section .c-block-media-text__content .c-btn {
  margin: auto 3.125rem 0 auto;
  padding: 10px 66px;
  position: absolute;
  bottom: -52px;
  right: 0;
}

@media screen and (max-width: 768px) {
  .p-reason-section {
    padding: 60px 0 80px;
  }

  .p-reason-section .l-wrap {
    width: calc(100% - 40px);
  }

  .p-reason-section .c-block-media-text::before {
    height: 100%;
  }

  .p-reason-section .c-block-media-text:not(:last-child) {
    margin-bottom: 100px;
  }

  .p-reason-section .c-block-media-text__content {
    min-height: initial;
  }

  .p-reason-section .c-block-media-text__content .c-btn {
    margin: 24px 0 0;
    padding: 10px 66px;
    position: relative;
    bottom: initial;
    right: initial;
  }
}

/* ---------------------------------------------
  ranking page
  --------------------------------------------- */
.p-ranking-page {
  padding: 6.875rem 0 8.75rem;
}

.p-ranking-page .p-ranking__list {
  gap: 56px 45px;
  margin-top: 0;
}

@media screen and (max-width: 768px) {
  .p-ranking-page {
    padding: 60px 0;
  }
}

/* ---------------------------------------------
  property page
  --------------------------------------------- */
.p-property-page {
  padding: 6.875rem 0 8.75rem;
}

.p-property-page .c-ttl {
  margin-bottom: 64px;
}

.p-property-page .p-property__list {
  gap: 32px 20px;
  margin-top: 80px;
}

.p-property-page .p-property__list .property-text p {
  font-size: 0.9375rem;
}

p.property-number {
    display: none;
}

.p-property-page .c-btn {
  margin-top: 80px;
}

/* ------ filter ------ */
.p-property-filter {
  position: relative;
  padding: 40px 3.5rem;
  background-color: #F2F7F7;
  border-radius: 8px;
}

.c-search-box {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  position: relative;
  width: 100%;
}

.c-search-box input {
  padding: 16px 24px 16px 80px;
  border: 1px solid #A8A8A8;
  background-color: #fff;
  border-radius: 12px;
  font-weight: 700;
  width: 100%;
}

.c-search-box input::-moz-placeholder {
  color: #ADADAD;
}

.c-search-box input:-ms-input-placeholder {
  color: #ADADAD;
}

.c-search-box input::placeholder {
  color: #ADADAD;
}

.c-search-box .icon {
  display: inline-block;
  position: absolute;
  top: 10px;
  left: 24px;
}

.c-search-box .icon::before {
  content: "";
  display: inline-block;
  width: 32px;
  height: 32px;
  background: url("../img/common/icon_search.svg") no-repeat center/100%;
  opacity: 0.3;
}

.c-sort-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 32px;
}

.c-sort-dropdown {
  position: relative;
}

button.c-sort-dropdown__toggle {
  display: none;
}

.c-sort-dropdown__toggle {
  width: 100%;
  padding: 15px 16px;
  background: #fff;
  cursor: pointer;
  text-align: left;
  box-sizing: border-box;
  background-color: #fff;
  border: 1px solid #A8A8A8;
  font-size: 1.125rem;
  font-weight: 700;
  border-radius: 12px;
  position: relative;
}

.c-sort-dropdown__panel select {
  width: 100%;
  padding: 15px 16px;
  background: #fff;
  cursor: pointer;
  text-align: left;
  box-sizing: border-box;
  background-color: #fff;
  border: 1px solid #A8A8A8;
  font-size: 1.125rem;
  font-weight: 700;
  border-radius: 12px;
  position: relative;
  appearance: auto;
}

.c-sort-dropdown__toggle::after {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  border-bottom: 3px solid #0E6A67;
  border-right: 3px solid #0E6A67;
  position: absolute;
  top: 50%;
  right: 16px;
  -ms-transform: translateY(-50%) rotate(45deg);
  transform: translateY(-50%) rotate(45deg);
}


.c-sort-dropdown__list {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: #fff;
  border: 1px solid #A8A8A8;
  border-radius: 4px;
  z-index: 10;
  padding: 16px;
  font-weight: 500;
}

.c-sort-dropdown__list li {
  cursor: pointer;
}

.c-sort-dropdown__list li:not(:last-child) {
  margin-bottom: 15px;
}

.c-kodawari-block {
  background-color: #fff;
  border-radius: 12px;
  display: -ms-flexbox;
  display: flex;
  gap: 24px;
  padding: 26px 24px;
  margin-top: 32px;
}

.c-kodawari-block .ttl {
  font-weight: 700;
  font-size: 1.125rem;
}

.c-kodawari__list {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 24px;
}

.c-kodawari__list li {
  background-color: #DBE9E8;
  border-radius: 30px;
  padding: 2px 20px;
  font-weight: 500;
}

.c-filter-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 40px;
}

.c-filter-actions>* {
  margin-top: 0 !important;
}

.c-filter-state {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  margin-bottom: 20px;
}

ul.c-filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.c-filter-state p.ttl {
  font-weight: 700;
  color: var(--main-color);
}

ul.c-filter-chips li {
  color: var(--accent-color);
  font-weight: 500;
}

@media screen and (max-width: 768px) {
  .p-property-page {
    padding: 60px 0 80px;
  }

  .p-property-page .c-ttl {
    margin-bottom: 32px;
  }

  .p-property-page .p-property__list {
    gap: 32px 20px;
    margin-top: 40px;
  }

  .p-property-page .c-btn {
    margin-top: 48px;
  }

  .p-property-filter {
    padding: 24px 16px;
  }

  .c-search-box input {
    padding: 16px 16px 16px 52px;
  }

  .c-search-box .icon {
    left: 16px;
    top: 16px;
  }

  .c-search-box .icon::before {
    width: 24px;
    height: 24px;
  }

  .c-sort-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 24px;
  }

  .c-sort-dropdown {
    position: relative;
  }

  .c-sort-dropdown__toggle {
    width: 100%;
    padding: 15px 16px;
    font-size: 0.9375rem;
  }

  .c-sort-dropdown__toggle::after {
    width: 8px;
    height: 8px;
    border-width: 2px;
  }

  .c-sort-dropdown__list {
    display: none;
    max-height: 300px;
    overflow-y: scroll;
  }

  .c-kodawari-block {
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    padding: 24px 16px;
    margin-top: 24px;
    gap: 20px;
  }

  .c-kodawari-block .ttl {
    font-size: 1rem;
  }

  .c-kodawari__list {
    gap: 16px;
  }

  .c-kodawari__list li {
    padding: 2px 16px;
    font-size: 0.8125rem;
  }
}

/* ---------------------------------------------
  company page
  --------------------------------------------- */
/* ------- message ------- */
.p-company-message {
  padding: 8.75rem 0;
  background-color: #F2F7F7;
  margin-top: -1.875rem;
}

.p-message-block {
  display: grid;
  grid-template-columns: 1fr 35%;
  gap: 3.75rem;
}

.p-message-block .message-lead {
  font-weight: 700;
  font-size: 1.6875rem;
  color: #438886;
  margin-bottom: 40px;
}

.p-message-block__text p {
  font-weight: 500;
}

.p-message-block__text p:not(:last-of-type) {
  margin-bottom: 30px;
}

.p-message-block__img img {
  border-radius: 12px;
}

.p-message-block__img .name {
  font-size: 1.125rem;
  font-weight: 700;
  color: #438886;
  text-align: right;
  line-height: 1.7;
  margin-top: 20px;
}

@media screen and (max-width: 768px) {
  .p-company-message {
    padding: 90px 0 60px;
    margin-top: -30px;
  }

  .p-message-block {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .p-message-block .message-lead {
    font-size: 1.25rem;
    margin-bottom: 24px;
    font-feature-settings: "palt";
    letter-spacing: 0.1em;
    line-height: 1.7;
  }

  .p-message-block__text p:not(:last-of-type) {
    margin-bottom: 24px;
  }

  .p-message-block__img .name {
    font-size: 1rem;
    margin-top: 16px;
  }
}

/* ------- outline ------- */
.p-company-outline {
  padding: 7.5rem 0 8.75rem;
}

.p-company-outline .c-ttl {
  margin-bottom: 64px;
}

.p-outline-block {
  position: relative;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.p-outline-block__text {
  width: 53%;
}

.p-outline-block__text dl {
  position: relative;
  padding-bottom: 15px;
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 10px;
  line-height: 1.7;
}

.p-outline-block__text dl:not(:last-child) {
  margin-bottom: 15px;
}

.p-outline-block__text dl:before {
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  background-color: rgba(14, 106, 103, 0.3);
  position: absolute;
  bottom: 0;
  left: 0;
  border-radius: 4px;
}

.p-outline-block__text dl::after {
  content: "";
  display: block;
  width: 140px;
  height: 2px;
  background-color: #0E6A67;
  position: absolute;
  bottom: 0;
  left: 0;
  border-radius: 4px;
}

.p-outline-block__text dl dt {
  color: #438886;
  font-weight: 700;
}

.p-outline-block__text dl dd {
  font-weight: 500;
}

.p-outline-block__img {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: start;
  align-items: flex-start;
  width: 48%;
  margin-right: calc(50% - 50vw);
  gap: 35px;
}

.p-outline-block__img .item:first-child img {
  border-radius: 12px;
}

.p-outline-block__img .item:last-child {
  margin-top: 22%;
}

.p-outline-block__img .item:last-child img {
  border-radius: 12px 0 0 12px;
}

.p-specialists-section.page-company {
  padding: 7.5rem 0 0;
  background-color: #F2F7F7;
  margin-bottom: 88px;
}

@media screen and (max-width: 768px) {
  .p-company-outline {
    padding: 60px 0 80px;
  }

  .p-company-outline .c-ttl {
    margin-bottom: 40px;
  }

  .p-outline-block {
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 40px;
  }

  .p-outline-block__text {
    width: 100%;
  }

  .p-outline-block__text dl {
    grid-template-columns: 1fr;
    gap: 12px;
    padding-bottom: 15px;
  }

  .p-outline-block__text dl:not(:last-child) {
    margin-bottom: 24px;
  }

  .p-outline-block__text dl::after {
    width: 80px;
  }

  .p-outline-block__img {
    width: calc(100% + 20px);
    gap: 16px;
  }

  .p-outline-block__img .item:first-child img {
    border-radius: 8px;
  }

  .p-outline-block__img .item:last-child {
    margin-top: 20%;
  }

  .p-outline-block__img .item:last-child img {
    border-radius: 8px 0 0 8px;
  }

  .p-specialists-section.page-company {
    padding: 60px 0 0;
    margin-bottom: 60px;
  }
}

/* ---------------------------------------------
  staff index
  --------------------------------------------- */
.p-staff-section {
  padding: 6.875rem 0 8.75rem;
}

.p-staff__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3.5rem 2.5rem;
  margin-top: 56px;
}

.p-staff__list .staff-img img {
  aspect-ratio: 407/484;
  width: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  border-radius: 12px;
}

.p-staff__list .staff-text {
  padding: 10px 8px 0;
}

.p-staff__list .staff-prof {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: justify;
  justify-content: space-between;
  margin-bottom: 16px;
}

.p-staff__list .staff-name .en {
  color: #0E6A67;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1;
}

.p-staff__list .staff-name .ja {
  font-size: 1.5rem;
  font-weight: 700;
}

.p-staff__list .prof-detail {
  color: #0E6A67;
  font-weight: 700;
  line-height: 1.5;
  font-size: max(1rem, 12px);
  letter-spacing: 0.02em;
}

.p-staff__list .desc {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 3;
  font-weight: 500;
}

.p-staff__list .c-btn {
  width: 100%;
  max-width: 100%;
  margin: 20px auto 0;
}

@media screen and (max-width: 768px) {
  .p-staff-section {
    padding: 60px 0;
  }

  .p-staff__list {
    margin-top: 60px;
    grid-template-columns: 1fr;
  }

  .p-staff__list .staff-prof {
    margin-bottom: 10px;
  }

  .p-staff__list .staff-name .en {
    font-size: 0.75rem;
  }

  .p-staff__list .prof-detail {
    font-size: 0.875rem;
  }
}

/* ---------------------------------------------
  staff article
  --------------------------------------------- */
.p-staff-article {
  padding: 6.875rem 0 8.75rem;
}

.p-staff-article .l-wrap {
  max-width: 1170px;
}

.p-staff-article__container {
  display: grid;
  grid-template-columns: 39.5% 1fr;
  gap: 3.75rem;
}

.p-staff-article__img img {
  border-radius: 12px;
  width: 100%;
}

.p-staff-article__img .staff-prof {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -ms-flex-align: end;
  align-items: flex-end;
  margin-top: 16px;
  padding-left: 10px;
}

.p-staff-article__img .staff-name .en {
  color: #0E6A67;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1;
}

.p-staff-article__img .staff-name .ja {
  font-size: 2rem;
  font-weight: 700;
}

.p-staff-article__img .prof-detail {
  color: #0E6A67;
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 1.5;
}

.p-staff-article__text {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
}

.p-staff-article__text dl {
  position: relative;
  padding-bottom: 15px;
  display: grid;
  grid-template-columns: 1fr 4fr;
  line-height: 1.7;
  font-size: max(1rem, 12px);
}

.p-staff-article__text dl:not(:last-of-type) {
  margin-bottom: 15px;
}

.p-staff-article__text dl:before {
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  background-color: rgba(14, 106, 103, 0.3);
  position: absolute;
  bottom: 0;
  left: 0;
  border-radius: 4px;
}

.p-staff-article__text dl::after {
  content: "";
  display: block;
  width: 100px;
  height: 2px;
  background-color: #0E6A67;
  position: absolute;
  bottom: 0;
  left: 0;
  border-radius: 4px;
}

.p-staff-article__text dl dt {
  color: #438886;
  font-weight: 700;
}

.p-staff-article__text dl dd {
  font-weight: 500;
}

.p-staff-article__text .content {
  margin: 32px 0;
}

.p-staff-article__text .c-btn {
  margin: auto 0 0 auto;
  padding-right: 2.25rem;
}

.p-staff-article__text .c-btn::after {
  -ms-transform: translateY(-50%) scale(-1, 1);
  transform: translateY(-50%) scale(-1, 1);
  right: initial;
  left: 16px;
}

@media screen and (max-width: 768px) {
  .p-staff-article {
    padding: 60px 0;
  }

  .p-staff-article__container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .p-staff-article__img img {
    border-radius: 8px;
  }

  .p-staff-article__img .staff-prof {
    margin-top: 10px;
    padding: 0;
    -ms-flex-align: center;
    align-items: center;
  }

  .p-staff-article__img .staff-name .en {
    font-size: 0.75rem;
  }

  .p-staff-article__img .staff-name .ja {
    font-size: 1.5rem;
  }

  .p-staff-article__img .prof-detail {
    font-size: 0.875rem;
  }

  .p-staff-article__text dl {
    grid-template-columns: 1fr;
    gap: 12px;
    padding-bottom: 15px;
    font-size: 0.875rem;
  }

  .p-staff-article__text dl:not(:last-of-type) {
    margin-bottom: 24px;
  }

  .p-staff-article__text dl::after {
    width: 80px;
  }

  .p-staff-article__text .content {
    margin: 32px 0 0;
  }

  .p-staff-article__text .c-btn {
    margin: 40px auto 0;
  }
}

/* ---------------------------------------------
  single post
  --------------------------------------------- */
span.smf-item__label__text a {
  text-decoration: underline;
  color: var(--main-color);
  font-weight: 500;
}

.p-case-article__body>*, .p-article__body>* {
  margin-top: 20px;
}

.p-case-article__body> :is(h2, h3, h4), .p-article__body> :is(h2, h3, h4) {
  margin-top: 1.6em;
}

h2.wp-block-heading {
  font-size: 24px;
  font-weight: 700;
  color: var(--main-color);
  background-color: #f8f8f8;
  padding: 10px;
  border-left: 5px solid var(--main-color);
}

h2.wp-block-heading:not(:first-child) {
  margin-top: 60px;
}

h2.wp-block-heading+* {
  margin-top: 20px;
}

h3.wp-block-heading {
  font-size: 18px;
  font-weight: 700;
  color: #0E6A67;
  letter-spacing: .05em;
}

.wp-block-text {
  line-height: 2;
}

.smb-step__item__number {
  background-color: var(--accent-color) !important;
  font-weight: 700 !important;
  font-family: var(--main-font-family);
}

.smb-faq__item__question__label, .smb-faq__item__answer__label {
  font-weight: 700 !important;
  font-family: var(--main-font-family);
  color: var(--main-color) !important;
}

.smb-faq__item__answer__label {
  color: var(--accent-color) !important;
}

a.smb-btn {
  font-weight: 700;
  display: -ms-flexbox;
  display: flex !important;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-pack: center;
  justify-content: center;
  width: -moz-fit-content;
  width: fit-content;
  transition: 0.3s ease;
  background-color: #0E6A67;
  border: 1px solid #0E6A67;
  border-radius: 60px;
  color: #fff;
  /* margin-top: 64px; */
  padding: 15px 66px;
  position: relative;
}

a.smb-btn:hover {
  /* background: #fff;
  color: var(--main-color); */
}

a.smb-btn::after {
  content: "";
  display: block;
  width: 20px;
  height: 8px;
  -webkit-mask-image: url(../img/common/icon_arrow.svg);
  mask-image: url(../img/common/icon_arrow.svg);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100%;
  mask-size: 100%;
  -webkit-mask-position: center;
  mask-position: center;
  background-color: #fff;
  transition: 0.3s ease;
  position: absolute;
  top: 50%;
  right: 20px;
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  z-index: 10;
}

/* ===========================
   Gutenberg: UL .wp-block-list
   読みやすい余白 / きれいな行頭 / 入れ子対応 / ダークモード配慮
   =========================== */

ul.wp-block-list {
  /* 調整しやすいトークン */
  --list-indent: 1.25rem;
  /* 入れ子のインデント量 */
  --list-gap: 0.5rem;
  /* 各行の縦余白 */
  --marker-color: var(--wp--preset--color--primary, #222);
  --marker-size: 0.9em;

  margin: 1em 0;
  padding-left: calc(var(--list-indent) + 0.5rem);
  /* 余白を少し大きめに */
  list-style: disc;
  list-style-position: outside;
  /* ぶら下げインデント（推奨） */
}

/* 1階層目の li */
ul.wp-block-list>li {
  margin-top: var(--list-gap);
  line-height: 1.8;
  word-break: break-word;
  /* 長いURLでのはみ出し防止 */
}

/* 先頭項目だけ余白を詰める */
ul.wp-block-list>li:first-child {
  margin-top: 0;
}

/* マーカー見た目（対応ブラウザで効く） */
ul.wp-block-list li::marker {
  color: var(--marker-color);
  font-size: var(--marker-size);
}

/* 入れ子のリスト（2階層目以降） */
ul.wp-block-list ul {
  margin-top: 0.35rem;
  padding-left: var(--list-indent);
  list-style: circle;
  /* 2階層目は circle */
}

ul.wp-block-list ul ul {
  list-style: square;
}

/* 3階層目は square */

/* リスト内のリンクの可読性 */
ul.wp-block-list a {
  text-underline-offset: 2px;
  text-decoration-thickness: 1.5px;
}

/* ダークモード配慮（必要なら色だけ薄く） */
@media (prefers-color-scheme: dark) {
  ul.wp-block-list {
    --marker-color: rgba(255, 255, 255, 0.85);
  }
}

/* RTL 対応（必要なテーマのみ） */
:root[dir="rtl"] ul.wp-block-list {
  padding-right: calc(var(--list-indent) + 0.5rem);
  padding-left: 0;
}

:root[dir="rtl"] ul.wp-block-list ul {
  padding-right: var(--list-indent);
  padding-left: 0;
}

/* 記事本文の子要素間に一律リズムを付ける＆先頭/末尾は詰める */
.p-case-article__body, .p-article__body {
  --flow-space: 1.25rem;
}

.p-case-article__body>*+*, .p-article__body>*+* {
  margin-top: var(--flow-space);
}

/* 見出しの直後はやや広め */
.p-case-article__body :is(h2, h3, h4)+*,
.p-article__body :is(h2, h3, h4)+* {
  margin-top: calc(var(--flow-space) * 0.75);
}

/* 先頭/末尾の余白を不要にしない */
.p-case-article__body> :first-child, .p-article__body> :first-child {
  margin-top: 0;
}

.p-case-article__body> :last-child, .p-article__body> :last-child {
  margin-bottom: 0;
}

/* 画像の基本 */
.p-article__body .wp-block-image img,
.p-case-article__body .wp-block-image img {
  display: block;
  height: auto;
  max-width: 100%;
  border-radius: 8px;
}

.wp-block-image figcaption {
  margin-top: .5em;
  font-size: .9em;
  opacity: .8;
  text-align: center;
}

/* 横幅ユーティリティ */
.alignwide {
  width: min(1200px, 92vw);
  margin-inline: auto;
}

.alignfull {
  width: 100vw;
  margin-left: 50%;
  transform: translateX(-50%);
}

@media (max-width: 768px) {
  .alignfull {
    transform: none;
    margin-left: 0;
  }
}

.wp-block-embed.is-type-video .wp-block-embed__wrapper {
  position: relative;
  aspect-ratio: 16 / 9;
}

.wp-block-embed.is-type-video .wp-block-embed__wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.wp-block-table {
  margin: 1em 0;
  overflow-x: auto;
}

.wp-block-table table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
}

.wp-block-table th, .wp-block-table td {
  padding: .75em 1em;
  border: 1px solid rgba(0, 0, 0, .08);
}

.wp-block-table thead th {
  position: sticky;
  top: 0;
  background: rgba(0, 0, 0, .04);
  z-index: 1;
}

.wp-block-table tbody tr:nth-child(odd) {
  background: rgba(0, 0, 0, .02);
}

@media (prefers-color-scheme: dark) {
  .wp-block-table th, .wp-block-table td {
    border-color: rgba(255, 255, 255, .18);
  }

  .wp-block-table thead th {
    background: rgba(255, 255, 255, .08);
  }

  .wp-block-table tbody tr:nth-child(odd) {
    background: rgba(255, 255, 255, .04);
  }
}

hr.wp-block-separator {
  border: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(0, 0, 0, .2), transparent);
  margin: 2.5rem 0;
}

/* Columns: モバイルで縦積み＆適切なギャップ */
.wp-block-columns {
  gap: 1.5rem;
}

@media (max-width: 781px) {

  /* WPの標準ブレイクポイント */
  .wp-block-columns {
    flex-direction: column;
  }
}

/* Media & Text: 画像溢れ対策と縦積み */
.wp-block-media-text {
  gap: 1rem;
}

.wp-block-media-text__media img {
  width: 100%;
  height: auto;
}

@media (max-width: 781px) {
  .wp-block-media-text {
    grid-template-columns: 1fr !important;
  }
}

ol.wp-block-list {
  --list-indent: 1.25rem;
  --list-gap: 0.5rem;
  margin: 1em 0;
  padding-left: calc(var(--list-indent) + 0.5rem);
  list-style-position: outside;
  counter-reset: ol-counter;
  list-style: auto;
}

ol.wp-block-list>li {
  margin-top: var(--list-gap);
  line-height: 1.8;
}

ol.wp-block-list>li:first-child {
  margin-top: 0;
}

ol.wp-block-list li::marker {
  font-weight: 700;
}

p.purpose-title {
  margin-bottom: 10px;
  border-bottom: 1.5px solid var(--accent-color);
}

p.purpose-title:not(:first-child) {
  margin-top: 20px;
}

.w-100 {
  width: 100%;
}

.p-property-summary-table table, .p-property-detail-table table {
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
}

.p-property-summary-table td, .p-property-summary-table th {
  vertical-align: top;
  padding: 0;
  border: 1px solid #fff;
  padding: 10px 20px;
  vertical-align: middle;
}

.p-property-summary-table th {
  text-align: left;
  font-weight: bold;
  background: var(--accent-color);
  color: #fff;
}

.p-property-detail-table td, .p-property-detail-table th {
  vertical-align: top;
  padding: 0;
  border: 1px solid #fff;
  padding: 10px 20px;
  vertical-align: middle;
}

.p-property-detail-table th {
  text-align: left;
  font-weight: bold;
  background: var(--accent-color);
  color: #fff;
}

.p-property-detail-table td, .p-property-summary-table td {
  background: #f2f7f7;
}

/* スマホ時だけ横スクロール（任意適用：sp-scroll を付けたテーブルだけ） */
@media (max-width: 767px) {
  figure.sp-scroll:before {
    display: block;
    content: "スマホでご覧の方は、表を横にスクロールしてご覧ください。";
    margin-bottom: 10px;
    font-weight: 500;
}

  /* figure.wp-block-table に sp-scroll を付ける */
  figure.sp-scroll {
    display: block;
    /* figure をブロック化 */
    width: 100%;
    overflow-x: auto;
    /* 横スクロール有効化 */
    -webkit-overflow-scrolling: touch;
    /* iOS慣性スクロール */
  }

  figure.sp-scroll table {
    min-width: 640px;
    /* 画面幅より少し広くしてスクロール発生 */
    border-collapse: collapse;
  }

  /* 幅広/全幅の余白を整える（必要なら） */
  figure.sp-scroll.alignwide,
  figure.sp-scroll.alignfull {
    margin-right: 0;
    margin-left: 0;
  }

  /* キャプションは折り返しOK */
  figure.sp-scroll figcaption {
    white-space: normal;
  }
}