@charset "utf-8";
/*common
-----------------------------------------------------------------------------------------*/
section {
  padding: 50px 0;
}

.contents-wrapper {
  width: calc(100% - 100px);
  max-width: 1200px;
  margin: 0 auto;
}

@media screen and (max-width: 767px) {
  section {
    padding: 30px 0;
  }

  .contents-wrapper {
    width: calc(100% - 60px);
  }
}

/*-----------------------------------------------------------------------------------------*/
body {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1rem;
  font-weight: 400;
  color: rgb(51, 51, 51);
  line-height: 1.4;
}

@media screen and (max-width: 767px) {
  body {
    font-size: 14px;
  }
}

/*container
-----------------------------------------------------------------------------------------*/
.container {
  width: 1200px;
  margin: 0 auto;
}

@media screen and (max-width: 1279px) {
  .container {
    width: 100%;
    max-width: 1200px;
    padding: 0 2.5%;
  }
}

@media screen and (max-width: 1023px) {
  .container {
    padding: 0 3%;
  }
}

/*utility
-----------------------------------------------------------------------------------------*/
.u-sp {
  display: none !important;
}
@media screen and (max-width: 767px) {
  .u-sp {
    display: block !important;
  }
}

@media screen and (max-width: 767px) {
  .u-pc {
    display: none !important;
  }
}

.u-tb {
  display: none !important;
}

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

.u-tb-02 {
  display: none !important;
}

@media screen and (max-width: 1023px) {
  .u-tb-02 {
    display: block !important;
  }
}

@media screen and (max-width: 767px) {
  .u-tb-02 {
    display: none !important;
  }
}

.u-tb-03 {
  display: none;
}

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

@media screen and (max-width: 767px) {
  .u-pc {
    display: none !important;
  }
}

.u-indent-01 {
  padding-left: 1em;
  text-indent: -1em;
}

@media screen and (max-width: 999px) {
  .u-pc-02 {
    display: none !important;
  }
}

.u-space-01 {
  padding-right: 2px;
}

.u-visually-hidden {
  position: absolute !important;
  white-space: nowrap !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  border: 0 !important;
  padding: 0 !important;
  clip: rect(0 0 0 0) !important;
  -webkit-clip-path: inset(50%) !important;
  clip-path: inset(50%) !important;
  margin: -1px !important;
}

/*タイトル
-----------------------------------------------------------------------------------------*/
h2.c-title {
  position: relative;
  display: inline-block;
  font-family: "Zen Old Mincho", serif;
  font-size: 2.75rem;
  font-weight: 700;
}

h2.c-title::after {
  position: absolute;
  content: "";
  width: 74px;
  height: 2px;
  bottom: -14px;
  left: 50%;
  background-color: rgb(202, 179, 135);
  transform: translateX(-50%);
}

h2.c-title-green {
  position: relative;
  display: inline-block;
  font-family: "Zen Old Mincho", serif;
  font-size: 2.75rem;
  font-weight: 700;
  color: rgb(0, 158, 151);
}

h2.c-title-green::after {
  position: absolute;
  content: "";
  width: 74px;
  height: 2px;
  bottom: -14px;
  left: 50%;
  background-color: rgb(0, 158, 151);
  transform: translateX(-50%);
}

p.c-subtitle {
  margin-top: 44px;
  font-size: clamp(1rem, 2vw, 1.3rem);
  font-weight: 700;
}

@media screen and (max-width: 1023px) {
  h2.c-title {
    font-size: clamp(1.7rem, 4vw, 2.7rem);
  }

  h2.c-title-green {
    font-size: clamp(1.7rem, 4vw, 2.7rem);
  }

  .c-title-green {
    font-size: clamp(2.1rem, 4vw, 2.7rem);
  }
}

/*ヘッダーナビ
-----------------------------------------------------------------------------------------*/
nav.header-nav {
  position: absolute;
  width: 100%;
  height: 60px;
  background-color: rgb(29, 29, 250);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
  z-index: 9999;
}

nav.header-nav.fixed {
  position: fixed;
  width: 100%;
  top: 0;
}

ul.nav-list {
  display: grid;
  grid-template-columns: repeat(6, auto);
  align-items: center;
  max-width: 1045px;
}

a.nav-link {
  display: block;
  padding: 19px 0;
  color: rgb(255, 255, 255);
  transition: 0.3s;
}

@media (hover: hover) and (pointer: fine) {
  a.nav-link:hover,
  a.nav-link:focus {
    background-color: rgb(228, 235, 245);
    color: rgb(29, 29, 250);
  }
}

@media screen and (max-width: 1023px) {
  nav.header-nav {
    display: none;
  }
}

/*トップページ--メインビジュアル
-----------------------------------------------------------------------------------------*/
div.mv {
  height: calc(100vh - 160px);
  margin-top: 60px;
  background: url(https://okayama-sougi.com/wp-content/uploads/2024/06/main_img-1-scaled.jpg)
    no-repeat center center/cover;
}

div.mv-inner {
  position: relative;
  flex-direction: column;
  height: 100%;
}

div.mv-inner::after {
  position: absolute;
  content: "";
  width: 342px;
  height: 358px;
  right: -30px;
  bottom: 0;
  background: url(https://okayama-sougi.com/wp-content/uploads/2024/06/mv-woman-img2.png)
    no-repeat center center/cover;
}

p.mv-catch {
  font-size: clamp(3rem, 6vw, 4.3rem);
  font-weight: 700;
  color: rgb(255, 255, 255);
  line-height: 1.1529545455;
  text-shadow: 0px 0px 20px rgb(147, 0, 0);
}

div.mv-plan {
  margin-top: 30px;
}

div.mv-plan p {
  font-size: clamp(2.1rem, 4vw, 2.7rem);
  font-weight: 700;
  color: rgb(255, 255, 255);
  line-height: 1;
  text-shadow: 0px 0px 9px rgb(255, 35, 5);
}

div.mv-plan img {
  image-rendering: -webkit-optimize-contrast;
  margin-top: 15px;
  width: 35%;
}

img.mv-subcatch {
  image-rendering: -webkit-optimize-contrast;
  margin-top: 30px;
  width: 55%;
}

@media screen and (max-width: 1279px) {
  div.mv-inner::after {
    right: 3%;
    width: 29%;
    height: 30vw;
  }

  img.mv-subcatch {
    width: 50%;
  }
}

@media screen and (max-width: 1023px) {
  div.mv {
    height: 63vw;
    min-height: 500px;
    margin-top: 60px;
  }
}

@media screen and (max-width: 767px) {
  div.mv {
    height: auto;
    min-height: auto;
  }

  div.sp-mv {
    display: block;
    height: 300px;
    background-image: url("../images/mv-bg.jpg");
  }

  div.sp-mv div {
    width: 100%;
    height: 100%;
    background: linear-gradient(
      180deg,
      transparent,
      rgba(189, 151, 211, 0.5) 70%,
      rgb(189, 151, 211)
    );
  }

  div.mv-inner {
    padding: 30px 0;
    background-color: rgb(189, 151, 211);
  }

  div.mv-inner::after {
    display: none;
  }

  p.mv-catch {
    font-size: 1.8rem;
  }

  div.mv-plan {
    display: none;
  }

  div.mv-plan p {
    font-size: 1.5rem;
  }

  div.mv-plan img {
    width: 35%;
  }

  img.mv-subcatch {
    width: 75%;
    margin-top: 20px;
  }
}

/*トップページ--ご葬儀プラン・ご供養プラン
-----------------------------------------------------------------------------------------*/
/* 市民葬儀のおすすめプラン */
li.top-plan-item-row {
  grid-column: 1/3;
  grid-row: 1/2;
  position: relative;
  overflow: hidden;
  z-index: 1;
  box-shadow: 5px 10px 20px rgba(0, 0, 0, 0.4);
}

div.bg-top-farewell {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  background-image: url("../images/top-plan-farewell.jpg");
  z-index: -1;
  transition: 0.5s;
}

div.bg-top-farewell span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.2),
    rgb(255, 255, 255)
  );
}

/*
li.top-plan-item-row::before {
	position: absolute;
	content: "";
	inset: 0;
	background: url(../images/top-plan-farewell.jpg) no-repeat left center/cover;
	transition-duration: 0.5s;
	z-index: -1;
}
*/

li.top-plan-item-row a {
  display: flex;
  flex-direction: column;
}

li.top-plan-item-row ul.flow {
  width: 521px;
  margin: 20px 65px 0 auto;
  background-image: linear-gradient(
    180deg,
    transparent,
    transparent 45%,
    rgb(0, 158, 151) 45%,
    rgb(0, 158, 151) 58%,
    transparent 58%,
    transparent
  );
}

li.top-plan-item-row li.flow-item {
  outline: 1px solid rgb(0, 158, 151);
  background-color: rgb(217, 236, 221);
}

/*
li.top-plan-item-row li.flow-item:not(:nth-child(3)) {
	background-color: rgb(217, 236, 221);
}

li.top-plan-item-row li.flow-item:nth-child(3) {
	background-color: rgb(255, 255, 255);
}

li.top-plan-item-row li.flow-item:nth-child(3) {
	background-image: linear-gradient(to top left, transparent, transparent 49%, rgb(0, 158, 151) 50%, rgb(0, 158, 151) 50%, transparent 51%, transparent);
}
*/

div.top-plan-description-row {
  position: relative;
  padding: 20px 0;
  background-color: rgb(0, 158, 151);
  font-family: "Zen Old Mincho", serif;
  font-size: 2.1rem;
  color: rgb(255, 255, 255);
}

div.top-plan-description-row p {
  display: inline-block;
  margin: 0 auto;
  padding: 0 0.5em;
  background-color: rgb(0, 158, 151);
  font-weight: 700;
  position: relative;
  z-index: 99;
}

div.top-plan-description-row::before,
div.top-plan-description-row::after {
  position: absolute;
  content: "";
  width: 91%;
  height: 1px;
  left: 50%;
  background-color: rgb(255, 255, 255);
  transform: translateX(-50%);
}

div.top-plan-description-row::before {
  top: 47%;
}

div.top-plan-description-row::after {
  top: 53%;
}

div.top-plan-body-row {
  margin-left: auto;
  width: 873px;
}

div.top-plan-price-row {
  display: flex;
  align-items: flex-end;
  margin-top: 30px;
}

div.top-plan-price-row img {
  image-rendering: -webkit-optimize-contrast;
  width: 35%;
  margin: 0 65px 0 auto;
}

h3.top-plan-subtitle-row {
  margin-left: 43px;
  font-size: 3.125rem;
  font-weight: 700;
  line-height: 1;
  color: rgb(0, 158, 151);
}

div.top-plan-box-row {
  display: flex;
  margin: 30px 36px 0 0;
  color: rgb(51, 51, 51);
}

div.top-plan-box-row p {
  text-align: left;
  margin-left: auto;
  text-shadow: 2px 2px 3px #fff, -2px 2px 3px #fff, 2px -2px 3px #fff,
    -2px -2px 3px #fff;
}

div.top-plan-icon-row {
  display: flex;
}

div.top-plan-icon-row span {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 1em;
  background-color: rgb(0, 158, 151);
  color: rgb(255, 255, 255);
}

div.top-plan-icon-row span:first-child {
  margin-right: 10px;
}

div.top-plan-item-footer-row {
  width: 50%;
  padding: 18px;
  color: rgb(255, 255, 255);
  background-color: rgb(0, 158, 151);
  margin: 30px auto;
  transition-duration: 0.5s;
}

div.top-plan-item-footer-row p {
  position: relative;
  text-align: left;
  width: 157px;
  margin: 0 auto;
}

div.top-plan-item-footer-row p::after {
  position: absolute;
  content: "";
  width: 10px;
  height: 10px;
  top: 50%;
  right: 0;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: translateY(-50%) rotate(-45deg);
  transition-duration: 0.5s;
}

@media (hover: hover) and (pointer: fine) {
  li.top-plan-item-row:hover div.bg-top-farewell {
    transform: scale(1.2);
    transition: 0.5s;
  }

  li.top-plan-item-row:hover div.top-plan-item-footer-row p::after {
    right: -20px;
  }
}

@media screen and (max-width: 1279px) {
  div.top-plan-description-row {
    font-size: clamp(1rem, 3vw, 2.1rem);
  }

  div.top-plan-body-row {
    width: 70%;
    margin: 0 50px 0 auto;
  }

  div.top-plan-price-row img {
    width: 40%;
    margin: auto;
  }

  h3.top-plan-subtitle-row {
    margin: auto;
    font-size: clamp(2rem, 4vw, 3.1rem);
    text-shadow: 2px 2px 3px #fff, -2px 2px 3px #fff, 2px -2px 3px #fff,
      -2px -2px 3px #fff;
  }

  div.top-plan-box-row {
    flex-direction: column;
    margin-left: auto;
    width: 100%;
  }
  div.top-plan-box-row p {
    margin: 20px 0 0 auto;
  }

  div.top-plan-icon-row span {
    padding: 10px 1.5em;
    font-size: clamp(0.7rem, 0.8vw, 1rem);
  }
}

@media screen and (max-width: 1023px) {
  li.top-plan-item-row::before {
    background-position: left 15% center;
  }

  li.top-plan-item-row ul.flow {
    width: auto;
    height: 6vw;
    margin: 20px auto 0;
  }

  div.top-plan-box-row {
    margin-top: 20px;
  }

  div.top-plan-price-row {
    margin-top: 20px;
  }

  div.top-plan-item-footer-row {
    margin: 20px auto;
  }
}

@media screen and (max-width: 767px) {
  div.bg-top-farewell {
    position: static;
    width: 100%;
    aspect-ratio: 3/2;
  }

  div.bg-top-farewell span {
    display: none;
  }

  div.top-plan-description-row {
    padding: 10px 0;
  }

  div.top-plan-body-row {
    width: 90%;
    margin: 0 auto;
  }

  div.top-plan-price-row {
    flex-direction: column;
  }

  div.top-plan-price-row img {
    width: auto;
    max-width: 75%;
    height: 50px;
    object-fit: contain;
    margin: 20px auto 0;
  }

  div.top-plan-icon-row {
    margin: 0 auto;
  }

  li.top-plan-item-row ul.flow {
    height: auto;
    margin: 18px auto 0;
  }

  div.top-plan-item-footer-row {
    width: 90%;
    padding: 10px;
    margin: 15px auto 15px;
  }

  div.top-plan-box-row p {
    font-weight: 700;
  }
}
/* end 市民葬儀のおすすめプラン */

/* ご葬儀プラン・ご供養プラン共通 */
section.top-plan {
  background: url(../images/top-plan-bg.jpg) no-repeat center center/cover;
}

div.top-plan-wrapper {
  width: 100%;
  background-color: rgb(255, 255, 255);
  border: 2px solid rgb(255, 141, 178);
  border-radius: 20px;
  margin: 0 auto;
  padding: 50px;
}

div.top-plan-wrapper:last-child {
  margin-top: 50px;
}

ul.top-plan-list {
  display: grid;
  grid-template-columns: repeat(2, auto);
  -moz-column-gap: 50px;
  column-gap: 50px;
  row-gap: 50px;
  justify-content: center;
  margin-top: 44px;
}

li.top-plan-item {
  display: flex;
  flex-direction: column;
  box-shadow: 5px 10px 20px rgba(0, 0, 0, 0.4);
}

li.top-plan-item a {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

div.top-plan-description {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-grow: 1;
  padding: 12px 1em;
  color: rgb(255, 255, 255);
}

div.top-plan-image {
  overflow: hidden;
}

div.top-plan-image img {
  aspect-ratio: 7/4;
  -o-object-fit: cover;
  object-fit: cover;
  transition-duration: 0.5s;
}

div.top-plan-body {
  padding: 30px;
}

h3.top-plan-subtitle {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
}

div.top-plan-price {
  display: flex;
  align-items: center;
  margin-top: 30px;
}

div.top-plan-price img {
  width: auto;
  max-width: 50%;
  height: 60px;
  object-fit: contain;
  image-rendering: -webkit-optimize-contrast;
}

span.top-plan-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 44%;
  height: 71px;
  margin-right: 26px;
  color: rgb(255, 255, 255);
}

p.top-plan-note {
  position: absolute;
  text-align: right;
  margin-top: 5px;
  right: 28px;
  font-size: 0.8rem;
  color: rgb(51, 51, 51);
}

div.top-plan-item-footer {
  padding: 15px;
  color: rgb(255, 255, 255);
}

div.top-plan-item-footer p {
  position: relative;
  text-align: left;
  width: 157px;
  margin: 0 auto;
}

div.top-plan-item-footer p::after {
  position: absolute;
  content: "";
  width: 10px;
  height: 10px;
  top: 50%;
  right: 0;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: translateY(-50%) rotate(-45deg);
  transition-duration: 0.5s;
}

@media (hover: hover) and (pointer: fine) {
  li.top-plan-item:hover div.top-plan-image img {
    transform: scale(1.2);
  }

  li.top-plan-item:hover div.top-plan-item-footer p::after {
    right: -20px;
  }
}

@media screen and (max-width: 1279px) {
  span.top-plan-icon {
    width: 40%;
    height: 60px;
    font-size: clamp(0.75rem, 0.8vw, 1rem);
  }

  p.top-plan-note {
    right: 10px;
  }

  ul.flow {
    margin-top: 20px;
  }
}

@media screen and (max-width: 1023px) {
  div.top-plan-wrapper {
    padding: 30px;
  }

  ul.top-plan-list {
    row-gap: 30px;
    column-gap: 30px;
  }

  p.top-plan-description {
    font-size: 0.875rem;
  }

  div.top-plan-body {
    padding: 20px;
  }

  div.top-plan-price {
    margin-top: 20px;
  }
}

@media screen and (max-width: 767px) {
  section.top-plan {
    background-image: none;
    background-color: rgb(238, 247, 232);
  }

  div.top-plan-wrapper {
    padding: 0;
    background-color: transparent;
    border: none;
  }

  div.top-plan-wrapper:last-child {
    margin-top: 30px;
  }

  ul.top-plan-list {
    grid-template-columns: 1fr;
    row-gap: 30px;
    -moz-column-gap: 0;
    column-gap: 0;
    margin: 44px auto 0;
  }

  li.top-plan-item {
    grid-column: 1/2;
  }

  div.top-plan-body {
    background: rgb(255, 255, 255);
  }
}

/* flow */
ul.flow {
  display: flex;
  justify-content: space-between;
  height: 67px;
  margin-top: 30px;
}

li.flow-item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 17%;
  font-weight: 700;
  color: rgb(51, 51, 51);
  overflow: hidden;
}

@media screen and (max-width: 1279px) {
  ul.flow {
    height: 5vw;
  }

  li.flow-item {
    padding: 10px 0;
    font-size: clamp(0.7rem, 1.5vw, 1rem);
  }
}

@media screen and (max-width: 767px) {
  ul.flow {
    height: auto;
  }
}
/* end-flow */
/* end ご葬儀プラン・ご供養プラン共通パーツ */

/* ご葬儀プラン・ご供養プラン、プラン別設定 */
/* 火葬のみプラン */
.top-plan-cremation h3.top-plan-subtitle {
  color: rgb(255, 141, 178);
}

.top-plan-cremation div.top-plan-description,
.top-plan-cremation span.top-plan-icon,
.top-plan-cremation div.top-plan-item-footer {
  background-color: rgb(255, 141, 178);
}

.top-plan-cremation ul.flow {
  background-image: linear-gradient(
    180deg,
    transparent,
    transparent 45%,
    rgb(255, 141, 178) 45%,
    rgb(255, 141, 178) 58%,
    transparent 58%,
    transparent
  );
}

.top-plan-cremation li.flow-item {
  outline: 1px solid rgb(255, 141, 178);
  background-color: rgb(249, 223, 234);
}
.top-plan-cremation li.flow-item.off {
  background: #fff;
  color: #000;
  position: relative;
}
.top-plan-cremation li.flow-item.off::after {
  display: block;
  content: "";
  width: 150%;
  height: 1px;
  position: absolute;
  background: rgb(255, 141, 178);
  rotate: -41deg;
}

/*
.top-plan-cremation li.flow-item:nth-child(1), .top-plan-cremation li.flow-item:nth-child(2), .top-plan-cremation li.flow-item:nth-child(5) {
	background-color: rgb(249, 223, 234);
}

.top-plan-cremation li.flow-item:nth-child(3), .top-plan-cremation li.flow-item:nth-child(4) {
	background-color: rgb(255, 255, 255);
}

.top-plan-cremation li.flow-item:nth-child(3), .top-plan-cremation li.flow-item:nth-child(4) {
	background-image: linear-gradient(to top left, transparent, transparent 49%, rgb(255, 141, 178) 50%, rgb(255, 141, 178) 50%, transparent 51%, transparent);
}
*/
/* end 火葬のみプラン */

/* 福祉葬プラン */
.top-plan-welfare h3.top-plan-subtitle {
  color: rgb(47, 47, 139);
}

.top-plan-welfare div.top-plan-description,
.top-plan-welfare span.top-plan-icon,
.top-plan-welfare div.top-plan-item-footer {
  background-color: rgb(47, 47, 139);
}

.top-plan-welfare div.top-plan-body {
  position: relative;
}

.top-plan-welfare ul.flow {
  background-image: linear-gradient(
    180deg,
    transparent,
    transparent 45%,
    rgb(47, 47, 139) 45%,
    rgb(47, 47, 139) 58%,
    transparent 58%,
    transparent
  );
}

.top-plan-welfare li.flow-item {
  outline: 1px solid rgb(47, 47, 139);
  background-color: rgb(228, 235, 245);
}

/*
.top-plan-welfare li.flow-item:not(:nth-child(3)) {
	background-color: rgb(228, 235, 245);
}

.top-plan-welfare li.flow-item:nth-child(3) {
	background-color: rgb(255, 255, 255);
}

.top-plan-welfare li.flow-item:nth-child(3) {
	background-image: linear-gradient(to top left, transparent, transparent 49%, rgb(47, 47, 139) 50%, rgb(47, 47, 139) 50%, transparent 51%, transparent);
}
*/
/* end 福祉葬プラン */

/* 一日葬プラン */
.top-plan-oneday h3.top-plan-subtitle {
  color: rgb(160, 29, 155);
}

.top-plan-oneday div.top-plan-description,
.top-plan-oneday span.top-plan-icon,
.top-plan-oneday div.top-plan-item-footer {
  background-color: rgb(160, 29, 155);
}

.top-plan-oneday ul.flow {
  background-image: linear-gradient(
    180deg,
    transparent,
    transparent 45%,
    rgb(160, 29, 155) 45%,
    rgb(160, 29, 155) 58%,
    transparent 58%,
    transparent
  );
}

.top-plan-oneday li.flow-item {
  outline: 1px solid rgb(160, 29, 155);
  background-color: rgb(238, 229, 239);
}

/*
.top-plan-oneday li.flow-item:not(:nth-child(3)) {
	background-color: rgb(238, 229, 239);
}

.top-plan-oneday li.flow-item:nth-child(3) {
	background-color: rgb(255, 255, 255);
}

.top-plan-oneday li.flow-item:nth-child(3) {
	background-image: linear-gradient(to top left, transparent, transparent 49%, rgb(160, 29, 155) 50%, rgb(160, 29, 155) 50%, transparent 51%, transparent);
}
*/
/* end 一日葬プラン */

/* 家族葬プラン */
.top-plan-family h3.top-plan-subtitle {
  color: rgb(147, 0, 0);
}

.top-plan-family div.top-plan-description,
.top-plan-family span.top-plan-icon,
.top-plan-family div.top-plan-item-footer {
  background-color: rgb(147, 0, 0);
}

.top-plan-family ul.flow {
  background-image: linear-gradient(
    180deg,
    transparent,
    transparent 45%,
    rgb(147, 0, 0) 45%,
    rgb(147, 0, 0) 58%,
    transparent 58%,
    transparent
  );
}

.top-plan-family li.flow-item {
  outline: 1px solid rgb(147, 0, 0);
  background-color: rgb(249, 223, 234);
}
/* end 家族葬プラン */

/* 永大供養プラン */
.top-plan-eternal h3.top-plan-subtitle {
  color: rgb(1, 116, 111);
}

.top-plan-eternal div.top-plan-description,
.top-plan-eternal span.top-plan-icon,
.top-plan-eternal div.top-plan-item-footer {
  background-color: rgb(1, 116, 111);
}

@media screen and (max-width: 1023px) {
  .top-plan-eternal p.top-plan-note {
    margin-top: 7px;
  }
}
/* end 永大供養プラン */

/* 海洋散骨プラン */
.top-plan-ocean h3.top-plan-subtitle {
  color: rgb(47, 47, 139);
}

.top-plan-ocean div.top-plan-description,
.top-plan-ocean span.top-plan-icon,
.top-plan-ocean div.top-plan-item-footer {
  background-color: rgb(47, 47, 139);
}
/* end 海洋散骨プラン */

/* 永大供養プラン・海洋散骨プラン共通 */
.top-plan-eternal div.top-plan-body,
.top-plan-ocean div.top-plan-body {
  position: relative;
  padding-bottom: 30px;
}

.top-plan-eternal div.top-plan-body img,
.top-plan-ocean div.top-plan-body img {
  image-rendering: -webkit-optimize-contrast;
  margin: 30px 0 0 auto;
  width: auto;
  max-width: 50%;
  height: 60px;
  object-fit: contain;
}

@media screen and (max-width: 1023px) {
  .top-plan-eternal div.top-plan-body img,
  .top-plan-ocean div.top-plan-body img {
    margin-top: 15px;
  }
}

/* end 永大供養プラン・海洋散骨プラン共通 */
/* end ご葬儀プラン・ご供養プラン、プラン別設定 */

/*トップページ--message
-----------------------------------------------------------------------------------------*/
div.message {
  padding: 50px 0;
  text-align: left;
}

div.diagonal-01 {
  background: repeating-linear-gradient(
    -45deg,
    rgb(33, 33, 228) 0,
    rgb(33, 33, 228) 6px,
    rgb(29, 29, 250) 6px,
    rgb(29, 29, 250) 38px
  );
}

div.message-content {
  position: relative;
  width: 70%;
  padding: 50px;
  margin: 0 auto;
  background-color: rgb(255, 255, 255);
  outline: 4px solid rgb(29, 29, 250);
  outline-offset: -15px;
}

div.message-wrapper {
  display: flex;
  flex-direction: column;
}

img.message-image {
  position: absolute;
  width: 25%;
  bottom: -50px;
  right: 0;
}

p.message-title {
  margin-bottom: 30px;
  font-family: "Zen Old Mincho", serif;
  font-size: 2rem;
  font-weight: 700;
  color: rgb(29, 29, 250);
}

p.message-text {
  text-decoration: underline dashed;
  text-decoration-color: rgb(29, 29, 250);
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
  line-height: 1.8;
}

@media screen and (max-width: 1279px) {
  div.message-content {
    width: 90%;
  }

  div.message-wrapper {
    width: 75%;
  }

  p.message-title {
    font-size: clamp(1.3rem, 2.5vw, 2rem);
  }
}

@media screen and (max-width: 1023px) {
  div.message-content {
    width: 100%;
    padding: 40px;
  }

  div.message-wrapper {
    text-align: center;
    width: 70%;
  }

  img.message-image {
    width: 23%;
    bottom: 15px;
    right: 15px;
  }
}

@media screen and (max-width: 767px) {
  div.message {
    padding: 30px 0;
  }

  div.message-content {
    padding: 30px;
  }

  p.message-title {
    margin-bottom: 20px;
    font-size: 1.1rem;
  }

  img.message-image {
    bottom: -30px;
    right: -10px;
  }
}

@media screen and (max-width: 500px) {
  div.message-wrapper {
    text-align: left;
    width: auto;
  }

  div.message-content {
    padding: 25px;
  }
}

/*トップページ--市民葬儀が選ばれる理由（共通）
-----------------------------------------------------------------------------------------*/
section.top-reason {
  background: url(../images/top-reason-bg.jpg) no-repeat center center/cover;
}

ul.top-reason-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px 60px;
  width: 100%;
  margin-top: 44px;
}

li.top-reason-item {
  position: relative;
  width: 30%;
  padding: 20px;
  border-radius: 50%;
  background-color: #fff;
  overflow: hidden;
}

li.top-reason-item::before {
  position: absolute;
  content: "";
  width: 100%;
  height: 35%;
  top: 0;
  left: 0;
}

div.top-reason-circle {
  position: relative;
  padding-top: 100%;
}

div.top-reason-wrapper {
  position: absolute;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -40%);
}

p.top-reason-number {
  position: relative;
  font-family: "Zen Old Mincho", serif;
  font-size: 3.1rem;
  color: rgb(255, 255, 255);
}

p.top-reason-number::after {
  position: absolute;
  content: "";
  width: 10%;
  height: 3px;
  bottom: 0;
  left: 50%;
  background-color: rgb(255, 255, 255);
  transform: translateX(-50%);
}

h3.top-reason-title {
  flex-grow: 1;
  margin-top: 30px;
  font-size: 2.1rem;
  font-weight: 700;
}

p.top-reason-text {
  flex-grow: 1;
  font-size: 1rem;
}

@media screen and (max-width: 1279px) {
  ul.top-reason-list {
    gap: 30px 30px;
  }

  p.top-reason-number {
    font-size: clamp(1rem, 2.5vw, 3.1rem);
  }

  h3.top-reason-title {
    font-size: clamp(1.2rem, 2.5vw, 2.1rem);
  }

  p.top-reason-text {
    font-size: clamp(0.8rem, 1vw, 1rem);
  }
}

@media screen and (max-width: 1023px) {
  p.top-reason-number::after {
    height: 2px;
  }

  h3.top-reason-title {
    margin-top: 1vw;
  }

  p.top-reason-text {
    margin-top: 1vw;
  }
}

@media screen and (max-width: 767px) {
  section.top-reason {
    background: none;
    background-color: rgba(198, 226, 255);
  }

  li.top-reason-item {
    width: 100%;
    border-radius: 20px;
  }

  div.top-reason-circle {
    padding-top: 30%;
  }

  div.top-reason-wrapper {
    top: 30%;
    transform: translate(-50%, -30%);
  }

  p.top-reason-number {
    font-size: clamp(1rem, 4vw, 3.1rem);
  }

  h3.top-reason-title {
    margin-top: 4vw;
    font-size: clamp(1.2rem, 4vw, 2.1rem);
  }

  p.top-reason-text {
    font-size: clamp(0.8rem, 3vw, 1rem);
  }
}

@media screen and (max-width: 500px) {
  div.top-reason-circle {
    padding-top: 40%;
  }
}

/* トップページ--市民葬儀が選ばれる理由（個別設定）*/
/* 01 */
.top-reason-item01 {
  box-shadow: 0px 0px 32px rgb(255, 111, 111);
}

.top-reason-item01::before {
  background: linear-gradient(
    180deg,
    rgb(234, 97, 115) 0%,
    rgba(234, 97, 115, 0) 100%
  );
}

.top-reason-item01 p.top-reason-number {
  text-shadow: 0px 0px 14px rgb(239, 6, 14);
}

.top-reason-item01 p.top-reason-number::after {
  box-shadow: 0px 0px 6px rgb(239, 6, 14);
}

.top-reason-item01 h3.top-reason-title,
.top-reason-item01 p.top-reason-text {
  color: rgb(255, 141, 178);
}
/* end 01 */

/* 02 */
.top-reason-item02 {
  box-shadow: 0px 0px 32px rgb(160, 29, 155);
}

.top-reason-item02::before {
  background: linear-gradient(
    180deg,
    rgb(160, 29, 155) 0%,
    rgba(160, 29, 155, 0) 100%
  );
}

.top-reason-item02 p.top-reason-number {
  text-shadow: 0px 0px 14px rgb(160, 29, 155);
}

.top-reason-item02 p.top-reason-number::after {
  box-shadow: 0px 0px 6px rgb(160, 29, 155);
}

.top-reason-item02 h3.top-reason-title,
.top-reason-item02 p.top-reason-text {
  color: rgb(160, 29, 155);
}
/* end 02 */

/* 03 */
.top-reason-item03 {
  box-shadow: 0px 0px 32px rgb(51, 143, 71);
}

.top-reason-item03::before {
  background: linear-gradient(
    180deg,
    rgb(51, 143, 71) 0%,
    rgba(51, 143, 71, 0) 100%
  );
}

.top-reason-item03 p.top-reason-number {
  text-shadow: 0px 0px 14px rgb(51, 143, 71);
}

.top-reason-item03 p.top-reason-number::after {
  box-shadow: 0px 0px 6px rgb(51, 143, 71);
}

.top-reason-item03 h3.top-reason-title,
.top-reason-item03 p.top-reason-text {
  color: rgb(0, 158, 151);
}
/* end 03 */

/* 04 */
.top-reason-item04 {
  box-shadow: 0px 0px 32px rgb(47, 47, 139);
}

.top-reason-item04::before {
  background: linear-gradient(
    180deg,
    rgb(47, 47, 139) 0%,
    rgba(47, 47, 139, 0) 100%
  );
}

.top-reason-item04 p.top-reason-number {
  text-shadow: 0px 0px 14px rgb(47, 47, 139);
}

.top-reason-item04 p.top-reason-number::after {
  box-shadow: 0px 0px 6px rgb(47, 47, 139);
}

.top-reason-item04 h3.top-reason-title,
.top-reason-item04 p.top-reason-text {
  color: rgb(47, 47, 139);
}
/* end 04 */

/* 05 */
.top-reason-item05 {
  box-shadow: 0px 0px 32px rgb(189, 132, 24);
}

.top-reason-item05::before {
  background: linear-gradient(
    180deg,
    rgb(189, 132, 24) 0%,
    rgba(189, 132, 24, 0) 100%
  );
}

.top-reason-item05 p.top-reason-number {
  text-shadow: 0px 0px 14px rgb(189, 132, 24);
}

.top-reason-item05 p.top-reason-number::after {
  box-shadow: 0px 0px 6px rgb(189, 132, 24);
}

.top-reason-item05 h3.top-reason-title,
.top-reason-item05 p.top-reason-text {
  color: rgb(189, 132, 24);
}

.top-reason-item05 div.top-reason-wrapper {
  top: 20%;
  transform: translate(-50%, -20%);
}
/* end 05 */

/*トップページ--ご依頼からの流れ
-----------------------------------------------------------------------------------------*/
section.top-flow {
  background: url(../images/top-flow-bg.jpg) no-repeat center center/cover;
}

ul.top-flow-list {
  width: 100%;
  margin: 44px auto 0;
  background-image: linear-gradient(rgb(228, 235, 245), rgb(228, 235, 245)),
    linear-gradient(transparent, transparent);
  background-repeat: no-repeat;
  background-size: 10px 85%;
  background-position: left 3.7% center;
}

li.top-flow-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 99;
}

li.top-flow-item:not(:last-child) {
  margin-bottom: 30px;
}

div.top-flow-number {
  width: 8%;
  min-width: 50px;
  margin-right: 20px;
  border-radius: 50%;
  background-color: rgb(91, 184, 224);
  flex-shrink: 0;
  overflow: hidden;
}

div.top-flow-number p {
  position: absolute;
  top: calc((100% - 1em) / 2);
  left: 0;
  right: 0;
  text-align: center;
  font-family: "Zen Old Mincho", serif;
  font-size: clamp(0.875rem, 2vw, 1.3rem);
  color: rgb(255, 255, 255);
  line-height: 1;
}

div.top-flow-circle {
  position: relative;
  padding-top: 100%;
  height: 0;
}

div.top-flow-flex {
  display: flex;
  width: 91%;
}

div.top-flow-body {
  text-align: left;
  width: 70%;
  margin-right: 20px;
  border: 1px solid rgb(255, 184, 0);
  background-color: rgb(255, 255, 255);
}

h3.top-flow-title {
  width: 100%;
  padding: 10px 30px;
  background-color: rgb(255, 184, 0);
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 700;
  color: rgb(255, 255, 255);
  line-height: 1.4;
}

span.top-flow-number-sub {
  margin-right: 0.5em;
}

p.top-flow-text {
  padding: 24px 46px;
}

img.top-flow-image {
  width: 30%;
  margin: 0;
  -o-object-fit: cover;
  object-fit: cover;
}

@media screen and (max-width: 1279px) {
  ul.top-flow-list {
    width: auto;
  }

  h3.top-flow-title {
    padding: 10px 20px;
  }

  p.top-flow-text {
    padding: 20px;
  }
}

@media screen and (max-width: 1023px) {
  ul.top-flow-list {
    background-image: none;
  }

  div.top-flow-flex {
    width: 100%;
  }

  span.top-flow-number-sub {
    display: inline-block;
  }

  div.top-flow-number {
    display: none;
  }
}

@media screen and (max-width: 767px) {
  div.top-flow-flex {
    flex-direction: column-reverse;
  }

  div.top-flow-body {
    width: auto;
    margin-right: 0;
  }

  img.top-flow-image {
    width: auto;
    border-top: 1px solid rgb(255, 184, 0);
    border-right: 1px solid rgb(255, 184, 0);
    border-left: 1px solid rgb(255, 184, 0);
  }
}

/*トップページ--お客様の声
-----------------------------------------------------------------------------------------*/
section.top-voice {
  position: relative;
  padding-bottom: 75px;
  background: url(../images/top-voice-bg.jpg) no-repeat center center/cover;
}

li.top-voice-item {
  padding: 10px;
  background-color: rgb(255, 255, 255);
}

div.top-voice-image {
  position: relative;
  padding-top: 60%;
  overflow: hidden;
}

div.top-voice-image img {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -o-object-fit: cover;
  object-fit: cover;
}

div.top-voice-heading {
  display: flex;
  align-items: center;
  padding: 10px;
}

span.top-voice-name {
  font-weight: 700;
}

span.top-voice-tag {
  margin-left: auto;
  padding: 0 1em;
  border-radius: 16px;
  font-size: 0.875rem;
  color: rgb(255, 255, 255);
}

p.top-voice-text {
  color: rgb(51, 51, 51);
  text-align: left;
  padding: 10px 10px 5px;
}

/* お別れ葬プラン */
li.top-voice-farewell {
  border: 1px solid rgb(0, 158, 151);
}

li.top-voice-farewell div.top-voice-heading {
  border-bottom: 1px solid rgb(0, 158, 151);
}

li.top-voice-farewell span.top-voice-name {
  color: rgb(0, 158, 151);
}

li.top-voice-farewell span.top-voice-tag {
  background-color: rgb(0, 158, 151);
}
/* お別れ葬プラン */

/* 火葬のみプラン */
li.top-voice-cremation {
  border: 1px solid rgb(255, 141, 178);
}

li.top-voice-cremation div.top-voice-heading {
  border-bottom: 1px solid rgb(255, 141, 178);
}

li.top-voice-cremation span.top-voice-name {
  color: rgb(255, 141, 178);
}

li.top-voice-cremation span.top-voice-tag {
  background-color: rgb(255, 141, 178);
}
/* end 火葬のみプラン */

/* 福祉葬プラン */
li.top-voice-welfare {
  border: 1px solid rgb(47, 47, 139);
}

li.top-voice-welfare div.top-voice-heading {
  border-bottom: 1px solid rgb(47, 47, 139);
}

li.top-voice-welfare span.top-voice-name {
  color: rgb(47, 47, 139);
}

li.top-voice-welfare span.top-voice-tag {
  background-color: rgb(47, 47, 139);
}
/* end 福祉葬プラン */

/* 一日葬プラン */
li.top-voice-oneday {
  border: 1px solid rgb(160, 29, 155);
}

li.top-voice-oneday div.top-voice-heading {
  border-bottom: 1px solid rgb(160, 29, 155);
}

li.top-voice-oneday span.top-voice-name {
  color: rgb(160, 29, 155);
}

li.top-voice-oneday span.top-voice-tag {
  background-color: rgb(160, 29, 155);
}
/* end 一日葬プラン */

/* 家族葬プラン */
li.top-voice-family {
  border: 1px solid rgb(147, 0, 0);
}

li.top-voice-family div.top-voice-heading {
  border-bottom: 1px solid rgb(147, 0, 0);
}

li.top-voice-family span.top-voice-name {
  color: rgb(147, 0, 0);
}

li.top-voice-family span.top-voice-tag {
  background-color: rgb(147, 0, 0);
}
/* end 家族葬プラン */

/* 永大供養プラン */
li.top-voice-eternal {
  border: 1px solid rgb(1, 116, 111);
}

li.top-voice-eternal div.top-voice-heading {
  border-bottom: 1px solid rgb(1, 116, 111);
}

li.top-voice-eternal span.top-voice-name {
  color: rgb(1, 116, 111);
}

li.top-voice-eternal span.top-voice-tag {
  background-color: rgb(1, 116, 111);
}
/* end 永大供養プラン */

/* 海洋散骨プラン */
li.top-voice-ocean {
  border: 1px solid rgb(47, 47, 139);
}

li.top-voice-ocean div.top-voice-heading {
  border-bottom: 1px solid rgb(47, 47, 139);
}

li.top-voice-ocean span.top-voice-name {
  color: rgb(47, 47, 139);
}

li.top-voice-ocean span.top-voice-tag {
  background-color: rgb(47, 47, 139);
}
/* end 海洋散骨プラン */

a.top-voice-link-btn {
  position: absolute;
  display: inline-block;
  width: 551px;
  bottom: -26px;
  left: 50%;
  padding: 12px 1em;
  background-color: rgb(0, 158, 151);
  font-size: 1.25rem;
  color: rgb(255, 255, 255);
  transform: translateX(-50%);
}

a.top-voice-link-btn span {
  position: relative;
  margin-left: -2em;
}

a.top-voice-link-btn span::after {
  position: absolute;
  content: "";
  width: 10px;
  height: 10px;
  top: 50%;
  right: -2em;
  border-top: 3px solid rgb(255, 255, 255);
  border-right: 3px solid rgb(255, 255, 255);
  transform: translateY(-50%) rotate(45deg);
}

@media (hover: hover) and (pointer: fine) {
  a.top-voice-link-btn:hover {
    opacity: 0.7;
  }
}

@media screen and (max-width: 1279px) {
  div.top-voice-heading {
    padding: 10px 0;
  }

  span.top-voice-name {
    font-size: 0.875rem;
  }

  p.top-voice-text {
    padding: 21px 0 0;
  }

  a.top-voice-link-btn {
    width: 45%;
  }
}

@media screen and (max-width: 767px) {
  section.top-voice {
    padding-bottom: 55px;
  }
  a.top-voice-link-btn {
    width: 72%;
    bottom: -23px;
    font-size: 0.875rem;
  }
}

/* swiper */
.swiper-parent {
  position: relative;
  margin-top: 44px;
}

.swiper {
  width: 90%;
}

.swiper-slide {
  width: 32.5%;
  height: auto;
}

.swiper-button-prev:after,
.swiper-container-rtl .swiper-button-next:after {
  content: "";
}

.swiper-button-next:after,
.swiper-container-rtl .swiper-button-prev:after {
  content: "";
}

.swiper-button-prev,
.swiper-button-next {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background-color: rgb(0, 158, 151);
}

.swiper-button-prev::after,
.swiper-button-next::after {
  width: 15px;
  height: 15px;
  transform: rotate(45deg);
}

.swiper-button-prev {
  left: -30px;
}

.swiper-button-prev::after {
  margin-left: 5px;
  border-bottom: 3px solid rgb(255, 255, 255);
  border-left: 3px solid rgb(255, 255, 255);
}

.swiper-button-next {
  right: -30px;
}

.swiper-button-next::after {
  margin-right: 5px;
  border-top: 3px solid rgb(255, 255, 255);
  border-right: 3px solid rgb(255, 255, 255);
}

@media (hover: hover) and (pointer: fine) {
  .swiper-button-prev:hover,
  .swiper-button-next:hover {
    opacity: 0.7;
  }
}

@media screen and (max-width: 1279px) {
  .swiper {
    width: 86%;
  }

  .swiper-button-prev {
    left: -1%;
  }

  .swiper-button-next {
    right: -1%;
  }
}

@media screen and (max-width: 1023px) {
  .swiper-button-prev,
  .swiper-button-next {
    width: 40px;
    height: 40px;
  }
  .swiper-button-prev::after,
  .swiper-button-next::after {
    width: 10px;
    height: 10px;
  }
}

@media screen and (max-width: 767px) {
  .swiper-button-prev,
  .swiper-button-next {
    width: 25px;
    height: 25px;
  }
  .swiper-button-prev::after,
  .swiper-button-next::after {
    width: 5px;
    height: 5px;
  }

  .swiper-button-prev {
    left: -10px;
  }
  .swiper-button-prev::after {
    position: absolute;
    left: 20%;
    border-bottom: 2px solid rgb(255, 255, 255);
    border-left: 2px solid rgb(255, 255, 255);
  }

  .swiper-button-next {
    right: -10px;
  }
  .swiper-button-next::after {
    position: absolute;
    right: 20%;
    border-top: 2px solid rgb(255, 255, 255);
    border-right: 2px solid rgb(255, 255, 255);
  }
}
/* end swiper */

/*トップページ--よくある質問
-----------------------------------------------------------------------------------------*/
section.top-faq {
  background-color: rgb(244, 244, 244);
  padding: 75px 0;
}

.diagonal-02 {
  background: repeating-linear-gradient(
    -45deg,
    rgba(219, 219, 219, 0.2) 0,
    rgba(219, 219, 219, 0.2) 6px,
    rgb(244, 244, 244) 6px,
    rgb(244, 244, 244) 38px
  );
}

div.faq-frame {
  position: relative;
  width: 100%;
  margin: 0 auto;
  padding: 50px 50px 76px;
  border-radius: 20px;
  background-color: rgb(255, 255, 255);
}

dl.faq-contents {
  text-align: left;
  margin: 44px auto 0;
}

dt.faq-question {
  display: flex;
  align-items: center;
  padding: 15px 30px;
  border: 1px solid rgb(255, 141, 178);
  border-radius: 12px 12px 0 0;
  background-color: rgb(255, 141, 178);
  color: rgb(255, 255, 255);
}

span.faq-icon {
  align-self: flex-start;
  margin-right: 20px;
  font-family: "Zen Old Mincho", serif;
  font-size: clamp(1.5rem, 2.3vw, 1.9rem);
  line-height: 1;
}

div.faq-text-wrapper {
  word-break: normal;
  line-break: strict;
}

p.faq-question-text {
  font-size: clamp(1rem, 1.5vw, 1.3rem);
}

dd.faq-answer {
  display: flex;
  margin-left: auto;
  padding: 15px 30px;
  border-left: 1px solid rgb(255, 141, 178);
  border-bottom: 1px solid rgb(255, 141, 178);
  border-right: 1px solid rgb(255, 141, 178);
  border-radius: 0 0 12px 12px;
  background-color: rgb(255, 255, 255);
}

dd.faq-answer:not(:last-child) {
  margin-bottom: 24px;
  margin-bottom: 30px;
}

span.faq-icon-answer {
  color: rgb(189, 132, 24);
}

p.faq-answer-text {
  font-size: clamp(1rem, 1.5vw, 1.3rem);
  color: rgb(221, 23, 23);
  line-break: strict;
}

p.faq-answer-add {
  margin-top: 8px;
  line-break: strict;
}

a.faq-link {
  color: rgb(255, 141, 178);
  text-decoration: underline;
  cursor: pointer;
}

a.top-faq-link-btn {
  position: absolute;
  display: inline-block;
  width: 551px;
  bottom: -26px;
  left: 50%;
  padding: 12px 1em;
  background-color: rgb(189, 132, 24);
  font-size: 1.2rem;
  color: rgb(255, 255, 255);
  transform: translateX(-50%);
}

a.top-faq-link-btn span {
  position: relative;
  margin-left: -2em;
}

a.top-faq-link-btn span::after {
  position: absolute;
  content: "";
  width: 10px;
  height: 10px;
  top: 50%;
  right: -2em;
  border-top: 3px solid rgb(255, 255, 255);
  border-right: 3px solid rgb(255, 255, 255);
  transform: translateY(-50%) rotate(45deg);
}

@media (hover: hover) and (pointer: fine) {
  a.top-faq-link-btn:hover {
    opacity: 0.7;
  }
}

@media screen and (max-width: 1279px) {
  a.top-faq-link-btn {
    width: 50%;
  }
}

@media screen and (max-width: 767px) {
  section.top-faq {
    padding: 45px 0;
    background-color: rgb(255, 255, 255);
  }

  .diagonal-02 {
    background: none;
  }

  div.faq-frame {
    padding: 0 0 45px;
  }

  dt.faq-question {
    padding: 10px;
  }

  p.faq-question-text {
    font-size: 0.875rem;
  }

  span.faq-icon {
    margin-right: 10px;
    font-size: 1rem;
  }

  dd.faq-answer {
    padding: 10px;
  }

  dd.faq-answer:not(:last-child) {
    margin-bottom: 20px;
  }

  p.faq-answer-text {
    font-size: 0.875rem;
  }

  a.top-faq-link-btn {
    width: 100%;
    bottom: -22px;
    font-size: 0.875rem;
  }
}

/*トップページ--ブログ
-----------------------------------------------------------------------------------------*/
section.top-blog {
  overflow: hidden;
  background: url(../images/top-blog-bg.jpg) no-repeat center center/cover;
}

div.top-blog-frame {
  position: relative;
  width: 100%;
  margin: 0 auto;
  padding: 50px;
  border-radius: 20px;
  background-color: rgb(255, 255, 255);
}

div.top-blog-frame::before,
div.top-blog-frame::after {
  position: absolute;
  content: "";
  width: 229px;
  height: 70px;
}

div.top-blog-frame::before {
  top: 15px;
  left: -20px;
  background: url(../images/top-blog-decoration-left.png) no-repeat center
    center/contain;
}

div.top-blog-frame::after {
  bottom: -15px;
  right: -20px;
  background: url(../images/top-blog-decoration-right.png) no-repeat center
    center/contain;
}

ul.top-blog-list {
  display: flex;
  justify-content: space-between;
  margin: 44px auto 0;
}

li.top-blog-item {
  text-align: left;
  display: flex;
  flex-direction: column;
  width: 31%;
}

a.top-blog-link {
  height: 100%;
}

div.top-blog-image {
  position: relative;
  padding-top: 60%;
  overflow: hidden;
}

div.top-blog-image img {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -o-object-fit: cover;
  object-fit: cover;
}

div.top-blog-body {
  padding: 13px;
}

time.top-blog-time {
  color: rgb(0, 158, 151);
}

h3.top-blog-title {
  font-weight: 700;
  color: rgb(51, 51, 51);
}

a.top-blog-link-btn {
  position: relative;
  display: inline-block;
  width: 417px;
  margin-top: 30px;
  padding: 12px 1em;
  background-color: rgb(0, 158, 151);
  color: rgb(255, 255, 255);
  z-index: 99;
}

a.top-blog-link-btn span {
  position: relative;
  margin-left: -2em;
}

a.top-blog-link-btn span::after {
  position: absolute;
  content: "";
  width: 10px;
  height: 10px;
  top: 50%;
  right: -2em;
  border-top: 3px solid rgb(255, 255, 255);
  border-right: 3px solid rgb(255, 255, 255);
  transform: translateY(-50%) rotate(45deg);
}

@media (hover: hover) and (pointer: fine) {
  a.top-blog-link-btn:hover {
    opacity: 0.8;
  }
}

@media screen and (max-width: 1279px) {
  a.top-blog-link-btn {
    width: 40%;
  }
}

@media screen and (max-width: 767px) {
  div.top-blog-frame {
    padding: 30px;
  }

  div.top-blog-frame::before {
    background-size: 50%;
    background-position: top left;
  }

  div.top-blog-frame::after {
    background-size: 50%;
    background-position: bottom right;
  }

  ul.top-blog-list {
    flex-direction: column;
  }

  li.top-blog-item {
    width: auto;
  }

  li.top-blog-item:not(:first-child) {
    margin-top: 30px;
  }

  div.top-blog-body {
    padding: 13px 0 0;
  }

  a.top-blog-link-btn {
    width: 100%;
  }
}

/*トップページ--式場のご案内
-----------------------------------------------------------------------------------------*/
section.top-access {
  background: url(../images/top-access-bg.jpg) no-repeat center center/cover;
}

h2.top-access-title {
  padding: 17px 1em;
  border-radius: 20px 20px 0px 0px;
  background-color: rgb(91, 184, 224);
  font-family: "Zen Old Mincho", serif;
  font-size: clamp(1.7rem, 4vw, 2.7rem);
  color: rgb(255, 255, 255);
}

div.top-access-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 50px;
  background-color: rgb(255, 255, 255);
  border-radius: 0 0 20px 20px;
}

dl.top-access-left {
  display: flex;
  flex-wrap: wrap;
  text-align: left;
  width: 60%;
  margin-block-start: 0;
  margin-block-end: 0;
  margin-right: 50px;
}

dl.top-access-left dt:first-child + dd {
  padding-top: 0;
}

dt.top-access-dt {
  width: 98px;
  height: auto;
  color: rgb(255, 141, 178);
  border-bottom: 1px solid rgb(91, 184, 224);
  padding-bottom: 15px;
}
dt.top-access-dt:not(:first-child) {
  padding-top: 15px;
}

dd.top-access-dd {
  width: calc(100% - 98px);
  margin: 0;
  padding: 15px 0;
  border-bottom: 1px solid rgb(91, 184, 224);
}

div.top-access-right {
  width: calc(100% - 60% - 50px);
}

a.top-access-link-btn {
  display: inline-block;
  width: 100%;
  margin-top: 30px;
  padding: 12px 1em;
  background-color: rgb(255, 141, 178);
  color: rgb(255, 255, 255);
}

a.top-access-link-btn span {
  position: relative;
  margin-left: -2em;
}

a.top-access-link-btn span::after {
  position: absolute;
  content: "";
  width: 10px;
  height: 10px;
  top: 50%;
  right: -2em;
  border-top: 3px solid rgb(255, 255, 255);
  border-right: 3px solid rgb(255, 255, 255);
  transform: translateY(-50%) rotate(45deg);
}

@media (hover: hover) and (pointer: fine) {
  .top-access-link-btn:hover {
    opacity: 0.8;
  }
}

@media screen and (max-width: 1000px) {
  div.top-access-wrapper {
    flex-direction: column;
  }

  dl.top-access-left {
    width: auto;
    margin: auto;
  }

  dt.top-access-dt {
    padding-left: 2em;
  }

  dd.top-access-dd {
    padding-left: 3em;
  }

  div.top-access-right {
    width: auto;
    margin-top: 30px;
  }

  div.top-access-right img {
    aspect-ratio: 16/9;
    -o-object-fit: cover;
    object-fit: cover;
  }
}

@media screen and (max-width: 767px) {
  div.top-access-wrapper {
    padding: 30px;
  }

  dt.top-access-dt {
    text-align: center;
    width: 100%;
    padding-left: 0;
    padding-bottom: 0;
    border-bottom: none;
  }

  dd.top-access-dd {
    text-align: center;
    width: 100%;
    padding-left: 0;
  }

  dl.top-access-left dt:first-child + dd {
    padding-top: 15px;
  }
}

/*固定ページ--キービジュアル
-----------------------------------------------------------------------------------------*/
.kv {
  height: 400px;
  margin-top: 60px;
  background: url(https://okayama-sougi.com/wp-content/uploads/2024/06/plan_and_cost_main2-scaled.jpg)
    no-repeat center center/cover;
}

.kv-inner {
  height: 100%;
}

.kv-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: rgb(255, 255, 255);
  text-shadow: 0px 0px 13px rgb(255, 35, 5);
}

@media screen and (max-width: 767px) {
  div.kv {
    height: 300px;
  }
}

/*パンくずリスト
-----------------------------------------------------------------------------------------*/
.breadcrumb {
  text-align: left;
  padding: 10px 0;
  background-color: rgb(255, 141, 178);
}

.breadcrumb span {
  display: inline-block;
  color: rgb(255, 255, 255);
}

.breadcrumb-arrow {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin: 0 1em;
  border-top: 2px solid rgb(255, 255, 255);
  border-right: 2px solid rgb(255, 255, 255);
  transform: rotate(45deg);
}

@media screen and (max-width: 767px) {
  .breadcrumb span {
    font-size: 0.8rem;
  }
}

/*ご葬儀プラン
-----------------------------------------------------------------------------------------*/
section.plan-funeral {
  background: url(../images/plan-bg.jpg) no-repeat center center/cover;
}

ul.plan-list {
  width: 90%;
  margin: 44px auto 0;
}

li.plan-item {
  box-shadow: 5px 10px 20px rgba(0, 0, 0, 0.4);
}

li.plan-item:not(:first-child) {
  margin-top: 50px;
}

p.plan-description {
  position: relative;
  padding: 10px 1em;
  font-size: 1.3rem;
  color: rgb(255, 255, 255);
}

p.plan-description::after {
  position: absolute;
  content: "";
  width: 10px;
  height: 10px;
  top: 50%;
  right: 100px;
  border-top: 3px solid rgb(255, 255, 255);
  border-right: 3px solid rgb(255, 255, 255);
  transform: translateY(-50%) rotate(45deg);
}

div.plan-body {
  position: relative;
  padding: 30px 0;
  overflow: hidden;
  z-index: 1;
}

div.plan-body::before {
  position: absolute;
  content: "";
  inset: 0;
  background-position: center right;
  background-repeat: no-repeat;
  background-size: cover;
  transition-duration: 0.5s;
  z-index: -1;
}

div.plan-body::after {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  inset: 0;
  z-index: 1;
}

div.plan-body-contents {
  width: 67%;
  margin-left: 5%;
  position: relative;
  z-index: 99;
}

div.plan-body-top {
  display: flex;
  align-items: center;
}

span.plan-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 138px;
  height: 69px;
  margin-right: 22px;
  color: rgb(255, 255, 255);
}

h3.plan-subtitle {
  font-size: clamp(1.4rem, 4vw, 3rem);
  font-weight: 700;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
}

div.plan-body-bottom {
  display: flex;
  align-items: center;
  margin-top: 30px;
}

div.plan-body-bottom img {
  image-rendering: -webkit-optimize-contrast;
  width: auto;
  max-width: 40%;
  height: 70px;
  object-fit: contain;
}

p.plan-body-text {
  text-align: left;
  width: 384px;
  margin-right: 2%;
  color: rgb(51, 51, 51);
}

/* お別れ葬プラン */
li.plan-farewell {
  position: relative;
  border: 3px solid rgb(0, 158, 151);
}

/* li.plan-farewell::before {
  position: absolute;
  content: "";
  width: 130px;
  height: 130px;
  top: calc(50% + 44px);
  left: -65px;
  background: url(../images/plan-recommend-icon.png) no-repeat center
    center/cover;
  transform: translateY(calc((50% + 25px) * -1));
  z-index: 999;
} */

li.plan-farewell p.plan-description {
  outline: 3px solid rgb(0, 158, 151);
  border-bottom: 3px solid rgb(0, 158, 151);
  background-color: rgb(0, 158, 151);
}

li.plan-farewell div.plan-body::before {
  background-image: url(https://okayama-sougi.com/wp-content/uploads/2024/06/plan-farewell-img4.jpg);
}

li.plan-farewell div.plan-body::after {
  background: linear-gradient(
    270.01deg,
    rgba(217, 236, 221, 0) 65.94%,
    rgb(217, 236, 221) 99.98%,
    rgba(241, 159, 161, 0.240826) 99.99%,
    rgba(242, 156, 159, 0.25) 100%,
    rgb(217, 236, 221) 100%
  );
}

li.plan-farewell div.plan-body-contents {
  margin-left: 10%;
}

li.plan-farewell span.plan-icon {
  background-color: rgb(0, 158, 151);
}

li.plan-farewell h3.plan-subtitle {
  color: rgb(0, 158, 151);
}
/* end お別れ葬プラン */

/* 火葬のみプラン */
li.plan-cremation {
  border: 3px solid rgb(255, 141, 178);
}

li.plan-cremation p.plan-description {
  outline: 3px solid rgb(255, 141, 178);
  border-bottom: 3px solid rgb(255, 141, 178);
  background-color: rgb(255, 141, 178);
}

li.plan-cremation div.plan-body::before {
  background-image: url(../images/plan-cremation-img.jpg);
}

li.plan-cremation div.plan-body::after {
  background: linear-gradient(
    270deg,
    rgba(249, 223, 224, 0) 55.46%,
    rgba(242, 156, 159, 0.25) 84.11%,
    rgb(249, 223, 224) 84.11%
  );
}

li.plan-cremation span.plan-icon {
  background-color: rgb(255, 141, 178);
}

li.plan-cremation h3.plan-subtitle {
  color: rgb(255, 141, 178);
}
/* end 火葬のみプラン */

/* 福祉葬プラン */
li.plan-welfare {
  border: 3px solid rgb(47, 47, 139);
}

li.plan-welfare p.plan-description {
  outline: 3px solid rgb(47, 47, 139);
  border-bottom: 3px solid rgb(47, 47, 139);
  background-color: rgb(47, 47, 139);
}

li.plan-welfare div.plan-body::before {
  background-image: url(../images/plan-welfare-img.jpg);
}

li.plan-welfare div.plan-body::after {
  background: linear-gradient(
    270deg,
    rgba(228, 235, 245, 0) 60.53%,
    rgb(228, 235, 245) 100%
  );
}

li.plan-welfare span.plan-icon {
  background-color: rgb(47, 47, 139);
}

li.plan-welfare h3.plan-subtitle {
  color: rgb(47, 47, 139);
}
/* end 福祉葬プラン */

/* 一日葬プラン */
li.plan-oneday {
  border: 3px solid rgb(160, 29, 155);
}

li.plan-oneday p.plan-description {
  outline: 3px solid rgb(160, 29, 155);
  border-bottom: 3px solid rgb(160, 29, 155);
  background-color: rgb(160, 29, 155);
}

li.plan-oneday div.plan-body::before {
  background-image: url(https://okayama-sougi.com/wp-content/uploads/2024/06/plan_oneday_img.jpg);
}

li.plan-oneday div.plan-body::after {
  background: linear-gradient(
    270deg,
    rgba(238, 229, 239, 0) 55.46%,
    rgb(238, 229, 239) 84.11%
  );
}

li.plan-oneday span.plan-icon {
  background-color: rgb(160, 29, 155);
}

li.plan-oneday h3.plan-subtitle {
  color: rgb(160, 29, 155);
}
/* end 一日葬プラン */

/* 家族葬プラン */
li.plan-family {
  border: 3px solid rgb(147, 0, 0);
}

li.plan-family p.plan-description {
  outline: 3px solid rgb(147, 0, 0);
  border-bottom: 3px solid rgb(147, 0, 0);
  background-color: rgb(147, 0, 0);
}

li.plan-family div.plan-body::before {
  background-image: url(https://okayama-sougi.com/wp-content/uploads/2024/06/plan-family-img.jpg);
}

li.plan-family div.plan-body::after {
  background: linear-gradient(
    270deg,
    rgba(249, 223, 224, 0) 55.46%,
    rgba(242, 156, 159, 0.25) 84.11%,
    rgb(249, 223, 224) 84.11%
  );
}

li.plan-family span.plan-icon {
  background-color: rgb(147, 0, 0);
}

li.plan-family h3.plan-subtitle {
  color: rgb(147, 0, 0);
}
/* end 家族葬プラン */

@media (hover: hover) and (pointer: fine) {
  li.plan-item:hover div.plan-body::before,
  li.plan-item:focus div.plan-body::before {
    transform: scale(1.2);
    transition-duration: 0.5s;
  }
}

@media screen and (max-width: 1279px) {
  p.plan-description {
    font-size: clamp(0.875rem, 2vw, 1.3rem);
  }

  li.plan-farewell::before {
    width: 100px;
    height: 100px;
    left: -50px;
  }
}

@media screen and (max-width: 1023px) {
  ul.plan-list {
    width: auto;
  }

  p.plan-description::after {
    right: 1em;
  }

  div.plan-body::before {
    background-position: center right 20%;
  }

  li.plan-farewell::before {
    width: 90px;
    height: 90px;
    top: -25px;
    left: 10px;
    transform: unset;
  }

  li.plan-farewell p.plan-description {
    padding-left: 3em;
  }

  li.plan-farewell div.plan-body-contents {
    margin-left: 5%;
  }

  li.plan-family p.plan-body-text {
    margin-right: 5%;
  }
}

@media screen and (max-width: 767px) {
  li.plan-item:not(:first-child) {
    margin-top: 30px;
  }

  p.plan-description {
    display: flex;
    text-align: left;
    font-size: 0.8rem;
  }

  p.plan-description::after {
    content: none;
  }

  div.plan-body {
    padding: 20px;
  }

  div.plan-body-contents {
    width: auto;
    margin-left: auto;
  }

  div.plan-body-top {
    justify-content: center;
  }

  span.plan-icon {
    flex-shrink: 0;
    display: inline-block;
    width: auto;
    height: auto;
    margin-right: 15px;
    padding: 10px;
    font-size: 0.8rem;
  }

  div.plan-body-bottom {
    flex-direction: column-reverse;
    margin-top: 20px;
  }

  div.plan-body-bottom img {
    max-width: 70%;
    height: 60px;
  }

  p.plan-body-text {
    width: auto;
    margin-top: 20px;
    margin-right: auto;
  }

  div.plan-body::before {
    background-position: center right 25%;
  }

  li.plan-farewell {
    position: initial;
  }

  li.plan-farewell::before {
    content: none;
  }

  li.plan-farewell p.plan-description {
    padding-left: 14px;
  }

  /* li.plan-farewell div.plan-body {
    padding-top: 75px;
  } */

  li.plan-farewell div.plan-body::before {
    background-position: center right 22%;
  }

  li.plan-farewell div.plan-body-contents {
    position: relative;
    margin-left: auto;
  }

  /* li.plan-farewell div.plan-body-contents::after {
    position: absolute;
    content: "おすすめプラン";
    display: inline-block;
    top: -57px;
    left: 50%;
    transform: translateX(-50%);
    padding: 5px 1em;
    outline: 3px solid rgb(221, 23, 23);
    border: 5px solid rgb(255, 184, 0);
    background-color: rgb(221, 23, 23);
    color: rgb(255, 255, 255);
    font-size: 0.75rem;
    z-index: 99;
  } */

  li.plan-cremation div.plan-body::before {
    background-position: center right 25%;
  }

  li.plan-welfare div.plan-body::before {
    background-position: center right 20%;
  }

  li.plan-oneday div.plan-body::before {
    background-position: center right 27%;
  }

  li.plan-family div.plan-body::before {
    background-position: center right 27%;
  }
}

/*ご供養プラン
-----------------------------------------------------------------------------------------*/
section.plan-memorial {
  background: url(../images/memorial-bg.jpg);
}

/* 永大供養プラン */
li.plan-eternal {
  border: 3px solid rgb(1, 116, 111);
}

li.plan-eternal p.plan-description {
  outline: 3px solid rgb(1, 116, 111);
  border-bottom: 3px solid rgb(1, 116, 111);
  background-color: rgb(1, 116, 111);
}

li.plan-eternal div.plan-body::before {
  background: rgb(255, 255, 255) url(../images/plan-eternal-img.jpg) no-repeat
    right/cover;
}

li.plan-eternal div.plan-body::after {
  background: linear-gradient(
    270deg,
    rgba(222, 222, 222, 0) 61.4%,
    rgb(222, 222, 222) 100%
  );
}

li.plan-eternal span.plan-icon {
  background-color: rgb(1, 116, 111);
}

li.plan-eternal h3.plan-subtitle {
  color: rgb(1, 116, 111);
}
/* end 永大供養プラン */

/* 海洋散骨プラン */
li.plan-ocean {
  border: 3px solid rgb(47, 47, 139);
}

li.plan-ocean p.plan-description {
  outline: 3px solid rgb(47, 47, 139);
  border-bottom: 3px solid rgb(47, 47, 139);
  background-color: rgb(47, 47, 139);
}

li.plan-ocean div.plan-body::before {
  background: rgb(255, 255, 255) url(../images/plan-ocean-img.jpg) no-repeat
    right/cover;
}

li.plan-ocean div.plan-body::after {
  background: linear-gradient(
    270deg,
    rgba(228, 235, 245, 0) 60.22%,
    rgb(228, 235, 245) 100%
  );
}

li.plan-ocean span.plan-icon {
  background-color: rgb(47, 47, 139);
}

li.plan-ocean h3.plan-subtitle {
  color: rgb(47, 47, 139);
}
/* end 海洋散骨プラン */

@media screen and (max-width: 1023px) {
  section.eternal div.plan-about {
    margin-top: 44px;
  }

  section.ocean div.plan-about {
    margin-top: 44px;
  }
}

@media screen and (max-width: 767px) {
  li.plan-eternal div.plan-body::before {
    background-position: top right 20%;
  }

  li.plan-ocean div.plan-body::before {
    background-position: top right 20%;
  }
}

/*お別れ葬プラン
-----------------------------------------------------------------------------------------*/
section.farewell {
  background: url(../images/plan-bg.jpg) no-repeat center center/cover;
}

div.farewell-about {
  display: flex;
  justify-content: space-between;
  width: 80%;
  margin: 50px auto 0;
}

img.farewell-about-image {
  width: 48%;
  margin: 0;
  -o-object-fit: cover;
  object-fit: cover;
}

div.farewell-about-body {
  width: 48%;
}

p.farewell-desc {
  text-align: left;
}

div.farewell-about-cost {
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
}

img.farewell-about-arrow {
  width: 29%;
  margin: 0;
}

img.farewell-about-price {
  width: 57%;
  margin: 0;
  image-rendering: -webkit-optimize-contrast;
}

div.farewell-flow {
  display: flex;
  align-items: center;
  margin: 30px 0 12px;
  border: 2px solid rgb(0, 158, 151);
  background-color: rgb(244, 244, 244);
}

div.farewell-flow p {
  display: flex;
  align-items: center;
  width: 13%;
  padding: 10px 0;
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
  background-color: rgb(0, 158, 151);
  color: rgb(255, 255, 255);
}

ul.farewell-flow-list {
  display: flex;
  width: 80%;
  margin: 0 auto;
  background-image: linear-gradient(
    180deg,
    transparent,
    transparent 45%,
    rgb(0, 158, 151) 45%,
    rgb(0, 158, 151) 58%,
    transparent 58%,
    transparent
  );
}

li.farewell-flow-item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20%;
  height: 80px;
  border: 1px solid rgb(0, 158, 151);
  font-size: clamp(0.875rem, 0.8333333vw, 1rem);
}

li.farewell-flow-item:not(:last-child) {
  margin-right: 4%;
}

li.farewell-flow-item:not(:nth-child(3)) {
  background-color: rgb(217, 236, 221);
}

li.farewell-flow-item:nth-child(3) {
  background-color: rgb(255, 255, 255);
}

li.farewell-flow-item:nth-child(3) {
  background-image: linear-gradient(
    to top left,
    transparent,
    transparent 49%,
    rgb(0, 158, 151) 50%,
    rgb(0, 158, 151) 50%,
    transparent 51%,
    transparent
  );
}

p.farewell-note {
  text-align: left;
}

div.farewell-contents {
  width: 80%;
  margin: 50px auto;
  border: 2px solid rgb(0, 158, 151);
}

h3.farewell-contents-title {
  padding: 8px;
  background-color: rgb(0, 158, 151);
  font-family: "Zen Old Mincho", serif;
  font-size: 2.1rem;
  color: rgb(255, 255, 255);
}

div.farewell-contents-inner {
  padding: 30px;
  background-color: rgb(244, 244, 244);
}

ul.farewell-contents-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  -moz-column-gap: 4%;
  column-gap: 4%;
  row-gap: 50px;
}

li.farewell-contents-item {
  display: flex;
  flex-direction: column;
}

div.farewell-contents-image {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 91px;
  border: 1px solid rgb(255, 184, 0);
  border-radius: 10px 10px 0 0;
  background: radial-gradient(
    circle,
    rgba(255, 226, 153, 0) 39.9%,
    #ffe299 88.33%
  );
}

div.farewell-contents-image img {
  -o-object-fit: scale-down;
  object-fit: scale-down;
  filter: invert(45%) sepia(97%) saturate(2169%) hue-rotate(146deg)
    brightness(87%) contrast(101%);
}

p.farewell-contents-text {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  flex: 1 0 auto;
  padding: 8px;
  border-radius: 0 0 10px 10px;
  background-color: rgb(255, 184, 0);
  color: rgb(255, 255, 255);
}

div.section-divider {
  position: relative;
  margin: 50px auto;
  width: 70px;
  height: 70px;
}

div.section-divider::before,
div.section-divider::after {
  position: absolute;
  content: "";
  background-color: rgb(1, 116, 111);
}

div.section-divider::before {
  width: 7px;
  height: 100%;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

div.section-divider::after {
  width: 100%;
  height: 7px;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

div.farewell-option {
  width: 80%;
  margin: 50px auto;
  border: 2px solid rgb(1, 116, 111);
}

h3.farewell-option-title {
  padding: 8px;
  background-color: rgb(1, 116, 111);
  font-family: "Zen Old Mincho", serif;
  font-size: 2.1rem;
  color: rgb(255, 255, 255);
}

div.farewell-option-inner {
  padding: 30px;
  background-color: rgb(244, 244, 244);
}

ul.farewell-option-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  -moz-column-gap: 7%;
  column-gap: 7%;
}

li.farewell-option-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding: 8px 8px;
  border-bottom: 2px solid rgb(189, 132, 24);
}

li.farewell-option-item:nth-child(9) div.farewell-option-image img {
  -o-object-fit: cover;
  object-fit: cover;
}

div.farewell-option-image {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  margin-right: 23px;
  border: 1px solid rgb(219, 219, 219);
  border-radius: 10px;
  background-color: rgb(255, 255, 255);
}

div.farewell-option-image img {
  -o-object-fit: scale-down;
  object-fit: scale-down;
  filter: invert(26%) sepia(70%) saturate(2436%) hue-rotate(159deg)
    brightness(85%) contrast(99%);
}

span.farewell-option-data {
  margin-left: auto;
}

span.farewell-option-data span {
  display: inline-block;
  text-align: right;
  width: 5em;
}

/*プランと費用--下層ページ（共通）
-----------------------------------------------------------------------------------------*/
section.plan {
  background: url(../images/plan-bg.jpg) no-repeat center center/cover;
}

div.plan-about {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin: 50px auto 0;
}

img.plan-about-image {
  width: 48%;
  margin: 0;
  -o-object-fit: cover;
  object-fit: cover;
}

div.plan-about-body {
  align-self: center;
  width: 48%;
}

p.plan-desc {
  text-align: left;
}

div.plan-about-cost {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-top: 30px;
  image-rendering: -webkit-optimize-contrast;
}

img.plan-about-arrow {
  width: 35%;
  margin: 0;
  image-rendering: -webkit-optimize-contrast;
}
.plan-about-price {
  font-size: clamp(2rem, 3.6vw, 2.8rem);
  font-weight: 600;
  color: #455a8a;
  line-height: 0;
  margin-left: 30px;
}
@media screen and (max-width: 768px) {
  .plan-about-price {
    margin-left: 1rem;
  }
}
.plan-about-price .small {
  font-size: 0.6em;
}

img.plan-about-price {
  width: auto;
  height: 70px;
  object-fit: contain;
  margin: 0;
  image-rendering: -webkit-optimize-contrast;
}

div.plan-flow {
  display: flex;
  align-items: center;
  margin: 30px 0 12px;
  background-color: rgb(244, 244, 244);
}

div.plan-flow p {
  display: flex;
  align-items: center;
  width: 13%;
  padding: 10px 0;
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
  color: rgb(255, 255, 255);
}

ul.plan-flow-list {
  display: flex;
  width: 80%;
  margin: 0 auto;
}

li.plan-flow-item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20%;
  height: 80px;
  font-size: clamp(0.875rem, 0.8333333vw, 1rem);
}

li.plan-flow-item:not(:last-child) {
  margin-right: 4%;
}

p.plan-note {
  text-align: left;
}

div.plan-contents {
  width: 100%;
  margin: 50px auto 0;
}

h3.plan-contents-title {
  padding: 8px;
  font-family: "Zen Old Mincho", serif;
  font-size: clamp(1.2rem, 3vw, 2.1rem);
  font-weight: 700;
  color: rgb(255, 255, 255);
}

div.plan-contents-inner {
  padding: 30px;
  background-color: rgb(244, 244, 244);
}

ul.plan-contents-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  -moz-column-gap: 30px;
  column-gap: 30px;
  row-gap: 30px;
}

li.plan-contents-item {
  display: flex;
  flex-direction: column;
}

div.plan-contents-image {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 91px;
  border: 1px solid rgb(255, 184, 0);
  border-radius: 10px 10px 0 0;
  background: radial-gradient(
    circle,
    rgba(255, 226, 153, 0) 39.9%,
    #ffe299 88.33%
  );
}

div.plan-contents-image img {
  -o-object-fit: scale-down;
  object-fit: scale-down;
}

p.plan-contents-text {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  flex: 1 0 auto;
  min-height: 4em;
  padding: 8px;
  border-radius: 0 0 10px 10px;
  background-color: rgb(255, 184, 0);
  color: rgb(255, 255, 255);
}

span.plan-contents-text-space {
  padding-right: 2px;
}

div.divider-plus {
  position: relative;
  margin: 50px auto;
  width: 70px;
  height: 70px;
}

div.divider-plus::before,
div.divider-plus::after {
  position: absolute;
  content: "";
}

div.divider-plus::before {
  width: 7px;
  height: 100%;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

div.divider-plus::after {
  width: 100%;
  height: 7px;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

div.plan-option {
  width: 100%;
}

h3.plan-option-title {
  padding: 8px;
  font-family: "Zen Old Mincho", serif;
  font-size: clamp(1.2rem, 3vw, 2.1rem);
  font-weight: 700;
  color: rgb(255, 255, 255);
}

div.plan-option-inner {
  padding: 30px;
  background-color: rgb(244, 244, 244);
}

ul.plan-option-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  -moz-column-gap: 50px;
  column-gap: 50px;
}

li.plan-option-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding: 10px 0;
  border-bottom: 2px solid rgb(189, 132, 24);
}

li.plan-option-item:first-child,
li.plan-option-item:nth-child(2) {
  padding-top: 0;
}

div.plan-option-wrapper {
  display: flex;
  align-items: center;
}

div.plan-option-image {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  margin-right: 15px;
  border: 1px solid rgb(219, 219, 219);
  border-radius: 10px;
  background-color: rgb(255, 255, 255);
}

div.plan-option-image img {
  width: initial;
  max-width: 75%;
}

span.plan-option-term {
  text-align: left;
}

span.plan-option-data {
  margin-left: auto;
  display: flex;
  align-items: center;
}

span.plan-option-data span {
  display: inline-block;
  text-align: right;
  width: 6em;
}

@media screen and (max-width: 1070px) {
  ul.plan-contents-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    -moz-column-gap: 30px;
    column-gap: 30px;
    row-gap: 30px;
  }

  img.plan-about-image {
    width: 40%;
  }

  div.plan-about-body {
    width: 55%;
  }
}

@media screen and (max-width: 1023px) {
  div.plan-about {
    flex-direction: column;
    margin: 30px 0 0;
  }

  img.plan-about-image {
    width: 100%;
  }

  div.plan-about-body {
    width: 100%;
    margin-top: 30px;
  }

  img.plan-about-price {
    max-width: 40%;
    height: 80px;
  }

  ul.plan-contents-list {
    grid-template-columns: repeat(3, 1fr);
    -moz-column-gap: 30px;
    column-gap: 30px;
    row-gap: 30px;
  }

  p.plan-contents-text {
    font-size: 0.875rem;
  }

  li.plan-option-item {
    flex-direction: column;
    align-items: stretch;
  }

  ul.plan-option-list {
    -moz-column-gap: 30px;
    column-gap: 30px;
  }
}

@media screen and (max-width: 767px) {
  li.plan-flow-item {
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
  }

  div.plan-contents {
    margin: 30px auto 0;
  }

  img.plan-about-price {
    max-width: 50%;
    height: 45px;
  }

  ul.plan-contents-list {
    grid-template-columns: repeat(2, 1fr);
  }

  div.divider-plus {
    margin: 30px auto;
    width: 50px;
    height: 50px;
  }

  ul.plan-option-list {
    grid-template-columns: auto;
  }

  li.plan-option-item:nth-child(2) {
    padding-top: 8px;
  }

  div.plan-option-image {
    margin-right: 10px;
  }
}

@media screen and (max-width: 500px) {
  span.plan-contents-text-sm {
    font-size: 0.6rem;
  }
}

@media screen and (max-width: 375px) {
  p.plan-contents-text {
    min-height: 3.5em;
  }

  span.plan-option-term-sm {
    font-size: 0.8rem;
  }
}

/*プランと費用--お別れ葬プラン
-----------------------------------------------------------------------------------------*/
section.farewell div.plan-flow {
  border: 2px solid rgb(0, 158, 151);
}

section.farewell div.plan-flow p {
  background-color: rgb(0, 158, 151);
}

section.farewell ul.plan-flow-list {
  background-image: linear-gradient(
    180deg,
    transparent,
    transparent 45%,
    rgb(0, 158, 151) 45%,
    rgb(0, 158, 151) 58%,
    transparent 58%,
    transparent
  );
}

section.farewell li.plan-flow-item {
  border: 1px solid rgb(0, 158, 151);
  background-color: rgb(217, 236, 221);
}

section.farewell li.plan-flow-item:nth-child(3) {
  background-color: rgb(255, 255, 255);
  background-image: linear-gradient(
    to top left,
    transparent,
    transparent 49%,
    rgb(0, 158, 151) 50%,
    rgb(0, 158, 151) 50%,
    transparent 51%,
    transparent
  );
}

section.farewell div.plan-contents {
  border: 2px solid rgb(0, 158, 151);
}

section.farewell h3.plan-contents-title {
  background-color: rgb(0, 158, 151);
}

section.farewell div.plan-contents-image img {
  filter: invert(45%) sepia(97%) saturate(2169%) hue-rotate(146deg)
    brightness(87%) contrast(101%);
}

section.farewell div.divider-plus::before,
section.farewell div.divider-plus::after {
  background-color: rgb(1, 116, 111);
}

section.farewell div.plan-option {
  border: 2px solid rgb(1, 116, 111);
}

section.farewell h3.plan-option-title {
  background-color: rgb(1, 116, 111);
}

section.farewell div.plan-option-image img {
  filter: invert(27%) sepia(89%) saturate(861%) hue-rotate(141deg)
    brightness(99%) contrast(99%);
}

/*プランと費用--火葬のみプラン
-----------------------------------------------------------------------------------------*/
section.cremation div.plan-flow {
  border: 2px solid rgb(255, 141, 178);
}

section.cremation div.plan-flow p {
  background-color: rgb(255, 141, 178);
}

section.cremation ul.plan-flow-list {
  background-image: linear-gradient(
    180deg,
    transparent,
    transparent 45%,
    rgb(255, 141, 178) 45%,
    rgb(255, 141, 178) 58%,
    transparent 58%,
    transparent
  );
}

section.cremation li.plan-flow-item {
  border: 1px solid rgb(255, 141, 178);
  background-color: rgb(249, 223, 234);
}

section.cremation li.plan-flow-item:nth-child(3),
section.cremation li.plan-flow-item:nth-child(4) {
  background-color: rgb(255, 255, 255);
  background-image: linear-gradient(
    to top left,
    transparent,
    transparent 49%,
    rgb(255, 141, 178) 50%,
    rgb(255, 141, 178) 50%,
    transparent 51%,
    transparent
  );
}

section.cremation div.plan-contents {
  border: 2px solid rgb(255, 141, 178);
}

section.cremation h3.plan-contents-title {
  background-color: rgb(255, 141, 178);
}

section.cremation div.plan-contents-image img {
  filter: invert(71%) sepia(62%) saturate(641%) hue-rotate(293deg)
    brightness(102%) contrast(101%);
}

section.cremation div.divider-plus::before,
section.cremation div.divider-plus::after {
  background-color: rgb(221, 23, 23);
}

section.cremation div.plan-option {
  border: 2px solid rgb(221, 23, 23);
}

section.cremation h3.plan-option-title {
  background-color: rgb(221, 23, 23);
}

section.cremation div.plan-option-image img {
  filter: invert(18%) sepia(74%) saturate(6349%) hue-rotate(353deg)
    brightness(85%) contrast(97%);
}

/*プランと費用--福祉葬プラン
-----------------------------------------------------------------------------------------*/
section.welfare div.plan-flow {
  border: 2px solid rgb(47, 47, 139);
}

section.welfare div.plan-flow p {
  background-color: rgb(47, 47, 139);
}

section.welfare ul.plan-flow-list {
  background-image: linear-gradient(
    180deg,
    transparent,
    transparent 45%,
    rgb(47, 47, 139) 45%,
    rgb(47, 47, 139) 58%,
    transparent 58%,
    transparent
  );
}

section.welfare li.plan-flow-item {
  border: 1px solid rgb(47, 47, 139);
  background-color: rgb(228, 235, 245);
}

section.welfare li.plan-flow-item:nth-child(3) {
  background-color: rgb(255, 255, 255);
  background-image: linear-gradient(
    to top left,
    transparent,
    transparent 49%,
    rgb(47, 47, 139) 50%,
    rgb(47, 47, 139) 50%,
    transparent 51%,
    transparent
  );
}

section.welfare div.plan-contents {
  border: 2px solid rgb(47, 47, 139);
}

section.welfare h3.plan-contents-title {
  background-color: rgb(47, 47, 139);
}

section.welfare div.plan-contents-image img {
  filter: invert(13%) sepia(56%) saturate(4029%) hue-rotate(237deg)
    brightness(95%) contrast(90%);
}

/*プランと費用--一日葬プラン
-----------------------------------------------------------------------------------------*/
section.oneday div.plan-flow {
  border: 2px solid rgb(160, 29, 155);
}

section.oneday div.plan-flow p {
  background-color: rgb(160, 29, 155);
}

section.oneday ul.plan-flow-list {
  background-image: linear-gradient(
    180deg,
    transparent,
    transparent 45%,
    rgb(160, 29, 155) 45%,
    rgb(160, 29, 155) 58%,
    transparent 58%,
    transparent
  );
}

section.oneday li.plan-flow-item {
  border: 1px solid rgb(160, 29, 155);
  background-color: rgb(238, 229, 239);
}

section.oneday li.plan-flow-item:nth-child(3) {
  background-color: rgb(255, 255, 255);
  background-image: linear-gradient(
    to top left,
    transparent,
    transparent 49%,
    rgb(160, 29, 155) 50%,
    rgb(160, 29, 155) 50%,
    transparent 51%,
    transparent
  );
}

section.oneday div.plan-contents {
  border: 2px solid rgb(160, 29, 155);
}

section.oneday h3.plan-contents-title {
  background-color: rgb(160, 29, 155);
}

section.oneday div.plan-contents-image img {
  filter: invert(17%) sepia(99%) saturate(3241%) hue-rotate(292deg)
    brightness(81%) contrast(91%);
}

section.oneday div.divider-plus::before,
section.oneday div.divider-plus::after {
  background-color: rgb(118, 24, 114);
}

section.oneday div.plan-option {
  border: 2px solid rgb(118, 24, 114);
}

section.oneday h3.plan-option-title {
  background-color: rgb(118, 24, 114);
}

section.oneday div.plan-option-image img {
  filter: invert(14%) sepia(72%) saturate(2912%) hue-rotate(286deg)
    brightness(90%) contrast(97%);
}

/*プランと費用--家族葬プラン
-----------------------------------------------------------------------------------------*/
section.family div.plan-flow {
  border: 2px solid rgb(147, 0, 0);
}

section.family div.plan-flow p {
  background-color: rgb(147, 0, 0);
}

section.family ul.plan-flow-list {
  background-image: linear-gradient(
    180deg,
    transparent,
    transparent 45%,
    rgb(147, 0, 0) 45%,
    rgb(147, 0, 0) 58%,
    transparent 58%,
    transparent
  );
}

section.family li.plan-flow-item {
  border: 1px solid rgb(147, 0, 0);
  background-color: rgb(249, 223, 234);
}

section.family div.plan-contents {
  border: 2px solid rgb(147, 0, 0);
}

section.family h3.plan-contents-title {
  background-color: rgb(147, 0, 0);
}

section.family div.plan-contents-image img {
  filter: invert(13%) sepia(28%) saturate(7247%) hue-rotate(349deg)
    brightness(105%) contrast(126%);
}

section.family div.divider-plus::before,
section.family div.divider-plus::after {
  background-color: rgb(189, 132, 24);
}

section.family div.plan-option {
  border: 2px solid rgb(189, 132, 24);
}

section.family h3.plan-option-title {
  background-color: rgb(189, 132, 24);
}

section.family div.plan-option-image img {
  filter: invert(74%) sepia(48%) saturate(5832%) hue-rotate(8deg)
    brightness(88%) contrast(81%);
}

/*プランと費用--永代供養プラン
-----------------------------------------------------------------------------------------*/
section.eternal img.plan-about-arrow {
  width: 40%;
}

section.eternal div.banner-plan {
  margin-top: 50px;
}

@media screen and (max-width: 768px) {
  section.eternal div.banner-plan {
    margin-top: 30px;
  }
}

/*プランと費用--海洋散骨プラン
-----------------------------------------------------------------------------------------*/
section.ocean img.plan-about-arrow {
  width: 40%;
}

section.ocean img.plan-about-price-top {
  width: 40%;
  margin: 0;
}

section.ocean div.banner-plan {
  margin-top: 50px;
}

@media screen and (max-width: 768px) {
  section.ocean div.banner-plan {
    margin-top: 30px;
  }
}

/*プランと費用--ご依頼からの流れバナー
-----------------------------------------------------------------------------------------*/
div.banner-flow {
  position: relative;
  width: 80%;
  height: 180px;
  margin: 50px auto 0;
  box-shadow: 5px 10px 20px rgba(0, 0, 0, 0.4);
  border-top: 2px solid rgb(47, 47, 139);
  border-bottom: 2px solid rgb(47, 47, 139);
  border-left: 2px solid rgb(47, 47, 139);
  background-color: rgb(47, 47, 139);
}

div.banner-flow::after {
  position: absolute;
  content: "";
  width: 12px;
  height: 12px;
  top: 50%;
  right: 2%;
  border-right: 3px solid #fff;
  border-bottom: 3px solid #fff;
  transform: translateY(-50%) rotate(-45deg);
}

a.banner-flow-link {
  display: block;
  height: 100%;
}

div.banner-flow-inner {
  display: flex;
  align-items: center;
  width: 95%;
  height: 100%;
  padding-left: 20%;
  background: url(../images/banner-flow-woman.png) no-repeat left 2.5%
      bottom/contain,
    url(../images/banner-flow-bg.jpg) no-repeat right 15% center/cover;
}

h3.banner-flow-title {
  position: relative;
  padding: 8px 16px;
  border-top: 1px solid rgb(189, 132, 24);
  border-bottom: 1px solid rgb(189, 132, 24);
  margin-right: 26px;
  font-size: 1.8rem;
  font-weight: 700;
  color: rgb(47, 47, 139);
}

h3.banner-flow-title::before,
h3.banner-flow-title::after {
  position: absolute;
  content: "";
  width: 100%;
  left: 0;
}

h3.banner-flow-title::before {
  border-top: 1px solid rgb(189, 132, 24);
  top: -8px;
}

h3.banner-flow-title::before {
  border-bottom: 1px solid rgb(189, 132, 24);
  bottom: -8px;
}

p.banner-flow-text {
  text-align: left;
  font-size: 1rem;
  color: rgb(51, 51, 51);
}

@media (hover: hover) and (pointer: fine) {
  div.banner-flow:hover {
    opacity: 0.8;
  }
}

@media screen and (max-width: 1279px) {
  div.banner-flow-inner {
    padding-left: 25%;
  }
  h3.banner-flow-title {
    font-size: clamp(1.1rem, 2vw, 1.8rem);
  }
}

@media screen and (max-width: 1100px) {
  div.banner-flow {
    width: auto;
  }
}

@media screen and (max-width: 900px) {
  div.banner-flow-inner {
    flex-direction: column;
    justify-content: center;
    padding-left: 0;
    background: url(../images/banner-flow-woman.png) no-repeat left 2%
        bottom/150px 150px,
      url(../images/banner-flow-bg.jpg) no-repeat right 15% center/cover;
  }

  h3.banner-flow-title {
    margin-right: 0;
  }

  p.banner-flow-text {
    text-align: center;
    margin-top: 20px;
  }
}

@media screen and (max-width: 767px) {
  div.banner-flow {
    height: auto;
    margin-top: 30px;
  }

  div.banner-flow::after {
    width: 8px;
    height: 8px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
  }

  div.banner-flow-inner {
    padding: 20px 10px 10px;
    background: url(../images/banner-flow-bg.jpg) no-repeat right 5%
      center/cover;
  }

  p.banner-flow-text {
    font-size: 0.875rem;
  }
}

@media screen and (max-width: 500px) {
  div.banner-flow::after {
    width: 6px;
    height: 6px;
  }
}

/*プランと費用--ご葬儀プランバナー
-----------------------------------------------------------------------------------------*/
div.banner-area {
  padding: 50px 0;
  background-color: rgb(238, 229, 239);
}

div.banner-plan {
  position: relative;
  width: 80%;
  height: 180px;
  margin: 0 auto;
  box-shadow: 5px 10px 20px rgba(0, 0, 0, 0.4);
  border-top: 2px solid rgb(255, 141, 178);
  border-bottom: 2px solid rgb(255, 141, 178);
  border-left: 2px solid rgb(255, 141, 178);
  background-color: rgb(255, 141, 178);
}

div.banner-plan::after {
  position: absolute;
  content: "";
  width: 12px;
  height: 12px;
  top: 50%;
  right: 2%;
  border-right: 3px solid #fff;
  border-bottom: 3px solid #fff;
  transform: translateY(-50%) rotate(-45deg);
}

a.banner-plan-link {
  display: block;
  height: 100%;
}

div.banner-plan-inner {
  display: flex;
  align-items: center;
  width: 95%;
  height: 100%;
  background: rgb(251, 251, 251) url(../images/banner-plan-bg.jpg) no-repeat
    right center/contain;
}

img.banner-plan-catch {
  width: 150px;
  margin: 0 0 0 4%;
}

div.banner-plan-text {
  display: flex;
  flex-direction: column;
  width: 60%;
  margin-left: 5%;
  color: rgb(160, 29, 155);
}

div.banner-plan-cost {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

p.banner-plan-title {
  font-size: 3rem;
  font-weight: 700;
}

img.banner-plan-price {
  image-rendering: -webkit-optimize-contrast;
  width: 34%;
  margin: 0;
}

p.banner-plan-text {
  margin-top: 16px;
}

@media (hover: hover) and (pointer: fine) {
  div.banner-plan:hover {
    opacity: 0.8;
  }
}

@media screen and (max-width: 1279px) {
  div.banner-plan-text {
    width: 60%;
  }

  p.banner-plan-title {
    font-size: clamp(1.5rem, 4vw, 3rem);
  }
}

@media screen and (max-width: 1023px) {
  div.banner-plan {
    width: auto;
  }

  img.banner-plan-catch {
    width: 130px;
  }
}

@media screen and (max-width: 767px) {
  div.banner-area {
    padding: 30px 0;
  }

  div.banner-plan {
    position: relative;
    width: auto;
    height: auto;
  }

  div.banner-plan::before {
    position: absolute;
    display: inline-block;
    content: "県内最安値";
    top: 15px;
    left: 15px;
    padding: 3px 1em;
    border-radius: 5px;
    border: 2px solid rgb(221, 23, 23);
    background-color: rgb(255, 184, 0);
    font-weight: 700;
    color: rgb(221, 23, 23);
  }

  div.banner-plan::after {
    width: 8px;
    height: 8px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
  }

  div.banner-plan-inner {
    padding: 50px 15px 15px;
    background: rgb(251, 251, 251) url(../images/banner-plan-bg.jpg) no-repeat
      right center/cover;
  }

  img.banner-plan-catch {
    display: none;
  }

  div.banner-plan-text {
    width: auto;
    margin-left: auto;
  }
}

@media screen and (max-width: 500px) {
  div.banner-plan::after {
    width: 6px;
    height: 6px;
  }
}

/*よくある質問
-----------------------------------------------------------------------------------------*/
div.first-timers-bg {
  background: url(../images/first-timers-bg.jpg) no-repeat center center/cover;
}

section.faq {
  background: url(../images/faq-bg.jpg) no-repeat center center/cover;
}

section.faq dl.faq-contents {
  width: 100%;
}

section.faq dt.faq-question {
  border-radius: 12px;
  cursor: pointer;
}

section.faq dt.faq-question:not(:first-child) {
  margin-top: 30px;
}

section.faq dt.faq-question.open {
  border-radius: 12px 12px 0 0;
}

span.faq-question-open {
  position: relative;
  margin-right: 2em;
  margin-left: auto;
}

span.faq-question-open::after {
  position: absolute;
  content: "";
  width: 10px;
  height: 10px;
  top: 15%;
  right: -2em;
  border-top: solid 2px #fff;
  border-right: solid 2px #fff;
  transform: rotate(135deg);
  transition: all 0.2s ease-in-out;
}

span.faq-question-open.open::after {
  transform: rotate(-45deg);
  top: 45%;
}

section.faq p.faq-question-text {
  width: calc(100% - 11em);
}

@media (hover: hover) and (pointer: fine) {
  section.faq dt.faq-question:hover {
    opacity: 0.8;
  }
}

@media screen and (max-width: 767px) {
  section.faq .faq-question {
    flex-wrap: wrap;
  }

  section.faq p.faq-question-text {
    width: calc(100% - 1.2em - 10px);
  }

  section span.faq-question-open {
    margin: 10px auto 0;
    padding-right: 3em;
    font-size: 0.7rem;
  }

  section.faq span.faq-question-open::after {
    width: 7px;
    height: 7px;
    top: 10%;
    right: 1em;
  }

  section span.faq-question-open.open::after {
    top: 35%;
  }
}

/*スタッフ紹介
-----------------------------------------------------------------------------------------*/
section.staff {
  background: url(../images/staff-bg.jpg) no-repeat center center/cover;
}

ul.staff-list {
  display: flex;
  width: 100%;
  margin: 44px auto 0;
}

li.staff-item {
  text-align: left;
  width: calc((100% - 60px) / 3);
  box-shadow: 5px 10px 20px rgba(0, 0, 0, 0.5);
}

li.staff-item:not(:last-child) {
  margin-right: 30px;
}

div.staff-image {
  display: flex;
  align-items: flex-end;
  height: 233px;
}

p.staff-message {
  padding: 0 30px 10px;
  font-size: 1.5rem;
  font-weight: 700;
  color: rgb(255, 255, 255);
  text-shadow: 0px 0px 7px #ff2305;
}

div.staff-body {
  padding: 30px;
}

p.staff-name {
  padding-bottom: 8px;
  border-bottom: 2px solid rgb(255, 35, 5);
  font-size: 1.25rem;
  font-weight: 700;
}

p.staff-text {
  margin-top: 30px;
}

li.staff-komori {
  border-top: 25px solid rgb(0, 158, 151);
  border-bottom: 25px solid rgb(0, 158, 151);
  background-color: rgb(217, 236, 221);
}

li.staff-komori div.staff-image {
  background: url(../images/staff-komori-img.png) no-repeat right 5% bottom -55px/230px,
    url(../images/staff-list-bg.jpg) no-repeat center center/cover;
}

li.staff-miyamoto {
  border-top: 25px solid rgb(91, 184, 224);
  border-bottom: 25px solid rgb(91, 184, 224);
  background-color: rgb(228, 235, 245);
}

/* li.staff-yoden {
	border-top: 25px solid rgb(91, 184, 224);
	border-bottom: 25px solid rgb(91, 184, 224);
	background-color: rgb(228, 235, 245);
} */
li.staff-miyamoto div.staff-image {
  background: url(https://okayama-sougi.com/wp-content/uploads/2022/10/icon_human.png)
      no-repeat right bottom -55px/230px,
    url(../images/staff-list-bg.jpg) no-repeat center center/cover;
}

/* li.staff-yoden div.staff-image {
	background: url(../images/staff-yoden-img.png) no-repeat right bottom -55px/230px, url(../images/staff-list-bg.jpg) no-repeat center center/cover;
} */

li.staff-shigetoshi {
  border-top: 25px solid rgb(160, 29, 155);
  border-bottom: 25px solid rgb(160, 29, 155);
  background-color: rgb(238, 229, 239);
}

li.staff-shigetoshi div.staff-image {
  background: url(../images/staff-shigetoshi-img.png) no-repeat right -7% bottom -55px/230px,
    url(../images/staff-list-bg.jpg) no-repeat center center/cover;
}

@media screen and (max-width: 1279px) {
  p.staff-message {
    padding: 0 20px 10px;
  }

  div.staff-body {
    padding: 20px;
  }

  p.staff-text {
    margin-top: 20px;
  }
}

@media screen and (max-width: 1023px) {
  ul.staff-list {
    flex-direction: column;
    align-items: center;
  }

  li.staff-item {
    width: 100%;
    max-width: 600px;
  }
  li.staff-item:not(:last-child) {
    margin-right: 0;
  }
  li.staff-item:not(:first-child) {
    margin-top: 30px;
  }

  p.staff-message {
    font-size: clamp(1.5rem, 4vw, 2.1rem);
  }

  p.staff-name {
    font-size: 1.1rem;
  }

  li.staff-komori div.staff-image {
    background: url(../images/staff-komori-img.png) no-repeat right 10% bottom -55px/230px,
      url(../images/staff-list-bg.jpg) no-repeat center center/cover;
  }

  li.staff-yoden div.staff-image {
    background: url(../images/staff-yoden-img.png) no-repeat right 10% bottom -55px/230px,
      url(../images/staff-list-bg.jpg) no-repeat center center/cover;
  }

  li.staff-shigetoshi div.staff-image {
    background: url(../images/staff-shigetoshi-img.png) no-repeat right 5%
        bottom -55px/230px,
      url(../images/staff-list-bg.jpg) no-repeat center center/cover;
  }
}

/*式場のご案内--会社情報
-----------------------------------------------------------------------------------------*/
div.company-kv {
  background: url(../images/company-kv.jpg) no-repeat center center/cover;
}

div.company {
  padding: 50px 0;
  background: url(../images/company-bg.jpg) no-repeat center center/cover;
}

section.profile {
  width: 100%;
  padding-left: 50px;
  padding-right: 50px;
  border: 2px solid rgb(0, 158, 151);
  border-radius: 24px;
  background-color: rgb(255, 255, 255);
}

div.profile-wrapper {
  display: flex;
  justify-content: space-between;
  margin-top: 44px;
}

dl.profile-dl {
  display: flex;
  flex-wrap: wrap;
  width: 53%;
  margin-right: 30px;
  margin-block-start: 0;
  margin-block-end: 0;
}

dt.profile-dt,
dd.profile-dd {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  padding: 10px 1em;
}

dt.profile-dt {
  justify-content: center;
  width: 29%;
  margin-right: 20px;
  background-color: rgb(255, 141, 178);
  font-size: 1.2rem;
  color: rgb(255, 255, 255);
}

dt.profile-dt:not(:first-child) {
  margin-top: 10px;
}

dt.profile-dt:not(:first-child) + dd {
  margin-top: 10px;
}

dd.profile-dd {
  width: calc(100% - (29% + 20px));
  margin: 0;
  border-bottom: 1px dashed rgb(91, 184, 224);
}

img.profile-image {
  width: 47%;
  margin: 0;
  -o-object-fit: cover;
  object-fit: cover;
}

@media screen and (max-width: 1279px) {
  dt.profile-dt {
    font-size: clamp(0.8rem, 1.5vw, 1.2rem);
  }

  dd.profile-dd {
    font-size: clamp(0.875rem, 1.5vw, 1rem);
  }
}

@media screen and (max-width: 1023px) {
  section.profile {
    padding: 30px;
  }
}

@media screen and (max-width: 767px) {
  div.company {
    padding: 30px 0;
  }

  div.profile-wrapper {
    flex-direction: column;
    justify-content: center;
  }

  dl.profile-dl {
    width: auto;
    margin-right: auto;
  }

  dt.profile-dt,
  dd.profile-dd {
    padding: 10px;
  }

  dt.profile-dt {
    margin-right: 10px;
  }

  dt.profile-dt:not(:first-child) {
    margin-top: 10px;
  }

  dt.profile-dt:not(:first-child) + dd {
    margin-top: 10px;
  }

  dd.profile-dd {
    width: calc(100% - (29% + 10px));
    margin: 0;
    border-bottom: 1px dashed rgb(91, 184, 224);
  }

  img.profile-image {
    width: auto;
    max-height: 300px;
    margin-top: 30px;
  }
}

@media screen and (max-width: 500px) {
  dl.profile-dl {
    width: 100%;
  }

  dt.profile-dt,
  dd.profile-dd {
    width: 100%;
  }

  dt.profile-dt {
    margin-right: 0;
    border: 1px solid rgb(255, 141, 178);
  }

  dt.profile-dt:not(:first-child) {
    margin-top: 20px;
  }

  dt.profile-dt:not(:first-child) + dd {
    margin-top: 0;
  }

  dd.profile-dd {
    justify-content: center;
    border-right: 1px solid rgb(255, 141, 178);
    border-bottom: 1px solid rgb(255, 141, 178);
    border-left: 1px solid rgb(255, 141, 178);
  }

  img.profile-image {
    margin-top: 20px;
  }
}

/*式場のご案内--沿革
-----------------------------------------------------------------------------------------*/
section.history {
  width: 100%;
  margin-top: 50px;
  padding-left: 50px;
  padding-right: 50px;
  border: 2px solid rgb(0, 158, 151);
  border-radius: 24px;
  background-color: rgb(255, 255, 255);
}

dl.history-dl {
  text-align: left;
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  margin: 44px auto 0;
}

dt.history-dt,
dd.history-dd {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  margin: 0;
  padding: 10px 1em;
}

dt.history-dt {
  justify-content: center;
  width: 18%;
  margin-right: 20px;
  background-color: rgb(47, 47, 139);
  font-size: 1.2rem;
  color: rgb(255, 255, 255);
}

dt.history-dt:not(:first-child) {
  margin-top: 10px;
}

dt.history-dt:not(:first-child) + dd {
  margin-top: 10px;
}

dd.history-dd {
  width: calc(100% - 18% - 20px);
  border-bottom: 1px dashed rgb(91, 184, 224);
}

@media screen and (max-width: 1279px) {
  dt.history-dt {
    font-size: clamp(0.8rem, 1.5vw, 1.2rem);
  }

  dd.history-dd {
    font-size: clamp(0.875rem, 1.5vw, 1rem);
  }
}

@media screen and (max-width: 1023px) {
  section.history {
    padding: 30px;
  }
}

@media screen and (max-width: 767px) {
  section.history {
    margin-top: 30px;
  }

  dt.history-dt,
  dd.history-dd {
    padding: 10px;
  }

  dt.history-dt {
    width: 25%;
    margin-right: 10px;
  }

  dt.history-dt:not(:first-child) {
    margin-top: 10px;
  }

  dt.history-dt:not(:first-child) + dd {
    margin-top: 10px;
  }

  dd.history-dd {
    width: calc(100% - (25% + 10px));
  }
}

@media screen and (max-width: 500px) {
  dt.history-dt {
    width: 100%;
    margin-right: auto;
  }

  dt.history-dt:not(:first-child) {
    margin-top: 20px;
  }

  dt.history-dt:not(:first-child) + dd {
    margin-top: auto;
  }

  dd.history-dd {
    width: 100%;
    border: 1px solid rgb(47, 47, 139);
  }
}

/*お問い合わせ
-----------------------------------------------------------------------------------------*/
div.contact-kv {
  background: url(../images/contact-kv.jpg) no-repeat center center/cover;
}

section.contact {
  background: url(../images/contact-bg.jpg) no-repeat center center/cover;
}

div.contact-frame {
  width: 100%;
  padding: 50px;
  border: 2px solid rgb(0, 158, 151);
  border-radius: 24px;
  background-color: rgb(255, 255, 255);
}

p.contact-heading {
  font-size: 1.2rem;
  font-weight: 700;
}

@media screen and (max-width: 767px) {
  div.contact-frame {
    padding: 30px;
  }

  p.contact-heading {
    font-size: 0.875rem;
  }
}

/*お問い合わせ--Contact Form7
-----------------------------------------------------------------------------------------*/
.contact7 {
  max-width: 100%;
  width: 75%;
  margin: 50px auto 0;
}

.contact-item {
  display: flex;
  justify-content: space-between;
  padding-bottom: 30px;
}

.contact-item.center {
  align-items: center;
}

.contact-item.start {
  align-items: flex-start;
}

.contact-item:not(:first-child) {
  padding-top: 30px;
}

.contact-item:not(:last-child) {
  border-bottom: 2px solid rgba(0, 158, 151);
}

.contact-dt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 23%;
  margin-right: 50px;
  font-weight: 700;
}

.contact-dd {
  text-align: left;
  width: calc(100% - 23% - 50px);
  margin: 0;
}

.contact7 textarea,
.contact7 input[type="text"],
.contact7 input[type="tel"] {
  width: 100%;
  padding: 10px 25px;
  border: 1px solid rgba(51, 51, 51);
  border-radius: 5px;
}

.contact7 input:focus,
.contact7 textarea {
  outline: none;
}

.contact7 input::placeholder,
.contact7 textarea::placeholder {
  font-size: 1rem;
}

/* 必須マーク */
.contact7 .must {
  margin-left: 10px;
  padding: 5px 1em;
  background: rgba(221, 23, 23);
  font-size: 14px;
  color: rgba(255, 255, 255);
}

/* チェックボックス */
.checkbox input[type="checkbox"] {
  opacity: 0;
  position: absolute;
}

.checkbox span.wpcf7-list-item {
  margin-left: 0;
}

.checkbox span.wpcf7-list-item ~ span.wpcf7-list-item {
  margin-left: 30px;
}

.checkbox input[type="checkbox"] + .wpcf7-list-item-label {
  position: relative;
  display: inline-block;
  padding-left: 2em;
  cursor: pointer;
}

.checkbox input[type="checkbox"] + .wpcf7-list-item-label::after,
.checkbox input[type="checkbox"] + .wpcf7-list-item-label::before {
  position: absolute;
  display: block;
  content: "";
  width: 15px;
  height: 15px;
  top: 50%;
  left: 0;
  border: 1px solid rgba(51, 51, 51);
  transform: translateY(-50%);
}

.checkbox input[type="checkbox"] + .wpcf7-list-item-label::after {
  width: 6px;
  height: 12px;
  top: 15%;
  left: 5px;
  border: none;
  border-right: 2px solid rgba(0, 158, 151);
  border-bottom: 2px solid rgba(0, 158, 151);
  transform: rotate(45deg);
  opacity: 0;
}

.checkbox input[type="checkbox"]:focus + .wpcf7-list-item-label::before {
  border: 2px solid rgba(0, 158, 151);
}

.checkbox input[type="checkbox"]:checked + .wpcf7-list-item-label::after {
  opacity: 1;
}

/* 承諾確認 */
.acceptance {
  font-size: 1.2rem;
  font-weight: 700;
}

.acceptance .wpcf7-form-control-wrap {
  position: relative;
  padding-left: 1em;
}

.acceptance .wpcf7-list-item-label {
  cursor: pointer;
}

.acceptance .wpcf7-list-item-label::after,
.acceptance .wpcf7-list-item-label::before {
  position: absolute;
  content: "";
  width: 20px;
  height: 20px;
  top: 50%;
  left: 0;
  border: 1px solid rgba(51, 51, 51);
  transform: translateY(-50%);
}

.acceptance .wpcf7-list-item-label::after {
  width: 8px;
  height: 17px;
  top: 3px;
  left: 6px;
  border: none;
  border-right: 3px solid rgba(0, 158, 151);
  border-bottom: 3px solid rgba(0, 158, 151);
  transform: rotate(45deg);
  opacity: 0;
}

.acceptance input[type="checkbox"]:checked + .wpcf7-list-item-label::after {
  opacity: 1;
}

.acceptance input[type="checkbox"]:focus + .wpcf7-list-item-label::before {
  border: 2px solid rgba(0, 158, 151);
}

.acceptance input[type="checkbox"] {
  opacity: 0;
  position: absolute;
}

/* 送信ボタン */
.btn-contact7 {
  position: relative;
  width: 75%;
  margin: 30px auto 0;
}

.btn-contact7::after {
  position: absolute;
  content: "";
  width: 12px;
  height: 12px;
  top: 50%;
  left: 50%;
  border-right: 3px solid #fff;
  border-bottom: 3px solid #fff;
  transform: translate(calc(-50% + 5em), -50%) rotate(-45deg);
}

.btn-contact7 input[type="submit"] {
  width: 100%;
  padding: 10px 1em;
  background-color: rgba(0, 158, 151);
  font-size: 1.3rem;
  color: rgba(255, 255, 255);
  font-weight: 700;
  border: 1px solid rgba(0, 158, 151);
  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
  -o-transition: 0.3s;
  -ms-transition: 0.3s;
  transition: 0.3s;
  cursor: pointer;
}

.wpcf7-submit:disabled {
  opacity: 0.3;
}

.wpcf7-spinner {
  width: 0;
  margin: 0;
}

/* エラー時 */
input.wpcf7-not-valid,
textarea.wpcf7-not-valid,
select.wpcf7-not-valid {
  background: rgba(255, 204, 204);
}

.wpcf7-not-valid-tip {
  margin-top: 10px;
  font-size: 0.875rem;
}

.wpcf7 form .wpcf7-response-output {
  padding: 10px 15px;
}

.wpcf7 form.invalid .wpcf7-response-output {
  border: 1px solid rgba(0, 158, 151);
}

.wpcf7 form .wpcf7-response-output {
  width: 100%;
  margin: 30px auto 0;
}

@media screen and (max-width: 1279px) {
  .contact7 {
    width: auto;
  }
}

@media screen and (max-width: 1023px) {
  .contact-dt {
    width: 25%;
  }

  .contact-dd {
    width: calc(100% - 25% - 50px);
    margin: 0;
  }
}

@media screen and (max-width: 1023px) {
  .btn_contact7 input {
    width: 70%;
  }

  .contact-item {
    flex-direction: column;
    padding-bottom: 20px;
  }

  .contact-item:not(:first-child) {
    padding-top: 20px;
  }

  .contact-dt {
    width: auto;
    margin-right: auto;
  }

  .contact-dd {
    width: 100%;
    margin-top: 10px;
  }

  .contact7 .must {
    padding: 3px 1em;
    font-size: 0.7rem;
  }
}

@media screen and (max-width: 767px) {
  .btn_contact7 input {
    font-size: 1.1em;
  }

  .contact7 {
    margin: 30px auto 0;
  }

  .contact7 textarea,
  .contact7 input[type="text"],
  .contact7 input[type="tel"] {
    padding: 10px;
  }

  .contact7 input::placeholder,
  .contact7 textarea::placeholder {
    font-size: 0.875rem;
  }

  /* チェックボックス */
  .wpcf7-form-control.wpcf7-checkbox {
    width: 100%;
    display: flex;
    justify-content: space-around;
  }
  .checkbox span.wpcf7-list-item ~ span.wpcf7-list-item {
    margin-left: 0;
  }
  .checkbox input[type="checkbox"] + .wpcf7-list-item-label {
    padding-left: 1.5em;
  }
  .checkbox input[type="checkbox"] + .wpcf7-list-item-label::after,
  .checkbox input[type="checkbox"] + .wpcf7-list-item-label::before {
    width: 12px;
    height: 12px;
  }
  .checkbox input[type="checkbox"] + .wpcf7-list-item-label::after {
    width: 4px;
    height: 10px;
    left: 4px;
  }

  /* 承諾確認 */
  .acceptance {
    font-size: 0.875rem;
  }

  .acceptance .wpcf7-list-item-label::after,
  .acceptance .wpcf7-list-item-label::before {
    width: 12px;
    height: 12px;
    top: 50%;
    left: 0;
  }

  .acceptance .wpcf7-list-item-label::after {
    width: 4px;
    height: 10px;
    top: 15%;
    left: 4px;
    border-right: 2px solid rgba(0, 158, 151);
    border-bottom: 2px solid rgba(0, 158, 151);
  }

  /* 送信ボタン */
  .btn-contact7 {
    width: 100%;
    margin: 20px auto 0;
  }

  .btn-contact7::after {
    width: 8px;
    height: 8px;
  }

  .btn-contact7 input[type="submit"] {
    width: 100%;
    font-size: 0.875rem;
  }
}

/*cta
-----------------------------------------------------------------------------------------*/
div.cta {
  overflow: hidden;
  padding: 100px 0 50px;
  background: url(../images/cta-bg.jpg) no-repeat center center/cover;
}

div.cta-message {
  margin-right: calc(50% - 50vw);
  margin-left: calc(50% - 50vw);
  border-top: 2px solid rgb(0, 158, 151);
  border-bottom: 2px solid rgb(0, 158, 151);
  background-color: rgb(217, 236, 221);
}

div.cta-inner {
  position: relative;
  width: calc(100% - 100px);
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 0;
}

div.cta-wrapper p:nth-child(2) {
  margin-top: 20px;
}

div.cta-wrapper p:last-child {
  margin-bottom: 30px;
}

p.cta-heading {
  display: inline-block;
  position: relative;
  font-family: "Zen Old Mincho", serif;
  font-size: 2rem;
  font-weight: 700;
  color: rgb(0, 158, 151);
}

p.cta-heading::after {
  position: absolute;
  content: "";
  width: 100%;
  height: 17px;
  bottom: 0;
  left: 0;
  background: url(../images/cta-decoration.png) no-repeat center bottom/cover;
}

p.cta-text {
  color: rgb(0, 158, 151);
  font-size: 1.5rem;
  font-weight: 700;
}

img.cta-image {
  position: absolute;
  width: 25%;
  right: 0;
  bottom: 0;
}

@media screen and (max-width: 1279px) {
  div.cta-inner::after {
    background: url(../images/cta-operater-img.png) no-repeat center
      center/cover;
    width: 350px;
    height: 300px;
    right: 2%;
  }

  div.cta-wrapper {
    margin: 0 auto 0 0;
  }

  p.cta-heading {
    font-size: clamp(1rem, 3vw, 2.7rem);
  }

  p.cta-text {
    font-size: clamp(0.875rem, 2vw, 1.9rem);
    position: relative;
    z-index: 99;
  }
}

@media screen and (max-width: 1023px) {
  div.cta-inner::after {
    background: url(../images/cta-operater-img.png) no-repeat center
      center/cover;
    width: 300px;
    height: 250px;
    right: 2%;
  }
}

@media screen and (max-width: 767px) {
  div.cta {
    background: none;
    padding: 0;
  }

  div.cta-wrapper {
    width: auto;
  }

  div.cta-inner {
    width: auto;
  }

  div.cta-inner::after {
    background: url(../images/cta-operater-img.png) no-repeat center
      center/cover;
    width: 30%;
    height: 25vw;
  }

  p.cta-heading::after {
    height: 10px;
  }

  div.cta-wrapper p:last-child {
    margin-bottom: 0;
  }

  div.cta-list li:last-child {
    margin-bottom: 30px;
  }
}

/*cta list部分（共通）
-----------------------------------------------------------------------------------------*/
div.cta-list {
  position: relative;
  margin-top: -30px;
  z-index: 99;
}

div.cta-list ul {
  display: flex;
  justify-content: center;
}

div.cta-list li {
  border-radius: 11px;
  width: calc((100% - 100px) / 3);
  box-shadow: 5px 10px 20px rgba(0, 0, 0, 0.4);
}

div.cta-list li:not(:last-child) {
  margin-right: 50px;
}

a.cta-list-inner {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
}

div.cta-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  border-radius: 11px 11px 0px 0;
  color: rgb(255, 255, 255);
}

div.cta-top img {
  width: 30%;
}

div.cta-top p {
  margin-top: 10px;
  font-family: "Zen Old Mincho", serif;
  font-size: 1.3rem;
  font-weight: 700;
}

p.cta-center {
  position: relative;
  padding: 10px;
  color: rgb(51, 51, 51);
  font-weight: 700;
}

p.cta-center::after {
  content: "";
  position: absolute;
  width: 0px;
  height: 0px;
  right: 0;
  bottom: -14px;
  left: 0;
  margin: auto;
  border-style: solid;
  border-width: 15px 15px 0 15px;
}

div.cta-bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-grow: 1;
  padding: 30px;
  border-radius: 0 0 11px 11px;
  background-color: rgb(255, 255, 255);
}

div.cta-bottom p {
  font-weight: 700;
}

@media screen and (max-width: 1279px) {
  div.cta-top p {
    font-size: clamp(0.8rem, 1.5vw, 1.3rem);
  }

  p.cta-center {
    font-size: clamp(0.8rem, 1vw, 1rem);
  }

  div.cta-bottom {
    padding: 20px;
  }
}

@media screen and (max-width: 1023px) {
  div.cta-list li {
    width: calc((100% - 60px) / 3);
  }

  div.cta-top {
    padding: 15px;
  }

  div.cta-bottom {
    padding: 15px;
  }
}

@media screen and (max-width: 1023px) and (max-width: 1023px) {
  div.cta-list li:not(:last-child) {
    margin-right: 30px;
  }
}

@media screen and (max-width: 767px) {
  div.cta-list {
    margin-top: 30px;
  }

  div.cta-list ul {
    flex-direction: column;
    align-items: center;
  }

  div.cta-list li {
    width: 90%;
    max-width: 400px;
  }

  div.cta-list li:not(:last-child) {
    margin-right: 0;
  }

  div.cta-list li:not(:first-child) {
    margin-top: 30px;
  }

  div.cta-top img {
    width: 20%;
    max-width: 70px;
  }

  div.cta-top p {
    font-size: 1rem;
  }
}

/* contact-area tel,mail,line（各設定）*/
/* tel */
li.cta-tel div.cta-top {
  background-color: rgb(255, 184, 0);
}

li.cta-tel p.cta-center {
  background-color: rgb(255, 226, 153);
}

li.cta-tel p.cta-center::after {
  border-color: rgb(255, 226, 153) transparent transparent transparent;
}

li.cta-tel div.cta-bottom p {
  font-size: 1.9rem;
  color: rgb(255, 184, 0);
}

li.cta-tel div.cta-bottom img {
  width: 48px;
  margin: 5px 1em 0 0;
}
/* end tel */

/* mail */
li.cta-mail div.cta-top {
  background-color: rgb(115, 196, 255);
}

li.cta-mail p.cta-center {
  background-color: rgb(228, 235, 245);
}

li.cta-mail p.cta-center::after {
  border-color: rgb(228, 235, 245) transparent transparent transparent;
}

li.cta-mail div.cta-bottom p {
  margin-right: 1em;
  font-size: 1.3rem;
  color: rgb(115, 196, 255);
}

li.cta-mail div.cta-arrow {
  position: relative;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background-color: rgb(115, 196, 255);
}

li.cta-mail div.cta-arrow::after {
  position: absolute;
  content: "";
  width: 8px;
  height: 8px;
  top: 50%;
  right: 9px;
  border-top: 3px solid #fff;
  border-right: 3px solid #fff;
  transform: translateY(-50%) rotate(45deg);
}
/* end mail */

/* line */
li.cta-line div.cta-top {
  background-color: rgb(0, 158, 151);
}

li.cta-line p.cta-center {
  background-color: rgb(217, 236, 221);
}

li.cta-line p.cta-center::after {
  border-color: rgb(217, 236, 221) transparent transparent transparent;
}

li.cta-line div.cta-bottom p {
  margin-right: 1em;
  font-size: 1.9rem;
  color: rgb(0, 158, 151);
}

li.cta-line div.cta-bottom img {
  width: 64px;
  height: 64px;
  margin: 0;
}
/* end line */

@media screen and (max-width: 1279px) {
  /* tel */
  li.cta-tel div.cta-bottom p {
    margin-top: 10px;
    font-size: clamp(1rem, 2.2vw, 1.9rem);
  }

  li.cta-tel div.cta-bottom img {
    margin-top: 15px;
  }
  /* end tel */

  /* mail */
  li.cta-mail div.cta-bottom p {
    font-size: clamp(0.8rem, 1.6vw, 1.3rem);
  }
  /* end mail */

  /* line */
  li.cta-line div.cta-bottom img {
    width: 50px;
    height: 50px;
  }

  li.cta-line div.cta-bottom p {
    font-size: clamp(0.9rem, 1.8vw, 1.9rem);
  }
  /* end line */
}

@media screen and (max-width: 1023px) {
  /* tel */
  li.cta-tel div.cta-bottom {
    flex-direction: column;
  }

  li.cta-tel div.cta-bottom img {
    width: 48px;
    margin: 5px 0 0 0;
  }
  /* end tel */

  /* mail */
  li.cta-mail div.cta-bottom {
    flex-direction: column;
  }

  li.cta-mail div.cta-bottom p {
    margin: 0;
  }

  li.cta-mail div.cta-arrow {
    margin-top: 10px;
  }
  /* end mail */

  /* line */
  li.cta-line div.cta-bottom {
    flex-direction: column-reverse;
  }

  li.cta-line div.cta-bottom p {
    margin: 10px 0 0 0;
  }

  li.cta-line div.cta-bottom img {
    margin-top: 10px;
  }
  /* end line */
}

@media screen and (max-width: 767px) {
  /* tel */
  li.cta-tel p.cta-center {
    background-color: rgb(255, 226, 153);
  }

  li.cta-tel p.cta-center::after {
    border-color: rgb(255, 226, 153) transparent transparent transparent;
  }

  li.cta-tel div.cta-bottom {
    flex-direction: row;
  }

  li.cta-tel div.cta-bottom p {
    margin-top: auto;
    font-size: 1.2rem;
  }

  li.cta-tel div.cta-bottom img {
    width: 40px;
    margin: 0 1em 0 0;
  }
  /* end tel */

  /* mail */
  li.cta-mail div.cta-bottom {
    flex-direction: row;
  }

  li.cta-mail div.cta-bottom p {
    margin-right: 1em;
    font-size: 1rem;
  }

  li.cta-mail div.cta-arrow {
    margin-top: auto;
  }
  /* end mail */

  /* line */
  li.cta-line div.cta-bottom {
    flex-direction: row;
  }

  li.cta-line div.cta-bottom p {
    margin: 0 1em 0 0;
    font-size: 1.2rem;
  }

  li.cta-line div.cta-bottom img {
    margin-top: auto;
  }
  /* end line */
}

/*fixed-area
-----------------------------------------------------------------------------------------*/
div.fixed-area {
  position: fixed;
  width: 100%;
  height: 100px;
  bottom: 0;
  left: 0;
  background-color: rgb(29, 29, 250);
  z-index: 9999;
}

div.fixed-area-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.c-fixed {
  width: 25%;
}

.c-fixed:not(:last-child) {
  margin-right: 16px;
}

.c-fixed-inner {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  padding: 10px 0;
  border-radius: 9px;
}

.c-fixed-top {
  width: 82%;
  margin: 0 auto;
  border-radius: 40px;
  background-color: rgb(221, 23, 23);
  font-size: 0.8rem;
  color: rgb(255, 255, 255);
}

.c-fixed-bottom {
  position: relative;
  display: inline-block;
  text-align: center;
  margin: 10px auto 0;
  padding-right: 2em;
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1;
}

.c-fixed-bottom::before,
p.c-fixed-bottom::after {
  position: absolute;
  content: "";
  margin: auto;
  top: 0;
  bottom: 0;
}

.c-fixed-bottom::after {
  right: -1px;
  width: 25px;
  height: 25px;
  border-radius: 50%;
}

.c-fixed-bottom::before {
  width: 7px;
  height: 7px;
  right: 8px;
  border-top: 3px solid rgb(255, 255, 255);
  border-right: 3px solid rgb(255, 255, 255);
  transform: rotate(45deg);
  z-index: 99;
}

/* tel */
div.fixed-tel {
  position: relative;
}

div.fixed-tel .c-fixed-inner {
  background-color: rgb(249, 255, 223);
}

div.fixed-tel img {
  image-rendering: -webkit-optimize-contrast;
}

div.fixed-tel .c-fixed-top {
  margin: 0 auto 0 40px;
}

img.fixed-tel-24h {
  position: absolute;
  width: 24%;
  min-width: 67px;
  top: 0;
  bottom: 0;
  left: -40px;
  margin: auto;
}

img.fixed-tel-number {
  width: 65%;
  margin: 10px auto 0 60px;
}
/* end tel */

/* material */
div.fixed-material .c-fixed-inner {
  background-color: rgb(228, 235, 245);
}

div.fixed-material p:last-child {
  color: rgb(91, 184, 224);
}

div.fixed-material p:last-child::after {
  background-color: rgb(91, 184, 224);
}
/* end material */

/* line */
div.fixed-line .c-fixed-inner {
  background-color: rgb(217, 236, 221);
}

div.fixed-line p:last-child {
  color: rgb(0, 158, 151);
}

div.fixed-line p:last-child::after {
  background-color: rgb(0, 158, 151);
}
/* end line */

@media screen and (max-width: 1279px) {
  div.fixed-area-inner {
    justify-content: flex-end;
  }

  .c-fixed {
    width: 31%;
  }

  img.fixed-tel-24h {
    width: 21%;
  }
}

@media screen and (max-width: 1023px) {
  .c-fixed-top {
    font-size: 0.7rem;
  }

  .c-fixed-bottom {
    font-size: clamp(0.9rem, 1.9vw, 1.3rem);
  }

  div.fixed-tel .c-fixed-top {
    margin: 0 auto 0 30px;
  }

  div.fixed-tel img.fixed-tel-number {
    margin: 10px auto 0 50px;
  }
}

@media screen and (min-width: 768px) {
  .c-fixed i {
    display: none !important;
  }

  a.c-fixed-inner.tel p.c-fixed-bottom {
    display: none;
  }
}

@media screen and (max-width: 767px) {
  .c-fixed {
    width: calc(100% / 2);
    height: 100%;
  }

  .c-fixed:not(:last-child) {
    margin-right: 0;
  }

  a.c-fixed-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
  }

  a.c-fixed-inner.tel {
    color: rgb(255, 184, 0);
  }

  .c-fixed i {
    display: block;
    margin-bottom: 5px;
    font-size: 1.5rem;
  }

  .c-fixed-bottom {
    margin: 0;
    padding-right: 0;
    font-size: 1rem;
    text-shadow: 0px 0px 0px rgba(0, 0, 0, 0.25);
  }

  .fixed-material {
    border-right: 1px solid rgb(29, 29, 250);
    border-left: 1px solid rgb(29, 29, 250);
  }

  div.fixed-area {
    height: 70px;
  }

  div.fixed-area-inner {
    justify-content: center;
  }

  div.fixed-area-inner.contents-wrapper {
    width: 100% !important;
    box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.5);
  }

  div.fixed-tel a.fixed-tel-area {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  div.fixed-tel img.fixed-tel-number {
    width: 90%;
    max-width: 150px;
    margin: 0 auto;
  }

  .c-fixed-bottom::before,
  p.c-fixed-bottom::after {
    display: none;
  }
}
