/*
Theme Name: tutumi Original
Author: tutumi
Description: 株式会社tutumiのオリジナルWordPressテーマ。CPT UI／Secure Custom Fields／Contact Form 7連携、施工事例Before/After・お知らせ投稿・固定ページPHPテンプレートに対応。
Version: 1.2.2
Requires at least: 6.2
Requires PHP: 7.4
Text Domain: tutumi-original
*/

/* WordPress and Contact Form 7 adjustments */
.screen-reader-text{clip:rect(1px,1px,1px,1px);position:absolute!important;height:1px;width:1px;overflow:hidden;white-space:nowrap}
.screen-reader-text:focus{clip:auto;z-index:99999;height:auto;width:auto;top:8px;left:8px;padding:12px;background:#fff;color:#111}
.tutumi-menu{list-style:none}
.tutumi-empty{padding:20px 0;font-size:14px;line-height:1.9;color:#666}
.tutumi-no-image{display:flex;align-items:center;justify-content:center;color:#666;background:#eee;font-size:16px}
.work-thumb:not(.work-thumb--comparison) .work-thumb-panel{height:100%;margin:0;position:relative}
.work-thumb:not(.work-thumb--comparison) .work-thumb-panel img{display:block;width:100%;height:100%;object-fit:cover}
.work-thumb:not(.work-thumb--comparison) .work-thumb-panel figcaption{position:absolute;left:12px;bottom:12px;padding:6px 10px;color:#fff;background:rgba(23,27,95,.9);font-size:11px;letter-spacing:.12em}
.work-thumb:not(.work-thumb--comparison) .work-thumb-panel:last-child figcaption{background:rgba(244,119,33,.93)}
.navigation.pagination{margin:55px 0 0}
.nav-links{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.nav-links .page-numbers{padding:10px 14px;border:1px solid #dedede;font-size:13px;display:inline-block}
.nav-links .page-numbers.current,.nav-links .page-numbers:hover{background:#171b5f;color:#fff}
.tutumi-news-detail{max-width:950px}
.tutumi-news-heading{font-family:"Noto Sans JP",sans-serif;color:#171b5f;font-size:clamp(23px,3vw,35px);line-height:1.6;padding-bottom:25px;border-bottom:1px solid #ddd}
.tutumi-news-content{font-family:"Noto Sans JP",sans-serif;font-size:15px;line-height:2;overflow-wrap:anywhere}
.tutumi-news-content img,.tutumi-work-extra img{max-width:100%;height:auto}
.tutumi-news-featured img{max-width:100%;height:auto}
.tutumi-contact-notice{font-family:"Noto Sans JP",sans-serif;line-height:2;font-size:14px;padding:20px;border:1px solid #ddd}
.tutumi-cf7-wrap .wpcf7-form{display:grid;gap:18px}
.tutumi-cf7-wrap .wpcf7-form p{margin:0}
.tutumi-cf7-wrap .wpcf7-form-control-wrap{display:block}
.tutumi-cf7-wrap .field input,.tutumi-cf7-wrap .field select,.tutumi-cf7-wrap .field textarea{box-sizing:border-box;width:100%;border:1px solid #ddd;background:white;padding:14px 15px;border-radius:0;color:#222;font-size:14px}
.tutumi-cf7-wrap .field textarea{min-height:180px}
.tutumi-cf7-wrap .wpcf7-list-item{margin:0}
.tutumi-cf7-wrap .wpcf7-list-item-label{font-size:12px}
.tutumi-cf7-wrap .wpcf7-list-item-label a{text-decoration:underline}
.tutumi-cf7-wrap .wpcf7-not-valid-tip,.tutumi-cf7-wrap .wpcf7-response-output{font-size:12px;line-height:1.6}
.tutumi-cf7-wrap .wpcf7-spinner{vertical-align:middle}
.tutumi-cf7-wrap .submit{width:220px;max-width:100%}
.tutumi-work-extra{margin:45px auto 0;font-size:14px;line-height:2;max-width:1100px}
.tutumi-page-editor{padding:60px 0}


/* v1.2.2 / Contact Form 7 completion page */
.tutumi-thanks-hero h1{/* font-size:clamp(58px,9vw,132px); */}
.tutumi-thanks-content{min-height:420px}
.tutumi-thanks-message{max-width:860px;margin:0 auto;text-align:center;padding:18px 0 35px;font-family:"Noto Sans JP",sans-serif}
.tutumi-thanks-check{display:inline-flex;justify-content:center;align-items:center;width:58px;height:58px;border:1px solid var(--orange);border-radius:50%;color:var(--orange);font-size:27px;line-height:1;margin-bottom:32px}
.tutumi-thanks-message h2{font-size:clamp(24px,3.1vw,38px);font-weight:500;line-height:1.65;color:var(--navy);letter-spacing:.02em;margin:0 0 23px}
.tutumi-thanks-message p{font-size:15px;line-height:2.1;margin:0 0 10px}
.tutumi-thanks-message .tutumi-thanks-note{font-size:12px;color:var(--muted);margin-top:18px}
.tutumi-thanks-message .tutumi-thanks-home{margin-top:42px;text-align:left}
.tutumi-thanks-sp-only{display:none}
@media(max-width:560px){
  .tutumi-thanks-content{min-height:390px;padding-top:62px;padding-bottom:85px}
  .tutumi-thanks-check{width:50px;height:50px;margin-bottom:26px}
  .tutumi-thanks-message h2{font-size:22px}
  .tutumi-thanks-message p{font-size:14px}
  .tutumi-thanks-sp-only{display:block}
  .tutumi-thanks-message .tutumi-thanks-home{margin-top:34px}
}
