/* ==========================================================
   Takita Inc. Original Design
   Theme : SWELL Child
   Author: Tomo × ChatGPT
   Version: 1.0.0
   ========================================================== */


/* ==========================================================
   01. Design System
   ----------------------------------------------------------
   カラー・フォント・余白
   ========================================================== */

:root{

    /* Color */

    --tk-primary:#0b2d5c;
    --tk-primary-light:#1d4f91;
    --tk-accent:#1e73be;

    --tk-text:#222;
    --tk-text-light:#666;

    --tk-bg:#ffffff;
    --tk-bg-light:#f8fafc;

    --tk-border:#e6e8eb;

    --tk-shadow:0 8px 24px rgba(0,0,0,.08);

    /* Radius */

    --tk-radius:8px;

    /* Width */

    --tk-container:1200px;

    /* Transition */

    --tk-transition:.25s ease;

}


/* ==========================================================
   02. Reset
   ========================================================== */

body{

    color:var(--tk-text);
    background:#fff;
    font-family:
        "Noto Sans JP",
        "Helvetica Neue",
        sans-serif;

    line-height:1.8;

}

img{

    max-width:100%;
    height:auto;
    display:block;

}

a{

    transition:var(--tk-transition);

}


/* ==========================================================
   03. Layout
   ========================================================== */

.tk-container{

    max-width:var(--tk-container);
    margin:auto;
    padding:0 32px;

}

.tk-section{

    padding:100px 0;

}

.tk-section-sm{

    padding:60px 0;

}


/* ==========================================================
   04. Typography
   ========================================================== */

.tk-section-title{

    text-align:center;
    margin-bottom:60px;

}

.tk-section-title small{

    display:block;
    color:var(--tk-primary);
    letter-spacing:.15em;
    font-size:12px;
    text-transform:uppercase;

}

.tk-section-title h2{

    font-size:42px;
    font-weight:700;
    margin-top:12px;

}


/* ==========================================================
   05. Header
========================================================== */

/*------------------------------------
  Header
------------------------------------*/



/* スクロール時 */

.l-header.is-scroll{
    box-shadow:0 8px 20px rgba(0,0,0,.08);
}



/*------------------------------------
  Current
------------------------------------*/

.p-globalNav .current-menu-item>a{

    color:var(--tk-primary);

}

/*------------------------------------
  Contact Button
------------------------------------*/

.p-globalNav .menu-item:last-child>a{

    background:var(--tk-primary);

    color:#fff;

    padding:13px 24px;

    border-radius:4px;

}

.p-globalNav .menu-item:last-child>a:hover{

    background:#164886;

}

/*------------------------------------
  Mobile
------------------------------------*/

@media(max-width:960px){

    .l-header__inner{

        height:72px;

        padding:0 20px;

    }

    .c-headLogo img{

        max-height:44px;

    }

}





/* ==========================================================
   06. Hero
========================================================== */

.tk-hero{
    position:relative;
    width:100%;
    min-height:840px;
    display:flex;
    align-items:center;
    overflow:hidden;
    background:#111;
    margin:0;
}

.tk-hero__bg{
  position:absolute;
  inset:0;
  background-image:
    linear-gradient(
      90deg,
      rgba(0,0,0,.78) 0%,
      rgba(0,0,0,.62) 38%,
      rgba(0,0,0,.28) 68%,
      rgba(0,0,0,.08) 100%
    ),
    url('/wp-content/uploads/hero-machining.jpg');
  background-size:cover;
  background-position:center center;
}

.tk-hero__inner{

    width:100%;
    max-width:1440px;

    margin:0 auto;

    padding-left:120px;
    padding-right:80px;

    color:#fff;

}

.tk-hero__label{
  margin:0 0 26px;
  font-size:13px;
  letter-spacing:.38em;
  font-weight:700;
  color:#d8e6ff;
}

.tk-hero__title{
  margin:0;
  font-size:68px;
  line-height:1.32;
  letter-spacing:.04em;
  font-weight:800;
  color:#fff;
}

.tk-hero__text{
  margin:34px 0 0;
  font-size:18px;
  line-height:2;
  font-weight:620;
  color:#f4f7fb;
}

.tk-hero__buttons{
  display:flex;
  gap:18px;
  flex-wrap:wrap;
  margin-top:44px;
}

/* front-page専用：SWELL側の余白対策 */
.tk-front{
  margin-top:0;
}

.l-mainContent,
.l-content,
.l-container{
  max-width:none;
}

body.home .l-mainContent,
body.home .l-content,
body.home .l-container{
  padding:0;
  margin:0;
  width:100%;
  max-width:none;
}

/* Mobile */
@media(max-width:768px){

  .tk-hero{
    min-height:640px;
  }

  .tk-hero__bg{
    background-image:
      linear-gradient(
        90deg,
        rgba(0,0,0,.82) 0%,
        rgba(0,0,0,.68) 72%,
        rgba(0,0,0,.48) 100%
      ),
      url('/wp-content/uploads/hero-machining.jpg');
    background-position:center;
  }

  .tk-hero__inner{
    padding:0 24px;
  }

  .tk-hero__label{
    font-size:11px;
    letter-spacing:.25em;
  }

  .tk-hero__title{
    font-size:34px;
    line-height:1.55;
  }

  .tk-hero__text{
    font-size:15px;
  }

  .tk-hero__buttons{
    flex-direction:column;
    gap:14px;
  }

  .tk-hero__buttons .tk-button{
    width:100%;
  }
}





/* ==========================================================
   07. Button
   ========================================================== */

.tk-button{

    display:inline-flex;
    align-items:center;
    justify-content:center;

    min-width:220px;
    height:56px;

    background:var(--tk-primary);
    color:#fff;

    border-radius:4px;

    text-decoration:none;

    font-weight:700;

}

.tk-button:hover{

    background:var(--tk-primary-light);

}


/* ==========================================================
   08. Card
   ========================================================== */

.tk-card{

    background:#fff;

    border:1px solid var(--tk-border);

    border-radius:var(--tk-radius);

    overflow:hidden;

    transition:var(--tk-transition);

}

.tk-card:hover{

    transform:translateY(-6px);

    box-shadow:var(--tk-shadow);

}


/* ==========================================================
   09. Works
   ========================================================== */





/* ==========================================================
   10. Material
   ========================================================== */





/* ==========================================================
   11. Equipment
   ========================================================== */





/* ==========================================================
   12. CTA
   ========================================================== */





/* ==========================================================
   13. Footer
   ========================================================== */





/* ==========================================================
   99. Responsive
   ========================================================== */

@media (max-width:768px){

    .tk-section{

        padding:70px 0;

    }

    .tk-section-title h2{

        font-size:30px;

    }

    .tk-container{

        padding:0 20px;

    }

}

/* ==========================================================
   Grid / Utility
========================================================== */

.tk-card-grid{
  display:grid;
  gap:28px;
}

.tk-card-grid--3{
  grid-template-columns:repeat(3, 1fr);
}

.tk-center{
  text-align:center;
  margin-top:48px;
}


/* ==========================================================
   Service
========================================================== */

.tk-service-card{
  padding:42px 36px;
  text-align:center;
}

.tk-service-card__icon{
  font-size:38px;
  color:var(--tk-primary);
  margin-bottom:22px;
}

.tk-service-card h3{
  font-size:22px;
  margin:0 0 18px;
}

.tk-service-card p{
  font-size:15px;
  color:var(--tk-text-light);
  margin:0 0 24px;
}

.tk-service-card a{
  color:var(--tk-primary);
  font-weight:700;
  text-decoration:none;
}


/* ==========================================================
   Material
========================================================== */

.tk-material{
  background:var(--tk-bg-light);
}

.tk-material-grid{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:24px;
}

.tk-material-card{
  background:#fff;
  border:1px solid var(--tk-border);
}

.tk-material-card__image{
  height:180px;
  background:#eef1f5;
}

.tk-material-card h3{
  font-size:18px;
  margin:20px 22px 8px;
}

.tk-material-card p{
  font-size:14px;
  color:var(--tk-text-light);
  margin:0 22px 24px;
}


/* ==========================================================
   Works
========================================================== */

.tk-work-card{
  background:#fff;
  border:1px solid var(--tk-border);
  overflow:hidden;
}

.tk-work-card__image{
  height:240px;
  background:#eef1f5;
}

.tk-work-card__body{
  padding:24px;
}

.tk-work-card__body span{
  display:inline-block;
  background:var(--tk-primary);
  color:#fff;
  font-size:12px;
  font-weight:700;
  padding:4px 10px;
  margin-bottom:14px;
}

.tk-work-card__body h3{
  font-size:22px;
  margin:0 0 12px;
}

.tk-work-card__body p{
  font-size:14px;
  color:var(--tk-text-light);
  margin:0;
}


/* ==========================================================
   Equipment
========================================================== */

.tk-equipment{
  background:#fff;
}

.tk-equipment__inner{
  display:grid;
  grid-template-columns:320px 1fr;
  gap:56px;
  align-items:center;
}

.tk-equipment__text small{
  display:block;
  color:var(--tk-primary);
  letter-spacing:.15em;
  font-size:12px;
  font-weight:700;
}

.tk-equipment__text h2{
  font-size:38px;
  margin:12px 0 24px;
}

.tk-equipment__text p{
  color:var(--tk-text-light);
  margin-bottom:32px;
}

.tk-equipment__photos{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:16px;
}

.tk-equipment__photos div{
  height:220px;
  background:#eef1f5;
}


/* ==========================================================
   CTA
========================================================== */

.tk-cta{
  background:var(--tk-primary);
  color:#fff;
  padding:80px 0;
}

.tk-cta__inner{
  display:flex;
  justify-content:space-between;
  gap:40px;
  align-items:center;
}

.tk-cta small{
  letter-spacing:.15em;
  font-size:12px;
  color:#d8e6ff;
}

.tk-cta h2{
  font-size:34px;
  margin:12px 0 18px;
}

.tk-cta p{
  margin:0;
  color:#e8eef7;
}

.tk-button--white{
  background:#fff;
  color:var(--tk-primary);
  border:1px solid var(--tk-primary);
}

.tk-button--white:hover{
  background:var(--tk-primary);
  color:#fff;
}


/* ==========================================================
   Front Page Adjustment
========================================================== */

.tk-front{
  overflow:hidden;
}

.tk-front .tk-hero{
  margin-top:0;
}

.tk-front .tk-section:first-of-type{
  padding-top:100px;
}


/* ==========================================================
   Responsive
========================================================== */

@media(max-width:960px){

  .tk-card-grid--3,
  .tk-material-grid,
  .tk-equipment__inner{
    grid-template-columns:1fr;
  }

  .tk-cta__inner{
    flex-direction:column;
    align-items:flex-start;
  }

}

/* ==========================================================
   Front Page Full Width
========================================================== */

html,
body {
  overflow-x: hidden;
}

.tk-front{
  width:100%;
  max-width:none;
  margin:0;
  padding:0;
  overflow:hidden;
}

.tk-hero{
  width:100vw !important;
  max-width:none !important;
  margin-left:calc(50% - 50vw) !important;
  margin-right:calc(50% - 50vw) !important;
  min-height:760px;
  border-radius:0 !important;
}

@media(max-width:768px){
  .tk-hero{
    min-height:640px;
  }
}

/* ==========================================================
   Original Header
========================================================== */

.tk-site-header{
  width:100%;
  height:72px;
  background:#fff;
  border-bottom:1px solid #e8ebef;
  position:sticky;
  top:32px; /* 管理バー表示中 */
  z-index:9999;
}

body:not(.admin-bar) .tk-site-header{
  top:0;
}

.tk-site-header__inner{
  max-width:1440px;
  height:100%;
  margin:0 auto;
  padding:0 40px;
  display:flex;
  align-items:center;
  justify-content:space-between;
}

.tk-site-logo{
  color:#222;
  font-size:24px;
  font-weight:800;
  text-decoration:none;
  letter-spacing:.04em;
}

.tk-site-nav{
  display:flex;
  align-items:center;
  gap:34px;
}

.tk-site-nav a{
  color:#222;
  font-size:15px;
  font-weight:700;
  text-decoration:none;
  letter-spacing:.04em;
}

.tk-site-nav a:hover{
  color:var(--tk-primary);
}

.tk-site-nav a:last-child{
  background:var(--tk-primary);
  color:#fff;
  padding:12px 20px;
  border-radius:4px;
}

.tk-site-nav a:last-child:hover{
  background:var(--tk-primary-light);
  color:#fff;
}

/* Header responsive */
@media(max-width:960px){
  .tk-site-header{
    height:72px;
  }

  .tk-site-header__inner{
    padding:0 20px;
  }

  .tk-site-logo{
    font-size:22px;
  }

  .tk-site-nav{
    display:none;
  }
}

/* Hero text restore */
.tk-hero__inner{
  position:relative !important;
  z-index:2 !important;
}

.tk-hero__bg{
  z-index:1 !important;
}

.tk-hero{
  min-height:840px !important;
}

/* ==========================================================
   SWELL Base Override / Lower Pages
========================================================== */

/* 上部の細い帯・検索/RSSなどを非表示 */
#wpadminbar + .p-spMenu,
.l-header__bar,
.c-infoBar,
.p-headerSub,
.c-searchBtn,
.c-iconList,
.p-breadcrumb,
.p-topicPath {
  display:none !important;
}

/* SWELLのページタイトルまわりを非表示 */
.c-pageTitle,
.l-topTitleArea,
.p-pageTitle,
.c-entry__header,
.c-postTitle,
h1.c-pageTitle {
  display:none !important;
}

/* 下層ページの本文コンテナ */
.tk-page{
  background:#fff;
  overflow:hidden;
}

/* SWELL本文側の余白・幅をTakita基準へ */
body:not(.home) .l-content,
body:not(.home) .l-mainContent,
body:not(.home) .l-mainContent__inner,
body:not(.home) .post_content,
body:not(.home) .c-postContent{
  width:100% !important;
  max-width:none !important;
  margin:0 !important;
  padding:0 !important;
}

/* 下層ページHero */
.tk-page-hero{
  padding:120px 0 90px;
  background:#f8fafc;
  border-bottom:1px solid var(--tk-border);
}

.tk-page-hero__label{
  margin:0 0 18px;
  color:var(--tk-primary);
  font-size:13px;
  font-weight:800;
  letter-spacing:.28em;
}

.tk-page-hero h1{
  margin:0;
  font-size:52px;
  line-height:1.35;
  font-weight:800;
  letter-spacing:.04em;
}

.tk-page-hero p{
  margin:26px 0 0;
  max-width:720px;
  color:var(--tk-text-light);
  font-size:17px;
  line-height:2;
  font-weight:500;
}

/* 見出しリセット */
.tk-page h1,
.tk-page h2,
.tk-page h3,
.tk-page h4{
  border:none !important;
  background:none !important;
  padding:0 !important;
  color:var(--tk-text);
  font-weight:800;
  letter-spacing:.04em;
}

.tk-page h2::before,
.tk-page h2::after,
.tk-page h3::before,
.tk-page h3::after{
  display:none !important;
}

/* セクションタイトルをSnow Monkey風へ戻す */
.tk-page .tk-section-title{
  text-align:center;
  margin-bottom:64px;
}

.tk-page .tk-section-title small{
  color:var(--tk-primary);
  font-size:12px;
  font-weight:800;
  letter-spacing:.25em;
}

.tk-page .tk-section-title h2{
  display:block;
  margin:14px 0 0;
  font-size:42px;
  line-height:1.35;
  color:var(--tk-text);
  background:none !important;
}

/* サービス詳細 */
.tk-service-detail{
  display:flex;
  flex-direction:column;
  gap:56px;
}

.tk-service-detail__item{
  display:grid;
  grid-template-columns:46% 1fr;
  gap:56px;
  align-items:center;
}

.tk-service-detail__item:nth-child(even){
  grid-template-columns:1fr 46%;
}

.tk-service-detail__item:nth-child(even) .tk-service-detail__image{
  order:2;
}

.tk-service-detail__image{
  min-height:300px;
  background:#eef1f5;
}

.tk-service-detail__label{
  color:var(--tk-primary);
  font-size:13px;
  font-weight:800;
  letter-spacing:.2em;
  margin:0 0 18px;
}

.tk-service-detail__body h3{
  font-size:32px;
  margin:0 0 24px;
}

.tk-service-detail__body p{
  color:var(--tk-text-light);
  font-size:16px;
  line-height:2;
}

/* Flow */
.tk-flow{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:18px;
}

.tk-flow__item{
  background:#fff;
  border:1px solid var(--tk-border);
  padding:32px 24px;
}

.tk-flow__item span{
  color:var(--tk-primary);
  font-size:13px;
  font-weight:800;
}

.tk-flow__item h3{
  font-size:20px;
  margin:16px 0 14px;
}

.tk-flow__item p{
  color:var(--tk-text-light);
  font-size:14px;
  line-height:1.8;
}

/* Mobile */
@media(max-width:960px){
  .tk-page-hero{
    padding:80px 0 64px;
  }

  .tk-page-hero h1{
    font-size:36px;
  }

  .tk-service-detail__item,
  .tk-service-detail__item:nth-child(even){
    grid-template-columns:1fr;
  }

  .tk-service-detail__item:nth-child(even) .tk-service-detail__image{
    order:0;
  }

  .tk-flow{
    grid-template-columns:1fr;
  }
}

/* ==========================================================
   Common Header / Footer / CTA Fix
========================================================== */

.tk-site-header{
  position:sticky;
  top:0;
  z-index:9999;
  width:100%;
  height:72px;
  background:#fff;
  border-bottom:1px solid #e8ebef;
}

.admin-bar .tk-site-header{
  top:32px;
}

.tk-site-footer{
  background:#0b1f3d;
  color:#fff;
  padding:72px 0 0;
}

.tk-site-footer__inner{
  display:flex;
  justify-content:space-between;
  gap:48px;
}

.tk-site-footer__logo{
  font-size:24px;
  font-weight:800;
  margin:0 0 16px;
}

.tk-site-footer p{
  color:#d8e6ff;
  margin:0;
}

.tk-site-footer__nav{
  display:grid;
  gap:12px;
}

.tk-site-footer__nav a{
  color:#fff;
  text-decoration:none;
  font-weight:700;
}

.tk-site-footer__copy{
  margin-top:56px;
  padding:20px;
  text-align:center;
  border-top:1px solid rgba(255,255,255,.15);
  color:#b8c7dc;
  font-size:13px;
}

/* CTA改善 */
.tk-cta{
  background:#0b2d5c;
}

.tk-cta h2{
  color:#fff !important;
}

.tk-cta p{
  color:#e8eef7 !important;
}

.tk-cta .tk-button,
.tk-cta .tk-button--primary{
  background:#fff;
  color:#0b2d5c !important;
  border:1px solid #fff;
}

.tk-cta .tk-button:hover,
.tk-cta .tk-button--primary:hover{
  background:#d8e6ff;
  border-color:#d8e6ff;
  color:#0b2d5c !important;
}

/* Header fixed */
.tk-site-header{
  position:fixed !important;
  top:0 !important;
  left:0;
  right:0;
  z-index:99999;
}

.admin-bar .tk-site-header{
  top:32px !important;
}

body{
  padding-top:72px;
}

.admin-bar body{
  padding-top:104px;
}

/* CTA refinement */
.tk-cta{
  background:#0b2d5c;
  padding:72px 0;
}

.tk-cta__inner{
  max-width:1120px;
}

.tk-cta h2{
  font-size:32px;
}

.tk-cta .tk-button{
  min-width:260px;
  height:58px;
  background:#fff;
  color:#0b2d5c !important;
}

/* Footer refinement */
.tk-site-footer{
  background:#061a33;
  padding:56px 0 0;
}

.tk-site-footer__inner{
  max-width:1120px;
  display:grid;
  grid-template-columns:1fr auto;
  align-items:start;
}

.tk-site-footer__logo{
  font-size:24px;
  margin-bottom:12px;
}

.tk-site-footer p{
  font-size:14px;
  line-height:1.9;
}

.tk-site-footer__nav{
  grid-template-columns:repeat(2, auto);
  column-gap:32px;
  row-gap:14px;
}

.tk-site-footer__nav a{
  font-size:14px;
}

.tk-site-footer__copy{
  margin-top:48px;
  padding:16px;
  font-size:12px;
}

/* ==========================================================
   Works Page
========================================================== */

.tk-category-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
}

.tk-category-card{
  display:flex;
  align-items:center;
  justify-content:space-between;
  min-height:86px;
  padding:0 28px;
  background:#fff;
  border:1px solid var(--tk-border);
  color:var(--tk-text);
  text-decoration:none;
  font-weight:800;
}

.tk-category-card::after{
  content:"→";
  color:var(--tk-primary);
}

.tk-category-card:hover{
  border-color:var(--tk-primary);
  color:var(--tk-primary);
  box-shadow:var(--tk-shadow);
}

.tk-works-list-section{
  background:var(--tk-bg-light);
}

@media(max-width:960px){
  .tk-category-grid{
    grid-template-columns:1fr;
  }
}

/* ==========================================================
   Equipment Page
========================================================== */

.tk-equipment-list{
  display:grid;
  gap:32px;
}

.tk-equipment-card{
  display:grid;
  grid-template-columns:42% 1fr;
  gap:48px;
  align-items:center;
  background:#fff;
  border:1px solid var(--tk-border);
}

.tk-equipment-card__image{
  min-height:280px;
  background:#eef1f5;
}

.tk-equipment-card__body{
  padding:40px 40px 40px 0;
}

.tk-equipment-card__body span{
  color:var(--tk-primary);
  font-size:12px;
  font-weight:800;
  letter-spacing:.22em;
}

.tk-equipment-card__body h3{
  font-size:30px;
  margin:12px 0 20px;
}

.tk-equipment-card__body p{
  color:var(--tk-text-light);
  line-height:2;
}

.tk-equipment-spec{
  background:var(--tk-bg-light);
}

.tk-spec-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:20px;
}

.tk-spec-card{
  background:#fff;
  border:1px solid var(--tk-border);
  padding:34px 28px;
}

.tk-spec-card span{
  color:var(--tk-primary);
  font-size:13px;
  font-weight:800;
}

.tk-spec-card h3{
  font-size:22px;
  margin:16px 0 12px;
}

.tk-spec-card p{
  color:var(--tk-text-light);
  font-size:14px;
  line-height:1.8;
}

@media(max-width:960px){
  .tk-equipment-card{
    grid-template-columns:1fr;
  }

  .tk-equipment-card__body{
    padding:28px;
  }

  .tk-spec-grid{
    grid-template-columns:1fr;
  }
}

/* ==========================================================
Company
========================================================== */

.tk-company-message{

display:grid;
grid-template-columns:45% 1fr;
gap:64px;
align-items:center;

}

.tk-company-message__image{

height:420px;
background:#eef1f5;

}

.tk-company-message__body{

font-size:16px;
line-height:2;
color:var(--tk-text-light);

}

.tk-company-info{

background:var(--tk-bg-light);

}

.tk-company-table{

width:100%;
border-collapse:collapse;
background:#fff;

}

.tk-company-table th{

width:220px;
padding:28px;
background:#f7f9fb;
text-align:left;
font-weight:700;

}

.tk-company-table td{

padding:28px;

}

.tk-company-table th,
.tk-company-table td{

border-bottom:1px solid var(--tk-border);

}

.tk-access-map{

height:480px;
background:#eef1f5;
display:flex;
align-items:center;
justify-content:center;
font-size:24px;
color:#888;

}

@media(max-width:960px){

.tk-company-message{

grid-template-columns:1fr;

}

}

/* ==========================================================
   Contact Page
========================================================== */

.tk-contact-layout{
  display:grid;
  grid-template-columns:420px 1fr;
  gap:64px;
  align-items:start;
}

.tk-contact-info small{
  color:var(--tk-primary);
  font-size:12px;
  font-weight:800;
  letter-spacing:.22em;
}

.tk-contact-info h2,
.tk-contact-form h2{
  font-size:32px;
  margin:14px 0 28px;
}

.tk-contact-info ul{
  list-style:none;
  padding:0;
  margin:0;
  display:grid;
  gap:14px;
}

.tk-contact-info li{
  padding:18px 20px;
  background:#f8fafc;
  border:1px solid var(--tk-border);
  font-weight:700;
}

.tk-contact-note{
  margin-top:36px;
  padding:28px;
  background:#0b2d5c;
  color:#fff;
}

.tk-contact-note h3{
  color:#fff !important;
  font-size:22px;
  margin:0 0 14px;
}

.tk-contact-note p{
  color:#e8eef7;
  margin:0;
  line-height:1.9;
}

.tk-contact-form{
  padding:40px;
  border:1px solid var(--tk-border);
  background:#fff;
}

.tk-form-placeholder{
  min-height:420px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#f8fafc;
  border:1px dashed #b8c7dc;
  color:#667;
  font-weight:700;
}

@media(max-width:960px){
  .tk-contact-layout{
    grid-template-columns:1fr;
  }

  .tk-contact-form{
    padding:28px;
  }
}

/* Contact Form 7 */
.tk-cf7-form{
  display:grid;
  gap:24px;
}

.tk-cf7-row label{
  display:grid;
  gap:10px;
  font-weight:800;
  color:var(--tk-text);
}

.tk-required{
  display:inline-block;
  margin-left:8px;
  padding:2px 8px;
  background:var(--tk-primary);
  color:#fff;
  font-size:12px;
  border-radius:2px;
}

.tk-cf7-form input,
.tk-cf7-form select,
.tk-cf7-form textarea{
  width:100%;
  border:1px solid var(--tk-border);
  background:#fff;
  padding:15px 16px;
  font-size:16px;
  border-radius:4px;
}

.tk-cf7-form textarea{
  min-height:180px;
}

.tk-cf7-note{
    margin-top: 4px;      /* 上を詰める */
    margin-bottom: 18px;  /* CTAとの間を空ける */
    font-size: 12px;
    color: var(--tk-text-light);
    line-height: 1.8;
}

.tk-cf7-submit input{
  min-width:240px;
  height:58px;
  background:var(--tk-primary);
  color:#fff;
  border:none;
  font-weight:800;
  cursor:pointer;
}

.tk-cf7-submit input:hover{
  background:var(--tk-primary-light);
}

/* CF7 compact layout */
.tk-cf7-form{
  gap:18px;
}

.tk-cf7-row label{
  gap:7px;
  font-size:14px;
}

.tk-label-text{
  display:inline-flex;
  align-items:center;
  gap:8px;
}

.tk-required{
  margin-left:0;
  padding:1px 7px;
  font-size:11px;
  line-height:1.5;
}

.tk-cf7-form input,
.tk-cf7-form select,
.tk-cf7-form textarea{
  min-height:auto;
  padding:11px 13px;
  font-size:14px;
  line-height:1.5;
}

.tk-cf7-form textarea{
  min-height:120px;
}

.tk-contact-form{
  padding:32px;
}

.tk-cf7-note{
    margin-top: 4px;      /* 上を詰める */
    margin-bottom: 18px;  /* CTAとの間を空ける */
    font-size: 12px;
    color: var(--tk-text-light);
    line-height: 1.8;
}

.tk-cf7-submit input{
  height:52px;
}

/* CF7 horizontal layout */
.tk-cf7-form--horizontal{
  gap:0;
  border:1px solid var(--tk-border);
}

.tk-cf7-form--horizontal .tk-cf7-row{
  border-bottom:1px solid var(--tk-border);
}

.tk-cf7-form--horizontal .tk-cf7-row label{
  display:grid;
  grid-template-columns:180px 1fr;
  align-items:center;
  gap:20px;
  padding:14px 18px;
}

.tk-cf7-form--horizontal .tk-label-text{
  font-size:14px;
  font-weight:800;
}

.tk-cf7-form--horizontal input,
.tk-cf7-form--horizontal select,
.tk-cf7-form--horizontal textarea{
  padding:10px 12px;
  font-size:14px;
}

.tk-cf7-form--horizontal textarea{
  min-height:130px;
}

.tk-cf7-form--horizontal .tk-cf7-note{
  padding:12px 18px 0;
}

.tk-cf7-form--horizontal .tk-cf7-submit{
  padding:18px;
}

.tk-cf7-form--horizontal .tk-cf7-submit input{
  width:100%;
}

@media(max-width:768px){
  .tk-cf7-form--horizontal .tk-cf7-row label{
    grid-template-columns:1fr;
    gap:8px;
  }
}

/* CF7 horizontal layout - stronger */
.tk-cf7-form--horizontal .tk-cf7-row label{
  display:grid !important;
  grid-template-columns:170px minmax(0, 1fr) !important;
  align-items:center !important;
  column-gap:18px !important;
  padding:10px 14px !important;
}

.tk-cf7-form--horizontal .tk-cf7-row label > .tk-label-text{
  grid-column:1 !important;
  margin:0 !important;
}

.tk-cf7-form--horizontal .tk-cf7-row label > .wpcf7-form-control-wrap{
  grid-column:2 !important;
  width:100% !important;
}

.tk-cf7-form--horizontal input,
.tk-cf7-form--horizontal select,
.tk-cf7-form--horizontal textarea{
  width:100% !important;
  max-width:none !important;
}

.tk-cf7-form--horizontal textarea{
  height:120px !important;
}

/* CF7 table layout reset */
.tk-contact-form .tk-cf7-form{
  border:none !important;
  outline:none !important;
}

.tk-contact-form .tk-cf7-form--table{
  display:block;
  border:1px solid var(--tk-border) !important;
}

.tk-cf7-form--table .tk-cf7-field{
  display:grid;
  grid-template-columns:170px 1fr;
  align-items:center;
  border-bottom:1px solid var(--tk-border);
}

.tk-cf7-form--table .tk-cf7-label{
  padding:14px 16px;
  font-size:14px;
  font-weight:800;
}

.tk-cf7-form--table .tk-cf7-control{
  padding:10px 14px;
}

.tk-cf7-form--table input,
.tk-cf7-form--table select,
.tk-cf7-form--table textarea{
  width:100% !important;
  max-width:none !important;
  padding:10px 12px !important;
  font-size:14px !important;
}

.tk-cf7-form--table textarea{
  height:120px !important;
}

.tk-cf7-form--table .tk-cf7-note{
  padding:12px 16px 0;
}

.tk-cf7-form--table .tk-cf7-submit{
  padding:16px;
}

.tk-cf7-form--table .tk-cf7-submit input{
  width:100%;
}

/* CF7 border cleanup */
.tk-contact-form .wpcf7,
.tk-contact-form form,
.tk-contact-form .tk-cf7-form,
.tk-contact-form .wpcf7-form,
.tk-contact-form .wpcf7-form-control-wrap{
  border:none !important;
  outline:none !important;
  box-shadow:none !important;
}

.tk-cf7-form--table{
  border:1px solid var(--tk-border) !important;
}

.tk-cf7-form--table .tk-cf7-field:last-of-type{
  border-bottom:1px solid var(--tk-border);
}

.tk-cf7-note-full{
    grid-column: 1 / -1;
    margin-top: 0px;      /* 上を詰める */
    margin-bottom: 18px;  /* CTAとの間を空ける */
    font-size: 12px;
    color: #666;
    line-height: 1.8;
}

.tk-cf7-note-full{
  margin-top:0 !important;
  margin-bottom:18px !important;
  padding-top:0 !important;
}

.tk-cf7-note-full p{
  margin-top:0 !important;
  margin-bottom:0 !important;
}

.tk-cf7-submit{
  margin-top:16px;
}

/* ===============================
   Header Phone
================================= */

.tk-header-contact{
    display:flex;
    flex-direction:column;
    align-items:flex-end;
    margin-right:24px;
}

.tk-header-tel{
    font-size:18px;
    font-weight:700;
    color:var(--tk-text);
    text-decoration:none;
    line-height:1.2;
}

.tk-header-time{
    font-size:12px;
    color:#777;
    margin-top:2px;
}


/* ===============================
   CTA Phone
================================= */

.tk-contact-phone{
    margin-top:20px;
}

.tk-contact-phone__label{
    font-size:13px;
    color:#c9d6e8;
    margin-bottom:6px;
    letter-spacing:.08em;
}

.tk-contact-phone__number{
    display:inline-block;
    font-size:28px;
    font-weight:700;
    color:#fff;
    text-decoration:none;
    line-height:1.2;
}

.tk-contact-phone__time{
    margin-top:6px;
    font-size:14px;
    color:#d8e2f0;
}

.tk-cta__right{
    display:flex;
    flex-direction:column;
    align-items:flex-end;
    gap:18px;
}

.tk-contact-phone{
    text-align:right;
}

.tk-contact-phone__label{
    font-size:13px;
    color:#c8d6ea;
    margin-bottom:4px;
}

.tk-contact-phone__number{
    display:block;
    font-size:28px;
    font-weight:700;
    color:#fff;
    text-decoration:none;
    line-height:1.2;
}

.tk-contact-phone__time{
    margin-top:4px;
    font-size:13px;
    color:#d5dfef;
}

.tk-site-logo img,
.custom-logo{
  max-height:56px;
  width:auto;
  display:block;
}

.custom-logo-link{
  display:block;
}

.tk-site-logo img{
  height:90px !important;
  width:auto !important;
  max-width:none !important;
  max-height:none !important;
}

.tk-site-header{
  height:96px !important;
}

.tk-site-header__inner{
  height:96px !important;
}

body{
  padding-top:96px !important;
}

/* Mobile Menu */
.tk-menu-button{
  display:none;
  width:44px;
  height:44px;
  border:none;
  background:var(--tk-primary);
  border-radius:4px;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  gap:6px;
  cursor:pointer;
}

.tk-menu-button span{
  display:block;
  width:22px;
  height:2px;
  background:#fff;
  transition:.25s ease;
}

.tk-menu-button.is-active span:nth-child(1){
  transform:translateY(8px) rotate(45deg);
}

.tk-menu-button.is-active span:nth-child(2){
  opacity:0;
}

.tk-menu-button.is-active span:nth-child(3){
  transform:translateY(-8px) rotate(-45deg);
}

.tk-mobile-nav{
  display:none;
}

@media(max-width:960px){

  .tk-site-nav{
    display:none;
  }

  .tk-menu-button{
    display:flex;
  }

  .tk-mobile-nav{
    display:none;
    background:#fff;
    border-top:1px solid var(--tk-border);
    border-bottom:1px solid var(--tk-border);
  }

  .tk-mobile-nav.is-open{
    display:grid;
  }

  .tk-mobile-nav a{
    padding:18px 24px;
    border-bottom:1px solid var(--tk-border);
    color:var(--tk-text);
    text-decoration:none;
    font-weight:800;
  }

  .tk-mobile-nav a:last-child{
    background:var(--tk-primary);
    color:#fff;
    border-bottom:none;
  }
}