@charset "utf-8";


body{
    -webkit-font-smoothing: antialiased;
}

/* ボタン */
.is-style-more_btn a{
  width: 70%;
  max-width: 300px;
  min-width: 200px;
}

/* ヘッダーバナーの中央揃え */
.l-header__barInner.l-container {
	text-align:center;
   font-size: 13px;
  font-weight: bold;
  letter-spacing: 0.1em;
  padding-block: 2px;
}
.c-catchphrase {
	margin:0 auto
}
/* ヘッダーの余白調整 */
.l-header__inner.l-container,
#fix_header .l-container {
  max-width: 100% !important;
  margin: 0 !important;
}
#header .swell-block-button__link,
#fix_header .swell-block-button__link {
  white-space: nowrap;
}
/* ヘッダーボタン */

#header .header-btn-right .swell-block-button__link,
#fix_header .header-btn-right .swell-block-button__link{
    padding: 8px 20px !important;
    height: 44px;
    box-shadow: none;
    border: 1px solid #04384C;
    transition: 0.35s;
}
#header .header-btn-right .swell-block-button__link:hover,
#fix_header .header-btn-right .swell-block-button__link:hover{
    background-color: #fff;
    border: 1px solid #04384C;
    color: #04384C;
}
#header .header-btn-right > div:last-child .swell-block-button__link,
#fix_header .header-btn-right > div:last-child .swell-block-button__link{
    padding: 10px!important;
    height: 44px;
    width: 44px;
}


.c-gnav>.menu-item>a:after {
    bottom: 15px;
    width: 0;
    height: 2px;
    content: "";
    display: block;
    left: 0;
    position: absolute;
    transform: translateX(0);
    transition: width .35s, height .35s, -webkit-transform .35s;
    transition: transform .35s, width .35s, height .35s;
    transition: transform .35s, width .35s, height .35s, -webkit-transform .35s;
}
.c-gnav>.menu-item>a:hover::after{
    width: 100%;

}

@media (min-width: 960px) {
    .-series .l-header__logo {
        padding: 10px 5px;
}}

@media (max-width: 960px) {
    body .l-header__inner.l-container, #fix_header .l-container{
        padding-left: 20px;
        padding-right: 20px;
    }
}



/* メインビジュアルレイアウト */
.mv-br{
    display: none;
}

.p-mainVisual__textLayer.l-parent.l-container.u-ta-l {
    width: 100%;
    max-width: 100%;
    padding: 0;
     margin-top: 18vh;
}
@media (max-width: 960px) {
    .p-mainVisual__textLayer.l-parent.l-container.u-ta-l {
        margin-top: 10vh;
    }
}
.mv-text{    
    width: 80%;
     max-width: 1200px;
     background-color: rgba(9, 67, 49, 0.5);
     padding: 40px 40px 40px 5%;
    /* メインビジュアルフォントサイズ */
    .mv-heading {
      font-size: clamp(1.625rem, 1.141rem + 2.07vw, 3rem);
      letter-spacing: 0.05em;
      border-bottom: 3px solid #ffffff !important;
      padding-bottom: 16px;
      margin-bottom: 10px!important;
    }
    .mv-subtext{
        font-size: clamp(1rem, 0.868rem + 0.56vw, 1.375rem);
    }
    /* スマホ用（768px以下） */
    @media (max-width: 768px) {
      .mv-heading {
        letter-spacing: 0.05em;
        padding-bottom: 12px;
      }
    }
    .mv-subtext {
      letter-spacing: 0.05em;
      font-weight: 500;
    }
    /* スマホ用（768px以下） */
    @media (max-width: 768px) {
      .mv-subtext {
        letter-spacing: 0.05em;
      }
    }
}
@media (max-width: 640px) {
   .mv-br{
    display: block;
   }
   .mv-text{  
    width: 100%;
    padding: 20px;
   }
}

.mv-text{
    opacity: 0;
    transform: translateY(50px);
    animation: fadein 1s 0.3s ease forwards;
}

@keyframes fadein {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* 共通見出し（common-heading） */
.common-heading.wp-block-group {
    margin-bottom: 3em;
}
.common-heading.wp-block-group h2{
        font-size: clamp(1.25rem, 1.162rem + 0.38vw, 1.5rem);
        padding-bottom: 10px;
        position: relative;
    }
.common-heading.wp-block-group h2::after{
        content: "";
        display: block;
        width: 50px;
        height: 2px;
        background-color: #219A68;
        margin-top: 10px;
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
    }
.common-heading.wp-block-group p{
        font-size: 16px;
        padding-top: 5px;
    }
        

/* ホーム修正 */

.home #content{
    padding-top: 0;
}

.bg-golf{
   background: url(../images/bg-golf-leftbottom.png) no-repeat bottom left/30%, 
   url(../images/bg-golf-righttop.png) no-repeat top right/30%;
}

.wp-block-group.about-box{
    background-color: #fff;
    padding-block: clamp(0.938rem, 0.337rem + 2.4vw, 2.5rem);
    padding-inline: clamp(0.938rem, 0.096rem + 3.37vw, 3.125rem);
    margin-left: -50px;
    p {
        font-size: clamp(0.875rem, 0.625rem + 0.42vw, 1rem)!important;
    }
}
@media (max-width: 780px) {
    .wp-block-group.about-box{
        margin-left: 0;
    }
    .bg-golf .wp-block-columns{
        justify-content: center;
    }
}
.bg-golf .wp-block-columns.alignwide > div:first-child{
    max-width: 500px;
    margin-inline: auto;
}

@media (min-width: 1272px) {
    .alignwide {
        left: 0px;
        width: 100%;
    }
}

/* TOP３つの特徴 */

.top-features{
  .wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column{
    padding: 10px;
  }
  .wp-block-group.is-stack.has-border.-border03{
    border: 3px dashed #219A68;
    padding: 28px;
    p{
    margin-top: 10px;
    }
    p::first-line{
      font-weight: bold;
    }
  
  }
  .mark_green{
    background: linear-gradient(transparent 64%, #D9EED5 0%);
  }
  
}
/* 製品案内 */
.top-pdc{
  background-image: url(../images/bg-DNK.svg), url(../images/bg-DNK-r.svg);
  background-position: top left, bottom right;
  background-repeat: no-repeat;
}
.home .top-pdc .top-pdc-flex{
  margin-bottom: 70px!important;
}

.post_content h4:where(:not([class^="swell-block-"]):not(.faq_q):not(.p-postList__title)){
  border-left: solid 4px #219A68;
}

/* CTA */

.cta-style{
   border-radius: 16px;
    background: rgba(255, 255, 255, 0.30);
    box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.10);
    padding-block: 50px;
    .common-heading.wp-block-group{
        margin-bottom: 1em;
    }
    [class*=is-style-btn_] a{
        min-width: 300px;
    }
    .wp-block-columns{
        max-width: 700px;
        margin-inline: auto;
    }
}

@media (min-width: 960px) {
 .swell-block-fullWide.pc-py-60.sp-py-40.alignfull:has(.cta-style) {
    padding-top: 20px !important;
}
}


/* CTAボタン角をとる */
.cta-button .swell-block-button__link {
  border-radius: 0 !important;
}

/* CTAハイケイ */
#before_footer_widget{
  position: relative;
  overflow: visible;
}

#before_footer_widget::before{
    content: "";
    display: block;
    width: 100%;
    height: 500px;
    background: url(../images/bg-golf.png) no-repeat bottom left/ contain;
    position: absolute;
   bottom: -3em;
    left: 0;
}


/* フッターTOPに戻る */
.c-fixBtn{
  background: url(../images/gotop.png)no-repeat center/cover;

}
@media (min-width: 960px) {
    .hov-bg-main:hover {
        color: #333 !important;
    }
  }



/* 会社案内ページ（ID:15）のH3見出しだけ青のグラデーションに変更 */
.page-id-15 .post_content h3:where(:not([class^="swell-block-"]):not(.faq_q):not(.p-postList__title))::before {
  background: repeating-linear-gradient(90deg, #1E73BE 0%, #1E73BE 29.3%, rgba(38, 144, 238, 0.2) 29.3%, rgba(38, 144, 238, 0.2) 100%) !important;
}

/* 会社概要テーブルの列幅調整 */
.company-table th {
  width: 25% !important; /* 左列：すべてth、25% */
  background-color: rgba(38, 144, 238, 0.05); /* #2690EE 5% */
  font-weight: bold;
  text-align: left;
}

.company-table td {
  width: 75% !important; /* 右列：すべてtd、75% */
}

/* テーブル全体のスタイル調整 */
.company-table {
  border-collapse: collapse;
  width: 100%;
}

.company-table td,
.company-table th {
  padding: 12px 16px;
  border-top: 1px solid #DCDCDC; /* 上ボーダー */
  border-bottom: 1px solid #DCDCDC; /* 下ボーダー */
}

/* 左列と右列の間の縦ボーダー */
.company-table th {
  border-right: 1px solid #DCDCDC;
}

/* 左右の外枠ボーダーを削除 */
.company-table th,
.company-table td {
  border-left: none;
}

.company-table td {
  border-right: none;
}

/* 個人情報保護方針ページ（ID:3）のH3見出しを緑のグラデーションに変更 */
.page-id-3 .post_content h3:where(:not([class^="swell-block-"]):not(.faq_q):not(.p-postList__title))::before {
  background: repeating-linear-gradient(90deg, #009B6A 0%, #009B6A 29.3%, rgba(0, 155, 106, 0.2) 29.3%, rgba(0, 155, 106, 0.2) 100%) !important;
}

/* お問い合わせページ（ID:51）のCTAブログパーツを非表示 */
.page-id-51 #before_footer_widget {
  display: none !important;
}

/* スマホでフッターのロゴと社名を縦並びにする */
@media (max-width: 768px) {
  #footer .widget_custom_html > div {
    flex-direction: column !important; /* 縦並びにする */
    gap: 12px !important;
  }
  
  #footer .widget_custom_html p {
    font-size: 20px !important; /* フォントサイズを小さく */
    text-align: center;
    line-height: 1.4 !important;
  }
  
  #footer .widget_custom_html img {
    width: 100px !important; /* ロゴを小さく */
  }
}

/* お問い合わせフォームのスタイル調整 */

form.wpcf7-form.init {
  max-width: 600px;
  margin: 0 auto;
  padding: 0;
}
.wpcf7 label {
  display: block;
  margin-bottom: 20px;
  font-weight: bold;
  font-size: 16px;
}

.wpcf7 .required {
  background-color: #d9534f;
  color: #fff;
  padding: 2px 8px 3px;
  border-radius: 3px;
  font-size: 12px;
  margin-left: 8px;
  font-weight: normal;
  font-weight: 600;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #DCDCDC;
  border-radius: 4px;
  margin-top: 8px;
  font-size: 16px;
  box-sizing: border-box;
}

.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 input[type="tel"]:focus,
.wpcf7 textarea:focus {
  outline: 2px solid #000;
  outline-offset: 0;
}

.wpcf7 textarea {
  min-height: 200px;
  resize: vertical;
}

/* チェックボックス（中央揃え） */
.wpcf7 .wpcf7-acceptance {
  margin: 24px 0;
  text-align: center;
}

.wpcf7 p:has(span[data-name="acceptance-privacy"]) {
  text-align: center !important;
}

.wpcf7 p:has(span[data-name="acceptance-privacy"]) label {
  display: inline-block !important;
  font-weight: normal !important;
  color: #79582C !important;
  text-align: left !important;
}

.wpcf7 span[data-name="acceptance-privacy"] {
  display: inline-block;
}

.wpcf7 .wpcf7-acceptance input[type="checkbox"] {
  margin-right: 8px;
  vertical-align: middle;
  width: 18px;
  height: 18px;
}

/* 個人情報保護方針リンク */
a.privacy-link {
  color: #79582C;
  text-decoration: underline;
  vertical-align: middle;
  margin-right: 25px;
  position: relative;
}

a.privacy-link::after {
  content: "";
  display: block;
  width: 16px;
  height: 18px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: -20px;
  background: url(../images/blank-icon.svg) no-repeat center center / contain;
  color: #79582C;

}

.wpcf7 .wpcf7-acceptance a:hover {
  text-decoration: none;
}

/* 送信ボタン（中央揃え） */
.wpcf7 .wpcf7-submit {
  background-color: #6B4C3E;
  color: #fff;
  padding: 16px 64px;
  border: none;
  border-radius: 4px;
  font-weight: bold;
  font-size: 16px;
  cursor: pointer;
  display: block;
  margin: 32px auto 0;
  transition: background-color 0.3s;
}

.wpcf7 .wpcf7-submit:hover {
  background-color: #543A2E;
}

/* ギャラリーブロックの最後の行を左寄せ */
.wp-block-gallery {
  justify-content: flex-start !important;
}

.wp-block-gallery .wp-block-image {
  flex-grow: 0 !important;
}



/* アニメーション用CSS */
/* 初期状態（非表示） */
.f-up-style {
  opacity: 0;
  transform: translateY(50px);
  transition: 1s;
}

/* 表示状態 */
.f-up-style.is-active {
  opacity: 1;
  transform: translateY(0);
}

/* カテゴリ一覧のサブタイトルを見えなくする */
small.c-pageTitle__subTitle.u-fz-14{
  display: none;
}

/* パンくず調整 */
.single .p-breadcrumb__item:last-child>span.p-breadcrumb__text{
  display: block;
}



/* 製品一覧 */
/* テーブル */
 
.page-id-13 table th{
  background-color: #04384C;
  color: #fff;
}
.page-id-13 table td:has(a){
  text-align: center;
} 
.page-id-13 table td a{
  display: inline-block;
  padding: 10px 27px 10px 12px;
  background: #219A68;
  color: #fff;
  position: relative;
  border-radius: 2px;
  font-weight: 600;
  transition: 0.3s;
}
.page-id-13 table td a:hover{
  opacity: 0.8;
}
.page-id-13 table td a::after{
  content: "";
  position: absolute;
  top: calc(50% + 1px);
  right: 10px;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  background: url(../images/dl_arrow.svg) no-repeat center/contain;
}



/* 製品詳細 */

.swell-block-step__item:before{
  border: 2px dashed var(--color_border);
}

