.page_contents {
  padding: 200px 0 0;
  margin: 0 auto;
  max-width: 1300px;
}

.page_contents h1 {
  font-size: 36px;
  margin-top: 50px;
}

.page_contents h2 {
  font-size: 28px;
  margin-top: 50px;
}

.page_contents h1 span,
.page_contents h2 span {
  color: #036eb8;
  font-size: 20px;
  font-weight: bold;
}

.posts_list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 50px 5%;
  position: relative;
}

.posts_list_bg {
  position: absolute;
  top: -25%;
  right: -10%;
  width: 60%;
  z-index: -1;
}

/* お知らせページ・アーカイブの見出し（英語表記） */
.page_title span {
  color: #036eb8;
  font-size: 20px;
  font-weight: bold;
}

/* COMPANY ページ　*/

.company_page {
  max-width: unset;
  position: relative;
}

.company_page .posts_list_bg {
  top: 28%;
  left: -15%;
  width: 100%;
  z-index: -1;
}

.company_page .agent_bg {
  position: absolute;
  top: 28%;
  right: -10%;
  width: 60%;
  z-index: -1;
}

.company_page .agent_bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
  z-index: -1;
}

.company_section_01,
.company_section_02,
.company_section_03,
.company_section_04,
.company_section_05 {
  max-width: 1300px;
  padding: 0 5%;
  margin: 0 auto;
}

.company_section_01 {
  padding: 0 4%;
}

.company_section_01_inner {
  width: 100%;
  margin: 0 auto;
  padding-top: 50px;
  text-align: justify;
  gap: 70px;
}

.company_section_01_inner div {
  width: 100%;
}

.company_section_01_inner img {
  width: 25%;
  border-radius: 24px;
  object-fit: cover;
}

.company_section_01_inner h2 {
  margin-bottom: 40px;
}

.company_section_01_inner p {
  line-height: 1.8;
  margin-bottom: 0.5rem;
}

.company_section_01_inner .ceo_name {
  margin-top: 30px;
}

.company_section_02 {
  max-width: 1300px;
  padding: 0;
}

.company_section_02 ul {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 50px;
}

.company_section_02 ul li {
  padding: 40px 0 50px 5%;
  border-bottom: 1px solid #999;
  margin-left: 5%;
}

.company_section_02 ul li:nth-child(even) {
  margin-left: 0;
  margin-right: 5%;
}

.company_section_02 ul li h2,
.company_section_03 h2,
.company_section_04 h2 {
  font-size: 28px;
  color: #036eb8;
  position: relative;
  margin-bottom: 30px;
}

.company_section_02 ul li h2:before {
  content: '';
  display: inline-block;
  width: 30px;
  height: 3px;
  background: #fff100;
  position: absolute;
  bottom: -10px;
  left: 0;
}

.company_section_02 ul li h2 span,
.company_section_03 h2 span,
.company_section_04 h2 span {
  font-size: 20px;
  margin-left: 20px;
  color: #2f88c5;
}

.company_section_03 h2,
.company_section_04 h2 {
  padding: 0 5%;
}

.company_section_03 ul .flex,
.company_section_04 ul .flex {
  gap: 30px;
  justify-content: center;
}

.company_section_03 ul .flex:first-child,
.company_section_04 ul .flex:first-child {
  margin-bottom: 30px;
}

.company_section_03 ul li,
.company_section_04 ul li {
  list-style: none;
  text-align: center;
  width: 33.3%;
  padding: 30px 50px;
}

.company_section_03 {
  padding: 50px 0;
  position: relative;
}

.company_section_03::before {
  content: '';
  width: 300%;
  height: 3px;
  background: #fff;
  position: absolute;
  bottom: 0;
  left: -100%;
}

.company_section_03 ul li {
  background: #2f88c5;
  border-radius: 16px;
}

.company_section_03 ul li h3 {
  color: #fff100;
  font-size: 20px;
  margin-bottom: 10px;
  font-weight: bold;
}

.company_section_03 ul li p {
  color: #fff;
}

.company_section_04 {
  padding: 50px 0 100px;
}

.company_section_04 ul li {
  background: #e8f4fa;
  border-radius: 8px;
}

.company_section_04 ul li h3 {
  font-size: 20px;
  margin-bottom: 10px;
  font-weight: bold;
}

.company_section_04 ul li h3 span {
  color: #036eb8;
}

.company_section_05 {
  background: #e8f4fa;
  border-radius: 16px;
  max-width: 1400px;
  padding: 0;
}

.company_section_05_inner {
  display: flex;
  justify-content: space-between;
  padding: 100px 5% 70px;
  max-width: 1300px;
  margin: 0 auto;
  position: relative;
}

.company_section_05 img {
  position: absolute;
  bottom: 0;
  left: -30px;
  width: 35%;
}

.company_section_05 dl {
  width: 65%;
}

.company_section_05 dl .flex {
  justify-content: flex-start;
  padding: 15px 0;
  border-bottom: 1px solid #999;
}

.company_section_05 dl .flex:last-child {
  border-bottom: none;
}

.company_section_05 dl dt {
  width: 300px;
  padding-left: 20px;
}

.company_section_05 dl dd a {
  color: #036eb8;
  text-decoration: none;
}

.company_section_05 dl dd a:hover {
  text-decoration: underline;
}

.company_section_06 {
  position: relative;
  margin: 50px 0;
}

.company_section_06::before {
  content: '';
  width: 100%;
  height: 100%;
  background: url(../images/company/company_section_06_bg.jpg) no-repeat center center;
  background-size: cover;
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: -1;
}

.company_section_06 .company_section_06_inner {
  text-align: center;
  max-width: 1300px;
  padding: 30px 5% 75px;
  margin: 0 auto;
}

.company_section_06 h2 {
  text-align: center;
}

.company_section_06 dl {
  display: block;
  margin: 30px auto;
  width: 700px;
}

.company_section_06 dl div {
  padding: 20px 30px;
  border-bottom: 1px solid #999;
}

.company_section_06 dl div:last-child {
  border-bottom: none;
}

.company_section_06 dl div dt {
  width: 200px;
  text-align: left;
}

.company_section_06 img {
  width: 100%;
}

.company_section_07 h2 {
  font-size: 36px;
  margin: 30px 0;
}

.company_section_07 .right h3 {
  font-size: 20px;
  margin: 0 0 12px;
}

.company_section_07 .flex {
  padding: 30px 5%;
  gap: 150px;
  border-radius: 16px;
  max-width: 1300px;
  margin: 30px auto;
}

.company_section_07 .flex div p {
  font-size: 14px;
  line-height: 1.8;
}

.company_section_07 .flex:first-child {
  background: #2f88c5;
  color: #fff;
  margin-bottom: 30px;
}

.company_section_07 .flex:last-child {
  background: #2db2ad;
  color: #fff;
  margin: 30px auto;
}

.company_section_07 .flex:first-child div .en {
  color: #036eb8;
  font-size: 36px;
  line-height: 1.2;
}

.company_section_07 .flex:last-child div .en {
  color: #00a29a;
  font-size: 36px;
  line-height: 1;
}

.company_section_07 .left {
  width: 30%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.company_section_07 .right {
  width: 60%;
}

.company_section_07 .flex:first-child .right div a,
.company_section_07 .flex:last-child .right div a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  text-decoration: none;
  padding: 20px 50px;
  border-radius: 24px;
  font-size: 18px;
}

.company_section_07 .flex:first-child .right div a {
  background: #036eb8;
  transition: opacity 0.3s ease;
}

.company_section_07 .flex:first-child .right div a:hover {
  opacity: 0.5;
}

.company_section_07 .flex:last-child .right div a {
  background: #006934;
  transition: opacity 0.3s ease;
}

.company_section_07 .flex:last-child .right div a:hover {
  opacity: 0.5;
}

.company_section_07 .flex:first-child .right div a div,
.company_section_07 .flex:last-child .right div a div {
  display: flex;
  align-items: center;
  justify-content: center;
}

.company_section_07 .flex:first-child .right div a div img,
.company_section_07 .flex:last-child .right div a div img {
  width: 40px !important;
  object-fit: contain;
  margin-right: 50px;
}

.company_section_07 .flex:first-child .right div a img:last-child,
.company_section_07 .flex:last-child .right div a img:last-child {
  width: 15px;
  object-fit: contain;
}

.company_section_07 .flex .right div {
  margin: 20px 0;
}

.company_section_07 .flex .right div:last-child {
  margin: 20px 0 0;
}

/* グループ会社ページ */
.group_page .section_wrap {
  margin-left: auto;
  margin-right: auto;
}

.group_logo {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 50px;
  position: relative;
  right: 45px;
}

.group_logo img {
  position: relative;
  width: 144px;
  left: 75px;
  bottom: 15px;
}

.group_logo h2 {
  color: #333 !important;
  font-size: 44px !important;
  font-weight: bold;
  margin: 0;
  position: relative;

}

.group_page .group_list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1.5rem;
}

.group_page .group_list>li {
  text-indent: 0;
  padding-left: 0;
  margin-bottom: 0;
}

.group_company_card a {
  display: flex;
  width: 100%;
  align-items: center;
  position: relative;
  color: #333;
  text-decoration: none;
  border-radius: 12px;
  padding: 1.5rem 1.75rem;
  background: #e8f4fa;
  box-sizing: border-box;
  box-shadow: 0 2px 12px rgba(3, 110, 184, 0.06);
  transition: opacity 0.3s ease;
}

.group_company_card a:hover {
  opacity: 0.5;
}

.group_company_card img {
  width: 250px;
}

.group_company_card img:last-child {
  width: 50px;
  position: absolute;
  right: 1.75rem;
  top: 50%;
  transform: translateY(-50%);
}

.group_company_card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.5;
  display: block;
  width: 260px;
  margin: 0 50px;
  color: #333 !important;
}

.group_company_card p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.85;
  color: #333;
}

.group_company_card p+p {
  margin-top: 0.75rem;
}

.group_company_card a:hover {
  text-decoration: none;
}

.group_company_card dl {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.group_company_card dl div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.group_company_card dl div dt {
  width: 146px;
  color: #fff;
  background-color: #333;
  padding: 10px;
  font-size: 18px;
  font-weight: bold;
  border-radius: 8px;
  text-align: center;
}

.group_company_card dl div:last-child dt {
  background-color: #00a29a;
}

.group_company_card dl div dd ul li {
  font-size: 12px;
}

/*　住宅プランページ　*/

.housing_section_01,
.housing_section_02,
.housing_section_03 {
  padding: 30px 5% 50px;
}

.housing_section_01 {
  padding: 0 5% 100px;
}

.housing_section_01 h1 {
  padding-bottom: 50px;
  position: relative;
}

.housing_section_01 h1 img {
  position: absolute;
  bottom: -100px;
  right: -20%;
  width: auto;
  height: 450px;
  object-fit: contain;
}

.housing_section_01 h2 {
  color: #036eb8;
  font-size: 28px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.housing_section_01 h2 span {
  font-size: 48px;
}

.housing_section_01 .list_01 {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.housing_section_01 .list_01_item {
  background: #e8f4fa;
  padding: 20px;
  border-radius: 16px;
  height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.housing_section_01 .list_01_item img {
  width: auto;
  height: 100px;
  object-fit: contain;
  margin: 20px auto;
  display: block;
}

.housing_section_01 .list_01_item:nth-child(n+5) img {
  height: 80px;
}

.housing_section_01 .list_01_item:nth-child(6) img {
  height: 72px;
}

.housing_section_01 .list_01_item p {
  text-align: center;
  font-weight: bold;
}

.housing_section_01 .list_01_item:nth-child(4) p {
  font-size: 14px;
}

.housing_section_01 .list_01_txt {
  font-size: 12px;
  color: #999;
  margin-top: 10px;
}

.housing_section_01_02 {
  gap: 30px;
  margin: 50px 0;
}

.housing_section_01_02 div:last-child {
  width: 30%;
  background: #e8f4fa;
  border-radius: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.housing_section_01_02 div:last-child img {
  width: auto;
  height: 100px;
  object-fit: contain;
}

.housing_section_01_wrap {
  margin: 50px 0;
}

.housing_section_01_03,
.housing_section_01_04 {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 30px;
}

.housing_section_01_03 {
  padding-right: 50px;
  border-right: 1px solid #999;
}

.housing_section_01_04 {
  padding-left: 50px;
}

.housing_section_01_03 div .white_bg,
.housing_section_01_04 div .white_bg {
  background: #e8f4fa;
  border-radius: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.housing_section_01_03 div img,
.housing_section_01_04 div img {
  height: 100px;
}

.housing_section_01_03 div:last-child p,
.housing_section_01_04 div:last-child p {
  font-size: 14px;
  color: #999;
  margin-top: 10px;
}

.housing_section_01_05 h2 .small_text {
  font-size: 16px;
  margin-left: -20px;
  margin-bottom: 0 !important;
  color: #000;
}

.housing_section_01 .list_02 {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.housing_section_01 .list_02 li {
  background: #e8f4fa;
  padding: 20px;
  font-size: 16px;
  font-weight: bold;
  border-radius: 16px;
  height: 184px;
}

.housing_section_01 .list_02 li p:first-child {
  font-size: 14px;
  text-align: center;
}

.housing_section_01 .list_02_item {
  display: flex;
  flex-direction: column;
  justify-content: end;
  align-items: center;
}

.housing_section_01 .list_02_item.yellow_bg {
  background: rgba(255, 241, 0, 0.5);
  justify-content: space-between;
}

.housing_section_01 .list_02_item:nth-child(2) img {
  height: 95px;
}

.housing_section_01 .list_02_item:nth-child(3) img {
  height: 65px;
}

.housing_section_01 .list_02_item:nth-child(4) img {
  height: 75px;
}

.housing_section_01 .list_02_item:nth-child(6) img,
.housing_section_01 .list_02_item:nth-child(7) img {
  height: 60px;
  margin: 10px auto;
}

.housing_section_01 .list_02_item:nth-child(9) img {
  height: 68px;
}

.housing_section_01 .list_02 li:last-child {
  grid-column: span 3;
  background: none;
  height: auto;
}

.housing_section_01 .list_02 li ul li {
  background: none;
  height: auto;
  list-style: none;
  font-size: 12px;
  color: #999;
  padding: 0;
  font-weight: 400;
  line-height: 1.5;
}

.housing_section_01 .list_02_item img {
  width: auto;
  height: 100px;
  object-fit: contain;
  margin: 0 auto 20px;
  display: block;
}

.course_price_section {
  margin-top: 50px;
}

.course_price_section h3 {
  display: flex;
  align-items: center;
  font-size: 18.6px;
  font-weight: bold;
  margin-bottom: 10px;
}

.course_price_section h3 span {
  color: #036eb8;
}

.course_price_section_link a {
  background: #e8f4fa;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #333;
  text-decoration: none;
  width: 50%;
  padding: 20px;
  border-radius: 16px;
  transition: opacity 0.3s ease;
  margin-top: 30px;
}

.course_price_section_link a:hover {
  opacity: 0.5;
}

.course_price_section_link a img {
  width: 30px;
}

.course_price_section_link a h4 {
  font-size: 18px;
}

.housing_section_02 {
  padding: 30px 5% 50px;
  background: #e8f4fa;
  border-radius: 24px;
  max-width: 1300px;
  margin: 0 auto;
}

.housing_section_02 h2 {
  text-align: center;
  font-size: 28px;
  margin-bottom: 30px;
}

.housing_section_02 ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 1300px;
  margin: 0 auto;
}

.housing_section_02_item {
  list-style: none;
  padding: 30px 50px;
  border: 3px solid #2f88c5;
  border-radius: 16px;
  position: relative;
}

.housing_section_02_item h3 {
  font-size: 20px;
  margin-bottom: 20px;
  font-weight: bold;
  color: #2f88c5;
}

.housing_section_02_item p {
  font-size: 14px;
}

.housing_section_02_item img {
  position: absolute;
  top: 20px;
  right: 50px;
  width: auto;
  height: 50px;
  object-fit: contain;
}

.housing_section_03 {
  max-width: 1300px;
  margin: 0 auto;
}

.housing_section_03 h2 span {
  color: #2f88c5;
}

.housing_section_03 ul {
  list-style-position: inside;
  margin-top: 10px;
}

.housing_section_03 ul li {
  font-size: 14px;
  text-indent: -1.5em;
  padding-left: 2em;
  line-height: 1.8;
}

/* 店舗プランページ（housing に合わせた構成） */

.shop_section_01,
.shop_section_02,
.shop_section_03 {
  padding: 30px 5% 50px;
}

.shop_section_01 {
  padding: 0 5% 100px;
}

.shop_section_01 h1 {
  padding-bottom: 50px;
  position: relative;
}

.shop_section_01 h1 img {
  position: absolute;
  bottom: -70px;
  right: -20%;
  width: auto;
  height: 300px;
  object-fit: contain;
}

.shop_section_01 h2 {
  color: #036eb8;
  font-size: 28px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.shop_section_01 h2 span {
  font-size: 48px;
}

.shop_section_01 .list_01 {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.shop_section_01 .list_01_item {
  background: #e8f4fa;
  padding: 20px;
  border-radius: 16px;
  height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.shop_section_01 .list_01_item img {
  width: auto;
  height: 100px;
  object-fit: contain;
  margin: 0 auto 20px;
  display: block;
}

.shop_section_01 .list_01_item:nth-child(n+5) img {
  height: 80px;
}

.shop_section_01 .list_01_item:nth-child(5) img {
  position: relative;
  left: 10px;
}

.shop_section_01 .list_01_item:nth-child(6) img {
  height: 77px;
  position: relative;
  left: 10px;
}

.shop_section_01 .list_01_item p {
  text-align: center;
  font-weight: bold;
}

.shop_section_01 .list_01_item:nth-child(4) p {
  font-size: 14px;
}

.shop_section_01 .list_01_txt {
  font-size: 12px;
  color: #999;
  margin-top: 10px;
}

.shop_section_01 .list_01 li:last-child {
  grid-column: span 2;
  background: none;
  color: #999;
  font-size: 12px;
  height: auto;
  justify-content: end;
  align-items: flex-start;
  text-align: left;
  padding: 0 0 0 40px;
}

.shop_section_01 .list_01 li:last-child p {
  color: #999;
  font-size: 12px;
  font-weight: 400;
  text-align: left;
  line-height: 1.5;
}

.shop_section_01_wrap {
  margin: 50px 0;
}

.shop_section_01_block {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 30px;
}

.shop_section_01_block .white_bg {
  background: #e8f4fa;
  border-radius: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.shop_section_01_block .white_bg img {
  width: auto;
  height: 100px;
  object-fit: contain;
}

.shop_section_01_block div:last-child p {
  font-size: 14px;
  color: #999;
  margin-top: 10px;
}

.shop_section_01_wrap .shop_section_01_block:first-child {
  padding-right: 50px;
  border-right: 1px solid #999;
}

.shop_section_01_wrap .shop_section_01_block:last-child {
  padding-left: 50px;
}

.shop_section_02 {
  padding: 30px 5% 50px;
  background: #e8f4fa;
  border-radius: 24px;
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.shop_section_02 h2 {
  grid-column: 1 / -1;
  text-align: center;
  font-size: 28px;
  margin-bottom: 0;
}

.shop_section_02_item {
  padding: 30px 50px;
  border: 3px solid #2f88c5;
  border-radius: 16px;
  position: relative;
}

.shop_section_02_item img {
  position: absolute;
  top: 20px;
  right: 50px;
  width: auto;
  height: 50px;
  object-fit: contain;
}

.shop_section_02_item h3 {
  font-size: 20px;
  margin-bottom: 20px;
  font-weight: bold;
  color: #2f88c5;
}

.shop_section_02_item p {
  font-size: 14px;
}

.shop_section_03 {
  max-width: 1300px;
  margin: 0 auto;
}

.shop_section_03 h2 span {
  color: #2f88c5;
}

.shop_section_03 ul {
  list-style-position: inside;
  margin-top: 10px;
}

.shop_section_03 ul li {
  font-size: 14px;
  text-indent: -1.5em;
  padding-left: 2em;
  line-height: 1.8;
}

/* 代理店ページ */

.agent {
  position: relative;
}

.agent .posts_list_bg {
  top: 60%;
  left: -15%;
  width: 100%;
  z-index: -1;
}

.agent .agent_bg {
  position: absolute;
  top: 60%;
  right: -10%;
  width: 60%;
  z-index: -1;
}

.agent .agent_bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
  z-index: -1;
}

.agent h2 {
  padding: 0 5%;
}

.agent_section_01_txt {
  position: relative;
  height: 500px;
  margin: 50px 0;
}

.agent_section_01_txt img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
  z-index: -1;
}

.agent_section_01_txt_inner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.agent_section_01_txt_inner h2 {
  font-size: 48px;
  color: #172a88;
  font-weight: bold;
  margin-bottom: 50px;
  padding: 0;
}

.agent_section_01_txt_inner h2 span {
  position: relative;
  font-size: 48px;
  color: #172a88;
}

.agent_section_01_txt_inner h2 span::before {
  content: '・';
  position: absolute;
  top: -45px;
  left: 50%;
  transform: translateX(-50%);
  color: #2db2ad;
  font-size: 48px;
  padding: 0;
}

.agent_section_01_txt_inner h3 {
  font-size: 24px;
}

.agent_section_02 h2 {
  text-align: center;
  margin-bottom: 75px;
  color: #036eb8;
  font-size: 20px;
  line-height: 1.8;
}

.agent_section_02 h2 span {
  font-size: 24px;
  letter-spacing: 1.5px;
}

.agent_section_02 h2 .green {
  color: #2db2ad;
  font-size: 36px;
  font-weight: bold;
  position: relative;
}

.agent_section_02 h2 .wave01::before {
  content: '';
  background: url('../images/agent/wave01.svg') no-repeat center center;
  width: 100%;
  height: 100%;
  position: absolute;
  bottom: -30px;
  left: 0;
}

.agent_section_02 h2 .wave02::before {
  content: '';
  background: url('../images/agent/wave02.svg') no-repeat center center;
  width: 100%;
  height: 100%;
  position: absolute;
  bottom: -30px;
  left: 0;
}

.agent_section_02 ul {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  list-style: none;
  padding: 0 5%;
  margin: 0 0 50px;
}

.agent_section_02 ul li {
  list-style: none;
  flex: 1;
  min-width: 200px;
  background: #e8f4fa;
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
  gap: 16px;
  position: relative;
}

.agent_section_02 ul li h3 {
  margin: 0;
  font-size: 20px;
  background: #036eb8;
  color: #fff;
  position: relative;
  display: block;
  padding: 10px 15px;
  border-radius: 8px;
  position: absolute;
  top: -24.5px;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  text-align: center;
}

.agent_section_02 ul li img {
  width: auto;
  height: 120px;
  object-fit: contain;
  margin: 30px 0 0;
}

.agent_section_02 ul li:first-child img {
  height: 80px;
}

.agent_section_02 ul li:nth-child(2) img {
  margin: 0;
}

.agent_section_02 ul li:nth-child(3) img {
  height: 100px;
}

.agent_section_02 ul li p {
  margin: 0;
  font-size: 18px;
  line-height: 1.6;
  text-align: center;
}

.agent_section_02 ul li span {
  color: #036eb8;
  font-weight: bold;
}

.agent_section_03 {
  background: #00a29a;
  justify-content: center;
  position: relative;
  border-radius: 16px;
  margin-bottom: 50px;
}

.agent_section_03 div {
  width: 50%;
}

.agent_section_03 div h2 {
  color: #fff;
  font-size: 36px;
  margin: 40px 0 0 100px;
}

.agent_section_03 img {
  width: 45%;
  position: absolute;
  bottom: 0;
  left: 80px;
}

.agent_section_03 ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  padding: 20px 30px;
}

.agent_section_03 ul li {
  list-style: none;
  color: #fff;
  background: #006934;
  padding: 10px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 80px;
}

.agent_section_04,
.agent_section_05 {
  text-align: center;
  width: 950px;
  margin: 0 auto 100px;
}

.agent_section_04 h2,
.agent_section_05 h2 {
  font-size: 36px;
  color: #036eb8;
}

.agent_section_04 p,
.agent_section_05 p {
  text-align: left;
  margin: 30px 0;
}

.agent_section_04 img {
  display: block;
  width: 100%;
}

/* 店舗・住宅の course_price_section_link に近いボタン（資料アイコンなし） */
.agent_section_05_link {
  display: flex;
  gap: 1.5rem;
  align-items: stretch;
  margin-top: 2rem;
  text-align: left;
}

.agent_section_05_link_item {
  width: calc(50% - 0.75rem);
}

.agent_section_05_link_item a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  box-sizing: border-box;
  width: 100%;
  min-height: 4.25rem;
  padding: 1.25rem 1.5rem;
  background: #e8f4fa;
  border-radius: 16px;
  color: #333;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.agent_section_05_link_item a:hover {
  opacity: 0.5;
}

.agent_section_05_link_item a h4 {
  flex: 1;
  margin: 0;
  font-size: 18px;
  font-weight: bold;
  line-height: 1.5;
  text-align: left;
}

.agent_section_05_link_item a img {
  width: 30px;
  height: auto;
  flex-shrink: 0;
  object-fit: contain;
}

/* 投稿一覧・アーカイブ */

.page_title {
  padding: 0 5%;
  position: relative;
}

.posts_list .entry_link {
  display: block;
  text-decoration: none;
  color: inherit;
  padding: 20px 40px;
  border-radius: 12px;
  background: #e8f4fa;
}

.posts_list .entry_title {
  margin: 0 0 8px;
  font-size: 1.25rem;
}

.posts_list .entry_meta {
  font-size: 0.875rem;
  color: #666;
  margin-bottom: 10px;
}

.posts_list .entry_summary {
  font-size: 0.9375rem;
  color: #333;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 50px;
}

.nav-links a {
  text-decoration: none;
  color: #036eb8;
  padding: 4px 10px;
  transition: opacity 0.3s ease;
}

.nav-links a:hover {
  opacity: 0.5;
}

.nav-links .current {
  background: #e8f4fa;
  border-radius: 4px;
  padding: 4px 10px;
}

.topics_section_title_list {
  display: flex;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
  position: absolute;
  bottom: 5px;
  left: 20%;
  flex-direction: unset !important;
}

.topics_section_title_list li a {
  text-decoration: none;
  color: #036eb8 !important;
}

.topics_section_title_list li a.is_active {
  font-weight: 700;
  color: #333 !important;
}

/* お知らせ詳細ページ */

.entry_meta {
  margin-top: 20px;
  position: relative;
}

.entry_content {
  margin-top: 50px;
  line-height: 1.8;
}

.entry_content h2,
.entry_content h3 {
  border-left: 5px solid #036eb8;
  padding-left: 10px;
  margin-bottom: 10px;
}

.entry_content h4 {
  margin-bottom: 10px;
  text-decoration: underline;
  text-decoration-color: #036eb8;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.3em;
  text-decoration-skip-ink: auto;
}

.entry_content img {
  width: 60%;
  margin: 0 auto;
  display: block;
}

.entry_content .posts_list_bg {
  top: 8%;
  right: -15%;
}

.entry_content a {
  color: #036eb8;
}

.entry_content p {
  margin-bottom: 10px;
}

.single_contents,
.not_found {
  padding: 0 5%;
}

/* お知らせ一覧（横並び：日付 / タイトル / 矢印） */
.posts_list .news_row_link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 30px;
  border-radius: 16px;
  transition: opacity 0.3s ease;
}

.posts_list .news_row_link:hover {
  opacity: 0.5;
}

.posts_list .news_row_left {
  display: flex;
  align-items: baseline;
  gap: 16px;
  min-width: 0;
}

.posts_list .news_row_left .posted_on {
  color: #036eb8;
  white-space: nowrap;
  width: 130px;
}

.posts_list .news_row_left .entry_title {
  margin: 0;
  font-size: 1rem;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.posts_list .news_row_arrow {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
}

.pagination .pagination_arrow {
  width: 24px;
  height: 24px;

}

/* ページネーション（矢印画像のみ／デザインは既存に従う） */
.pagination .pagination_arrow_icon,
.post_navigation_custom .pagination_arrow_icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  min-width: 24px;
  min-height: 24px;
  background-color: currentColor;
  /* 数字（リンク文字色）と同じ色になる */
  -webkit-mask: url(../images/arrow_white.svg) no-repeat center / contain;
  mask: url(../images/arrow_white.svg) no-repeat center / contain;
  vertical-align: middle;
  margin-bottom: 3px;
}

.post_navigation_custom .pagination_arrow_icon {
  margin-bottom: 0;
}

.pagination .prev .pagination_arrow_icon,
.post_navigation_custom .prev .pagination_arrow_icon {
  transform: rotate(180deg);
}

/* お知らせ詳細：前へ / 一覧 / 次へ */
.post_navigation_custom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 60px auto 60px;
  width: 40%;
}

.post_nav_item {
  flex: 1;
  display: flex;
}

.post_nav_item:first-child {
  justify-content: flex-start;
}

.post_nav_item:nth-child(2) {
  justify-content: center;
}

.post_nav_item:last-child {
  justify-content: flex-end;
}

.post_nav_link {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  min-width: 44px;
  min-height: 44px;
  color: #036eb8;
  /* 矢印（currentColor）が見えるように */
}

.post_nav_link.list {
  color: #036eb8;
  transition: opacity 0.3s ease;
}

.post_nav_link.prev,
.post_nav_link.next {
  transition: opacity 0.3s ease;
}

.post_nav_link.list:hover,
.post_nav_link.prev:hover,
.post_nav_link.next:hover {
  opacity: 0.5;
}

.post_nav_text {
  white-space: nowrap;
  font-size: 0.95rem;
}

.post_nav_link .pagination_arrow_icon {
  flex-shrink: 0;
}

.post_nav_placeholder {
  display: inline-block;
  min-width: 44px;
  min-height: 44px;
}

/* 規約関係 */

.section_wrap {
  padding: 0 5%;
  margin-bottom: 80px;
}

.section_wrap h1 {
  margin-bottom: 50px;
}

.section_wrap h2 {
  font-size: 18px;
  margin-top: 0;
}

.section_wrap ol,
.section_wrap ul {
  list-style-position: inside;
  line-height: 1.8;
  margin-top: 30px;
}

.section_wrap ol li,
.section_wrap ul li {
  text-indent: -1.1em;
  padding-left: 1em;
  margin-bottom: 20px;
}

.section_wrap ul li {
  list-style-type: none;
}

.section_wrap ol li ul,
.section_wrap ul li ul {
  margin-top: 0;
}

.section_wrap ul li ul li {
  margin-bottom: 0;
}

.section_wrap ol li ul li {
  list-style-type: none;
}

.section_wrap h2 {
  color: #2f88c5;
}

.customer_section,
.privacy_section {
  margin: 30px 0;
}

.customer_section h2,
.privacy_section h2 {
  margin-bottom: 10px;
}

.customer_section h3 {
  font-weight: 400;
  margin-top: 10px;
}

.privacy_section h3 {
  font-weight: 400;
  margin-top: 20px;
  margin-bottom: 10px;
}

.customer_section ul {
  margin-top: 10px;
  padding-left: 10px;
}

.privacy_section ul {
  margin-top: 10px;
}

.customer_section ul li,
.privacy_section ul li {
  margin-bottom: 10px;
  line-height: 1.5;
}

.customer_section a,
.privacy_section a {
  color: #036eb8;
}

.table_wrap {
  margin-top: 30px;
  margin-bottom: 50px;
}

.table_wrap div {
  width: 50%;
}

.table_wrap div ul {
  margin-top: 0;
}

.table_wrap div h4,
.table_wrap div ul li {
  margin-bottom: 0;
  padding: 5px;
  text-indent: 0;
  border-top: 1px solid #999;
  border-left: 1px solid #999;
  border-right: 1px solid #999;
}

.table_wrap div:last-child ul li,
.table_wrap div:last-child h4 {
  border-left: none;
}

.table_wrap div ul li:last-child {
  border-bottom: 1px solid #999;
}

.txt_large {
  font-size: 24px;
  text-decoration: underline;
  margin: 30px 0 10px;
}

/* FAQページ */

.faq {
  position: relative;
}

.faq .posts_list_bg {
  top: 40%;
  left: -15%;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 0.5;
}

.faq h1 {
  margin-bottom: 50px;
  padding: 0 5%;
}

.faq_section {
  margin: 0 auto 30px;
  padding: 0 5%;
}

.faq_section:last-child {
  margin-bottom: 50px;
}

.faq_heading {
  font-size: 24px;
  padding: 24px 0;
  position: relative;
  margin-bottom: 30px;
}

.faq_heading::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: -30px;
  background: url(../images/company/company_section_06_bg.jpg) no-repeat center top;
  width: 210%;
  height: 100%;
  z-index: -1;
  border-radius: 16px 0 0 16px;
}

.faq_item {
  border-radius: 12px;
  background: #e8f4fa;
  margin-bottom: 10px;
  /* overflow: hidden はモバイルで <details> 展開時にスクロールが固まることがあるため使わない */
  overflow: visible;
  overflow-anchor: none;
}

details.faq_item:not([open])>.faq_question {
  border-radius: 12px;
}

details.faq_item[open]>.faq_question {
  border-radius: 12px 12px 0 0;
}

details.faq_item[open]>.faq_answer {
  border-radius: 0 0 12px 12px;
}

.faq_question {
  list-style: none;
  cursor: pointer;
  position: relative;
  padding: 16px 44px 16px 16px;
  font-weight: 700;
  display: flex;
}

/* Chrome のデフォルトマーカー非表示 */
.faq_question::-webkit-details-marker {
  display: none;
}

.faq_question::after {
  content: '↓';
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  line-height: 1;
  color: #036eb8;
}

details[open]>.faq_question::after {
  content: '↑';
}

.faq_answer {
  padding: 16px 44px 16px 16px;
  color: #333;
  display: flex;
}

.faq_answer ul {
  margin: 10px 0 0;
  padding-left: 1.2em;
}

.faq_question span {
  margin-right: 50px;
}

.faq_answer span {
  margin-right: 53px;
}

/* お問い合わせページ */

.contactform {
  margin-top: 30px;
}

.contactform a {
  color: #036eb8;
}

.contactform table {
  width: 100%;
}

.contactform input[type="email"],
.contactform input[type="tel"],
.contactform input[type="text"],
.contactform input[type="date"],
.contactform select,
.contactform textarea {
  padding: 1em;
  font-size: 15px;
  font-family: unset;
  width: 100%;
  /* 通常は見えない枠（フォーカス時のみ #036eb8 が見える。1px 確保でズレ防止） */
  border: 2px solid transparent;
  border-radius: 8px;
  background: #e8f4fa;
  box-sizing: border-box;
}

.contactform input[type="email"]:focus,
.contactform input[type="tel"]:focus,
.contactform input[type="text"]:focus,
.contactform input[type="date"]:focus,
.contactform select:focus,
.contactform textarea:focus {
  border: 2px solid #036eb8;
  outline: none;
}

/* flex_start 行のみ上揃え（全体の th/td には適用しない） */
.contactform table tr.flex_start th,
.contactform table tr.flex_start td {
  vertical-align: top;
}

.contactform table tr.flex_start td .contactform-addlist {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

/* 住所：郵便番号・都道府県などラベル（dt）と入力欄（dd）の間 */
.contactform-table .contactform-addlist dt p {
  margin: 0 0 5px;
}

.contactform-table .contactform-addlist dd {
  margin-inline-start: 0;
}

.contactform-table .contactform-addlist dd p {
  margin: 0;
}

.contactform-table .flex_start {
  vertical-align: top;
}

.contactform table td,
.contactform table th {
  padding: .5rem 1rem;
}

.contactform-entext {
  display: none;
}

.contactform-note {
  margin: 10px 0 5px;
}

.contactform-table th {
  border: 1px solid var(--vk-color-border-hr);
  font-size: var(--vk-size-text);
  text-align: left;
  background-clip: padding-box;
  width: 30%;
}

.contactform-table th p {
  position: relative;
  /* 必須・任意ラベル（p::after）分の余白 */
  padding-right: 4.5rem;
  margin: 0;
}

.contactform-table .form_margin {
  margin-top: 10px;
}

/* 必須／任意は th ではなくラベル行（th > p）を基準に配置（テーブル内の th では containing block が不安定なため） */
.contactform-table th.contactform-required p::after,
.contactform-table th.contactform-unrequired p::after {
  display: block;
  position: absolute;
  font-size: 14px;
  font-weight: normal;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  padding: 5px 10px;
  line-height: 1;
  border-radius: 3px;
  white-space: nowrap;
}

.contactform-table th.contactform-required p::after {
  content: '必須';
  background: #f55555;
  color: #fff;
}

.contactform-table th.contactform-unrequired p::after {
  content: '任意';
  background: #eee;
  color: #888;
}

.contactform-table td {
  border: 1px solid var(--vk-color-border-hr);
}

/* お問い合わせ：確認・完了ページの本文（ショートコード含む） */
.contact_page_body {
  margin-top: 1.75rem;
}

.contact_page_body> :first-child {
  margin-top: 0;
}

/*
 * Contact Form 7 Multi-Step Forms (CF7MSM)
 * 確認ボタンが <div style="display:none;"> 内に出力され、JS より先に非表示のままになる場合の救済。
 * :has() 非対応ブラウザでは効かない場合があります。
 */
.page_contents .wpcf7-form div:has(input[name="_cf7msm_multistep_tag"]) {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-top: 1.75rem;
  gap: 0.5rem;
}

/* 戻る・送信と同一 .block 内にある multistep ラッパーはフレックス項目にしない（3 列目になり gap で右に空きが出るのを防ぐ） */
.page_contents .section_wrap .wpcf7-form .block.text-center>div:has(input[name="_cf7msm_multistep_tag"]) {
  display: contents !important;
  margin: 0 !important;
  gap: 0;
}

/* お問い合わせ：送信ボタン周り（Contact Form 7） */
.page_contents .section_wrap .wpcf7-form>p.mt-5 {
  margin-top: 2rem;
  margin-bottom: 0;
  line-height: 1.7;
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
  padding: 0 5%;
  box-sizing: border-box;
}

.page_contents .section_wrap .wpcf7-form .privacyText {
  margin: 1.25rem auto 0;
  max-width: 40rem;
  padding: 0 5%;
  box-sizing: border-box;
}

.page_contents .section_wrap .wpcf7-form .privacyText p {
  margin: 0;
}

.page_contents .section_wrap .wpcf7-form .block.text-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-top: 1.75rem;
  padding: 0 5% 2.5rem;
  box-sizing: border-box;
}

.page_contents .section_wrap .wpcf7-form .block.text-center>p {
  margin: 0;
  width: 100%;
  display: flex;
  justify-content: center;
}

/* 送信・戻るでサイズを揃える（枠 2px 込みで同じボックスになるよう送信にも同色 border） */
.page_contents .section_wrap .wpcf7-form input[type="submit"].wpcf7-submit,
.page_contents .section_wrap .wpcf7-form button[type="submit"].wpcf7-submit,
.page_contents .section_wrap .wpcf7-form input[type="button"],
.page_contents .section_wrap .wpcf7-form button[type="button"] {
  appearance: none;
  -webkit-appearance: none;
  padding: 1rem 2.25rem;
  width: 220px;
  max-width: 100%;
  min-width: 0;
  min-height: 3.5rem;
  font-size: 1rem;
  font-weight: 700;
  font-family: inherit;
  line-height: 1.4;
  border-radius: 8px;
  border-width: 2px;
  border-style: solid;
  box-sizing: border-box;
  cursor: pointer;
}

.page_contents .section_wrap .wpcf7-form input[type="submit"].wpcf7-submit,
.page_contents .section_wrap .wpcf7-form button[type="submit"].wpcf7-submit {
  color: #fff;
  background-color: #036eb8;
  border-color: #036eb8;
  transition: opacity 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.page_contents .section_wrap .wpcf7-form input[type="submit"].wpcf7-submit:hover,
.page_contents .section_wrap .wpcf7-form button[type="submit"].wpcf7-submit:hover {
  opacity: 0.5;
}

.page_contents .section_wrap .wpcf7-form input[type="button"],
.page_contents .section_wrap .wpcf7-form button[type="button"] {
  color: #036eb8;
  background-color: #fff;
  border-color: #036eb8;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.page_contents .section_wrap .wpcf7-form input[type="button"]:hover,
.page_contents .section_wrap .wpcf7-form button[type="button"]:hover {
  background-color: #e8f4fa;
}

/* 戻る・送信が同一 p 内にあるとき（横並び） */
.page_contents .section_wrap .wpcf7-form p:has(input[type="submit"]):has(input[type="button"]),
.page_contents .section_wrap .wpcf7-form p:has(button[type="submit"]):has(input[type="button"]) {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  justify-content: center;
  align-items: stretch;
}

/*
 * .block.text-center はデフォルト column のため、戻る＋送信が別 p のときは row に切り替え
 * reCAPTCHA 文言は下段いっぱいに折り返す
 */
.page_contents .section_wrap .wpcf7-form .block.text-center:has(input[type="button"]) {
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 1rem;
}

.page_contents .section_wrap .wpcf7-form .block.text-center:has(input[type="button"])>p:not(.recaptcha_policy) {
  width: auto;
  flex: 0 0 auto;
  max-width: 100%;
  display: flex;
  justify-content: center;
}

.page_contents .section_wrap .wpcf7-form .block.text-center:has(input[type="button"])>p.recaptcha_policy {
  flex: 1 1 100%;
  width: 100%;
  max-width: 36rem;
}

.page_contents .section_wrap .wpcf7-form .recaptcha_policy {
  margin: 0;
  max-width: 36rem;
  font-size: 0.75rem;
  line-height: 1.6;
  color: #666;
}

.page_contents .section_wrap .wpcf7-form .wpcf7-response-output {
  margin: 1.25rem auto 0;
  max-width: 40rem;
  padding: 0 5%;
  text-align: center;
  box-sizing: border-box;
  border: none;
}

.wpcf7-spinner {
  display: none !important;
}

.complete ul li {
  text-indent: 0;
  padding-left: 0;
  width: 50%;
}

.mt-5 a {
  color: #036eb8;
}