/*
Theme Name:   Corporate Standard Child Theme
Theme URI:    https://barbwire.co.jp/
Description:  Corporate Standard Child Theme
Author:       Barbwire Co., Ltd.
Author URI:   https://barbwire.co.jp/
Template:     corporate-standard-2
Version:      1.0.0
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
*/

/*2026　0414*/

:root {
  --sea-gradient: linear-gradient(to right, #0081e7, #005cae) border-box;
  --sea-gradient-alpha: linear-gradient(to right, rgb(0 131 233 / 80%), rgba(0 91 172 / 95%)) border-box;
  --emerald-gradient: linear-gradient(to right, #399a87, #05836e) border-box;
  --logo-green: #0b7650;
  --bg-gray: #f5f5f5;
  --light-gray: #a6a6a6;
  --middle-gray: #7f7f7f;
  --dark-gray: #595959;
}

a {
  color: var(--b-theme-color-1);
}

a:has(img):hover {
  filter: brightness(1.15);
  transition: filter 0.3s;
  opacity: 1;
}

#main-content .entry-content > [class*="-page-wrap"] > section,
#main-content .entry-content > section:not([class$="-page-wrap"]) {
  margin-top: 8rem;
}


@media (max-width: 767px) {
  .wp-block-cover .wp-block-cover__inner-container,
  .wp-block-cover-image .wp-block-cover__inner-container {
    padding-left: 0;
    padding-right: 0;
  }
  section.has-background {
    padding-top: 4rem;
  }
}

body.page .entry-content > .is-layout-flow > [class*="-page-wrap"] > *:first-child > section:not(:first-child),
body.page .entry-content > .is-layout-flow >  *:first-child > section:not(:first-child) {
  margin-top: 3rem;
}

.entry-content h2 + :is(div, section) {
  padding-left: 1rem;
  padding-right: 1rem;
}

.entry-content .wp-block-buttons {
  padding-left: 0;
  padding-right: 0;
}

.attention-text,
.attention-text a {
  color: red;
}

/**************************************
 * ヘッダ
 **************************************/
#site-header .header-meta {
  display: none !important;
}
#site-header .header-contents-upper {
  max-width: 100%;
  flex-wrap: wrap;
  row-gap: 1rem;
}
#site-header .header-logo {
  display: flex;
  align-items: left;
  flex-wrap: wrap;
  gap: 0.5rem;
  flex-direction: column;
}

/*******スマホ 767px以下********/
@media (max-width: 767px) {
  #site-header .header-logo {
    align-items: center;
    gap: 0.5rem;
    line-height: 1.5;
  }
}

#site-header .site-title {
  height: 45px;
}

/*******スマホ 767px以下********/
@media (max-width: 767px) {
  #site-header .site-title {
    height: 40px;
  }
}

#site-header .site-title img {
  height: 100%;
  width: auto;
}
#site-header .header-lead {
  font-size: 14px;
  letter-spacing: -0.01em;
}

/*******スマホ 767px以下********/
@media (max-width: 767px) {
  #site-header .header-lead {
    width: 340px;
    color: #05836e;
  }
}

#site-header .header-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

/*住所テキスト右寄せ*/
#site-header .header-address {
  margin-left: auto;
  letter-spacing: -0.01em;
}

#site-header .header-address span {
  padding-right: 8px;
}

/*******スマホ 1200px以下********/
@media (max-width: 1200px) {
  #site-header .header-address {
    margin-right: auto;
  }
}

/*******スマホ 767px以下********/
@media (max-width: 767px) {

  #site-header .header-address {
    display: none;
  }

}

#site-header .header-controls .header-address {
  font-size: 14px;
}

#site-header .header-controls .wp-block-buttons {
  gap: 0.5rem;
}

#site-header .header-controls .wp-block-buttons a {
  background: var(--sea-gradient);
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/*******スマホ 767px以下********/
@media (max-width: 767px) {
  #site-header .header-controls .wp-block-buttons a {
    font-size: 15px !important;
  }
}

#site-header .header-controls a:before {
  content: "";
  display: block;
  width: 18px;
  height: 18px;
  transform: translateY(-1px);
}

#site-header .header-controls .header-tel a:before {
  background: url("assets/img/common/icon-phone.png") no-repeat center / contain;
}

#site-header .header-controls .header-contact a:before {
  background: url("assets/img/common/icon-mail.png") no-repeat center / contain;
}

#site-header .header-controls .header-consultation a:before {
  background: url("assets/img/common/icon-consult.png") no-repeat center / contain;
}

#site-header .header-controls .header-consultation a {
  background: var(--emerald-gradient);
}

/*******スマホ 767px以下********/
@media (max-width: 767px) {
  #site-header .header-controls .header-consultation {
    width: 340px;
    text-align: center;
  }
  #site-header .header-controls .wp-block-buttons a {
    justify-content: center;
  }
}

@media (max-width: 1620px) {
  #site-header .header-controls {
    flex-direction: column-reverse;
    gap: 0.5rem;
  }
}

@media (max-width: 1230px) {
  #site-header .header-contents-upper {
    justify-content: center;
  }
}

@media (max-width: 767px) {
  #site-header .header-logo {
    flex-direction: column;
    gap: 0.5rem;
  }
}

/**************************************
 * グローバルメニュー
 **************************************/
#site-header .menu-global-menu-container {
  background: var(--b-theme-color-1) !important;
}

#site-header-fixed {
  background: linear-gradient(to right, #fff, #fff 5%, var(--b-theme-color-1) 25%) !important;
}

.main-navigation .global-menu-pc a,
.main-navigation .global-menu-pc a:hover {
  color: #fff !important;
}

.main-navigation .global-menu-pc .menu-item:before {
  content: "" !important;
  background: #fff;
  top: 0;
  transform: none;
  height: 100%;
}

.main-navigation .global-menu-pc .menu-item:last-child:after {
  content: "";
  display: block;
  width: 1px;
  height: 100%;
  background: #fff;
  position: absolute;
  right: 0;
  top: 0;
}
.main-navigation .global-menu-pc > .menu-item {
  position: relative;
}
#global-menu.global-menu-pc > .menu-item > a {
  justify-content: flex-start;
}

.main-navigation .global-menu-pc > .menu-item > .sub-menu {
  position: absolute;
  background: transparent !important;
  width: fit-content !important;
  padding-top: 24px !important;
  box-shadow: none !important;
  position-anchor: --menu-anchor;
  position-try-fallbacks: --submenu-align-right;
}
.main-navigation .global-menu-pc .sub-menu a {
  color: var(--b-theme-color-1) !important;
  white-space: nowrap;
}
.main-navigation .global-menu-pc > .menu-item > .sub-menu > li {
  border-width: 0 2px 0;
  border-style: solid;
  border-color: rgb(202 213 226 / 70%);
}
.main-navigation .global-menu-pc > .menu-item > .sub-menu > li:first-child {
  border-top-width: 2px;
}
.main-navigation .global-menu-pc > .menu-item > .sub-menu > li:last-child {
  border-bottom-width: 2px;
}

.main-navigation .global-menu-pc > .menu-item > .sub-menu > .menu-item > a {
  font-weight: 600 !important;
}

.main-navigation .global-menu-pc .sub-menu a:before {
  content: none !important;
}
.main-navigation .global-menu-pc > .menu-item > .sub-menu > li {
  background: var(--b-theme-color-2);
  position: relative;
}
.main-navigation .global-menu-pc > .menu-item > .sub-menu > li:first-child {
  padding-top: 1rem;
}
#global-menu {
  height: 3rem;
}
#global-menu > .menu-item > a {
  font-size: 1rem;
  height: 100%;
}
#global-menu > .menu-item > .sub-menu > li:last-child {
  padding-bottom: 1rem;
}
.main-navigation .global-menu-pc > .menu-item > .sub-menu li:before {
  content: none !important;
}
.main-navigation .global-menu-pc > .menu-item > .sub-menu > li:first-child:before {
  content: "" !important;
  position: absolute;
  top: -16px;
  left: 10%;
  background: var(--b-theme-color-2);
  width: 30px;
  height: 20px;
  clip-path: polygon(50% 0, 0% 100%, 100% 100%);
}

.main-navigation .global-menu-pc .menu-item:last-child:after {
  content: none;
}
.main-navigation .global-menu-pc > .menu-item > .sub-menu .sub-menu a {
  padding-right: 2rem;
}

.main-navigation .global-menu-pc > .menu-item > .sub-menu > .menu-item:has(> .sub-menu) > a {
  position: relative;
  padding-bottom: 4px;
}

.main-navigation .global-menu-pc > .menu-item > .sub-menu > .menu-item:has(> .sub-menu) > a:after {
  content: "";
  position: absolute;
  width: 90%;
  height: 1px;
  background: var(--b-theme-color-1);
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.main-navigation .global-menu-pc .sub-menu .sub-menu {
  padding: 0.5rem 0 !important;
}

.main-navigation .global-menu-pc .sub-menu .sub-menu a {
  padding-top: 2px;
  padding-bottom: 2px;
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: 2px;
}

.main-navigation .global-menu-pc .sub-menu .sub-menu a:before {
  content: "-" !important;
  transform: translateY(-2px);
}

.main-navigation a[href="#"] {
  pointer-events: none;
}

#global-menu-fixed > .menu-item > .sub-menu {
  left: -25px;
}

/**************************************
 * パンくずリスト
 **************************************/
.breadcrumbs {
  max-width: var(--wp--style--global--content-size);
  padding-left: var(--container-margin);
  padding-right: var(--container-margin);
  width: 100%;
  margin: 1.25rem auto 0;
  font-size: 0.9em;
  color: #57534d;
}

.breadcrumbs a {
  color: #57534d;
}

/**************************************
 * フッタ
 **************************************/
#site-footer {
  background: #002040;
}

body #site-footer {
  margin-top: 0;
}

#site-footer,
#site-footer a {
  color: #fff;
  font-size: 0.8125rem;
}

#site-footer .footer-contents {
  column-gap: clamp(32px, calc(32px + 68 * ((100vw - 1380px) / 70)), 100px);
}
.footer-contents .footer-info {
  width: 340px;
}
#site-footer .company-info h3 {
  font-size: 0.9375rem;
  margin-top: 2.125rem;
  margin-bottom: 1rem;
  line-height: 1;
}

#site-footer .company-info h4 {
  font-size: 0.8125rem;
  margin-bottom: 0.625rem;
}

#site-footer .company-info p {
  font-size: 0.75rem;
}

#site-footer .company-info .branch {
  border-top: 1px solid #fff;
  margin-top: 0;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  line-height: 1.5;
}

#site-footer .company-info .branch:last-child {
  border-bottom: 1px solid #fff;
}
#site-footer .spec-mark {
  text-align: center;
}
#site-footer .spec-mark img {
  width: 215px;
  margin-top: 5rem;
}

@media (max-width: 1389px) {
  #site-footer .footer-contents {
    column-gap: 6rem;
  }
}

/* フッタメニュー */
.footer-menu-wrap > .menu {
  padding-left: 0;
  margin-bottom: 0;
}
.footer-contents .footer-navi {
  display: block;
}
.footer-contents .footer-navi .footer-navi-middle-warp {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 1rem 3.5rem;
}
.footer-contents .footer-navi h4 {
  font-size: 0.8125rem;
  border-bottom: 1px solid #fff;
  line-height: 1;
  margin-top: 3.125rem;
  padding-bottom: 1rem;
  margin-bottom: 1.125rem;
}
#site-footer .footer-menu-wrap .menu > .menu-item > a {
  display: flex;
  align-items: center;
  column-gap: 0.625rem;
}
#site-footer .footer-menu-wrap .menu > .menu-item > a:before {
  content: "\e5c8";
  font-family: var(--icon-font-family);
  display: grid;
  place-content: center;
  width: 23px;
  height: 23px;
  background: #fff;
  color: #00213f;
  font-size: 1.1rem;
  padding-left: 2px;
  padding-top: 2px;
  transform: translateY(-1px);
}
#site-footer .footer-menu-wrap .sub-menu {
  padding-left: 2rem;
  margin-bottom: 0;
}

#site-footer .menu > .menu-item:not(:first-child) {
  margin-top: 2rem;
}

#site-footer .footer-menu-wrap .sub-menu .sub-menu {
  padding-left: 1rem;
}
#site-footer .footer-menu-wrap .sub-menu .sub-menu .menu-item {
  margin-bottom: 0.35rem;
}

#site-footer .footer-menu-wrap .sub-menu a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
#site-footer .footer-menu-wrap .sub-menu a:before {
  content: "-";
  display: grid;
  place-content: center;
}

#site-footer .footer-menu-wrap .has-grandchildren > .sub-menu {
  display: flex;
  gap: 1.25rem;
}
#site-footer .footer-menu-wrap .sub-menu:has(.sub-menu) > li > a {
  line-height: 1.3;
  gap: 4px;
  margin-bottom: 0.75rem;
  padding-left: 16px;
}
#site-footer .footer-menu-wrap .sub-menu:has(.sub-menu) > li > a:before {
  content: "";
  display: block;
  width: 12px;
  height: 12px;
  background: url(assets/img/common/arrow-circle.svg) no-repeat center / contain;
  position: absolute;
  left: 0;
  top: 2px;
}

#site-footer .footer-navi-bottom-warp {
  margin-top: 2.5rem;
  padding-bottom: 1.875rem;
}

#site-footer .footer-navi-bottom-warp .footer-bottom-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem 1.625rem;
}

#site-footer .footer-navi-bottom-warp .footer-bottom-menu:first-child {
  margin-bottom: 1.25rem;
}

#site-footer .footer-navi-bottom-warp a {
  display: flex;
  align-items: center;
  min-width: 7rem;
  gap: 0.75rem;
}

#site-footer .footer-navi-bottom-warp a:before {
  content: "";
  display: block;
  width: 21px;
  height: 21px;
}

#site-footer .footer-navi a[href="#"] {
  pointer-events: none;
  padding-left: 0 !important;
}
.footer-navi a[href="#"]:before {
  content: none !important;
}

#site-footer .footer-navi-bottom-warp a.news:before {
  background: url("assets/img/common/icon-footer-baloon.png") no-repeat center / contain;
}
#site-footer .footer-navi-bottom-warp a.contact:before {
  background: url("assets/img/common/icon-footer-mail.png") no-repeat center / contain;
}
#site-footer .footer-navi-bottom-warp a.privacy-policy:before {
  background: url("assets/img/common/icon-footer-privacy.png") no-repeat center / contain;
}
#site-footer .footer-navi-bottom-warp a.sitemap:before {
  background: url("assets/img/common/icon-footer-sitemap.png") no-repeat center / contain;
}
#site-footer .footer-navi-bottom-warp a.youtube:before {
  background: url("assets/img/common/icon-footer-youtube.png") no-repeat center / contain;
}

#copyright {
  margin-top: 1.875rem;
  padding-top: 1.875rem;
  border-top: 1px solid #fff;
  background: none;
  font-size: 0.5625rem;
  text-align: left;
}

@media (max-width: 767px) {
  .footer-navi .footer-navi-middle-warp > * {
    width: 100%;
  }

  .footer-navi .sub-menu {
    flex-wrap: wrap;
  }
}

/**************************************
 * トップページ
 **************************************/
.top-page-wrap {
  color: var(--b-theme-color-1);
}
.top-page-wrap h2 {
  position: relative;
  line-height: 1;
  padding-bottom: 30px;
  margin-bottom: 40px;
  font-size: 3rem;
  letter-spacing: 0.04em;
}
.top-page-wrap h2:before {
  content: "";
  display: block;
  width: 150px;
  height: 4px;
  position: absolute;
  left: 0;
  bottom: 0;
  background: var(--b-theme-color-1);
}

:where(.top-page-wrap p) {
  font-size: 0.9375rem;
  letter-spacing: 0.08em;
  line-height: 1.73333;
}

@media (max-width: 767px) {
  body.home #main-content {
    padding-top: 3rem !important;
  }
  .top-page-wrap h2 {
    font-size: 1.8rem;
  }
}

/* メインビジュアル */
.slider-after {
  display: flex;
  justify-content: flex-start;
  background: var(--b-theme-color-1);
}

.slider-after #slide-pagination {
  width: clamp(377px, calc(24.6914vw + 102.9259px), 577px);
  max-width: 100%;
  background: var(--b-theme-color-2);
  display: flex;
  align-items: center;
  justify-content: center;
  column-gap: 6px;
}

.slider-after #slide-pagination .pc-slide-dot {
  display: inline-block;
  width: 50px;
  height: 10px;
  border: 1px solid transparent;
  background:
    linear-gradient(var(--b-theme-color-2), var(--b-theme-color-2)) padding-box,
    var(--sea-gradient);
  border-radius: 50px;
}
.slider-after #slide-pagination .pc-slide-dot.is-active {
  background: var(--sea-gradient);
}

.slider-after .slide-after-contents {
  max-width: 100%;
  color: #fff;
  padding: 1.5625rem clamp(45px, calc(45px + (200 - 45) * ((100vw - 1920px) / (2200 - 1920))), 200px);
  display: flex;
  column-gap: clamp(40px, calc(11.111vw - 93.333px), 120px);
}

.slider-after .slide-after-contents h3 {
  margin-top: 0;
  margin-bottom: 1.25rem;
  font-size: 1.5625rem;
}

.slider-after .slide-after-contents p {
  margin-bottom: 0;
}

.slider-after .button {
  flex-shrink: 0;
  display: grid;
  place-content: center;
}

.right-arrow a {
  display: inline-flex;
  font-size: 0.875rem;
  text-decoration: none;
  align-items: center;
  padding: 0.875rem;
  justify-content: space-between;
  height: 45px;
  width: 230px;
}

.right-arrow a:after {
  content: "\e5c8";
  font-family: var(--icon-font-family);
  font-size: 1.5rem;
}

.slider-after .button a {
  color: #fff;
  background: linear-gradient(to right, #0084e9, #005bac);
}

.slide-after-contents-wap {
  width: 100%;
  container-name: slide-after-contents-wap;
  container-type: inline-size;
}

@container (max-width: 767px) {
  .slider-after .slide-after-contents {
    flex-wrap: wrap;
    row-gap: 1.25rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (max-width: 1110px) {
  .slider-after {
    flex-wrap: wrap;
  }
  .slider-after #slide-pagination {
    width: 100%;
    padding: 1.5rem;
  }
}

@media (max-width: 1000px) {
  .slider-after .slide-after-contents {
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 767px) {
  .slider-after #slide-pagination {
    display: none !important;
  }
  .slider-after .slide-after-contents {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
}

/* トップページ - New Service など */
.top-recommend {
  display: grid;
  max-width: 1293px;
  grid-template-columns: repeat(auto-fill, minmax(min(560px, 100%), 1fr));
  gap: 4.375rem 2.8rem;
  color: var(--b-theme-color-1);
  margin-top: 0 !important;
}

.top-recommend > * {
  position: relative;
  width: 100%;
}

.top-recommend h3 {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-style: normal;
  position: absolute;
  left: 0;
  top: 0;
  line-height: 1;
  font-size: 4.0625rem;
}

.top-recommend .new-product h3,
.top-recommend .pick-up h3 {
  font-size: 2.9375rem;
}

.top-recommend h4 {
  font-size: 1.4375rem;
  font-weight: 600;
}

.top-recommend .new-product h4,
.top-recommend .pick-up h4 {
  letter-spacing: 0;
}

.top-recommend h5 {
  font-size: 1.4375rem;
  font-weight: 600;
}

.top-recommend .new-product p,
.top-recommend .pick-up p {
  line-height: 1.5;
}

.top-recommend .new-product .left-arrow a,
.top-recommend .pick-up .left-arrow a {
  background: transparent;
  color: var(--b-theme-color-1);
  display: inline-flex;
  align-items: center;
  column-gap: 1.25rem;
  font-size: 1.3125rem;
  font-weight: bold;
  line-height: 1;
}

.top-recommend .new-product .left-arrow a:before,
.top-recommend .pick-up .left-arrow a:before {
  content: "\e5c8";
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  place-content: center;
  font-family: var(--icon-font-family);
  font-size: 1.5rem;
  color: #fff;
  background: var(--b-theme-color-1);
  flex-shrink: 0;
}

.top-recommend .new-product > .wp-block-columns .recommend-image,
.top-recommend .pick-up > .wp-block-columns .recommend-image {
  flex-basis: 210px;
  flex-grow: 0;
}

.top-recommend .recommend-link-subtitle {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: normal;
}

.top-recommend .new-service {
  grid-column: 1 / -1;
}

.top-recommend .top-recommend-contents {
  background: var(--b-theme-color-2);
  margin-top: 24px;
  margin-left: 26px !important;
  gap: 0;
}

.top-recommend .top-recommend-contents .recommend-link {
  margin-top: 2.5rem;
}

.top-recommend .top-recommend-contents a {
  color: #fff;
  background: var(--b-theme-color-1);
  text-decoration: none;
}

.top-recommend .top-recommend-contents .wp-block-column:first-child {
  padding: 3.75rem 0 2.25rem 2.8125rem;
}

.top-recommend .new-service .top-recommend-contents .wp-block-column:first-child {
  padding: 0;
}

.top-recommend .new-service .top-recommend-contents {
  padding: 5rem 3.75rem 3.75rem 5.5rem;
}

.top-recommend .new-service .top-recommend-contents > .wp-block-columns {
  column-gap: clamp(2rem, 5.375vw - 1.695rem, 7.375rem);
}

.top-recommend .new-service .service-overview > .wp-block-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.top-recommend .new-service .service-overview > .wp-block-columns .wp-block-column {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 3;
  gap: 0;
}

.top-recommend .new-service .service-overview p {
  font-size: 0.875rem;
  line-height: 1.5rem;
}

.top-recommend .top-recommend-contents .explanation {
  font-size: 0.9rem;
}

.top-recommend .top-recommend-contents .wp-block-image {
  width: 100%;
  height: 100%;
}

.top-recommend .new-service .top-recommend-contents .wp-block-image {
  width: 100%;
  height: auto;
}

.top-recommend .new-service h5 {
  font-size: 0.9375rem;
  background: var(--b-theme-color-1);
  color: #fff;
  padding: 0.35rem 0.875rem;
  font-weight: normal;
  margin-bottom: 0.75rem;
}

.top-recommend .top-recommend-contents .service-note .wp-block-image {
  margin-top: 0.875rem;
}

.top-recommend .top-recommend-contents .wp-block-image img {
  width: 100%;
  height: 100%;
  object-position: center;
}

.top-recommend .top-recommend-contents {
  container-name: top-recommend-contents;
  container-type: inline-size;
  position: static;
}

.top-recommend .new-product .top-recommend-contents,
.top-recommend .pick-up .top-recommend-contents {
  min-height: 260px;
}

@container top-recommend-contents (min-width: 561px) {
  .top-recommend .top-recommend-contents .recommend-image {
    flex-basis: 400px !important;
    aspect-ratio: 2 / 1;
  }
}

@media (max-width: 1100px) {
  .top-recommend .new-service .top-recommend-contents > .wp-block-columns {
    flex-direction: column;
  }
  .top-recommend .new-service .top-recommend-contents {
  }
}

@media (max-width: 767px) {
  .top-recommend {
    margin-top: 0 !important;
  }
  .top-recommend h3 {
    width: 100%;
    font-size: 2.5rem;
    letter-spacing: 0;
    transform: translateX(-5px);
  }
  .top-recommend .new-product h3,
  .top-recommend .pick-up h3 {
    font-size: 2.5rem;
  }
  .top-recommend h4 {
    padding: 0 2rem 0;
    font-size: 1.1rem;
    letter-spacing: 0;
  }
  .top-recommend h4 + div {
    margin-top: 1rem;
  }
  .top-recommend .top-recommend-contents {
    margin-left: 0 !important;
    padding: 2.5rem 0 0 !important;
  }

  .top-recommend .top-recommend-contents .wp-block-column:not(.recommend-image) {
    padding: 0 2rem 2rem !important;
  }

  .top-recommend .recommend-link {
    text-align: center;
  }
  .top-recommend .new-service .service-overview > .wp-block-columns {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .top-recommend .new-service .service-overview > .wp-block-columns .wp-block-column {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .top-recommend .new-product .top-recommend-contents,
  .top-recommend .pick-up .top-recommend-contents {
    text-align: center;
  }
  .top-recommend .new-service .top-recommend-contents > .wp-block-columns {
    gap: 1rem;
  }
  .top-recommend .recommend-link.sp {
    margin-top: 0;
    margin-bottom: 3rem;
  }
  .top-recommend .new-product .left-arrow a,
  .top-recommend .pick-up .left-arrow a {
    text-align: left;
  }
}

/* トップページ - 緑星社について */

.top-about h2:before {
  background: #fff;
}

.top-about > .wp-block-columns {
  column-gap: 6rem;
}

.top-about .top-about-text {
  letter-spacing: 0.08em;
  width: 462px;
  max-width: 100%;
}

.top-about .wp-block-button__link {
  background: var(--sea-gradient);
}

.top-about .wp-block-buttons {
  flex-direction: column;
  gap: 3.125rem;
}
.top-about .right-arrow {
  width: 100%;
}

.top-about .right-arrow a {
  font-size: 2rem;
  font-weight: bold;
  padding: 3.125rem 2.125rem 2.8125rem 2.5rem;
  background: var(--sea-gradient-alpha);
  height: fit-content;
  text-align: left;
}

.top-about .right-arrow a span span {
  display: block;
  font-size: .6em;
}

.top-about .right-arrow a:after {
  background: #fff;
  color: #0071ba;
  font-weight: normal;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
}

@media (max-width: 900px) {
  .top-about > .wp-block-columns {
    flex-wrap: wrap !important;
  }
  .top-about > .wp-block-columns .wp-block-column:first-child {
    min-width: 50%;
    flex-shrink: 0;
  }
  .top-about > .wp-block-columns .wp-block-column:last-child {
    min-width: 360px;
    flex-shrink: 0;
  }
}

@media (max-width: 767px) {
  .top-about-wrap {
    padding-top: 5rem !important;
    padding-bottom: 5rem !important;
  }
  .top-about-wrap > .wp-block-cover__image-background {
    object-position: 65% 70% !important;
  }

  .top-about .wp-block-buttons {
    gap: 1rem;
  }
  .top-about .right-arrow a {
    font-size: 1.75rem;
    padding: 1.25rem 2rem;
  }
}

/* トップページ - 製品情報 */
.top-product .top-product-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2.5rem;
}

.top-product .top-product-title h2,
.top-product .top-product-title .wp-block-buttons {
  margin: 0 !important;
}

.top-product h4 {
  border-width: 0 0 3px 15px;
  border-style: solid;
  font-size: 1.3125rem;
  line-height: 1.2;
  padding: 0.5rem 1rem 0.875rem 1.625rem;
  margin-top: 3.5rem;
}

.top-product .top-product-title .wp-block-buttons a {
  background: transparent;
  color: var(--b-theme-color-1);
  gap: 1rem;
  font-size: 1.125rem;
  font-weight: bold;
}

.top-product .top-product-title .wp-block-buttons a:after {
  color: #fff;
  background: var(--b-theme-color-1);
  display: grid;
  place-content: center;
  width: 44px;
  height: 44px;
}

.top-product .top-product-heading {
  column-gap: 0;
  margin-top: 5rem;
}
.top-product .top-product-heading p {
  margin-top: 1.375rem;
}
.top-product .top-product-heading div:first-child {
  flex-basis: 36%;
  flex-grow: 0;
  flex-shrink: 0;
  background: var(--b-theme-color-1);
  display: grid;
  place-content: center;
  color: #fff;
  padding: 2rem;
}

.top-product .top-product-heading div:last-child {
  flex-basis: 100%;
  flex-shrink: 1;
}

.top-product .top-product-heading h3 {
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 1.375rem;
}
.top-product .top-product-heading h3 span {
  font-size: .66em;
  display: inline-block;
}
.top-product .top-product-heading h3 + p {
  font-size: 0.75rem;
  line-height: 1;
}

.top-product .top-product-note {
  margin-top: 2.5rem;
  padding: 0 3rem;
}

.top-product .top-product-note a {
  color: #3e71a3;
}


@media (max-width: 767px) {
  .top-product .top-product-heading div:first-child h3 {
    font-size: 1.5rem;
  }
}

.top-product .top-product-catalogue {
  padding-left: 65px;
  margin-top: 4rem;
}
.top-product .top-product-catalogue::before {
  font-family: "Poppins", sans-serif;
  font-size: 1.25rem;
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 0;
  writing-mode: vertical-rl;
  text-orientation: mixed;
}

.top-product .top-product-catalogue.catalogue-sea-light::before {
  content: "Aids to Navigation";
}

.top-product .top-products-list {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fill, 200px);
}
.top-product .top-products-list a {
  position: relative;
}
.top-product .top-products-list .wp-block-image {
  position: relative;
  margin-bottom: 0;
}

.top-product .top-products-list .wp-block-image img {
  width: 100%;
  background: var(--b-theme-color-2);
}
.top-product .top-products-list .wp-block-image::after {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: 34%;
  left: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgb(255 255 255 / 0), rgb(0 32 64 / 50%));
}
.top-product .top-products-list .wp-block-image .wp-element-caption {
  position: absolute;
  display: block;
  width: 100%;
  text-align: left;
  bottom: 0;
  color: #fff;
  line-height: 1rem;
  z-index: 1;
  padding: 1rem;
  font-size: 1rem;
  letter-spacing: 0.08rem;
  margin: 0;
}

.top-product .top-products-list .wp-block-image .wp-element-caption::after {
  content: "";
  display: block;
  width: 22px;
  height: 22px;
  background: url(assets/img/common/arrow-circle.svg) no-repeat center / contain;
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
}

.top-product .top-products-list .top-product-list-label {
  position: absolute;
  display: block;
  width: 100%;
  text-align: left;
  bottom: 0;
  color: #fff;
  line-height: 1.2;
  z-index: 1;
  padding: 1rem;
  font-size: 1rem;
  letter-spacing: 0.08rem;
  margin: 0;
}

.top-product .top-products-list .top-product-list-label:after {
  content: "";
  display: block;
  width: 22px;
  height: 22px;
  background: url(assets/img/common/arrow-circle.svg) no-repeat center / contain;
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
}

.top-product .products-banner {
  column-gap: 3.25rem;
  margin-top: 5.5rem;
}

.top-product .products-banner a {
  padding: 2rem;
  display: grid;
  grid-template-columns: 70px 1fr auto;
  width: 100%;
  color: var(--b-theme-color-1);
  background: var(--b-theme-color-2);
  text-decoration: none;
  font-size: 1.25rem;
  line-height: 1.5;
  height: unset;
  border: 1px solid var(--b-theme-color-1);
}

.top-product .products-banner a:before {
  content: "";
  display: block;
  width: 52px;
  height: 52px;
}

.top-product .products-banner .link-search a:before {
  background: url(assets/img/top/icon-search.png) no-repeat center / contain;
}

.top-product .products-banner .link-catalogue a:before {
  background: url(assets/img/top/icon-catalogue.png) no-repeat center / contain;
}

.top-product .products-banner a:after {
  color: #fff;
  background: var(--b-theme-color-1);
  width: 44px;
  height: 44px;
  display: grid;
  place-content: center;
}

.products-banner > div {
  width: 517px;
  max-width: 100%;
  padding-left: 1rem;
  padding-right: 1rem;
  margin-left: auto;
  margin-right: auto;
}

.top-product .link-banner-note {
  font-size: 0.8125rem;
  line-height: 1.5;
}

.top-product .banner-link-consultant-wrap {
  margin: 2.875rem auto 0;
  width: 517px;
  max-width: 100%;
}

.top-product .banner-link-consultant {
  display: block;
  width: 100%;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.top-product .banner-link-consultant a {
  background: var(--b-theme-color-1);
  color: #fff;
  font-size: 1.25rem;
  padding: 2.375rem 1.875rem;
  width: 100%;
  height: auto;
  display: grid;
  grid-template-columns: 86px 1fr auto;
}

.top-product .banner-link-consultant a:before {
  content: "";
  display: block;
  width: 60px;
  height: 57px;
  background: url(assets/img/top/icon-consulting.png) no-repeat center / contain;
}

.top-product .banner-link-consultant a:after {
  width: 44px;
  height: 44px;
  display: grid;
  place-content: center;
  color: var(--b-theme-color-1);
  background: #fff;
  margin-left: 2.25rem;
}

.top-product .top-sea-light h3 {
  margin-bottom: 0;
}

.top-product .catalogue-sea-fishing:before {
  content: "Fishing Equipments";
}

@media (max-width: 960px) {
  .top-product .top-product-title {
    flex-direction: column;
    align-items: flex-start;
    row-gap: 2.4rem;
  }
  .top-product .products-banner.pc {
    flex-wrap: wrap !important;
  }
}

@media (max-width: 767px) {
  .top-product .top-product-title .wp-block-buttons {
    gap: .5rem;
  }
  .top-product .top-products-list {
    grid-template-columns: 1fr 1fr;
  }
  .top-product .products-banner a {
    line-height: 1.3;
    padding: 1rem;
  }
  .top-product .products-banner a .line {
    font-size: 0.9em;
  }
  .top-product .top-product-title .right-arrow a {
    flex-direction: row-reverse;
    padding-left: 0;
    font-size: 1rem;
    gap: .75rem;
    text-decoration: underline;
  }
  .top-product .top-product-title .right-arrow a::after {
    width: 32px;
    height: 32px;
    font-size: 1rem;
    line-height: 1;
  }
  .top-product .top-product-heading {
    margin-top: 4rem;
    gap: 0;
  }
  .top-product .top-product-note {
    padding-left: 0;
    padding-right: 0;
  }
  .top-product .top-product-catalogue {
    padding-left: 35px;
  }
  .top-product .top-products-list {
    gap: 10px;
  }
  .top-product .top-products-list .top-product-list-label {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    letter-spacing: 0;
  }
  .top-product .top-products-list .top-product-list-label:after {
    right: 0.5rem;
  }
  .top-product .products-banner {
    gap: 1rem;
  }
  .top-product .products-banner .link-banner-note {
    letter-spacing: 0;
    margin-top: 5px;
  }
  .top-product .banner-link-consultant a {
    padding: 1rem;
  }
}

/* トップページ - Youtube */
.top-youtube img {
  width: 100%;
}

/* トップページ - お知らせ一覧 */
.top-news .top-news-heading {
  flex-grow: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.top-news .top-news-link a {
  font-size: 1.125rem;
  width: auto;
  height: auto;
  gap: 1.875rem;
}

.top-news .top-news-link a:after {
  background: var(--b-theme-color-1);
  color: #fff;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
}

.top-news .barbpack-post-list-1 {
  border: none;
  display: grid;
  grid-template-columns: 1fr;
  row-gap: 0.75rem;
}

.top-news .barbpack-post-list-1 li {
  background: #fff;
  display: flex;
  padding: 0;
}

.top-news .barbpack-post-list-1 .list-date {
  font-family: "Chivo Mono", monospace;
  font-weight: 600;
  letter-spacing: 0;
  padding: 1.25rem 1.45rem;
  display: flex;
  align-items: center;
  position: relative;
  font-size: 0.9375rem;
  width: 140px;
  line-height: 1;
}

.top-news .barbpack-post-list-1 .list-date:after {
  content: "";
  display: block;
  width: 1px;
  height: 60%;
  background: #99a6b3;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

.top-news .barbpack-post-list-1 .list-title {
  margin: 0;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  font-size: 0.875rem;
  line-height: 1.6;
}

.top-news .barbpack-post-list-1 a:hover {
  text-decoration: underline;
}

@media (min-width: 768px) {
  .top-news .wp-block-columns .top-news-heading {
    flex-basis: 30% !important;
    min-width: 220px;
  }
}

@media (max-width: 767px) {
  .top-news > .wp-block-columns {
    gap: 1rem;
  }
  .top-news .top-news-link.sp {
    margin-top: 2rem;
  }
  .top-news .top-news-link.sp a {
    flex-direction: row-reverse;
  }
}

/* トップページ - 採用情報 */
.top-recruit {
  margin-top: 0 !important;
  padding-top: 100px;
  padding-bottom: 126px;
  background-position: center;
}

.top-recruit,
.top-recruit a {
  text-align: center;
  color: #fff;
}

.top-recruit h2:before {
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
}

.top-recruit .top-recruit-link {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 100px;
  border: 1px solid #fff;
  width: fit-content;
  padding: 0.875rem 1.625rem;
  column-gap: 40px;
}

.top-recruit .top-recruit-link:hover {
  background: rgb(255 255 255 / 20%);
  transition: background 0.3s;
}

.top-recruit .top-recruit-link p {
  margin: 0;
  line-height: 1;
}

.top-recruit .top-recruit-link:after {
  content: "";
  display: block;
  width: 23px;
  height: 23px;
  background: url("assets/img/common/arrow-circle.svg") no-repeat center / contain;
}

.top-recruit .recruit-form-link {
  margin-top: 2.625rem;
}
.top-recruit .recruit-form-link a {
  color: #0071bc;
  text-decoration: none;
  background: #fff;
  font-size: 0.875rem;
  padding: 1rem;
  line-height: 1;
}

@media (max-width: 767px) {
  .top-recruit {
    background-image: url("assets/img/top/top-recruit-bg.jpg") !important;
  }
  .top-recruit .top-recruit-link {
    column-gap: 10px;
  }
  .top-recruit .recruit-lead-text {
    letter-spacing: 0;
  }
}

/**************************************
 * 共通フッタ上コンタクトCTA
 **************************************/
.common-contact {
  padding: 5.5rem 5%;
}

body.home .common-contact {
  margin-top: 0 !important;
}

.common-contact .common-contact-contents {
  width: 750px;
  max-width: 100%;
}

:root .common-contact h4 {
  font-size: 1.1875rem !important;
  color: var(--font-color-base) !important;
  background: none;
}

.common-contact .common-contact-banners {
  column-gap: 2rem;
}

.common-contact .common-contact-banners > * {
  width: 47.8%;
}

.common-contact .common-contact-banners a {
  display: grid;
  place-items: center;
  background: var(--sea-gradient);
  height: 5.875rem;
  color: #fff;
  text-decoration: none;
}

.common-contact .common-contact-banners p {
  margin: 0;
}

.common-contact .common-contact-banners .phone-num {
  font-family: "Poppins", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  font-style: normal;
  letter-spacing: 0;
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.common-contact .common-contact-banners .phone-num:before {
  content: "";
  display: block;
  width: 30px;
  height: 30px;
  background: url("assets/img/common/icon-phone.png") no-repeat center / contain;
}

.common-contact .common-contact-banners .uketsuke {
  font-size: 0.8125rem;
  letter-spacing: 0;
  text-align: center;
}

.common-contact .common-contact-banners .form {
  font-size: 1.3125rem;
  font-weight: bold;
}

.common-contact .common-contact-banners .form a {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.625rem;
}
.common-contact .common-contact-banners .form a:before {
  content: "";
  display: block;
  width: 30px;
  height: 30px;
  background: url("assets/img/common/icon-mail.png") no-repeat center / contain;
}

@media (max-width: 767px) {
  .common-contact {
    padding-left: 5%;
    padding-right: 5%;
  }
  .common-contact .common-contact-banners {
    row-gap: 1rem;
  }
  .common-contact .common-contact-banners > * {
    flex-basis: 100% !important;
  }
}

.common-contact .common-contact-consult {
  background: #fff;
  padding: 1.875rem 1rem 2.125rem;
  margin-top: 2rem;
}

.common-contact .consultant-form-link {
  margin-top: 1.625rem;
}

.common-contact .consultant-form-link a {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  width: fit-content;
  background: #359884;
  color: #fff;
  padding: 2.125rem 2.5rem;
  line-height: 1;
  margin-left: auto;
  margin-right: auto;
  text-decoration: none;
  font-size: 1.3125rem;
}

.common-contact .consultant-form-link a:before {
  content: "";
  display: block;
  width: 27px;
  height: 21px;
  background: url("assets/img/common/icon-consult.png") no-repeat center / contain;
}

.common-contact .common-contact-consult-note {
  font-size: 0.8125rem;
  letter-spacing: 0;
  margin-top: 1rem;
}

@media (min-width: 768px) {
  .common-contact .common-contact-contents {
    padding-left: 0;
    padding-right: 0;
  }
}

@media (max-width: 767px) {
  .common-contact .consultant-form-link {
    margin-top: 1rem;
  }
  .common-contact .consultant-form-link a {
    line-height: 1.3;
    padding: 1.5rem 1rem;
    font-size: 1rem;
    font-weight: bold;
  }
  .common-contact .common-contact-consult-note {
    text-align: left;
  }
  .common-contact .common-contact-consult-note .line {
    display: inline;
  }
}

/* トップページ - お問合せ */
.top-contact {
  margin-top: 0 !important;
  padding-top: 5.5rem;
  padding-bottom: 5.5rem;
}

.top-contact .top-contact-contents {
  width: 750px;
  max-width: 100%;
}

.top-contact h4 {
  font-size: 1.1875rem;
}

.top-contact .top-contact-banners {
  column-gap: 2rem;
}

.top-contact .top-contact-banners > * {
  width: 47.8%;
}

.top-contact .top-contact-banners a {
  display: grid;
  place-items: center;
  background: var(--sea-gradient);
  height: 5.875rem;
  color: #fff;
  text-decoration: none;
}

.top-contact .top-contact-banners p {
  margin: 0;
}

.top-contact .top-contact-banners .phone-num {
  font-family: "Poppins", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  font-style: normal;
  letter-spacing: 0;
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.top-contact .top-contact-banners .phone-num:before {
  content: "";
  display: block;
  width: 30px;
  height: 30px;
  background: url("assets/img/common/icon-phone.png") no-repeat center / contain;
}

.top-contact .top-contact-banners .uketsuke {
  font-size: 0.8125rem;
  letter-spacing: 0;
  text-align: center;
}

.top-contact .top-contact-banners .form {
  font-size: 1.3125rem;
  font-weight: bold;
}

.top-contact .top-contact-banners .form a {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.625rem;
}
.top-contact .top-contact-banners .form a:before {
  content: "";
  display: block;
  width: 30px;
  height: 30px;
  background: url("assets/img/common/icon-mail.png") no-repeat center / contain;
}

@media (max-width: 767px) {
  .top-contact .top-contact-banners {
    row-gap: 1rem;
  }
}

.top-contact .top-contact-consult {
  background: #fff;
  padding: 1.875rem 1rem 2.125rem;
  margin-top: 2rem;
}

.top-contact .consultant-form-link {
  margin-top: 1.625rem;
}

.top-contact .consultant-form-link a {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  width: fit-content;
  background: #359884;
  color: #fff;
  padding: 2.125rem 2.5rem;
  line-height: 1;
  margin-left: auto;
  margin-right: auto;
  text-decoration: none;
  font-size: 1.3125rem;
}

.top-contact .consultant-form-link a:before {
  content: "";
  display: block;
  width: 27px;
  height: 21px;
  background: url("assets/img/common/icon-consult.png") no-repeat center / contain;
}

.top-contact .top-contact-consult-note {
  font-size: 0.8125rem;
  letter-spacing: 0;
  margin-top: 1rem;
}

@media (min-width: 768px) {
  .top-contact .top-contact-contents {
    padding-left: 0;
    padding-right: 0;
  }
}

@media (max-width: 767px) {
  .top-contact .consultant-form-link {
    margin-top: 1rem;
  }
  .top-contact .consultant-form-link a {
    line-height: 1.3;
    padding: 1.5rem 1rem;
    font-size: 1rem;
    font-weight: bold;
  }
  .top-contact .top-contact-consult-note {
    text-align: left;
  }
  .top-contact .top-contact-consult-note .line {
    display: inline;
  }
}

/**************************************
  下層ページ 
 **************************************/
/*コンテンツスタート位置*/
:where(article.show-singular-thumbnail > .entry-content:not(:has(> .wp-block-heading:first-child))) {
  padding-top: 4.5rem;
}

/*******スマホ 767px以下********/
@media (max-width: 767px) {
  :where(article.show-singular-thumbnail > .entry-content:not(:has(> .wp-block-heading:first-child))) {
    padding-top: 3rem;
  }
}

/****h1文字****/
body:not(.home) h1.entry-title {
  color: #fff;
  text-shadow: none !important;
}

/***h1青・緑 背景***/
/**青**/
/*外観 > カスタマイズ > Thumbnail Imageで青背景 設定済*/
/*お知らせ一覧＆詳細 外観で表示できなかった為*/
.category-news .page-header/*一覧　高さ*/ {
  height: 250px;
}
.category-news .page-header,/*一覧*/
.single-post .entry-header /*詳細*/ {
  background: url("assets/img/common/h1_blue.png") no-repeat center / cover;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  text-shadow: none !important;
  margin: 0;
}

.category-news .entry-content .entry-title + .entry-meta {
  display: block !important;
  margin-bottom: .5rem;
  font-size: .95rem;
  letter-spacing: .05em;
}

/**緑**/
:is(
  .sea-light,/*航路標識*/
  .fisheries,/*水産関連*/
  .single-product/*製品ページ*/
) .entry-header {
  background: url("assets/img/common/h1_green.png") no-repeat center / cover;
}

/* 製品ページh1背景 潰れの為 高さ出す */
.single-product .entry-header {
  height: 250px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.entry-header .page_sub_title {
  color: #fff;
  text-align: center;
}

/*******h1スマホ 767px以下********/
@media (max-width: 767px) {
  /*上隙間消す*/
  .category-news #main-content,/*お知らせ一覧*/
  .single-product #main-content /*製品ページ*/ {
    padding-top: 0 !important;
  }

  /*h1背景高さ*/
  .entry-header,
  .category-news .page-header,/*お知らせ一覧*/ 
  .single-product .entry-header /*製品ページ*/ {
    height: 150px !important;
  }
  body:not(.home) h1.entry-title,
  .category-news h1.page-title /*お知らせ一覧*/ {
    font-size: 28px;
  }
}

/****************
　h2装飾
****************/
/***** 青カラーh2見出し ******/
body:not(.home) h2 {
  font-size: 20px !important;
  line-height: 1.3;
  color: #fff;
  padding: 13px 110px 13px 25px;
  background:
    url("assets/img/common/h2_blue_left.png") left 0 center / 10px 50% no-repeat,
    url("assets/img/common/h2_blue_right.png") right center / 78px auto repeat-y,
    linear-gradient(to right, #0083e9, #005fb2);
}

/******* 緑カラーh2見出し ********/
body:is(
  .sea-light,/*航路標識*/
  .fisheries,/*水産関連*/
  .single-product/*製品ページ*/
) h2 {
  text-align: center;
  color: #006e9e;
  margin: 80px 0 24px 0;
  padding-right: 0;
  background:
    url("assets/img/common/h2_gr_right.png") right top / 78px auto repeat-y,
    #d4eef9;
}

@media (max-width: 767px) {
  body:not(.home) h2 {
    font-size: 17px !important;
    padding: 9px 70px 9px 20px !important;
    /*サイズ調整　2行で画像大きくしない*/
    background-size:
      10px 50%,
      60px auto,
      auto;
  }

  body:is(
    .sea-light, /*航路標識*/
    .fisheries, /*水産関連*/
    .single-product /*製品ページ*/
  ) h2 {
    text-align: left;
    background-size: 60px auto;
    /*サイズ調整　2行で画像大きくしない*/
    /*background-size:
      auto 40px,
      auto;*/
  }
}

/*h2見出し冒頭のみマージン
body:not(.home) h2:first-of-type {
  margin-top: 0 !important;
}*/

/****************
　h3装飾
****************/
/* .homeに加えて footer 内も除外 */
body:not(.home) .entry-content h3 {
  --padding-bottom: 20px;
  position: relative;
  font-size: 18px;
  padding: 0 0 15px var(--padding-bottom);
  border-bottom: 4px solid #d1d5db;
  font-weight: bold;
  color: #002144;
  line-height: 1.2;
  margin-top: 3rem;
  margin-bottom: 20px;
}

/* 左側の四角形# */
body:not(.home) .entry-content h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 52%;
  transform: translateY(calc(-50% - (var(--padding-bottom) / 2)));
  width: 8px;
  height: 20px;
  background-color: #002144;
}

/*******スマホ 767px以下********/
@media (max-width: 767px) {
  body:not(.home) h3 {
    line-height: 1.2;
  }
}

/****************
　h4装飾
****************/
/* .homeに加えて footer 内も除外 */
body:not(.home) .entry-content h4 {
  font-size: 18px !important;
  padding: 0.8rem 1.2rem;
  color: #fff;
  background-color: #002040;
  /*margin-bottom: 0 !important;*/
  border-width: 0 !important;
}

/*******スマホ 767px以下********/
@media (max-width: 767px) {
  body:not(.home)  .entry-content h4 {
    font-size: 16px !important;
  }
}

.business-page-wrap h4 + .profile-table,
.business-page-wrap h4 + .gray-box,
.recruit-page-wrap h4 + .profile-table,
.recruit-page-wrap h4 + .gray-box {
  margin-top: 0;
}

.business-page-wrap h4:has(+ .profile-table),
.business-page-wrap h4:has(+ .gray-box),
.recruit-page-wrap h4:has(+ .profile-table),
.recruit-page-wrap h4:has(+ .gray-box) {
  margin-bottom: 0;
  border-radius: 2px 2px 0 0;
}

.business-page-wrap h4 span {
  font-size: 0.9rem;
  font-weight: normal;
}

.entry-content a {
  text-decoration: none;
}
.entry-content a:hover {
  opacity: 0.8;
}

.business-page-wrap .section-lead {
  font-size: 1.2rem;
  font-weight: bold;
  line-height: 1.6;
  color: #333;
  margin-bottom: 1rem;
}

/* section 余白 */
/*
.company-page-wrap > section,
.business-page-wrap > section,
.recruit-page-wrap > section {
  margin-bottom: 3rem;
}


.company-page-wrap > section > div,
.business-page-wrap > section > div,
.recruit-page-wrap > section > div {
  padding-left: 1rem;
  padding-right: 1rem;
}
 */

/* グレーボックス */
.entry-content .gray-box {
  background-color: var(--bg-gray);
  padding: 2rem;
  margin-bottom: 2rem;
  border-radius: 4px;
}
.entry-content .gray-box::after {
  content: "";
  display: block;
  clear: both;
}
.gray-box .box-title {
  text-align: center;
  font-weight: bold;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}
.gray-box .box-title-is-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  font-weight: bold;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.gray-box .box-title-is-line::before,
.gray-box .box-title-is-line::after {
  content: "";
  height: 1px;
  width: 30px;
  background-color: var(--font-color--base);
}
.gray-box .wp-block-table {
  margin-top: 1rem;
}
.gray-box table {
  background-color: #fff;
}

/* 画像の回り込み（右・左） */
.entry-content .alignright {
  float: right;
  margin-left: 2rem;
  margin-bottom: 1rem;
  max-width: 40%;
}

.entry-content .alignleft {
  float: left;
  margin-right: 2rem;
  margin-bottom: 1rem;
  max-width: 40%;
}

@media (max-width: 767px) {
  #main-content .entry-content .alignright,
  #main-content .entry-content .alignleft {
    float: none;
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
    margin-bottom: 1.5rem;
    margin-top: 0;
  }
  .entry-content .alignright figcaption,
  .entry-content .alignleft figcaption {
    display: block;
  }
}

/* テーブル */
.profile-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2rem;
}

.profile-table table,
.profile-table table * {
  border-color: #002040;
}

.profile-table th {
  width: 30%;
  background-color: #d9dbe2;
  padding: 1rem;
  font-weight: bold;
}

.profile-table th span {
  display: block;
  font-weight: normal;
  font-size: 0.8rem;
  margin-top: 3px;
}

.profile-table td {
  padding: 1rem;
  vertical-align: top;
  line-height: 1.75;
}
.profile-table td strong:not(:first-child) {
  display: inline-block;
  margin-top: 0.5rem;
}
.profile-table ul {
  margin: 0;
  padding-left: 1.25rem;
}

.profile-table td p:last-child {
  margin-bottom: 0;
}

@media (max-width: 767px) {
  .profile-table tr {
    display: block;
  }
  .profile-table tr {
    margin-top: 10px;
  }
  .profile-table th,
  .profile-table td {
    display: block;
    width: 100%;
  }
  .profile-table th {
    border-bottom: none !important;
    padding-bottom: 0.5rem;
  }
}

/**** 矢印リンク *****/
.entry-content .arrow-link a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  position: relative;
  color: #637c8c;
  /*下線設定*/
  background-image: linear-gradient(currentColor, currentColor);
  background-position: calc(20px + 10px) 100%; /* 下線の開始位置 */
  background-size: calc(100% - (20px + 10px)) 1px; /* 下線の長さと太さ */
  background-repeat: no-repeat;
}

@media (max-width: 767px) {
  .entry-content .arrow-link a {
    gap: 5px;
    font-size: .95rem;
    letter-spacing: 1px;
  }
}

/* 丸・矢印 */
.entry-content .arrow-link a::before {
  content: "";
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-color: #637c8c;
  flex-shrink: 0;
  transition: background-color 0.3s;
}

.entry-content .arrow-link a::after {
  content: "";
  position: absolute;
  left: calc(20px / 2 - 3.5px);
  color: #007bd6;
  width: 7px;
  height: 7px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: rotate(45deg);
  transition: all 0.3s;
}

/*ロールオーバー*/
.entry-content .arrow-link a:hover::before {
  background-color: var(--accent-color, #007bd6);
}

.entry-content .arrow-link a:hover {
  color: var(--accent-color, #007bd6);
}

/* ※ ノート */
.entry-content .kome-note {
  padding-left: 1em;
  text-indent: -1em;
  margin-top: 20px;
}
/*2行目以降*/
.entry-content .kome-note + .kome-note {
  margin-top: 0;
}
.entry-content .kome-note::before {
  content: "※";
}

/* リード部分 */
.lead-area {
  text-align: center;
}
.lead-area .lerd-title {
  margin-bottom: 1rem;
}
.lead-area p {
  line-height: 1.8;
}

@media (max-width: 767px) {
  .lead-area {
    text-align: left;
  }
  .lead-area .lerd-title {
    font-size: 1.1rem;
  }
}

/*** アンカーメニュー ***/
.anchor-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  padding: 0;
  margin: 2rem 0;
}

.anchor-menu li {
  flex: 1;
  min-width: 150px;
}

.anchor-menu li:before {
  content: none;
}

.anchor-menu a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(to right, #0083e9, #005bae);
  border-radius: 50px;
  border: none;
  color: #fff;
  text-decoration: none;
  transition: all 0.3s;
}

/* 矢印（V字） */
.anchor-menu a::after {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-left: 12px;
  border-bottom: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: rotate(45deg);
  position: relative;
  top: -2px;
}

.anchor-menu a:hover {
  background-color: #0066cc;
  opacity: 0.8;
}

@media (max-width: 767px) {
  .anchor-menu {
    flex-direction: column;
    gap: 10px;
  }
  .anchor-menu li {
    width: 100%;
    min-width: auto;
  }
}

/*------------------
 会社案内
 ------------------*/
.company-page-wrap .alignright figcaption {
  font-weight: bold;
  font-size: 1rem;
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .company-page-wrap .alignright {
    margin-bottom: 0;
  }
}

/* 会社概要 */
#organization .organization-image-wrap {
  padding-left: 0;
  padding-right: 0;
}
.company-page-wrap .organization-image img {
  display: block;
  width: 760px;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}



/*******スマホ 767px以下********/
@media (max-width: 767px) {
  .rinen_backimg + p {
    width: 80%;
    text-align: center;
    font-size: 16px;
    line-height: 1.5;
  }
}

.company-map-area {
  text-align: center;
}
.company-map-area .access-title-is-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}
.company-map-area .access-title-is-line::before,
.company-map-area .access-title-is-line::after {
  content: "";
  height: 1px;
  width: 30px;
  background-color: var(--font-color--base);
}
.company-map-area .access-sub-title {
  margin-top: 1.5rem;
  font-weight: bold;
}

.company-map-area .access-detail {
  margin-top: 0.5rem;
  line-height: 2;
}
.company-map-area iframe {
  width: 100%;
  height: 450px;
}

/* 営業所・⼯場 */
.locations-section .locations-map {
  max-width: 600px;
  width: 100%;
  margin: 3rem auto 2rem;
}

.locations-section .profile-table td a {
  display: inline-flex;
}

.locations-section .profile-table td a.address:after {
  content: "\e2c5";
  font-family: var(--icon-font-family);
  position: relative;
  top: 6px;
  margin-left: 3px;
  font-size: 1.5rem;
  color: var(--logo-green);
  margin-top: -1rem;
  display: inline-block;
}

/* グループ会社 */
.group-section .profile-table td a {
  color: var(--logo-green);
}
.group-section .profile-table td a::after {
  content: "\e89e";
  font-family: var(--icon-font-family);
  position: relative;
  top: 5px;
  margin-left: 3px;
  font-size: 1.1rem;
  display: inline-block;
  margin-top: -0.5rem;
}

.group-section .map-pc,
.group-section .map-sp {
  text-align: center;
}

@media (min-width: 768px) {
  .group-section .map-sp {
    display: none;
  }
}
@media (max-width: 767px) {
  .group-section .map-pc {
    display: none;
  }
}

/* 沿革 */
.company-page-wrap .history-top-img figcaption {
  font-size: 0.95rem;
  color: var(--dark-gray);
}

.company-page-wrap .history-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 3rem;
  table-layout: fixed;
  border: none;
}

.company-page-wrap .history-table thead th {
  background-color: #d9dbe2;
  color: #333;
  padding: 1.1rem;
  font-size: 0.9rem;
  border: none;
  border-bottom: 1px solid #002040;
}

.company-page-wrap .history-table tbody tr {
  border-bottom: 1px dashed var(--light-gray);
}
.company-page-wrap .history-table tbody tr:first-child {
  border-top: 1px dashed var(--light-gray);
}

.company-page-wrap .history-table thead {
  border-bottom: none;
}

.company-page-wrap .history-table th,
.company-page-wrap .history-table td {
  padding: 1rem;
  vertical-align: middle;
  border: none;
}

.company-page-wrap .history-table td:first-child {
  text-align: right;
  width: 38%;
}

.company-page-wrap .history-table td:first-child span {
  display: inline-block;
  text-align: left;
}

.company-page-wrap .history-table tbody th {
  text-align: center;
  width: 24%;
  font-weight: bold;
  color: #444;
  white-space: nowrap;
}

.company-page-wrap .history-table td:last-child {
  text-align: left;
  width: 38%;
}

.company-page-wrap .history-table td figure {
  margin-top: 0.5rem;
}

/* TOPIC グレーボックス */
.history-topic .topic-title {
  font-size: 1.1rem;
  font-weight: bold;
  color: #888;
}
.history-topic .topic-lead {
  margin-top: 0.1rem;
}
.history-topic .wp-block-columns {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 2.5rem;
}
.history-topic .wp-block-columns ul {
  padding: 0;
  font-size: 0.975rem;
  line-height: 1.75;
}
.history-topic .wp-block-columns li {
  display: inline-block;
  margin-right: 0.5rem;
}
.history-topic figcaption {
  font-weight: bold;
  font-size: 1rem;
  margin-top: 0.5rem;
  margin-bottom: 0;
}
@media (min-width: 768px) {
  .history-topic .column2 {
    margin-top: 2.5rem;
  }
}

@media (max-width: 970px) {
  .company-page-wrap .history-table tbody th {
    white-space: normal;
  }
}

@media (max-width: 767px) {
  .history-table thead {
    display: none;
  }
  .history-table td:empty {
    display: none;
  }
  .history-table tbody tr {
    display: flex;
    flex-direction: column;
    border-bottom: 1px dashed #ddd;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
  }

  .history-table th,
  .history-table td {
    display: block;
    width: 100% !important;
    box-sizing: border-box;
    text-align: left !important;
  }

  .history-table tbody th {
    order: 1;
    background-color: var(--bg-gray);
    padding: 0.8rem 1rem;
    margin-bottom: 0.5rem;
  }

  .history-table td:first-of-type {
    order: 2;
    padding: 0.5rem 1rem 0.5rem 5rem;
  }

  .history-table td:last-of-type {
    order: 3;
    padding: 0.5rem 1rem 0.5rem 5rem;
  }

  .history-table td {
    position: relative;
  }
  .history-table td:first-of-type::before {
    content: "会社沿革";
    position: absolute;
    left: 0.5rem;
    color: #888;
    font-size: 0.7rem;
    background: #E8F5E9;
    padding: 2px 4px;
    border-radius: 3px;
  }
  .history-table td:last-of-type::before {
    content: "製品経歴";
    position: absolute;
    left: 0.5rem;
    color: #888;
    font-size: 0.7rem;
    background: #e8f0f8;
    padding: 2px 4px;
    border-radius: 3px;
  }
  .history-topic .wp-block-columns {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/*------------------
業務案内
 ------------------*/
.business-page-wrap h5 {
  font-size: 1.25rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

/* あらゆる業務において、ユーザー様の利便性を追求 */
.business-page-wrap .business-item .business-columns {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.business-page-wrap .item-title {
  font-weight: bold;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1rem;
}

.business-page-wrap .item-title::before {
  font-size: 0.75rem;
  padding: 2px 8px;
  border: 1px solid currentColor;
  border-radius: 2px;
  font-family: sans-serif;
}

.business-page-wrap .type-advantage .item-title::before {
  content: "Advantage";
}

.business-page-wrap .type-topics .item-title::before {
  content: "Topics";
}
.business-page-wrap .business-item .arrow-link {
  padding-left: 0;
  text-indent: 0;
}
.business-page-wrap .business-item .arrow-link a {
  display: inline-flex;
  align-items: center;
  color: var(--middle-gray);
  text-decoration: none;
  font-weight: bold;
}
.business-page-wrap .business-item .arrow-link a::before {
  top: 0;
}

@media (max-width: 861px) {
  .business-page-wrap .item-title {
    display: grid;
  }
  .business-page-wrap .item-title::before {
    border: none;
    border-left: 4px solid var(--middle-gray);
    font-size: 0.9rem;
    line-height: 1.3;
  }
}

/* 緑星社の製品・サービス、ご利⽤プラン */
/* 営業品⽬ */
.business-page-wrap .wp-block-columns ul {
  padding-left: 1.25rem;
}
.business-page-wrap .wp-block-columns li {
  margin-bottom: 0.35rem;
}

.business-page-wrap .wp-block-columns .detail-links {
  margin-top: 1.5rem;
}

.business-page-wrap .profile-table th {
  text-align: left;
}
.business-page-wrap .profile-table.client-table td {
  line-height: 2;
}

/* ご利⽤プラン */
.plan-table tr:first-child td {
  background-color: var(--bg-gray);
  color: var(--dark-gray);
  font-size: 0.85rem;
  padding: 10px 5px;
  text-align: center;
  border-color: var(--light-gray) var(--light-gray) #002040 var(--light-gray);
  vertical-align: middle;
  line-height: 1.5;
}

.plan-table tr:first-child td:first-child {
  width: 155px;
}
.plan-table tr:first-child td:nth-child(-n + 2) {
  background-color: #fff;
  border: none;
}
.plan-table td:nth-last-child(-n + 3) {
  text-align: center;
  vertical-align: middle;
  font-size: 1.2rem;
  font-family: sans-serif;
}

.business-page-wrap .plan-table .badge {
  display: inline-block;
  border: 1px solid var(--middle-gray);
  padding: 0 4px;
  font-size: 0.7rem;
  margin-left: 5px;
  vertical-align: middle;
  top: -3px;
  position: relative;
}

.plan-table .note {
  font-size: 0.85rem;
  color: #666;
}

@media (min-width: 768px) {
  .plan-table td:nth-last-child(-n + 3) {
    width: 80px;
  }
}

@media (max-width: 767px) {
  .plan-table {
    max-width: 420px;
    width: 100%;
    margin-left: 0 !important;
  }
  .plan-table tr:first-child {
    display: none;
  }
  .plan-table td:nth-last-child(-n + 3)::before {
    position: absolute;
    left: 1.5rem;
    color: var(--middle-gray);
    font-size: 0.9rem;
    background: var(--bg-gray);
    padding: 2px 4px;
    border-radius: 3px;
  }
  .plan-table td:nth-last-child(3)::before {
    content: "標準品";
  }
  .plan-table td:nth-last-child(2)::before {
    content: "カスタム";
  }
  .plan-table td:last-child::before {
    content: "フルオーダー";
  }
}

/* 無駄なく使える、緑星社のレンタル、リースプラン */
.products-area h5::before {
  content: "★";
}

.plan-contact-block {
  text-align: center;
  margin-top: 4rem;
}

.plan-text-main {
  font-weight: bold;
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.plan-buoy-visual {
  width: 100%;
  max-width: 800px;
  height: auto;
  margin: 0 auto 3rem;
}

.plan-text-lead {
  font-size: 1.1rem;
}

/*  グリーン・グラデーションボタン */
.btn-green-gradient {
  text-align: center;
}
.btn-green-gradient a {
  color: #fff;
}
.btn-green-gradient a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 1.2rem 3rem;
  background: linear-gradient(270deg, var(--logo-green) 0%, #0f8962 100%);
  color: #fff;
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: bold;
  border-radius: 4px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition:
    background 0.3s,
    transform 0.2s,
    box-shadow 0.3s;
  margin-bottom: 3rem;
}

.btn-green-gradient a:hover {
  opacity: 0.9;
}

.btn-green-gradient a::before {
  content: "\e9b9";
  font-family: var(--icon-font-family);
  font-size: 1.5rem;
  font-weight: normal;
  position: relative;
  top: -3px;
}

/* 企画・設計・開発 */
.business-page-wrap .development-area h4,
.business-page-wrap .consulting-area h4 {
  text-align: left;
  padding: 0.5rem 1.2rem;
}
.development-area .gray-box .wp-block-columns > div:last-child {
  text-align: center;
}

/* コンサルティング業務 */
.consulting-lead-box .label-text {
  min-height: 3rem;
  display: flex;
  gap: 1.2rem 2rem;
  align-items: center;
  line-height: 1.6;
  font-weight: bold;
}

.consulting-lead-box .label-text::before {
  width: 8.5rem;
  text-align: center;
  padding: 0.8rem 0 .6rem 0;
  border: 1px solid var(--dark-gray);
  background-color: #fff;
  font-size: 0.9rem;
  font-weight: bold;
}

.consulting-lead-box .type-free::before {
  content: "ご相談は無料！";
}

@media (max-width: 767px) {
  .consulting-lead-box .label-text {
    flex-direction: column;
    text-align: center;
  }
}

.consulting-area .kome-note {
  margin-top: 0.2rem;
  margin-bottom: 2rem;
}

.consulting-area .buoy-columns {
  margin-bottom: 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}
.consulting-area .gray-box td {
  text-align: center;
}
.consulting-area .order-mooring-buoy-table th,
.consulting-area .order-marker-buoy-table th{
  background: #d9dbe2;
}
.consulting-area .order-mooring-buoy-table tr:last-child td:nth-child(2) {
  text-align: left;
}



@media (max-width: 767px) {
  .consulting-area .order-mooring-buoy-table table,
  .consulting-area .order-marker-buoy-table table {
    width: 1050px;
  }
  .consulting-area .order-mooring-buoy-table is(th, td),
  .consulting-area .order-marker-buoy-table is(th, td) {
    padding: .2rem;
  }
  .consulting-area .buoy-columns {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
}

/* アフターフォロー */
@media (max-width: 767px) {
  .after-follow-area .case-list {
    gap: 1.5rem
  }
  .after-follow-area .case-list .wp-block-column {
    margin-bottom: 0;
  }
}


/*------------------
 採用情報
 ------------------*/
.recruit-page-wrap h4 {
  text-align: left;
}

/* mp4動画*/
.recruit-video-container {
  width: 100%;
  max-width: 1000px;
  line-height: 0;
}

.recruit-brand-movie {
  width: 100% !important;
  height: auto !important;
  display: block;
}

/* 募集職種・募集要項 */
.recruit-btn-wrap {
  text-align: center;
  margin: 3rem 0 4rem;
}
.recruit-btn-wrap .wp-block-button {
  margin: 0 auto 3rem;
  max-width: 90%;
}

.recruit-btn-wrap .wp-block-button a {
  background-color: #0083e9;
  padding: 1.75rem 5rem;
  font-size: 1.2rem;
  font-weight: bold;
  border-radius: 5px;
}

/* 先輩社員の声 */
.office-interview .gray-box {
  max-width: 1080px;
  background-color: #d4eef9;
  /*padding: 1rem;*/
  margin-bottom: 1rem;
}

.office-interview .gray-box div {
  display: flex;
  align-items: center;
}

.office-interview .person-name {
  font-size: 1.4rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}
/* 1カラム目（名前側） */
.office-interview .wp-block-column:first-child {
  flex-basis: 40% !important;
}
/* 2カラム目（テキスト側）*/
.office-interview .wp-block-column:last-child {
  flex-basis: 60% !important;
}

/* 名前側に縦線 */
.office-interview .wp-block-column:first-child {
  flex-basis: 40% !important;
  border-right: 1px solid #333;
  padding-right: 20px;
  margin-right: 20px;
  /* 上下中央揃え */
  display: flex;
  align-items: center;
  justify-content: center;
}

/*採用情報/先輩の声 段落 見出し*/
body:not(.home) .int_wrap h3 {
  /*h3スタイル打消し上書き*/
  position: static;
  padding: 10px 0;
  margin-bottom: 15px;
  line-height: 1.5;
  border-top: 1px #95a0a5 solid;
  border-bottom: 1px #95a0a5 solid;
  color: #002040;
  font-weight: bold;
  font-size: 18px;
}

/* 左側の四角形 削除 */
body:not(.home) .int_wrap h3::before {
  content: none;
}

@media (max-width: 767px) {
  body:not(.home) .int_wrap h3 {
    padding: 10px 0;
    margin-bottom: 15px;
    font-size: 17px;
  }
}

/*******スマホ 767px以下********/
@media (max-width: 767px) {
  .office-interview .wp-block-column:first-child {
    flex-basis: 100% !important;
    border-right: none !important;
    border-bottom: 1px solid #333;
    margin-right: 0;
    margin-bottom: 20px;
    padding-right: 0;
    padding-bottom: 20px;
  }
}

.office-interview .person-name::before {
  content: "";
  display: inline-block;
  width: 6rem;
  height: 6rem;
  vertical-align: middle;
  margin-right: 0.5rem;
  background: url("assets/img/common/human.png") no-repeat center / contain;
}

.office-interview ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.95rem;
  display: flex;
  flex-wrap: wrap;
  gap: 5px 15px;
}
.office-interview li::before {
  content: "■";
  font-family: sans-serif;
  margin-right: 0.1rem;
  position: static;
  background: none;
  display: inline;
}

.interview-body {
  margin-top: 2rem;
  padding: 0 1rem;
}

.interview-body p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #444;
  padding-left: 0.75rem;
}
.interview-body p:last-child {
  margin-bottom: 2.5rem;
}

@media (max-width: 767px) {
  .office-interview .gray-box {
    display: block;
    padding-top: 1.2rem;
  }
  .interview-body {
    padding: 0;
  }
  .interview-body h3 {
    font-size: 1.15rem;
  }
}

/*------------------
 【共通】航路標識/水産関連
 ------------------*/
/* 一覧部分はトップページからコピペ部分
   ▽簡易的な調整だけ（後で調整するのあまりさわらないでとのことなので）
   ⇒トップページにある左の文字を非表示にして幅調整をしています */
.sea-light-page-wrap .top-product .top-product-catalogue::before,
.buoy-page-wrap .top-product .top-product-catalogue::before {
  display: none;
}

.sea-light-page-wrap .top-product .top-product-catalogue,
.buoy-page-wrap .top-product .top-product-catalogue {
  margin-top: 2.5rem;
  padding: 0;
}

/* section余白 */
.sea-light-page-wrap > section,
.buoy-page-wrap > section {
  margin-bottom: 3rem;
}

.sea-light-page-wrap > section > div,
.buoy-page-wrap > section > div {
  padding-left: 1rem;
  padding-right: 1rem;
}

/* トップページh4の見出しデザインのコピー */
/*.sea-light-page-wrap h2,
.buoy-page-wrap h2 {
  border-width: 0 0 3px 15px;
  border-style: solid;
  font-size: 1.3125rem;
  line-height: 1;
  padding: 0.5rem 1rem 0.875rem 1.625rem;
  margin-top: 3.5rem;
}*/

/*------------------
 航路標識
 ------------------*/
.section-usage .use-map {
  width: 800px;
  max-width: 100%;
  position: relative;
}

.section-usage .use-map img {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.section-usage .use-map #usage_clickable {
  margin-top: 0;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.section-usage .use-map #usage_clickable .text-label-wrap {
  visibility: hidden;
}

.section-usage .use-map #usage_clickable .text-label {
  background: #fff;
  border: 1px solid #005bac;
  color: #005bac;
  padding: 6px 10px;
  white-space: nowrap;
  width: fit-content;
  height: fit-content;
}

.section-usage .use-map #usage_clickable .cls-13 {
  font-family: NotoSansJP-Thin, "Noto Sans JP";
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.05em;
  line-height: 1.3;
}

@media (max-width: 767px) {
  .section-usage .use-map #usage_clickable .cls-13 {
    font-size: 26px;
    letter-spacing: 0;
  }
  .section-usage .use-map #usage_clickable .text-label {
    padding: 4px;
  }
}

.section-usage .use-map #usage_clickable .cls-6 {
  fill: #fff;
}

.section-usage .use-map #usage_clickable .cls-13,
.cls-14 {
  fill: #005bac;
}

.section-usage .use-map #usage_clickable a:hover {
  opacity: 1;
}

.section-usage #dialogs-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.section-usage .use-map #dialogs-wrap .dialog-wrap {
  width: 210px;
  height: 410px;
  padding: 2px;
}

.section-usage .use-map #dialogs-wrap .dialog {
  z-index: 10;
  background: #f5f5f0;
  border-radius: 8px;
  width: 200px;
  height: 400px;
  padding: 1.4rem 1rem 1rem;
  display: none;
  box-shadow: 2px 2px 5px #555;
  pointer-events: auto;
  position: absolute;
  top: 0;
  left: 0;
}

.section-usage .use-map #dialogs-wrap .dialog.show {
  display: block;
}
.section-usage .use-map #dialogs-wrap .dialog .dialog-close {
  position: absolute;
  right: 8px;
  top: 8px;
  width: 20px;
  height: 20px;
  background: url("assets/img/sea-light/icon-dialog-close.svg") no-repeat center / contain;
  cursor: pointer;
}
.section-usage .use-map #dialogs-wrap .dialog .dialog-close img {
  width: 100%;
  height: 100%;
  display: inline-block;
  line-height: 1;
}
.section-usage .use-map #dialogs-wrap .dialog .product-image {
  max-width: 80%;
  max-height: 50%;
}

.section-usage .use-map #dialogs-wrap .dialog .dialog-title {
  font-size: 1.1rem;
  font-weight: bold;
  text-align: center;
  line-height: 1.3;
  margin-top: 0.75rem;
}
.section-usage .use-map #dialogs-wrap .dialog .dialog-text {
  margin-top: 0.75rem;
  line-height: 1.3;
  margin-bottom: 0;
}

/*------------------
 水産関連
 ------------------*/

/*------------------
 製品情報
 ------------------*/
/*ページスタート位置調整*/
.single-product #main-content .entry-content > :not([class$="-page-wrap"]) {
  margin-top: 4.5rem;
}

/*製品ページh2見出し冒頭のみマージン調整*/
.single-product h2 {
  margin-top: 3rem !important;
}

.product-product-images {
  display: flex;
  flex-wrap: wrap !important;
  gap: 2rem;
}

:root .product-product-images > .wp-block-column,
:root .product-product-images > .wp-block-image {
  flex-basis: 202px;
  flex-grow: 0;
}
:root .product-product-images.three-columns > .wp-block-column,
:root .product-product-images.three-columns > .wp-block-image {
  flex-basis: 370px;
}

:root .product-product-images.two-columns {
  justify-content: space-around;
}

:root .product-product-images.two-columns > .wp-block-column,
:root .product-product-images.two-columns > .wp-block-image {
  flex-basis: 556px;
}


.product-product-images figure {
  border: 1px solid var(--b-theme-color-2-muted);
  padding: 8px;
}

.product-product-images img {
  width: 100%;
  aspect-ratio: 1 / 1.3;
  object-fit: contain;
  object-position: center;
}

.product-product-images.two-columns img {
  aspect-ratio: 1 / .6;
}

.product-product-images .product_title_txt_top {
  text-align: center;
}

.product-detail-wrap > .wp-block-columns {
  gap: 0;
  margin-top: 0;
}

.product-detail-wrap > .wp-block-columns > .wp-block-column {
  border-width: 1px 0 0 1px;
  border-style: solid;
  border-color: #333;
  padding: .5rem;
}

.product-detail-wrap > .wp-block-columns:last-child > .wp-block-column {
  border-bottom-width: 1px;
}

.product-detail-wrap > .wp-block-columns > .wp-block-column:last-child {
  border-right-width: 1px;
}

.product-detail-wrap > .wp-block-columns > .wp-block-column:first-child {
  background: #d9dbe2;
  display: grid;
  align-items: center;
  padding: 1rem 2rem;
  flex-basis: 30%;
  flex-grow: 0;
}

.product-detail-wrap > .wp-block-columns > .wp-block-column .wp-block-image {
  text-align: center;
}

@media (max-width: 767px) {
  .product-detail-wrap > .wp-block-columns > .wp-block-column:first-child {
    margin-top: 1rem;
    border-bottom: 0;
    text-align: center;
  }
  .product-detail-wrap > .wp-block-columns > .wp-block-column {
    border-right-width: 1px;
  }

  .product-detail-wrap > .wp-block-columns > .wp-block-column:last-child {
    border-bottom-width: 1px;
  }
  .product-detail-wrap > .wp-block-columns:last-child > .wp-block-column {
    border-bottom-width: 0;
  }
  .product-detail-wrap > .wp-block-columns:last-child > .wp-block-column:last-child {
    border-bottom-width: 1px;
  }

}

@media (max-width: 781px) {
  :root .product-product-images {
    gap: 1rem;
  }
  :root .product-product-images > .wp-block-column,
  :root .product-product-images > .wp-block-image {
    flex-basis: calc((100% - 1rem) / 2) !important;
  }
  :root .product-product-images.two-columns > .wp-block-column,
  :root .product-product-images.two-columns > .wp-block-image {
    flex-basis: 100% !important;
  }
}

/*******スマホ 767px以下********/
@media (max-width: 767px) {
  .single-product #main-content .entry-content > section:not([class$="-page-wrap"]) {
    margin-top: 3rem;
  }

  /*製品ページh2見出し冒頭のみマージン*/
  .single-product h2 {
    margin-top: 1rem !important;
  }

}

.product-catalogue-wrap {
  display: flex;
  column-gap: 1.5rem;
}
.product-catalogue-wrap > .catalogue-label {
  flex-basis: 33.33%;
  display: grid;
  align-items: center;
}
.product-catalogue-wrap > .catalogue-link {
  flex-basis: 66.66%;
  display: grid;
  align-items: center;
}

.product-catalogue-wrap .catalogue-link-list {
  padding-left: 0;
  margin-top: 0;
}

@media (max-width: 767px) {
  .product-catalogue-wrap h2 {
    margin-top: 0;
    margin-bottom: 1rem;
  }
}
/*th背景追加*/
.product_table_s table th,
.product_table_l table th {
  background-color: #d9dbe2;
}

.product_table_s table th {
  width: 40%;
}

.product_table_l table th {
  width: 30%;
}

@media (max-width: 767px) {
  .product_table_l table th {
    width: 40%;
  }
}

/*型番のテキスト調整に使用*/
.product_title_txt {
  margin-bottom: -15px;
}
.product_title_txt_top {
  padding-top: 10px;
}

/*リンク下線*/
.single-product .entry-content a {
  text-decoration: underline;
}

/*最下部　pdf製品カタログ・製品仕様　枠囲み*/
/*共通枠線*/
.pdf_catalog,
.product-catalogue-wrap {
  border: 1px #a3a2a2 solid;
}

/*pdf製品カタログ*/
.pdf_catalog {
  gap: 0 !important;
}
.pdf_catalog .wp-block-column {
  padding: 20px !important;
  display: grid;
  align-items: center;
}
.pdf_catalog .wp-block-column:first-child {
  background-color: #f0f0f0;
  flex-basis: 25% !important;
}

.pdf_catalog ul {
  margin-left: -20px !important;
}

/*製品仕様　※システム部位*/
.product-catalogue-wrap .catalogue-label {
  background-color: #f0f0f0;
  flex-basis: 25% !important;
  display: flex;
  align-items: center;
}

.product-catalogue-wrap .catalogue-label p {
  margin-bottom: 0;
}

.product-catalogue-wrap .catalogue-label,
.product-catalogue-wrap .catalogue-link {
  padding: 20px !important;
}

.product-catalogue-wrap ul {
  margin-bottom: 0;
}

@media (max-width: 767px) {
  .pdf_catalog ul {
    padding-inline-start: 15px !important;
    margin-left: 0 !important;
  }

  .product-catalogue-wrap {
    display: flex;
    flex-direction: column;
  }

  .product-catalogue-wrap ul {
    padding-left: 20px !important;
  }
}

/*------------------
 サイトマップ
 ------------------*/
.sitemap-page-wrap h2 {
  font-size: 1rem;
  color: var(--b-theme-color-1);
  border-bottom: 1px solid var(--b-theme-color-1);
  line-height: 1;
  margin-top: 3.125rem;
  padding-bottom: 0.5rem;
}
.sitemap-page-wrap a[href="#"]{
  pointer-events: none;
}
.sitemap-page-wrap a[href="#"]:before {
  content: none !important;
}
.sitemap-page-wrap .menu-item:not(:first-child) {
  margin-top: 1rem;
}
.sitemap-page-wrap ul li:before {
  display: none;
}

.sitemap-page-wrap .menu-item > a {
  display: inline-flex;
  align-items: center;
  column-gap: 0.625rem;
  margin-bottom: 0.25rem;
  font-weight: bold;
}
.sitemap-page-wrap .menu-item > a::before {
  content: "\e5c8";
  font-family: var(--icon-font-family);
  display: grid;
  place-content: center;
  width: 23px;
  height: 23px;
  background: var(--b-theme-color-1);
  color: #fff;
  font-size: 1.1rem;
  padding-left: 2px;
  padding-top: 2px;
}
.sitemap-page-wrap .sub-menu-item {
  padding-left: 0.75rem;
}
.sitemap-page-wrap .sub-menu-item > a::before {
  content: "\f591";
  font-family: var(--icon-font-family);
  position: relative;
  top: 12px;
  left: -20px;
  display: block;
  width: 12px;
  height: 12px;
}
.sitemap-page-wrap .sub-menu {
  margin-bottom: 0.5rem;
}
.sitemap-page-wrap .sub-menu a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.sitemap-page-wrap .sub-menu a::before {
  content: "-";
  display: grid;
  place-content: center;
}
@media (max-width: 767px) {
  .sitemap-page-wrap .sub-menu-item .sub-menu {
    padding-left: 0.25rem;
  }
}

/*------------------
 検索
 ------------------*/
.search article {
  border-bottom-width: 0;
  padding: 0;
}

#product-query .tab-head .condition {
  justify-content: center;
}

#product-query .tab-group {
  border: 2px solid #aaa;
  border-radius: 5px;
  padding: 2rem;
}

#product-query .condition-wrap {
  display: flex;
  align-items: center;
  margin-bottom: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #ccc;
}

#product-query .condition-wrap:last-child {
  border-bottom-width: 0;
  padding-bottom: 0;
  margin-bottom: 0;
}

#product-query-form:has(.tab-head input[value="light-buoy"]:checked) .tab-group .condition-wrap:not(.for-buoy),
#product-query-form:has(.tab-head input[value="light-buoy"]:checked) #item-list li > *:not(.for-buoy) {
  display: none;
}

#product-query-form:has(.tab-head input[value="marking-light"]:checked) .tab-group .condition-wrap:not(.for-marking),
#product-query-form:has(.tab-head input[value="marking-light"]:checked) #item-list li > *:not(.for-marking) {
  display: none;
}

#product-query .condition-wrap .search-item {
  flex-basis: 150px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  font-size: 1.1em;
  font-weight: bold;
}

#product-query .condition {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

#product-query #depth_value {
  border: 1px solid #ccc;
}

#product-query #depth {
  width: 300px;
}

#product-query #depth-list {
  display: flex;
  justify-content: space-between;
  width: 300px;
  margin-top: 6px;
  padding: 0;
}

#product-query #depth-list option {
  position: relative;
  display: inline;
  width: 0;
  padding: 0;
}

#product-query label:has(> input) {
  height: fit-content;
}
#product-query label:has(> input[type="checkbox"]),
#product-query label:has(> input[type="radio"]) {
  padding: 5px 10px;
  border-radius: 5px;
  border: 2px solid #aaa;
  cursor: pointer;
  white-space: nowrap;
}

#product-query label:has(> input:checked) {
  border-color: #51a2ff;
  border-width: 2px;
  background: #dff2fe;
}

#product-query input[type="checkbox"],
#product-query input[type="radio"] {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}

#product-query .tab-head .condition {
  transform: translateY(2px);
  align-items: flex-end;
}

#product-query .tab-head .condition label {
  padding: 0.75rem 2rem;
  border-radius: 5px 5px 0 0;
  color: #999999;
  background: #f5f5f5;
  font-weight: bold;
  line-height: 1;
}

#product-query .tab-head .condition label:has(> input:checked) {
  border-color: #aaa #aaa #fff #aaa;
  background: #fff;
  color: #333;
}
#product-query #item-list-table li:before {
  content: none;
}
#product-query #item-list {
  margin-top: 3rem;
}

#product-query #item-list ul {
  list-style: none;
  padding-left: 0;
}

#product-query #item-list li {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 0.25rem;
  margin-bottom: 0.25rem;
  border-bottom: 1px solid #ccc;
  text-align: center;
  letter-spacing: 0;
}

#product-query #item-list li.header {
  text-align: center;
}

#product-query #item-list li > * {
  width: 100%;
}

#product-query #item-list a.pdf {
  color: #333;
  align-items: center;
  display: inline-flex;
  border-bottom: 1px solid rgb(51 51 51 / 50%);
}

#product-query #item-list a.pdf:after {
  content: "";
  width: 20px;
  height: 20px;
  display: inline-block;
  margin-left: 0.25rem;
  background: url(assets/img/common/icon-pdf.webp) no-repeat center / contain;
  flex-shrink: 0;
}

#product-query .no-result {
  font-size: 1.2rem;
  font-weight: bold;
  padding-top: 2rem;
  padding-bottom: 2rem !important;
}

#product-query .form_wrap {
  position: relative;
}

#product-query #loader-wrap {
  place-content: center;
  z-index: 999;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgb(0 0 0 / 50%);
  display: none;
  opacity: 1;
  border-radius: 5px;
  transition:
    opacity 0.3s,
    display 0.3s allow-discrete;
  @starting-style {
    opacity: 0;
  }
}

#product-query #loader-wrap.show {
  display: grid;
}

#product-query #loader-wrap .loader,
#product-query #loader-wrap .loader:before,
#product-query #loader-wrap .loader:after {
  background: #ffffff;
  -webkit-animation: load1 1s infinite ease-in-out;
  animation: load1 1s infinite ease-in-out;
  width: 1em;
  height: 4em;
}
#product-query #loader-wrap .loader {
  color: #ffffff;
  text-indent: -9999em;
  margin: 88px auto;
  position: relative;
  font-size: 11px;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-animation-delay: -0.16s;
  animation-delay: -0.16s;
}
#product-query #loader-wrap .loader:before,
#product-query #loader-wrap .loader:after {
  position: absolute;
  top: 0;
  content: "";
}
#product-query #loader-wrap .loader:before {
  left: -1.5em;
  -webkit-animation-delay: -0.32s;
  animation-delay: -0.32s;
}
#product-query #loader-wrap .loader:after {
  left: 1.5em;
}

@-webkit-keyframes load1 {
  0%,
  80%,
  100% {
    box-shadow: 0 0;
    height: 4em;
  }
  40% {
    box-shadow: 0 -2em;
    height: 5em;
  }
}
@keyframes load1 {
  0%,
  80%,
  100% {
    box-shadow: 0 0;
    height: 4em;
  }
  40% {
    box-shadow: 0 -2em;
    height: 5em;
  }
}

@media (min-width: 768px) {
  #product-query .form_wrap {
    padding: 2rem;
  }
}

@media (max-width: 767px) {
  #product-query .condition-wrap {
    display: block;
    padding-bottom: 1.5rem;
  }
  #product-query .search-item {
    margin-bottom: 1rem;
  }
  #product-query .condition {
    justify-content: center;
  }
  #product-query-form #item-list-table {
    margin-top: 0;
  }
  #product-query-form #item-list-table .header {
    background: #eee;
    border-top: 1px solid #555;
  }
  #product-query-form #item-list-table li {
    display: grid;
    border-bottom: 1px solid #555;
  }
  #product-query-form #item-list-table li > div {
    padding: 4px;
    height: 100%;
    display: grid;
    place-content: center;
  }
  #product-query-form #item-list-table li > div a {
    line-height: 1;
  }
  #product-query-form #item-list-table li {
    grid-template-columns: 1fr 1fr 1fr;
  }
  #product-query-form:has(.tab-head input[value="light-buoy"]:checked) #item-list-table li > div:nth-child(-n + 3 of .for-buoy) {
    border-bottom: 1px dashed #aaa;
  }
  #product-query-form:has(.tab-head input[value="marking-light"]:checked) #item-list-table li > div:nth-child(-n + 3 of .for-marking) {
    border-bottom: 1px dashed #aaa;
  }
}

/*------------------
 フォーム
 ------------------*/

#main-content .wpcf7-form h2 {
  margin-top: 4rem !important;
}

.wpcf7-form input[type="number"],
.wpcf7-form input.number-field {
  width: 5em;
}

.wpcf7-form input.short {
  width: 5em;
}

.wpcf7-form .required-after:after {
  content: "※";
  color: #ca2626;
}

.wpcf7-form .contact-row {
  display: grid;
  grid-template-columns: 400px 1fr;
  margin: 0;
  padding: 0 !important;
  align-items: center;
}

.wpcf7-form .contact-row > div {
  padding: 1rem 1.5rem;
  justify-self: stretch;
  align-self: stretch;
}

.wpcf7-form .contact-row > div:first-child {
  font-weight: bold;
  background: #f1f5f9;
  display: grid;
  place-content: center;
}

.wpcf7-form .contact-row > div:last-child {
  padding-left: 1em;
}

.wpcf7-form .contact-row > div > div:not(:last-child) input {
  margin-bottom: 0.5rem;
}

.wpcf7-form .contact-row p {
  margin-bottom: 0;
}

.wpcf7-form .wpcf7-checkbox .wpcf7-list-item {
  display: block;
}

.contact-row .multi-lines > div {
  margin-bottom: 1rem;
}

.contact-row:first-of-type {
  border-top: 1px dotted var(--b-theme-color-1);
  padding-top: 1rem;
}

form .wpcf7-submit {
  background: var(--b-theme-color-1);
}

form .wpcf7-submit:disabled {
  background: #90a1b9;
}

.wpcf7 form.invalid .wpcf7-response-output {
  margin-top: 2rem;
  display: block;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.contact-row > div:has(.wpcf7-not-valid-tip) {
  padding-bottom: 2rem;
  position: relative;
}

.wpcf7-form-control-wrap:has(.wpcf7-not-valid-tip) {
  position: static;
}
.wpcf7-checkbox-with-input {
  padding-left: 0;
  margin-left: 1rem;
}
.wpcf7-checkbox-with-input li:before {
  display: none;
}

.wpcf7-form .top-mark .with_input_wrap:after {
  content: ' 型';
}

@media (max-width: 919px) {
  body.consultation input {
    width: auto;
    max-width: 100%;
  }
  .wpcf7-form .contact-row {
    grid-template-columns: 1fr;
    row-gap: 0;
  }
  .wpcf7-form .zip input,
  .wpcf7-form .name input {
    width: auto;
  }

  .wpcf7-form .name input {
    width: 35%;
  }
}

@media (max-width: 767px) {
  .wpcf7-checkbox-with-input li {
    display: flex;
  }
  .wpcf7-checkbox-with-input li label {
    flex-shrink: 0;
  }
  .wpcf7-form .cbi-free-input {
    width: 80%;
  }
}
