@charset "utf-8";

.contents b {
  background: linear-gradient(transparent 70%, #fff9c4 0%);
  font-weight: bold;
}

.contents p {
  line-height: 1.8;
  letter-spacing: 0em;
  margin-bottom: 10px;
}

.page_contents img {
  margin-top: 10px;
  margin-bottom: 10px;
}

.white-bg {
  margin-bottom: min(120/1000 * 100vw, 120px);
}

.wp-block-image {
  margin-bottom: 20px;
}

.contents .wp-bg-blue .vk_borderBox_body {
  background: #e1f5fe !important;
}

.contents .wp-bg-red .vk_borderBox_body {
  background: #ffebee !important;
}

.contents .wp-bg-yellow .vk_borderBox_body {
  background: #fdf9eb !important;
}

.contents .vk_borderBox_body li {
  list-style: inside;
}

.contents .heading-none .vk_borderBox_titlse_container {
  display: none !important;
}

.cursor-none {
  pointer-events: none;
}

/* ------------------------------------------
h1
-------------------------------------------- */

.contents .page_contents h1 {
  color: var(--black);
}

/* ------------------------------------------
h2
-------------------------------------------- */
.contents h2,
.contents .page_contents h2 {
  position: relative;
  /* padding-left: 30px; */
  font-size: clamp(2.8rem, 3.5vw, 3.2rem);
  font-family: 'Shippori Mincho';
  font-weight: 600;
  text-align: left;
  color: var(--black);
  letter-spacing: 0;
  line-height: 1.5;
  margin: 0;
  margin-bottom: min(45/1000 * 100vw, 45px);
  padding: 0;
  padding-top: 30px;
  background: initial;
  border-top: initial;
  box-shadow: none;
}

.contents h2.M20,
.contents .page_contents h2.M20 {
  margin-bottom: 20px;
}

.contents h2.txt-brown,
.contents .page_contents h2.txt-brown {
  color: var(--brown);
}

.contents .page_contents h2 span {
  padding: 0;
}

.contents .page_contents h2::before {
  content: none;
}

/* .contents h2::before {
  content:"";
  position: absolute;
  width: 16px;
  height: 20px;
  top: 50%;
  left:0;
  translate: 0 -50%;
  background: var(--brown);
} */

@media screen and (max-width: 767px) {
  .contents h2 {
    margin-bottom: 15px;
  }
}

/* ------------------------------------------
h3
-------------------------------------------- */

.contents h3,
.contents .page_contents h3 {
  position: relative;
  /* padding: 10px 22px; */
  /* padding: 0 22px; */
  font-size: 2.4rem;
  font-family: 'Shippori Mincho';
  /* background: var(--light-brown); */
  border: none;
  color: var(--black);
  line-height: 1.5;
  letter-spacing: 0;
  margin-bottom: min(15/1000 * 100vw, 15px);
}

/* .contents h3::before {
  content: "";
  width: 10px;
  height: 2px;
  background: var(--brown);
  position: absolute;
  top: 50%;
  left: 0;
  translate: 0 -50%;
} */

@media screen and (max-width: 767px) {
  .contents h3 {
    margin-bottom: 10px;
  }
}

/* ------------------------------------------
h4
-------------------------------------------- */

.contents h4,
.contents .page_contents h4 {
  font-size: 2rem;
  font-family: 'Shippori Mincho';
  line-height: 1.5;
  letter-spacing: 0;
  /* padding-left: 10px;
  padding-bottom: 10px; */
  position: relative;
  margin: 0;
  padding: 0;
  margin-bottom: min(20/1000 * 100vw, 20px);
}

.contents .page_contents h4::after {
  content: none;
}

/* .contents h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  width: 100%;
  background: linear-gradient(to right, #8e7e6d 0 100px, #e6e3df 100px 100%);
} */

@media screen and (max-width: 767px) {
  .contents h4 {
    margin-bottom: 10px;
  }
}

/* ------------------------------------------
２カラム　テーブル
-------------------------------------------- */

.column2-table-block {
  margin-bottom: min(80/1000 * 100vw, 80px);
}

.column2-table-block tr {
  display: grid;
  grid-template-columns: 140px 1fr;
}

.column2-table-block td {
  color: var(--black);
  font-size: 1.6rem;
  border: none !important;
  padding: 20px 10px;
  text-align: left;
  border-bottom: 2px solid #e6e3df !important;
  line-height: 2;
}

.column2-table-block tr:first-child td {
  padding-top: 0;
}

.column2-table-block td:first-child {
  color: var(--brown);
  display: flex;
  align-items: center;
}

@media screen and (max-width: 767px) {
  .column2-table-block {
    margin-bottom: 50px;
  }
}

/* ------------------------------------------
3カラム　テーブル
-------------------------------------------- */

.column3-table-block {
  margin-bottom: min(80/1000 * 100vw, 80px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0 min(20/1000 * 100vw, 20px);
}

.column3-table-block .box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid #e6e3df;
  padding: 20px 5px;
  color: var(--black);
  font-size: 1.6rem;
  line-height: 2;
}

.column3-table-block .box dt {
  color: var(--brown);
}

.column3-table-block .box dd {
  flex-shrink: 0;
}

@media screen and (max-width: 1199px) {
  .column3-table-block {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 767px) {
  .column3-table-block {
    grid-template-columns: repeat(2, 1fr);
    margin-bottom: 50px;
    height: 360px;
    overflow: auto;
  }

  .column3-table-block .box {
    padding: 15px 5px;
    line-height: 1.5;
  }
}

/* ------------------------------------------
ギャラリーブロック
-------------------------------------------- */

.gallery-block {
  margin-bottom: min(120/1000 * 100vw, 120px);
}

.gallery-block .large-img {
  margin-bottom: min(20/1000 * 100vw, 20px);
}

.gallery-block .size-full {
  width: 100%;
}

.gallery-block .large-img img {
  width: 100%;
  height: auto;
}

.gallery-block .small-img {
  gap: min(20/1000 * 100vw, 20px);
}

.gallery-block .small-img img {
  width: 100%;
  height: auto;
}

@media screen and (max-width: 767px) {
  .gallery-block {
    margin-bottom: 50px;
  }
}

/* ------------------------------------------
沿革テーブル
-------------------------------------------- */
.line-table {
  margin-bottom: min(112/1000 * 100vw, 112px);
  overflow: auto;
  height: 360px;
}

.line-table::-webkit-scrollbar {
  width: 5px;
}

.line-table::-webkit-scrollbar-track {
  border-radius: 100px;
}

.line-table::-webkit-scrollbar-thumb {
  background-color: var(--brown);
  border-radius: 100px;
}

.line-table tr {
  box-sizing: border-box;
  border-collapse: separate;
  width: 100%;
  display: grid;
  grid-template-columns: 120px 1fr;
}

.line-table td {
  font-size: 1.6rem;
  padding: 20px 5px;
  border: none;
  letter-spacing: 0.01em;
  border-bottom: 2px solid #e6e3df;
  display: flex;
  align-items: center;
}

/* .line-table tr:first-child td {
  padding: 0px 5px 20px;
} */

.line-table td:first-child {
  width: 100%;
  color: var(--brown);
  display: flex;
  align-items: center;
  font-size: 1.6rem;
  /* text-align: center;
  justify-content: center; */
}

.line-table td:last-child {
  color: var(--black);
  padding: 20px 10px;
  margin-right: 20px;
}

@media screen and (max-width: 767px) {
  .line-table td:last-child {
    padding: 15px 10px;
  }
  .line-table td {
    padding: 15px 5px;
    font-size: 1.4rem;
  }
  .line-table td:first-child {
    font-size: 1.4rem;
  }
}

/* ------------------------------------------
黄背景　2カラム
-------------------------------------------- */

.contents .column2-box img {
  width: 100%;
  aspect-ratio: 9/5;
  object-fit: cover;
}

/* ------------------------------------------
黄背景　3カラム
-------------------------------------------- */
.contents .yellow-bg {
  width: 100vw;
  min-width: 420px;
  margin-left: calc(50% - 50vw);
  background: #f2f2ed;
  padding: min(140/1420 * 100vw, 140px) 0;
  margin-bottom: min(110/1000 * 100vw, 110px);
}

.contents .column3-box figure a {
  width: 100%;
}

.contents .column3-box .box {
  margin-bottom: 40px;
}

.contents .column3-box img {
  width: 100%;
  aspect-ratio: 9/5;
  object-fit: cover;
  /* margin-bottom: 20px; */
}

.contents .column3-box p {
  position: relative;
  padding: 0 10px;
  margin-bottom: 30px;
  display: block;
}

.contents .column3-box p::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  translate: 0 -50%;
  background: url(../../image/common/right-arw.png) no-repeat center;
  background-size: 8px 15px;
  width: 8px;
  height: 15px;
}

@media screen and (max-width: 767px) {
  .contents .yellow-bg {
    padding: 40px 0;
    margin-bottom: 50px;
  }

  .contents .column3-box .box {
    margin-bottom: 0;
  }

  .company-column2 {
    gap: 2%;
  }

  .contents .company-column2 .wp-block-column {
    flex-basis: 40% !important;
  }

  .contents .sp-column2 .wp-block-column {
    display: flex;
    justify-content: space-between;
  }

  .contents .sp-column2 .box {
    width: 48%;
  }
}

@media screen and (max-width: 420px) {
  .contents .yellow-bg {
    margin-left: calc(50% - 210px);
  }
}

/* ボタン */
.wp-btn {
  width: initial !important;
}

.wp-btn a {
  display: inline-block;
  position: relative;
  font-size: 1.4rem !important;
  font-weight: 600;
  background: var(--brown);
  border: 1px solid var(--brown);
  color: var(--white) !important;
  border-radius: 100px !important;
  padding: 11px 70px 11px 40px;
}

.wp-btn a:hover {
  opacity: 1;
  color: var(--brown) !important;
  background: var(--white) !important;
}

.wp-btn a::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 20px;
  translate: 0 -50%;
  background: url(../../image/common/white-arw.png) no-repeat center;
  background-size: 8px 15px;
  width: 8px;
  height: 15px;
}

.wp-btn a:hover::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 20px;
  translate: 0 -50%;
  background: url(../../image/common/brown-arw.png) no-repeat center;
  background-size: 8px 15px;
  width: 8px;
  height: 15px;
}

.wp-btn2 {
  width: 100% !important;
  text-align: center;
}

.wp-btn2 a {
  display: inline-block;
  position: relative;
  font-size: 1.4rem !important;
  font-weight: 600;
  background: var(--light-yellow);
  border: 1px solid var(--light-yellow);
  color: var(--brown) !important;
  border-radius: 100px !important;
  padding: 11px 70px 11px 40px;
  max-width: 380px;
  width: 100%;
}

.wp-btn2 a:hover {
  opacity: 1;
  color: var(--brown) !important;
  background: var(--white) !important;
  border: 1px solid var(--brown);
}

.wp-btn2 a::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 20px;
  translate: 0 -50%;
  background: url(../../image/common/brown-arw.png) no-repeat center;
  background-size: 8px 15px;
  width: 8px;
  height: 15px;
}

.wp-btn2 a:hover::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 20px;
  translate: 0 -50%;
  background: url(../../image/common/brown-arw.png) no-repeat center;
  background-size: 8px 15px;
  width: 8px;
  height: 15px;
}

/* ------------------------------------------
3カラムテーブル
-------------------------------------------- */
.column3-table {
  height: 360px;
  overflow: auto;
}

.column3-table::-webkit-scrollbar {
  width: 5px;
}

.column3-table::-webkit-scrollbar-track {
  border-radius: 100px;
}

.column3-table::-webkit-scrollbar-thumb {
  background-color: var(--brown);
  border-radius: 100px;
}

.column3-table tr {
  display: grid;
  grid-template-columns: clamp(100px, 17vw, 190px) 1fr clamp(60px, 12vw, 90px);
  gap: 2%;
  border: none !important;
}

.column3-table th {
  display: flex;
  align-items: center;
  font-size: 1.6rem;
  padding: 20px 5px;
  letter-spacing: 0;
  border: none !important;
  border-bottom: 2px solid #e6e3df !important;
  color: var(--brown);
}

.column3-table td {
  display: flex;
  align-items: center;
  font-size: 1.6rem;
  padding: 20px 5px;
  letter-spacing: 0;
  border: none !important;
  border-bottom: 2px solid #e6e3df !important;
  color: var(--black);
}

.column3-table td:last-child {
  justify-content: left;
  text-align: right;
}

@media screen and (max-width: 767px) {
  .column3-table tr {
    grid-template-columns: 23% 1fr 60px;
  }
}

/* ------------------------------------------
バナー
-------------------------------------------- */

.wp-bnr,
.wp-bnr img {
  width: 100%;
  height: auto;
}

/* ------------------------------------------
矢印リンク
-------------------------------------------- */

.contents .arw-link {
  position: relative;
  display: inline-block;
  padding-right: 15px;
  font-size: 1.4rem;
  text-decoration: underline;
}

.contents .arw-link::after {
  content: '';
  display: inline-block;
  position: absolute;
  right: 0;
  top: 50%;
  translate: 0 -50%;
  background: url(../../image/common/black-arw.png) no-repeat;
  background-size: 4px 7px;
  width: 4px;
  height: 7px;
}

/* ------------------------------------------
リスト一覧
-------------------------------------------- */

.wp-list li {
  position: relative;
  padding-left: 15px;
  font-size: 1.6rem;
  color: var(--black);
  line-height: 2;
}

.wp-list li::before {
  content: '';
  position: absolute;
  top: 15px;
  left: 0;
  width: 5px;
  height: 5px;
  background: var(--brown);
  border-radius: 50px;
}

.wp-num-list {
  color: var(--brown);
  list-style: none;
}

.wp-num-list li {
  counter-increment: item;
  position: relative;
  padding-left: 33px;
  font-size: 1.6rem;
  color: var(--black);
  text-decoration: none;
  line-height: 2;
}

.wp-num-list li::before {
  color: var(--brown);
  content: counter(item);
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  background-color: var(--light-yellow);
  padding: 0px 1px;
  border-radius: 50px;
  min-width: 20px;
  height: 20px;
  text-align: center;
  font-family: 'Shippori Mincho';
}

/* ------------------------------------------
強調テキスト
-------------------------------------------- */
.txt-strong {
  font-size: 2.25rem;
  font-weight: 500;
  color: #86725c;
  line-height: 36px;
  font-family: 'Shippori Mincho';
}

@media screen and (max-width: 767px) {
  .txt-strong {
    text-align: left !important;
  }
}

/* ------------------------------------------
会長挨拶
-------------------------------------------- */
.tab {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin-bottom: min(80/1000 * 100vw, 80px);
}

.tab li {
  color: #cbc7c3;
  font-size: 2rem;
  padding-bottom: 25px;
  border-bottom: 1px solid #cbc7c3;
  text-align: center;
  cursor: pointer;
}

.tab li.active {
  color: var(--brown);
  border-bottom: 1px solid var(--brown);
}

.contents .message-wrap {
  display: none;
  /* margin-bottom: min(120/1000 * 100vw, 120px); */
}

.contents .message-wrap.active {
  display: flex;
  width: 100%;
  max-width: 1000px;
}

.contents .switching {
  display: none;
}

.contents .switching .catch-txt {
  margin-bottom: min(80 / 1000 * 100vw, 80px);
}

.contents .switching.active {
  display: block;
}

.message-wrap .left-content img {
  width: 100%;
  height: auto;
  margin-bottom: 15px;
}

.message-wrap .left-content .position {
  font-family: 'Shippori Mincho';
  margin-bottom: 10px;
  font-size: 1.6rem;
}

.message-wrap .left-content .name {
  font-family: 'Shippori Mincho';
  font-size: 3rem;
  line-height: 1;
}

.message-wrap .right-content {
  padding-top: 20px;
}

.message-wrap .right-content h2 {
  color: var(--brown);
}

.message-wrap .right-content .is-layout-constrained {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

@media screen and (max-width: 1199px) {
  .contents #message_02 .yellow-bg {
    margin-left: calc(45% - 50vw);
  }
}

@media screen and (max-width: 767px) {
  .message-wrap .right-content .is-layout-constrained {
    gap: 20px;
  }

  .contents .switching .catch-txt {
    font-size: 1.4rem;
    margin-bottom: 40px;
  }

  .tab li {
    padding: 0 5px;
    padding-bottom: 15px;
    font-size: 1.6rem;
  }
}

/* ------------------ページ内リンクボタン------------------ */
.page-link {
  position: relative;
  /* width: 100%; */
  padding: 20px 25px;
  background: #f2f2ed;
  display: inline-flex;
  cursor: pointer;
}

.page-link {
  position: relative;
  display: inline-flex;
  padding: 10px 20px;
  border-top: 2px solid var(--brown);
  border-left: 2px solid var(--brown);
  filter: drop-shadow(4px 5px 0px var(--brown));
}

.page-link:hover {
  filter: drop-shadow(2px 2px 0px var(--brown));
  transition: all 0.3s;
}

.page-link h2 {
  margin: 0;
  font-size: 2.4rem;
}

/* ------------------------------------------
お客様の声
-------------------------------------------- */
.customer-wrap {
  display: flex;
}

.customer-wrap .txt-content {
  width: calc(100% - min(480/1200 * 100vw, 480px));
}

.customer-wrap .img-content {
  /* position: absolute;
  right: 0px;
  bottom: 50%;
  translate: 0 50%; */
  position: relative;
  width: min(470/1200 * 100vw, 470px);
  height: auto;
  cursor: pointer;
}

.customer-wrap .img-content img {
  position: relative;
  width: 100%;
  height: auto;
}

.customer-wrap .img-content::after {
  opacity: 0;
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  background: url(../../image/common/scaling.webp) no-repeat center;
  width: 100%;
  height: 100%;
  background-color: #48423f;
  pointer-events: none;
  transition: all 0.5s;
}

.customer-wrap .img-content:hover::after {
  opacity: 0.5;
  transition: all 0.5s;
}

.popup {
  display: none;
}

.popup.active {
  position: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  top: 0px;
  left: 0;
  background: rgba(72, 66, 63, 0.6);
  z-index: 100;
}

.popup.active img {
  max-width: 710px;
  width: 100%;
  height: auto;
}

@media screen and (max-width: 767px) {
  .customer-wrap {
    flex-direction: column;
  }

  .customer-wrap .txt-content {
    width: 100%;
    margin-bottom: 20px;
  }
  .customer-wrap .img-content {
    position: relative;
    right: initial;
    bottom: initial;
    translate: initial;
    width: 100%;
    height: auto;
  }

  .customer-wrap .img-content img {
    width: 100%;
  }
}

/* ------------------------------------------
担当者コメントコメント
-------------------------------------------- */

.manager-comment {
  padding-bottom: 60px;
  margin-bottom: 60px;
  border-bottom: 1px solid #d5d5d5;
  justify-content: space-between;
  gap: 30px;
}

.manager-comment h3 {
  margin-bottom: min(20 / 1000 * 100vw, 20px);
}

.manager-comment .left-content .img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.manager-comment .left-content .name {
  font-size: 2rem;
}

.manager-comment .right-content {
  padding-top: 45px;
  flex-basis: calc(100% - 180px);
  width: 100%;
}

@media screen and (max-width: 767px) {
  .manager-comment {
    padding-bottom: 30px;
    margin-bottom: 30px;
  }
}

/* ------------------------------------------
カラム３
-------------------------------------------- */
.column3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media screen and (max-width: 767px) {
  .column3 {
    grid-template-columns: repeat(1, 1fr);
  }
}

/* ------------------------------------------
コンセプト
-------------------------------------------- */
.concept-wrap {
  margin-bottom: min(120 / 1000 * 100vw, 120px);
}

.concept-wrap figure,
.concept-wrap figure img {
  width: 100%;
}

.concept-wrap figure {
  margin-bottom: 50px;
}

.concept-wrap h3 {
  margin-bottom: min(20 / 1000 * 100vw, 20px);
}

@media screen and (max-width: 767px) {
  .concept-wrap figure {
    margin-bottom: 20px;
  }
}

/* ------------------------------------------
資料請求パーツ
-------------------------------------------- */
.request-wrap {
  padding-bottom: 60px;
  margin-bottom: 60px;
  border-bottom: 1px solid #f2f2ed;
  justify-content: space-between;
  gap: 30px;
}

.request-wrap figure {
  text-align: center;
}

.request-wrap .caution-label {
  font-size: 1.4rem;
  color: #8d8d8d;
}

@media screen and (max-width: 767px) {
  .request-wrap .wp-block-buttons {
    justify-content: center;
  }
}

/* ------------------------------------------
フォーム
-------------------------------------------- */
.form-bg {
  position: relative;
  width: 100vw;
  min-width: 420px;
  margin-left: calc(50% - 50vw);
  padding: 112px 0;
  /* background: url(../../image/page/form-bg.webp) no-repeat top,
  linear-gradient(to right, #fafafa, #ffffff); */
  background: #f9f9f9;
  background-color: #fdfdfd;
  background-size: cover;
}

.form-bg h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  font-size: clamp(2.8rem, 3.5vw, 3.2rem);
  font-family: 'Shippori Mincho';
  text-align: left;
  color: var(--black);
  letter-spacing: 0;
  line-height: 1.5;
  margin: 0;
  margin-bottom: min(60/1000 * 100vw, 60px);
  padding: 0;
  background: initial;
  border-top: initial;
  box-shadow: none;
}

.form-bg h2 span {
  display: flex;
  align-items: center;
}

.form-bg .form-txt {
  margin-bottom: 25px;
  line-height: 1.8;
}

.form-bg .small-txt {
  font-size: 1.4rem;
  margin-bottom: 60px;
}

.my_right {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.label_frame {
  margin-bottom: 20px;
}

.content_form form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.radiobutton_frame {
  display: flex;
}

.content_form .required_color {
  background: initial !important;
}

.form-required {
  padding-right: 75px;
  position: relative;
}

.form-required::after {
  content: '必須';
  position: absolute;
  top: 50%;
  right: 0;
  translate: 0 -50%;
  border: 1px solid #b18181;
  border-radius: 50px;
  font-size: 1.4rem;
  color: #b18181;
  padding: 0 7px;
}

.my_column3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px min(20/1420 * 100vw, 20px);
  letter-spacing: 0;
}

.my_column3 .radiobutton_frame {
  display: flex;
}

.content_form input[type='text'],
.content_form input[type='tel'],
.content_form input[type='email'],
.content_form input[type='number'],
.content_form input[type='password'],
.content_form input[type='url'],
.content_form textarea {
  border-radius: 0px;
  background: white !important;
  border: 1px solid var(--brown);
  max-width: 660px;
  width: 100%;
}

label {
  line-height: 1.5;
  margin: 0;
}

select,
select option,
select optgroup {
  border: none;
  outline: 1px solid var(--brown);
  width: 100%;
}

.textarea_frame {
  width: 100%;
}

.form-bg .required-bg {
  background: var(--white) !important;
}

.checkbox_frame {
  display: flex;
}

@media screen and (max-width: 767px) {
  .form-bg .form-txt {
    margin-bottom: 15px;
  }

  .form-bg .small-txt {
    margin-bottom: 40px;
  }

  .content_form form {
    gap: 30px;
  }

  .my_column3 {
    grid-template-columns: repeat(1, 1fr);
  }
}

@media screen and (max-width: 420px) {
  .form-bg {
    margin-left: calc(50% - 210px);
  }
}

/* メルマガフォーム */
.mailmaga_form {
  position: relative;
  padding: 50px min(60/1000 * 100vw, 60px) 50px min(65/1000 * 100vw, 65px);
  /* background: #eae8e8; */
  background: var(--light-yellow);
}

.mailmaga_form form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.mailmaga_form .left-content p {
  font-family: 'Shippori Mincho';
  font-size: 2rem;
  line-height: 1.5;
  margin-bottom: 15px;
}

.mailmaga_form .left-content img {
  display: block;
  margin: 0 auto;
  translate: -40px;
}

/* .mailmaga_form .left-content span {
  position: relative;
  display: block;
  text-align: center;
  margin-left: 75px;
  width: 110px;
  height: 135px;
  background: var(--white);
  border: 1px solid var(--black);
}

.mailmaga_form .left-content span::after {
  content: "";
  position: absolute;
  top: 15px;
  left: 45px;
  width: 110px;
  height: 135px;
  background: var(--white);
  border: 1px solid var(--black);
} */

.mailmaga_form .right-content input[type='text'] {
  border-radius: 0;
  border: none;
  margin-bottom: 25px;
}

.mailmaga_form .right-content p {
  font-family: 'Shippori Mincho';
  font-size: 2rem;
  line-height: 1.5;
  margin-bottom: 40px;
}

.mailmaga_form .right-content .form_input_label {
  margin-bottom: 20px;
}

.mailmaga_form .right-content .submit {
  /* padding-left: 60px; */
  text-align: center;
}

.mailmaga_form .right-content .submit button {
  /* display: inline-block; */
  /* padding: 5px 60px; */
  /* border-radius: 50px; */
  /* border: 1px solid var(--black); */
  /* color: var(--black); */
  /* background-color: var(--white); */
  padding-left: 60px;
  min-width: 260px;
  text-align: center;
}

@media screen and (max-width: 1000px) {
  .mailmaga_form {
    padding: 30px 20px 30px;
  }

  .mailmaga_form form {
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
  }

  .mailmaga_form .left-content span {
    position: absolute;
    right: 50px;
    margin: 0 auto;
    width: 66px;
    height: 81px;
  }

  .mailmaga_form .left-content span::after {
    top: 10px;
    left: 25px;
    width: 66px;
    height: 81px;
  }

  .mailmaga_form .right-content p {
    margin-bottom: 10px;
  }

  .mailmaga_form .left-content img {
    translate: 0;
  }

  .mailmaga_form .right-content .submit {
    padding-left: initial;
    text-align: center;
  }
}

/* ------------------------------------------
写真＆テキスト
-------------------------------------------- */
.media-text-wrap {
  display: flex;
  gap: 40px;
  margin-bottom: min(120/1000 * 100vw, 120px);
}

.media-text-wrap figure {
  flex-shrink: 0;
  max-width: 600px;
  width: 100%;
}

.media-text-wrap .wp-block-media-text__content {
  padding: 0;
  padding-top: 15px;
}

@media screen and (max-width: 1199px) {
  .media-text-wrap {
    flex-direction: column;
    gap: 15px;
  }

  .media-text-wrap figure {
    max-width: initial;
    order: 1;
  }

  .media-text-wrap .wp-block-media-text__content {
    padding: 0;
    order: 2;
  }
}

/* ------------------------------------------
よくあるお悩み
-------------------------------------------- */
.clip-memobox .hukidashi {
  position: relative;
  padding: 10px;
  color: #fff;
  margin: 0 0 0 -8px;
  padding-bottom: 20px;
  font-size: 80%;
  border-radius: 30px;
  cursor: initial;
  pointer-events: none;
}

.clip-memobox .hukidashi:hover {
  opacity: 1;
}

.clip-memobox .hukidashi::after {
  content: '';
  position: absolute;
  margin-left: -10px;
  border: 10px solid transparent;
  border-top: 10px solid #66bb6a;
  bottom: 0;
  left: 40px;
}

.clip-memobox .box {
  position: relative;
  background: #e8f5e9;
  color: #000000;
  border-radius: 3px;
  margin-bottom: 20px !important;
  padding: 25px;
  padding-left: 100px;
}

.clip-memobox .box::before {
  content: '';
  height: 85%;
  width: 1px;
  background: #66bb6a;
  position: absolute;
  top: 50%;
  left: 90px;
  translate: 0 -50%;
}

.clip-memobox .box::after {
  content: '';
  background: url(../../image/common/neuter.png) no-repeat center;
  background-size: 36px 50px;
  width: 36px;
  height: 50px;
  rotate: -30deg;
  position: absolute;
  top: 50%;
  left: 32px;
  translate: 0 -50%;
}

.clip-memobox .box li {
  margin-bottom: 10px;
}

.clip-memobox .box li:last-child {
  margin-bottom: 0;
}

@media screen and (max-width: 767px) {
  .clip-memobox .box {
    padding: 15px;
    padding-left: 70px;
  }

  .clip-memobox .box::before {
    left: 60px;
  }

  .clip-memobox .box::after {
    background-size: 29px 39px;
    width: 29px;
    height: 39px;
    top: 50%;
    left: 20px;
  }
}

/* ------------------------------------------
ここがポイント
-------------------------------------------- */
.clip-memobox-blue .hukidashi {
  position: relative;
  padding: 10px;
  color: #fff;
  margin: 0 0 0 -8px;
  padding-bottom: 20px;
  font-size: 80%;
  border-radius: 30px;
  cursor: initial;
  pointer-events: none;
}

.clip-memobox-blue .hukidashi:hover {
  opacity: 1;
}

.clip-memobox-blue .hukidashi::after {
  content: '';
  position: absolute;
  margin-left: -10px;
  border: 10px solid transparent;
  border-top: 10px solid #3f51b5;
  bottom: 0;
  left: 40px;
}

.clip-memobox-blue .box {
  position: relative;
  background: #e8eaf6;
  color: #000000;
  border-radius: 3px;
  margin-bottom: 20px !important;
  padding: 25px;
  padding-left: 100px;
}

.clip-memobox-blue .box::before {
  content: '';
  height: 85%;
  width: 1px;
  background: D;
  position: absolute;
  top: 50%;
  left: 90px;
  translate: 0 -50%;
}

.clip-memobox-blue .box::after {
  content: '';
  background: url(../../image/common/hand-right.png) no-repeat center;
  background-size: 37px 37px;
  width: 37px;
  height: 36px;
  position: absolute;
  top: 50%;
  left: 32px;
  translate: 0 -50%;
}

.clip-memobox-blue .box li {
  margin-bottom: 10px;
}

.clip-memobox-blue .box li:last-child {
  margin-bottom: 0;
}

@media screen and (max-width: 767px) {
  .clip-memobox-blue .box {
    padding: 15px;
    padding-left: 70px;
  }

  .clip-memobox-blue .box::before {
    left: 60px;
  }

  .clip-memobox-blue .box::after {
    background-size: 29px 29px;
    width: 29px;
    height: 29px;
    top: 50%;
    left: 20px;
  }
}

/* ------------------------------------------
キーワード
-------------------------------------------- */
.clip-memobox-yellow .hukidashi,
.clip-memobox-red .hukidashi {
  position: relative;
  padding: 10px;
  color: #fff;
  margin: 0 0 0 -8px;
  padding-bottom: 20px;
  font-size: 80%;
  border-radius: 30px;
  cursor: initial;
  pointer-events: none;
}

.clip-memobox-yellow .hukidashi:hover,
.clip-memobox-red .hukidashi:hover {
  opacity: 1;
}

.clip-memobox-yellow .hukidashi::after {
  content: '';
  position: absolute;
  margin-left: -10px;
  border: 10px solid transparent;
  border-top: 10px solid #ffc107;
  bottom: 0;
  left: 40px;
}

.clip-memobox-red .hukidashi::after {
  content: '';
  position: absolute;
  margin-left: -10px;
  border: 10px solid transparent;
  border-top: 10px solid #ef5350;
  bottom: 0;
  left: 40px;
}

.clip-memobox-yellow .box {
  position: relative;
  background: #fffde7;
  color: #000000;
  border-radius: 3px;
  margin-bottom: 20px !important;
  padding: 25px;
  padding-left: 100px;
}

.clip-memobox-yellow .box::before {
  content: '';
  height: 85%;
  width: 1px;
  background: #ffc107;
  position: absolute;
  top: 50%;
  left: 90px;
  translate: 0 -50%;
}

.clip-memobox-yellow .box::after {
  content: '';
  background: url(../../image/common/file-text.png) no-repeat center;
  background-size: 37px 37px;
  width: 37px;
  height: 36px;
  position: absolute;
  top: 50%;
  left: 32px;
  translate: 0 -50%;
}

.clip-memobox-yellow .box li {
  margin-bottom: 10px;
}

.clip-memobox-yellow .box li:last-child {
  margin-bottom: 0;
}

@media screen and (max-width: 767px) {
  .clip-memobox-yellow .box {
    padding: 15px;
    padding-left: 70px;
  }

  .clip-memobox-yellow .box::before {
    left: 60px;
  }

  .clip-memobox-yellow .box::after {
    background-size: 29px 29px;
    width: 29px;
    height: 29px;
    top: 50%;
    left: 20px;
  }
}

/* ------------------------------------------
吹き出し
-------------------------------------------- */
.vk_balloon_icon_image:not(.has-text-color) {
  color: #ccc;
  border: 1px solid #ccc;
  border-radius: 50px;
}

.contents .vk_balloon_icon_name {
  font-size: 1rem;
}

.contents .vk_balloon {
  margin-bottom: 15px;
}

/* ------------------------------------------
メモテキスト
-------------------------------------------- */
.clip-memotext,
.clip-memotext-orange {
  position: relative;
  padding: 10px;
  padding-left: 76px;
}

.clip-memotext::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 20px;
  translate: 0 -50%;
  background: url(../../image/common/comments.png) no-repeat center;
  background-size: 20px 20px;
  width: 20px;
  height: 20px;
}

.clip-memotext::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 60px;
  translate: 0 -50%;
  width: 2px;
  height: 70%;
  background: #ffc107;
}

.clip-memotext-orange::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 20px;
  translate: 0 -50%;
  background: url(../../image/common/lightbulb.png) no-repeat center;
  background-size: 12px 24px;
  width: 12px;
  height: 24px;
}

.clip-memotext-orange::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 60px;
  translate: 0 -50%;
  width: 2px;
  height: 70%;
  background: #ffc107;
}

@media screen and (max-width: 767px) {
  .clip-memotext {
    padding-left: 55px;
  }

  .clip-memotext::after {
    left: 13px;
  }

  .clip-memotext::before {
    left: 45px;
  }
}

/* ------------------------------------------
目次
-------------------------------------------- */
#toc_container.toc_white {
  width: 100%;
  margin-bottom: 40px;
}

#toc_container.toc_white .toc_list li {
  margin-bottom: 15px;
}

/* ------------------------------------------
フォーム
-------------------------------------------- */
#UserItemForm label {
  margin-bottom: 10px;
}

.form_input_submit {
  padding-top: 20px;
}

.form_input_submit input[type='submit'] {
  border: 1px solid #ccc;
  background: #f0f0f0;
  padding: 5px 10px;
  border-radius: 5px;
}

/* ------------------------------------------
アイコンブロック
-------------------------------------------- */
.contents .vk_alert.has-alert-icon {
  grid-template-columns: 80px 1fr;
}

.vk_alert_icon .fa-solid {
  font-size: 30px;
}
