@charset "utf-8";

/* Define background color End*/
.wp-block-image img {
  margin-bottom: 20px;
}

:root {
  --border: #c4c4c2;
  --accent: #212c5c;
  --bg: #f8f8f8;
  --phone: #23a32f;
  --mail: #dc446a;
  --cta: #c94141;
  --maker-1: #fff27b;
  --maker-2: #ff8383;
  --underline-intrinsic-width: 8;
  --underline-width: 12;
  --underline-color: yellow;
  --underline-cap-width: 4px;
  --underline-offset-y: -2px;
  --underline-padding-x: 0.12em;
  --font-title: "游明朝体", "游明朝", YuMincho, "ヒラギノ明朝 Pro",
    "ヒラギノ明朝 Pro", "MS P明朝", "MS P明朝", serif;
  --font-text: "Hiragino Sans", "Hiragino Kaku Gothic ProN", Roboto,
    "Droid Sans", "Yu Gothic", Meiryo, "Meiryo UI", sans-serif;
}

/* Custom detail page start */
p {
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", Roboto,
    "Droid Sans", "Yu Gothic", Meiryo, "Meiryo UI", sans-serif;
  font-weight: bold;
}

html {
  scroll-behavior: smooth;
}

.title-jp,
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "游明朝体", "游明朝", YuMincho, "ヒラギノ明朝 Pro",
    "ヒラギノ明朝 Pro", "MS P明朝", "MS P明朝", serif;
  font-weight: bold;
}

.tag {
  font-family: var(--font-text);
}

.ff-gothic {
  font-family: var(--font-text) !important;
}

.color-blue {
  color: #0067c0;
}

.column-title {
  font-family: "游明朝体", "游明朝", YuMincho, "ヒラギノ明朝 Pro",
    "ヒラギノ明朝 Pro", "MS P明朝", "MS P明朝", serif;
  font-weight: bold;
  font-size: 5rem;
  text-transform: uppercase;
}

.fs-50 {
  font-size: 5rem;
}

.fs-30 {
  font-size: 3rem;
}

.fs-18 {
  font-size: 1.8rem !important;
}

.fs-16 {
  font-size: 1.6rem;
}

.fs-14 {
  font-size: 1.4rem;
}

.fs-custom-20 {
  font-size: 2rem;
}

.fs-custom-22 {
  font-size: 2.2rem;
}

.fs-24 {
  font-size: 2.4rem;
}

.fs-25 {
  font-size: 2.5rem;
}

.fs-26 {
  font-size: 2.6rem;
}

.fs-subHeading,
.fs-title {
  font-size: 1.6rem;
  overflow-wrap: break-word;
  margin: 0 0 5rem !important;
}

.text-underline {
  /* text-decoration: underline; */
  /* h4に謎に線が入るためコメントアウト */
}

.fs-title {
  font-size: 1.7rem;
  font-weight: 500;
}

.tag {
  font-size: 1.7rem !important;
}

.mt-50 {
  margin-top: 5rem;
}

.mb-19 {
  margin-bottom: 1.9rem;
}

.mb-50 {
  margin-bottom: 5rem;
}

.mb-25 {
  margin-bottom: 2.5rem;
}

.py-30 {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.mt-30 {
  margin-top: 3rem;
}

.mt-md-30 {
  margin-top: 3rem;
}

.my-20 {
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.mb-30 {
  margin-bottom: 3rem;
}

/* Define background color Begin*/
.bg-blue {
  background: #212c5c;
}

.fw-bold {
  font-weight: bold;
}

.fw-bold>p {
  font-weight: bold;
}

.bg-grey {
  background: #c4c4c2;
}

.bg-white {
  background: #f8f8f8;
}

.bg-green {
  background: #23a32f;
}

.bg-pink {
  background: #dc446a;
}

.bg-red {
  background: #c94141;
}

.bg-yellow {
  background: #fff27b;
}

.bg-orange {
  background: #ff8383;
}

.table-contents {
  border-bottom: 1px;
  border-bottom-style: dotted;
}

.content-bg {
  background-color: var(--bg);
}

.bg-cta {
  position: relative;
  z-index: 5;
  font-size: 2.2rem;
}

.bg-cta::after {
  position: absolute;
  content: "";
  background-color: var(--cta);
  bottom: 0;
  left: 0;
  right: 0;
  top: 10%;
  z-index: -1;
}

.color-cta {
  color: var(--cta);
}

.sub-content {
  margin-left: 1.2rem;
}

.contact-btn {
  width: 295px !important;
}

.btn_phone {
  background-color: var(--phone);
  color: white;
  font-size: 2.7rem;
  padding: 5px 20px;
  border-radius: 5px;
  box-shadow: 0 5px 2px 0 rgba(0, 0, 0, 0.5);
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.btn_phone .fa-chevron-circle-right:before {
  font-size: 24px;
}

.custom-tag {
  font-weight: bold;
  color: #212c5c;
}

.btn-mail {
  background-color: var(--mail);
  color: white;
  font-size: 1.8rem;
  padding: 10px 20px;
  border-radius: 5px;
  box-shadow: 0 5px 2px 0 rgba(0, 0, 0, 0.5);
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.btn-mail .fa-chevron-circle-right:before {
  font-size: 27px;
}

.btn-mail i {
  font-family: "FontAwesome";
}

.btn-mail:hover,
.btn_phone:hover {
  color: var(--bg);
}

.contact {
  background-image: url("../img/bg_contact_content.png");
  background-position: center;
  background-size: cover;
  height: 275px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  font-weight: bold;
  font-family: var(--font-text);
}

.search-custom {
  font-size: 1.4rem !important;
}

.bg-half {
  display: inline;
  --underline-width-scale: calc(var(--underline-width) / var(--underline-intrinsic-width));
  padding: 0 calc(var(--underline-padding-x) + calc(var(--underline-cap-width) * var(--underline-width-scale)));
  background-repeat: no-repeat;
  color: var(--cta);
  background-image: linear-gradient(180deg, var(--maker-1), var(--maker-1));
  background-position-x: calc(var(--underline-cap-width) * var(--underline-width-scale)),
    0, 100%;
  background-position-y: 100%;
  background-size: calc(100% - calc(var(--underline-cap-width) * var(--underline-width-scale) * 2)) calc(var(--underline-width) * 1px),
    auto calc(var(--underline-width) * 1px),
    auto calc(var(--underline-width) * 1px);
}

.px-85 {
  padding-left: 8.5rem;
  padding-right: 8.5rem;
}

#cta {
  position: relative;
}

#cta::before {
  content: "\\";
  position: absolute;
  top: 50%;
  left: -2rem;
  transform: translateY(-50%);
  font-size: 2rem;
  font-weight: bold;
}

#cta::after {
  content: "/";
  position: absolute;
  top: 50%;
  right: -2rem;
  transform: translateY(-50%);
  font-size: 2rem;
  font-weight: bold;
}

.triangle {
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 15px solid #212c5c;
}

.author-img {
  max-width: 300px;
  object-fit: contain;
}

.bg-accent {
  background-color: var(--accent);
}

.text-accent {
  color: var(--accent);
}

.bg-fb {
  background: #1877f2;
}

.bg-twitter {
  background: #000000;
}

.bg-haneta {
  background: #1c99cd;
}

.bg-gg {
  background: #e84352;
}

.bg-line {
  background: #27ad37;
}

ul.w-100.row.row-cols-5.mt-50.mb-50 {
  --bs-gutter-x: 0 !important;
}

.h-70 {
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: all 0.3s linear;
}

.h-70 img {
  object-fit: cover;
  height: 100%;
}

.h-70:hover {
  opacity: 0.6;
}

.svg-icon {
  width: 2rem;
  height: 2rem;
}

.svg-phone {
  width: 2rem;
  height: 3rem;
  margin-right: 5px;
}

.svg-contact_phone {
  width: 2rem;
  height: 3rem;
  margin-right: 15px;
  /* margin-top: 5px; */
}

.btn-slide {
  width: 2.5rem;
  height: 80%;
  margin: auto 0;
  background-color: var(--accent);
  opacity: 1 !important;
}

.slide-img {
  max-width: 190px;
  min-height: 150px;
  max-height: 150px;
  object-fit: cover;
}

.my-30 {
  margin-top: 3rem;
  margin-bottom: 3rem;
}

.slide-item {
  justify-content: center;
}

/* side bar */
.sidebar {
  padding-right: 4rem;
}

.px-30 {
  padding-left: 3rem;
  padding-right: 3rem;
}

#cta-sb {
  position: relative;
  padding: 0 1.7rem;
}

#cta-sb::before,
#cta-sb::after {
  content: "";
  position: absolute;
  top: 10px;
  bottom: -3px;
  width: 3px;
  background-color: var(--bg);
  transform: translateY(0);
}

#cta-sb::before {
  left: 0;
  transform: rotate(-25deg);
}

#cta-sb::after {
  right: 0;
  transform: rotate(20deg);
}

.p-20 {
  padding: 2rem;
}

.fs-19 {
  font-size: 1.9rem;
}

.column-section {
  width: 100%;
  max-width: 1200px;
  clear: both;
  padding-top: 40px;
}

.column-section .column-content h1 {
  display: block;
  font-weight: bold;
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", Roboto,
    "Droid Sans", "Yu Gothic", Meiryo, "Meiryo UI", sans-serif;
  font-size: 5rem;
  letter-spacing: 1px;
}

.h1-sp {
  font-size: 1.6rem !important;
  margin-bottom: 4rem;
}

.breadcrumb a {
  font-weight: bold !important;
}

/************** Sidebar ***************/
/* CSS advertisement Begin */
.column-section .column-advertisement {
  align-items: center;
  background-size: 3rem 3rem;
  background-color: #fff;
  padding: 25px;
  background-size: 100% 100%;
}

.column-section .column-advertisement p {
  text-align: center;
  margin: 0 0 0 0.1rem;
  font-size: 13px;
  color: #fff;
}

/* Draw two lines */
.column-section .column-advertisement .border-box-rotate .border-box-rotate-content {
  display: inline-block;
  position: relative;
  padding: 15px;
  margin: 20px;
  height: 50px;
}

.column-section .column-advertisement .border-box-rotate:before {
  content: "";
  position: absolute;
  margin-top: 7px;
  margin-left: 242px;
  height: 35px;
  border-color: transparent transparent transparent #fff;
  border-style: solid;
  border-width: 2px;
  transform: skewX(-25deg);
}

.column-section .column-advertisement .border-box-rotate:after {
  content: "";
  position: absolute;
  margin-top: -39px;
  margin-left: -6px;
  height: 35px;
  border-color: transparent transparent transparent #fff;
  border-style: solid;
  border-width: 2px;
  transform: skewX(25deg);
}

/* Draw two lines */
.column-section .column-advertisement .btn_phone {
  padding: 10px !important;
  background: #23a32f;
  width: 100%;
  font-size: 18px;
  color: #f8f8f8;
  margin-top: 15px !important;
}

.column-section .column-advertisement .btn_phone ::before {
  content: " \f095";
  display: inline-block;
  padding-right: 3px;
  vertical-align: middle;
  font-weight: 900;
  padding-left: 10px;
  transform: rotateY(180deg);
}

.column-section .column-advertisement .btn_mail {
  padding: 10px !important;
  background: #c94141;
  width: 100%;
  font-size: 18px;
  color: #f8f8f8;
  margin-top: 10px;
}

.column-section .column-advertisement .btn_mail ::before {
  content: "\f0e0";
  display: inline-block;
  padding-right: 3px;
  vertical-align: middle;
  font-weight: 900;
  padding-left: 10px;
}

/* CSS advertisement End */

/* CSS Hot Posts Begin*/
.column-section .column-hot-post {
  margin: 50px 0 0 0;
}

.column-section .column-hot-post .title {
  margin-bottom: 30px;
  border-bottom: 2px solid var(--accent);
  border-left: 10px solid var(--accent);
  font-size: 20px;
  font-weight: 900;
  color: black;
  font-family: var(--font-text);
}

.column-section .column-hot-post .hot-post-detail-container {
  margin: 0 0 20px 0;
  display: flex;
  padding: 15px;
  background: var(--bg);
  cursor: pointer;
  gap: 15px;
  font-family: var(--font-text);
}

.column-section .column-hot-post .hot-post-detail-left {
  width: 155px;
  height: 120px;
  background: var(--bg);
}

.column-section .column-hot-post .hot-post-detail-left img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.column-section .column-hot-post .hot-post-detail-right {
  width: calc(100% - 155px);
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-weight: bold;
  letter-spacing: 1px;
}

/* CSS Hot Posts End*/
/* CSS related Posts Begin*/
.column-section .column-related-post {
  margin: 50px 0 0 0;
}

.mb-45 {
  margin-bottom: 4.5rem;
}

.column-section .column-related-post .title {
  margin-bottom: 30px;
  border-bottom: 2px solid var(--accent);
  border-left: 10px solid var(--accent);
  font-size: 20px;
  font-weight: 900;
  color: black;
  font-family: var(--font-text);
}

.break-news {
  padding: 15px;
}

.column-section .column-related-post .related-post-detail-container {
  margin: 0 0 20px 0;
  display: flex;
  padding: 15px;
  background: var(--bg);
  cursor: pointer;
  gap: 15px;
  font-family: var(--font-text);
}

.column-section .column-related-post .related-post-detail-left {
  width: 155px;
  background: var(--bg);
  /* height: 120px; */
}

.column-section .column-related-post .related-post-detail-left img {
  object-fit: cover;
  /* width: 100%; */
  /* height: 100%; */
  aspect-ratio: 1.32/1;
}

.column-section .column-related-post .related-post-detail-right {
  width: calc(100% - 155px);
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-weight: bold;
}

/* CSS related Posts End*/

/* CSS Suggested Posts Begin*/
.column-section .column-suggested-post {
  margin: 50px 0 0 0;
}

.column-section .column-suggested-post .title {
  margin-bottom: 30px;
  border-bottom: 3px solid #eee;
  border-left: 5px solid #212c5c;
  font-size: 20px;
  font-weight: 900;
  color: black;
}

.column-section .column-suggested-post .suggested-post-detail-container {
  margin: 20px 0 0 0;
  display: flex;
  padding: 15px;
  background: var(--bg);
  cursor: pointer;
}

.column-section .column-suggested-post .suggested-post-detail-left {
  width: 180px;
  float: left;
  background: var(--bg);
  align-content: center;
}

.column-section .column-suggested-post .suggested-post-detail-left img {
  object-fit: cover;
  max-height: 120px;
  max-width: 155px;
}

.column-section .column-suggested-post .suggested-post-detail-right {
  width: 100%;
  display: flex;
  flex-direction: column;
  /* justify-content: space-between; */
  margin-left: 15px !important;
  /* padding: 5px 0; */
  gap: 10px;
}

/* CSS Suggested Posts End*/

/* CSS Tag List*/

.column-section .column-tag-list {
  margin: 50px 0 0 0;
}

.column-section .column-tag-list .title {
  font-size: 20px;
  font-weight: 900;
  font-family: var(--font-text);
}

.column-section .column-tag-list .title ::before {
  content: "\f45c";
  background: #888;
}

.column-section .column-tag-list .tag-post {
  border: 1px solid #eee;
  font-size: 12.5px;
  color: black;
  text-align: center;
}

.column-section .column-tag-list .tag-post::before {
  content: "#";
}

.post-title {
  font-size: 15px;
  color: black;
  border-bottom: 1px solid var(--accent);
  padding-right: 15px;
  padding-bottom: 3px;
  /* display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow: hidden; */
}

/* .heading-title-sidebar {
  border-bottom: 1px solid var(--accent);
  padding-bottom: 3px;
} */

.post-publish-date {
  font-size: 1.4rem;
  color: black;
}

.tag-post {
  border: 1px solid #eee;
  font-size: 16px;
  color: black;
  text-align: center;
}

.tag-post::before {
  content: "#";
}

/************** End Sidebar ***************/

/************ Column Content ****************/
.column-section .post-tag {
  display: flex;
  /* grid-template-columns: auto; */
  gap: 5px 10px;
  flex-wrap: wrap;
}

.column-section .post-tag button.column-tag {
  font-size: 1.4rem;
  width: auto;
  font-family: var(--font-text);
}

.column-section .post-tag button.column-tag a {
  width: max-content !important;
  display: block;
}

.column-section button.column-tag {
  border: 1px solid #212c5c;
  font-weight: bold;
  font-size: 1.4rem;
  border-radius: 0.35rem;
}

.column-hot-post .post-item .post-item-tag button.column-tag {
  font-size: 15px;
}

#column-hot-post button.column-tag,
#column-related-post button.column-tag {
  padding: 0;
}

#tag-list button.column-tag {
  padding: 5px !important;
}

#column-hot-post .post-item-tag,
#column-related-post .post-item-tag {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.column-section .post-list {
  padding: 0rem 0.75rem 1.5rem;
  justify-content: space-between;
  gap: 2rem 0;
}

.column-section .post-list .post-item {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  /* margin-bottom: 1.875rem; */
  border: 1px solid #e7e7e7;
  /* cursor: pointer; */
}

.column-section .post-list .post-item:hover {
  color: #212c5c;
}

.column-tag a:hover {
  color: #212c5c;
}

button.active-tag a:hover {
  color: #fff !important;
}

.custom-post-item {
  background-color: var(--bg) !important;
  border: none !important;
}

.column-section .post-list .post-item img {
  object-fit: cover;
  aspect-ratio: 1.5/1;
}

.column-section .post-item .post-item-title {
  font-size: 2rem;
  border-bottom: 1px solid #212c5c;
  padding-top: 1.25rem;
  padding-bottom: 0.4rem;
  /* display: -webkit-box; */
  /* -webkit-box-orient: vertical; */
  /* -webkit-line-clamp: 1; */
  /* overflow: hidden; */
  font-weight: bold;
  font-family: var(--font-text);
}

.column-section .post-item .post-item-date {
  font-weight: bold;
  font-size: 1.5rem;
  padding: 1rem 0 0.75rem;
  letter-spacing: 0.15rem;
  font-family: var(--font-text);
}

.column-section .post-item .post-item-date .updated-at {
  padding-left: 10px;
}

#tag-list .post-item-tag {
  display: flex;
  flex-wrap: wrap;
  /* grid-template-columns: repeat(4, 1fr); */
  font-size: 15px !important;
  gap: 6px;
}

#tag-list .title {
  margin-bottom: 30px;
}

.column-section .post-item-tag .column-tag {
  /* padding: 0.5rem 0.75rem; */
  margin: 0 0 0.5rem 0;
  background-color: #fff;
}

.column-section .post-list .pagination {
  justify-content: center;
  font-size: 2rem;
}

.column-section .post-list .btn-pagination {
  font-size: 4rem;
  padding: 1.3rem 0;
}

.column-section .post-list .num-pagination {
  padding: 3.125rem 0;
}

.column-section .post-list .pagination .page-numbers {
  padding: 0.5rem 1.5rem 0.75rem;
  text-decoration: underline;
}

.column-section .post-list .pagination .next.page-numbers,
.column-section .post-list .pagination .next-last.page-numbers,
.column-section .post-list .pagination .prev.page-numbers,
.column-section .post-list .pagination .prev-first.page-numbers,
.column-section .post-list .pagination .page-numbers.dots {
  text-decoration: none !important;
}

.column-section .post-list .pagination .page-numbers.current {
  background-color: #000000;
  color: #ffffff;
  text-decoration: none;
}

.column-section .column-related .post-list {
  padding-bottom: 0 !important;
}

.column-section .column-hot-post .post-list {
  /* padding-top: 1.875rem; */
  padding-bottom: 3.125rem;
}

/************ End Column Content ****************/

/************** Contact ***************/
.column-section .contact-section {
  background-image: url(../img/bg_contact_content.png);
  background-repeat: no-repeat;
  background-size: cover;
  text-align: center;
  padding: 2rem 5rem;
  font-weight: bold;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  margin-bottom: 50px;
  justify-content: center;
  font-family: var(--font-text);
}

.column-section .contact-section #about {
  font-size: 2rem;
  position: relative;
}

.column-section .contact-section #about::before,
.column-section .contact-section #about::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 3px;
  background-color: var(--bg);
}

.column-section .contact-section #about::before {
  left: 2rem;
  transform: rotate(-20deg);
}

.column-section .contact-section #about::after {
  right: 2rem;
  transform: rotate(20deg);
}

.column-section .contact-section #contact {
  font-size: 2.2rem;
}

.fs-20 {
  font-size: 2rem !important;
}

.column-section .contact-section .advertisement {
  font-size: 2rem;
  justify-content: space-between;
  text-align: center;
}

.column-section .contact-section .advertisement i {
  font-family: "FontAwesome";
  padding-left: 0.7rem;
}

.column-section .contact-section .advertisement button {
  padding: 0 1rem 1.5rem 3rem;
  color: #ffffff;
  border-radius: 0.5rem;
  text-align: center;
  box-shadow: 0 5px #000000;
}

.column-section .contact-section .advertisement .btn_phone {
  background-color: #23a32f;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 0 0 2rem;
  border-radius: 3px;
  width: 49%;
  box-shadow: 0 5px 2px 0 rgba(0, 0, 0, 0.5);
  font-size: 2.7rem;
}

.column-section .contact-section .advertisement span {
  display: flex;
  align-items: center;
}

/* .column-section .contact-section .advertisement .btn_phone span {
  padding-left: 1rem;
} */

.column-section .contact-section .advertisement .btn_mail {
  background-color: #dc446a;
  color: var(--bg);
  border-radius: 3px;
  display: flex;
  padding: 1.5rem 0 1.5rem 2rem;
  align-items: center;
  justify-content: space-between;
  width: 49%;
  box-shadow: 0 5px 2px 0 rgba(0, 0, 0, 0.5);
}

/* .column-section .contact-section .advertisement .btn_mail span {
  padding-left: 1rem;
} */

.column-section .contact-section .advertisement i.btn-right {
  font-size: 2.4rem;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
  border-radius: 5px;
}

.column-section .contact-section .advertisement i.btn-right::before {
  font-size: 2.7rem;
}

@media screen and (max-width: 768px) {
  .column-section .contact-section .advertisement i.btn-right {
    font-size: 2.4rem;
  }
}

.column-section .contact-section .heading {
  display: inline;
  --underline-width-scale: calc(var(--underline-width) / var(--underline-intrinsic-width));
  padding: 0 calc(var(--underline-padding-x) + calc(var(--underline-cap-width) * var(--underline-width-scale)));
  background-repeat: no-repeat;
  color: var(--cta);
  background-image: linear-gradient(180deg, var(--maker-1), var(--maker-1));
  background-position-x: calc(var(--underline-cap-width) * var(--underline-width-scale)),
    0, 100%;
  background-position-y: calc(100% - var(--underline-offset-y) * -1);
  background-size: calc(100% - calc(var(--underline-cap-width) * var(--underline-width-scale) * 2)) calc(var(--underline-width) * 1px),
    auto calc(var(--underline-width) * 1px),
    auto calc(var(--underline-width) * 1px);
}

/************** End Contact **************/

/* Media Query */
@media (min-width: 768px) {
  .column-section .column-content {
    padding-right: 10px;
  }

  .column-section .column-sidebar {
    padding-left: 10px;
  }

  .column-section .post-list .post-item {
    width: 49%;
  }

  .column-section .contact-section .advertisement {
    padding: 0 2rem 0;
    margin-top: 1rem;
  }

  .column-section .contact-section .advertisement button {
    width: 49%;
  }
}

@media (max-width: 1400px) {
  .column-section .contact-section #about {
    font-size: 2rem;
  }

  .column-section .contact-section #contact {
    font-size: 2.2rem;
  }
}

@media (max-width: 1024px) {
  .column-section .contact-section {
    padding: 4rem 1rem;
  }

  .column-section .contact-section .advertisement {
    font-size: 1.5rem;
  }

  .column-section .contact-section #about {
    font-size: 1.4rem;
  }

  .column-section .contact-section #contact {
    font-size: 1.85rem;
  }
}

@media (max-width: 997px) {
  .column-section .contact-section {
    padding: 2rem 1rem;
    background-image: url("../img/bg_contact_sidabar.png");
    background-repeat: no-repeat;
    background-size: cover;
  }

  /* .column-section .contact-section #about, */
  .column-section .contact-section #contact {
    word-break: keep-all;
  }

  .column-section .contact-section .advertisement {
    padding: 1.5rem 1rem 0;
  }

  .column-section .contact-section .advertisement button {
    padding: 1.5rem 0 1.5rem 2.25rem;
  }

  .column-section .contact-section .advertisement .btn_mail span {
    font-size: 1.7rem;
  }

  .column-section .contact-section #about i.br {
    content: "";
    white-space: pre;
    display: block;
  }
}

@media (max-width: 767px) {
  .column-section .contact-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  a[href^="tel:"] {
    margin: 0 0 11px !important;
  }

  .column-section .post-list .post-item {
    padding: 2.5rem;
  }

  .column-section .contact-section #about {
    padding: 0 2.5rem;
    font-size: 1.5rem;
  }

  .column-section .contact-section #contact {
    padding: 0 0.5rem;
    font-size: 1.8rem;
  }

  .column-section .contact-section .advertisement {
    width: 70%;
  }

  .column-section .contact-section .advertisement button {
    margin-top: 1rem;
  }

  .column-section .contact-section .advertisement .btn_mail,
  .column-section .contact-section .advertisement .btn_phone {
    width: 100%;
    /* font-size: 1.8rem !important; */
  }

  .column-section .contact-section .advertisement .btn_phone {
    padding-top: 1rem;
    padding-bottom: 1rem;
    font-size: 2rem;
  }

  .column-section .contact-section #about::before {
    left: 5px;
  }

  .column-section .contact-section #about::after {
    right: 10px;
  }

  .sidebar #sidebar-contact-01 {
    display: none;
  }

  .column-section .column-content .item-tag {
    margin-top: 10px;
  }
}

@media (max-width: 440px) {
  .column-section .contact-section .advertisement {
    width: 100%;
  }

  .column-section .post-tag {
    grid-template-columns: repeat(4, 1fr);
    gap: 5px 10px;
  }

  .column-section .post-tag button.column-tag {
    width: auto;
  }

  /* .column-section .column-content .post-the-content {
    padding: 0 1rem;
  } */

  .carousel-control-next-icon,
  .carousel-control-prev-icon {
    width: 3rem;
    height: 3rem;
  }

  #toc_container ul.toc_list li ul li {
    margin-left: 2em;
  }

  .relative::after {
    width: 135px !important;
  }
}

.custom-title {
  font-family: var(--font-text);
  margin-bottom: 3rem;
}

@media screen and (min-width: 400px) and (max-width: 430px) {
  .breadcrumb .title {
    width: 200px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

@media (max-width: 400px) {
  .column-section .contact-section #about {
    font-size: 1.3rem;
  }

  .bg-cta {
    font-size: 1.4rem !important;
  }

  .column-section .contact-section #contact {
    font-size: 1.6rem;
    margin-top: 10px;
  }

  .breadcrumb .title {
    width: 150px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .column-section .column-hot-post .post-list {
    padding: 0;
  }
}

@media (max-width: 350px) {
  .column-section .post-list .btn-pagination {
    font-size: 3rem;
    padding: 2.3rem 0;
  }

  .column-section .contact-section #about {
    font-size: 1.4rem;
  }

  .column-section .contact-section #contact {
    font-size: 1.5rem;
  }

  .column-section .post-item .post-item-date {
    font-size: 1.1rem;
  }

  .column-hot-post .post-item .post-item-tag button.column-tag {
    font-size: 1.1rem;
  }

  .column-section .post-item .post-item-title {
    font-size: 1.6rem;
  }

  .column-section .post-tag button.column-tag {
    font-size: 1.5rem;
    /* flex-grow: 1; */
  }

  .column-section .post-tag {
    /* display: flex; */
    /* flex-wrap: wrap; */
    grid-template-columns: repeat(3, auto);
  }
}

/* side bar */

@media (max-width: 767px) {
  .column-section {
    padding-top: 2rem;
  }

  .column-section .column-content h1 {
    font-size: 2.2rem;
    line-height: 1.4;
    margin-bottom: 15px;
  }

  .column-section .post-item-tag .column-tag {
    font-size: 1.1rem;
  }

  .column-section .contact-section .advertisement i {
    font-size: 2.6rem;
  }

  .column-section .contact-section .advertisement .btn_mail span {
    font-size: 1.7rem;
  }

  .tag {
    font-size: 1.2rem !important;
    margin-bottom: 30px;
  }

  .mt-50 {
    margin-top: 5rem;
  }

  .contact {
    background-image: url("../img/bg_contact_sidabar.png");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
  }

  .fs-17 {
    font-size: 1.4rem !important;
  }

  .fs-mb-16 {
    font-size: 1.6rem !important;
  }

  .fs-mb-20 {
    font-size: 2rem !important;
  }

  .fs-mb-18 {
    font-size: 1.8rem !important;
  }

  .fs-title {
    font-size: 1.7rem;
    font-weight: 500;
  }

  .fs-mb-12 {
    font-size: 1.2rem !important;
  }

  .fs-mb-17 {
    font-size: 1.7rem !important;
  }

  .fs-22 {
    font-size: 2.2rem !important;
  }

  .px-85 {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  #cta {
    position: relative;
    padding: 0 2rem;
  }

  #cta::before,
  #cta::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 3px;
    background-color: var(--bg);
    transform: translateY(0);
  }

  #cta::before {
    left: 0;
    transform: rotate(-20deg);
  }

  #cta::after {
    right: 0;
    transform: rotate(15deg);
  }

  .author-img {
    width: 70%;
    min-height: 130px;
  }

  .px-20 {
    padding: 0 2rem;
  }

  .carousel-control-prev,
  .carousel-control-next {
    position: relative !important;
    width: 46%;
    margin: 3rem 0;
    padding: 10px 0;
  }

  .carousel-control-prev {
    float: left;
  }

  .carousel-control-next {
    float: right;
  }

  .sidebar {
    padding-right: 0;
    margin-top: -5rem;
  }

  .author {
    padding-left: 2rem !important;
    padding-right: 2rem !important;
  }

  .column-section .post-tag button.column-tag {
    font-size: 1.5rem;
  }

  .column-section .post-item .post-item-title {
    font-size: 1.6rem;
  }

  .column-section .post-item .post-item-date {
    font-size: 1.1rem;
  }

  .mt-md-30 {
    margin-top: 0;
  }
}

/***************************/
#toc_container {
  background-color: var(--bg) !important;
  margin-bottom: 5rem !important;
  padding: 3rem 4rem !important;
  display: block !important;
}

/* Fix css */
#toc_container p.toc_title {
  /* border-bottom: 2px dotted #c4c4c2 !important; */
  padding-bottom: 1rem !important;
  overflow: hidden;
  text-align: center;
  position: relative;
}

#toc_container p.toc_title::after {
  position: absolute;
  bottom: -1rem;
  left: 0;
  right: 0;
  content: "...........................................................................................................................................................";
  letter-spacing: 4px;
  color: #c4c4c2;
}

.relative {
  position: relative;
}

.relative::after {
  content: "";
  position: absolute;
  bottom: -3.2rem;
  width: 200px;
  left: 0;
  height: 2px;
  background-color: #131b3f;
  /* background-color: #0067c0; */
}

.border-accent {
  border: 1px solid #212c5c;
}

#toc_container ul.toc_list>li>ul {
  margin-left: 15px !important;
}

/* #toc_container ul.toc_list > li > ul > li > ul {
  margin-left: -7px !important;
} */
#toc_container ul.toc_list>li>ul>li>ul>li>ul {
  margin-left: -7px !important;
}

#toc_container ul.toc_list>li>ul>li>ul>li>ul>li>ul {
  margin-left: -7px !important;
}

/* Fix css */

#toc_container p.toc_title,
#toc_container ul.toc_list {
  font-size: 1.7rem !important;
  font-weight: bold;
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", Roboto,
    "Droid Sans", "Yu Gothic", Meiryo, "Meiryo UI", sans-serif;
}

#toc_container ul.toc_list {
  padding: 1rem 0 0 !important;
}

#toc_container ul.toc_list>li>a {
  font-size: 1.7rem !important;
  /* font-family: var(--font-title); */
  /* font-weight: bold; */
  color: #0067c0;
}

#toc_container ul.toc_list>li>ul>li>a {
  font-size: 1.7rem !important;
  margin-left: 1.5em;
  position: relative;
}

#toc_container ul.toc_list>li>ul>li>a::before {
  content: "";
  position: absolute;
  top: 25%;
  left: -20px;
  border-style: solid;
  border-width: 0 5px 10px 5px;
  border-color: transparent transparent #000000 transparent;
  transform: rotate(90deg);
}

@media screen and (max-width: 767px) {
  #toc_container ul.toc_list>li>ul>li>a::before {
    left: -15px;
    border-width: 0 5px 5px 5px;
  }

  #toc_container ul.toc_list>li>ul {
    margin-left: 5px !important;
  }
}

#toc_container ul.toc_list>li>ul>li>ul>li>a {
  font-size: 1.7rem;
  margin-left: 1.5em;
}

#toc_container ul.toc_list>li>ul>li>ul>li>ul>li>a {
  font-size: 1.7rem;
  margin-left: 1.5em;
}

#toc_container ul.toc_list>li>ul>li>ul>li>ul>li>ul>li>a {
  font-size: 1.7rem;
  margin-left: 1.5em;
}

#toc_container ul.toc_list>li>ul>li>ul>li>a {
  font-size: 1.7rem;
}

.f-sub {
  color: #212c5c;
}

.input-group {
  flex-wrap: nowrap !important;
}

.custom-icon {
  width: 26px;
  margin-top: 6px;
}

.contact-section .advertisement a .custom-icon {
  margin-right: 5px;
  margin-top: 0px;
}

.search .form-control {
  font-size: 14px;
}

.search .form-control::placeholder {
  color: #c4c4c2;
}

mark {
  background: -moz-linear-gradient(0deg, #fff 15%, transparent 20%, #fff 45%);
  background: -webkit-linear-gradient(0deg,
      #fff 15%,
      transparent 20%,
      #fff 45%);
  background: linear-gradient(0deg, #fff 15%, transparent 20%, #fff 45%);
}

@media (max-width: 767px) {
  #toc_container {
    padding: 1rem 2rem !important;
    margin-top: 3rem;
    margin-bottom: 5rem !important;
  }

  #toc_container ul.toc_list {
    padding: 1rem 2rem 1rem 0 !important;
  }

  #toc_container p.toc_title,
  #toc_container ul.toc_list {
    font-size: 1.4rem !important;
  }

  #toc_container p.toc_title::after {
    bottom: -0.8rem;
  }

  #toc_container ul.toc_list>li>a {
    font-size: 1.4rem !important;
  }

  #toc_container ul.toc_list>li>ul>li>a {
    font-size: 1.4rem !important;
    margin-left: 0;
  }

  #toc_container ul.toc_list>li>ul>li>ul>li>a {
    font-size: 1.4rem;
    margin-left: 0;
  }

  #toc_container ul.toc_list>li>ul>li>ul>li>ul>li>a {
    font-size: 1.4rem;
    margin-left: 0;
  }

  #toc_container ul.toc_list>li>ul>li>ul>li>ul>li>ul>li>a {
    font-size: 1.4rem;
    margin-left: 0;
  }

  #toc_container ul.toc_list>li>ul>li>ul>li>a {
    font-size: 1.4rem;
  }

  .column-hot-post .post-item .post-item-tag button.column-tag {
    font-size: 1.1rem;
  }

  .column-sidebar {
    width: 100%;
    margin: 0 auto 0;
    padding: 0 10px;
  }

  .column-section {
    width: 100%;
    margin: 30px auto 0;
    padding: 0 10px;
  }

  .column-section .column-hot-post .post-list {
    padding: 0 0.8rem;
    margin-bottom: 1rem;
  }

  .bg-cta {
    font-size: 1.6rem;
  }

  .search {
    margin-bottom: 50px !important;
  }

  .column-section .post-list .post-item {
    margin-bottom: 1.875rem;
  }

  .column-section .post-list {
    gap: 0;
  }

  .contact-section .advertisement a .custom-icon {
    /* margin-top: 8px; */
    margin-right: 10px;
  }

  .column-section .contact-section {
    padding: 3rem 1rem;
  }

  .btn-slide {
    height: 5rem;
  }
}

.sp-only {
  display: none;
}

@media screen and (min-width: 376px) and (max-width: 430px) {
  /* .column-section {
    width: 90% !important;
  } */

  .fs-mb-23 {
    font-size: 2rem !important;
  }

  .column-sidebar {
    width: 95% !important;
    margin: 0 auto;
  }

  .sp-only {
    display: block;
  }

  .column-section .contact-section #about {
    margin-bottom: 1rem;
    font-size: 1.6rem;
  }

  .bg-cta {
    font-size: 1.8rem;
  }
}

.active-tag {
  background-color: #212c5c !important;
  color: #ffff !important;
}

/* Custom css wp */
.wp-block-group {
  margin-bottom: 5rem;
  /* margin-top: -2rem; */
}

.has-background {
  border: 1px solid #42719b !important;
  padding: 2rem 1rem;
}

.wp-block-group p {
  margin-top: -2rem;
  margin-bottom: 0 !important;
}

.wp-block-group p,
.wp-block-group ul li,
.wp-block-group ol li {
  font-size: 1.7rem !important;
  /* font-weight: bold; */
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", Roboto,
    "Droid Sans", "Yu Gothic", Meiryo, "Meiryo UI", sans-serif;
}

/* .wp-block-group ul, .wp-block-group ol {
  margin-top: -3rem;
} */

.wp-block-group ul li,
.wp-block-group ol li {
  padding-left: 2rem;
  list-style: inside;
}

.wp-block-group ol li {
  padding-left: 1rem !important;
  margin-left: 5rem;
  list-style: decimal;
}

.fs-title a {
  color: #0d6efd;
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", Roboto,
    "Droid Sans", "Yu Gothic", Meiryo, "Meiryo UI", sans-serif;
  transition: all 0.2s linear;
}

.fs-title a:hover {
  text-decoration: underline;
  opacity: 0.8;
}

.wp-block-table {
  margin-bottom: 5rem;
  margin-top: 0rem;
}

.wp-block-table table {
  width: 100%;
  font-weight: bold;
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", Roboto,
    "Droid Sans", "Yu Gothic", Meiryo, "Meiryo UI", sans-serif;
}

.list-custom-group {
  margin-top: -3rem !important;
  margin-bottom: 3rem !important;
}

.list-custom-group p {
  padding-left: 5rem !important;
}

.wp-block-table td,
.wp-block-table th {
  font-size: 1.6rem !important;
}

/* mark[style="background-color:#cf2e2e"] {
  background-color: red !important;
  font-weight: bold;
}

mark[style="background-color:#ff8383"] {
  background-color: red !important;
  font-weight: bold;
}

mark[style="background-color:#fcb900"] {
  background-color: yellow !important;
  font-weight: bold;
}

mark[style="background-color:#fff27b"] {
  background-color: yellow !important;
  font-weight: bold;
} */
mark[style="background-color:#cf2e2e"] {
  background-color: transparent !important;
  font-weight: bold;
  text-decoration: underline;
  text-decoration-color: #0d6efd;
  text-decoration-thickness: 2px;
}

mark[style="background-color:#ff8383"] {
  background-color: transparent !important;
  font-weight: bold;
  text-decoration: underline;
  text-decoration-color: #0d6efd;
  text-decoration-thickness: 2px;
}

mark[style="background-color:#fcb900"] {
  background-color: transparent !important;
  font-weight: bold;
  text-decoration: underline;
  text-decoration-thickness: 2px;
}

mark[style="background-color:#fff27b"] {
  background-color: transparent !important;
  font-weight: bold;
  text-decoration: underline;
  text-decoration-thickness: 2px;
}

.post-item-tag {
  display: flex;
  gap: 0 0.5rem;
  flex-wrap: wrap;
}

.custom-active {
  color: initial !important;
}

.custom-active:hover {
  color: #212c5c !important;
}

.scroll-fixed {
  position: fixed;
  top: 70;
}

.disabled {
  pointer-events: none;
  cursor: pointer;
  opacity: 0.5;
}

small.fs-8percent {
  font-size: 80% !important;
}

#last-cta {
  width: 367px;
}

/* responsive screen from 1200px to 1400px */
@media screen and (min-width: 1200px) and (max-width: 1399px) {
  .sidebar {
    padding: 0;
  }

  .sidebar .fs-20 {
    font-size: 1.8rem !important;
  }

  .sidebar .fs-16 {
    font-size: 1.5rem !important;
  }

  .column-section .contact-section #about {
    font-size: 1.6rem;
  }

  .bg-cta {
    font-size: 1.8rem;
  }

  .column-section .contact-section #about::before {
    left: 2rem;
  }

  .column-section .contact-section #about::after {
    right: 2rem;
  }

  .column-section .contact-section #contact {
    font-size: 1.8rem;
  }

  .column-section .contact-section .advertisement {
    font-size: 1.8rem;
    padding: 0 2rem 0;
  }

  .svg-contact_phone {
    margin-top: 4px;
  }

  .contact-section .advertisement a .custom-icon {
    margin-top: 4px;
  }

  .fs-mb-23 {
    font-size: 2.3rem !important;
  }
}

@media screen and (max-width: 375px) {
  .fs-mb-23 {
    font-size: 1.8rem !important;
  }
}

/* Media query for iPhone SE */
@supports (-webkit-overflow-scrolling: touch) {
  @media only screen and (min-device-width: 320px) and (max-device-width: 568px) and (-webkit-min-device-pixel-ratio: 2) {
    .sp-only {
      display: block;
    }
  }
}

/* 2024.10 tableのスタイル */
table.has-white-background-color thead {
  background-color: #212C5C;
}

table.has-white-background-color thead th {
  color: white;
  border: #212C5C 1px solid;
}

table.has-white-background-color thead th:not(:last-child) {
  border-right: white 1px solid !important;
}

.column2 table thead tr th {
  width: 50%;
}

.column3 table thead tr th {
  width: 33%;
}

.column4 table thead tr th {
  width: 25%;
}

.column5 table thead tr th {
  width: 20%;
}

/* faq */
.faq {
  margin-bottom: 30px;
}

.faq__item {
  display: block;
  cursor: pointer;
  position: relative;
  padding-bottom: 16px;
  height: auto;
}

.faq__summary {
  list-style: none;
  cursor: pointer;
  font-weight: 700;
  position: relative;
  padding-right: 28px;
  display: block;
  cursor: pointer;
  position: relative;
  padding: 12px 20px;
  background: #d5d5d5;
  height: auto;
  color: rgb(31 44 92 / var(--tw-text-opacity, 1));
  font-weight: 700;
  /* font-size: 17px; */
  font-size: 1.7rem;
  /* font-weight: 500; */
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", Roboto,
    "Droid Sans", "Yu Gothic", Meiryo, "Meiryo UI", sans-serif;
}

.faq__summary::-webkit-details-marker {
  display: none;
}

.faq__summary::before,
.faq__summary::after {
  content: "◢";
  position: absolute;
  right: 1rem;
  top: 0;
  bottom: 10px;
  margin: auto 0;
  width: 16px;
  height: 3px;
  color: #1A2C59;
}

details[open] .faq__summary::after {
  color: #fff;
}

.faq__answer {
  line-height: 1.8;
  font-size: 16px;
  margin: 20px 0;
  padding-left: 20px;
  font-size: 1.7rem;
  font-weight: 500;
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", Roboto,
    "Droid Sans", "Yu Gothic", Meiryo, "Meiryo UI", sans-serif;
}

.faq__summary:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

/* 404 page */
.main_news {
  padding-top: 64px;
}

.container_news_column::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  top: 0;
  bottom: 0;
  background-image: url(../img/news/mask-group.webp);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  z-index: -1;
}

.news-404-section h1,
.news-404-section h2,
.news-404-section h3,
.news-404-section h4,
.news-404-section h5,
.news-404-section h6,
.news-404-section p {
  font-family: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", Roboto, "Droid Sans", "Yu Gothic", Meiryo, "Meiryo UI", sans-serif;
}

.news-404-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding-bottom: 100px;
}

.news-404-section_title {
  padding-top: 60px;
  font-size: 48px;
  font-weight: 500;
  padding-bottom: 10px;
}

.news-404-section_description {
  font-size: 20px;
  font-weight: 600;
  margin-top: 20px;
}

.news-404-section_title_underline {
  width: 240px;
  height: 4px;
  background-color: #2f7df6;
  margin: 0 auto;
}

.news-404-section_content_text {
  font-size: 16px;
  font-weight: 400;
  text-align: center;
  line-height: 2.2;
}

.news-404-section_content_text a {
  color: #178fff;
}

@media (max-width: 1200px) {

  .column-section .column-hot-post .hot-post-detail-container,
  .column-section .column-related-post .related-post-detail-container {
    flex-direction: column;
  }

  .column-section .column-hot-post .hot-post-detail-left,
  .column-section .column-hot-post .hot-post-detail-right,
  .column-section .column-related-post .related-post-detail-left,
  .column-section .column-related-post .related-post-detail-right {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .news-404-section_title {
    padding-top: 30px;
    font-size: 30px;
  }

  .news-404-section_content_text {
    padding: 0 20px;
  }

  .news-404-section_title_underline {
    width: 160px;
  }

  .news-404-section_content_text {
    line-height: 2;
  }

  .news-404-section {
    padding-bottom: 60px;
  }
}