/*
Theme Name: theme411
Theme URI: http://theme.o2gp.com/
Description: theme411
Version: 2.0
Author: o2 Group
Author URI: http://theme.o2gp.com/
Tags: simple

	o2 Group v1.0
	 http://theme.o2gp.com/

	This theme was designed and built by o2 Group,
	whose blog you will find at http://theme.o2gp.com/

	The CSS, XHTML and design is released under GPL:
	http://www.opensource.org/licenses/gpl-license.php

*/

/* =Reset default browser CSS.
Based on work by Eric Meyer: http://meyerweb.com/eric/tools/css/reset/index.html
-------------------------------------------------------------- */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {border: 0;font-family: inherit;font-size: 100%;font-style: inherit;font-weight: inherit;margin: 0;outline: 0;padding: 0;vertical-align: baseline;}
:focus {outline: 0;}

ol, ul {list-style: none;}
table {border-collapse: separate;border-spacing: 0;}
caption, th, td {font-weight: normal;text-align: left;}
blockquote:before, blockquote:after,q:before, q:after {content: "";}
blockquote, q {quotes: "" "";}
a img {border: 0;}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {display: block;}

body{
font: 12px/1.5 "メイリオ","Meiryo",arial,"ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro",Osaka,"ＭＳ Ｐゴシック","MS PGothic",Sans-Serif;
color:#333;
-webkit-text-size-adjust: none;
background:url(images/bg.png);
}


/* リンク設定
------------------------------------------------------------*/
a{
margin:0;
padding:0;
text-decoration:none;
outline:0;
vertical-align:baseline;
background:transparent;
font-size:100%;
color:#313131;
}

a:hover, a:active{
outline: none;
color:#6f6f6f;
}


/**** Clearfix ****/
nav .panel:after, nav#mainNav:after, .newsTitle:after, .bg:after,.post:after, ul.post li:after,nav#mainNav .inner:after{content:""; display: table;clear: both;}
nav .panel,nav#mainNav,.newsTitle,.bg, .post, ul.post li,nav#mainNav .inner{zoom: 1;}


/* フォーム
------------------------------------------------------------*/
input[type="text"], textarea{
vertical-align:middle;
max-width:90%;
line-height:30px;
height:30px;
padding:1px 5px;
border:1px solid #d4d4d7;
border-radius:3px;
-webkit-border-radius:3px;
-moz-border-radius:3px;
font-size:100%;
color:#555;
background:#fcfcfc;
}

textarea{
height:auto;
line-height:1.5;
}

input[type="submit"],input[type="reset"],input[type="button"]{
padding:3px 10px;
background: #878787;
background: -moz-linear-gradient(top, #878787 0%, #6f6f6f 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#878787), color-stop(100%,#6f6f6f));
background: -webkit-linear-gradient(top, #878787 0%,#6f6f6f 100%);
background: -o-linear-gradient(top, #878787 0%,#6f6f6f 100%);
background: linear-gradient(to bottom, #878787 0%,#6f6f6f 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#878787', endColorstr='#6f6f6f',GradientType=0 );
border:0;
border-radius:3px;
-webkit-border-radius:3px;
-moz-border-radius:3px;
line-height:1.5;
font-size:120%;
color:#fff;
}

input[type="submit"]:hover,input[type="reset"]:hover,input[type="button"]:hover{
background: #878787;
background: -moz-linear-gradient(top, #6f6f6f 0%, #878787 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#6f6f6f), color-stop(100%,#878787));
background: -webkit-linear-gradient(top, #6f6f6f 0%,#878787 100%);
background: -o-linear-gradient(top, #6f6f6f 0%,#878787 100%);
background: linear-gradient(to bottom, #6f6f6f 0%,#878787 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#6f6f6f', endColorstr='#878787',GradientType=0 );
cursor:pointer;
}

*:first-child+html input[type="submit"]{padding:3px;}


/* レイアウト
------------------------------------------------------------*/
#wrapper, .inner{
margin:0 auto;
width:880px;
}

#header{
overflow:hidden;
}

#content{
float:right;
width:627px;
padding:22px 0 50px;
}

#sidebar{
float:left;
width:233px;
padding:22px 0 50px;
}

#footer{
clear:both;
} 


/* ヘッダー
*****************************************************/

/* サイト説明文
----------------------------------*/
#header h1{
padding:5px 0;
font-size:80%;
font-weight:normal;
}


/* ロゴ (サイトタイトル)
----------------------------------*/
#header h2{
clear:both;
float:left;
padding:20px 5px 15px;
color: #515151;
font-size:160%;
font-weight:bold;
}


/* コンタクト
----------------------------------*/
.contact{
float:right;
padding:10px 0 0;
text-align:right;
color:#000;
font-size:90%;
}

.contact .tel{
margin-bottom:-3px;
font-size:180%;
font-family:Arial, Helvetica, sans-serif;
}


/* メインメニュー
------------------------------------------------------------*/
nav#mainNav{
clear:both;
position:relative;
z-index:200;
width:100%;
}

nav#mainNav .inner{
padding-left:1px;
background:url(images/mainNavSep.png) no-repeat 0 5px;
}

nav#mainNav ul li{
float: left;
position: relative;
background:url(images/mainNavSep.png) no-repeat 100% 5px;
}

nav#mainNav ul li a{
display: block;
text-align: center;
_float:left;
color:#000;
height:35px;
line-height:45px;
font-size:110%;
margin-right:1px;
padding:8px 30px 0;
}

nav#mainNav ul li a span,nav#mainNav ul li a strong{
display:block;
font-size:90%;
line-height:1.4;
}

nav#mainNav ul li a span{
font-size:70%;
color:#888;
font-weight:normal;
}

nav#mainNav ul li.current-menu-item a, nav#mainNav ul li a:hover span, nav#mainNav ul li a:hover, nav#mainNav ul li.current-menu-parent a{
color:#4c4c4c;
}

nav#mainNav ul ul{
width:160px;
border:1px solid #e0e0e0;
border-top:0;
}

nav#mainNav ul li ul{display: none;}

nav#mainNav ul li:hover ul{
display: block;
position: absolute;
top:42px;
left:-1px;
z-index:500;
}

nav#mainNav ul li li{
margin:0;
float: none;
height:40px;
line-height:40px;
width:160px;
background:url(images/bg.png);
border-bottom:1px dotted #e0e0e0;
}

nav#mainNav ul li li:last-child{border:0;}

nav#mainNav ul li li a{
width:100%;
height:40px;
padding:0 0 0 10px;
line-height:40px;
font-size:95%;
text-align:left;
}

nav#mainNav ul li li.current-menu-item a,nav#mainNav ul li li a:hover{color:#6f6f6f;}


/* トップページ　メイン画像
----------------------------------*/
#mainImg{
clear:both;
margin-top:20px;
line-height:0;
text-align:center;
z-index:0;
}

.post{
margin:0 0 20px 0;
padding:20px 10px 20px 20px;
border:1px solid #d5d5d5;
background: #fff;
}

.toppage h4{
margin:0 0 10px;
font-size:16px;
font-weight:normal;
color:#333;
}

.toppage{padding:10px 10px 20px 20px;}


/* 記事ループ
*****************************************************/
.list{
padding:10px 0;
border-bottom:1px dashed #dcdcdc;
}

.list:last-child{border:0;}

.post .list p{padding:0;}

.list span{padding-left:10px;}


/* タイポグラフィ
*****************************************************/
h2.title{
clear:both;
margin:0;
padding:7px 10px 7px 10px;
font-size:110%;
color:#000;
border:1px solid #d5d5d5;
border-bottom:0;
background:#fff url(images/headingBg.png) repeat-x 0 100%;
}

.dateLabel{
text-align:right;
font-weight:bold;
color:#858585;
}

.post p{padding-bottom:15px;}

.post ul{margin: 0 0 10px 10px;}

.post ul li{
margin-bottom:5px;
padding-left:15px;
background:url(images/bullet.png) no-repeat 0 8px;
}

.post ol{margin: 0 0 10px 30px;}

.post ol li{list-style:decimal;}

.post h1{
margin:20px 0;
padding:5px 0;
font-size:150%;
color: #000;
border-bottom:3px solid #000;
}

.post h2{
margin:10px 0;
padding-bottom:2px;
font-size:130%;
font-weight:normal;
color: #333;
border-bottom:2px solid #515151;
}

.post h3{
margin:10px 0;
font-size:100%;
font-weight:normal;
color:#2e2c2c;
border-bottom:1px solid #515151;
}

.post blockquote {
clear:both;
padding:10px 0 10px 15px;
margin:10px 0 25px 30px;
border-left:5px solid #ccc;
}
 
.post blockquote p{padding:5px 0;}

.post table{
border: 1px #ccc solid;
border-collapse: collapse;
border-spacing: 0;
margin:10px 0 20px;
}

.post table th{
padding:10px;
border: #ccc solid;
border-width: 0 0 1px 1px;
background:#efede7;
}

.post table td{
padding:10px;
border: 1px #ccc solid;
border-width: 0 0 1px 1px;
background:#fff;
}

.post dt{font-weight:bold;}

.post dd{padding-bottom:10px;}

.post img{max-width:100%;height:auto;}

img.aligncenter {
display: block;
margin:5px auto;
}

img.alignright, img.alignleft{
margin: 10px 10px 15px 15px;
display:inline;
}

img.alignleft{margin:10px 15px 15px 10px;}

.alignright{float:right;}
.alignleft{float:left;}

#gallery-1 img{
border:1px solid #eaeaea !important;
padding:5px;
background:#fff;
}

#gallery-1 img:hover{background:#fffaef;}



/* サイドバー　ウィジェット
*****************************************************/
section.widget ul, .widget_search, #calendar_wrap, .textwidget{
margin:0 0 20px 0;
padding:10px 10px 10px 17px;
border:1px solid #d5d5d5;
background: #fff;
}

section.widget ul ul{
border:0;
margin:0;
padding:0 0 0 10px;
}

p.banner{padding-bottom:15px;}

p.banner img{
max-width:233px;
height:auto;
}

p.banner img:hover{
cursor:pointer;
opacity:.8;
}

section.widget h3{
clear:both;
margin:0;
padding:7px 10px 7px 10px;
font-size:110%;
border:1px solid #d5d5d5;
border-bottom:0;
color:#000;
background:#fff url(images/headingBg.png) repeat-x 0 100%;
}

section.widget li a{
display:block;
padding:7px 0 7px 12px;
background:url(images/arrow.gif) no-repeat 0 12px;
border-bottom:1px dashed #dcdcdc;
}

section.widget li:last-child a{border:0;}

#searchform input[type="text"]{
line-height:1.7;
height:24px;
width:90px;
vertical-align:bottom;
}

/* カレンダー */
#calendar_wrap table{margin:0 auto;width:90%;}
#calendar_wrap table caption{padding:10px 0;text-align:center;font-weight:bold;}
#calendar_wrap table th, #calendar_wrap table td{padding:3px;text-align:center;}
#calendar_wrap table th:nth-child(6),#calendar_wrap table td:nth-child(6){color:#0034af;}
#calendar_wrap table th:nth-child(7),#calendar_wrap table td:nth-child(7){color:#950000;}
#calendar_wrap table td#prev{text-align:left;}
#calendar_wrap table td#next{text-align:right;}
#calendar_wrap a{font-weight:bold;}


/* お知らせ　
-------------*/
.newsTitle{
clear:both;
margin:0;
padding:7px 10px 7px 10px;
font-size:110%;
border:1px solid #d5d5d5;
border-bottom:0;
color:#000;
background:#fff url(images/headingBg.png) repeat-x 0 100%;
}

.newsTitle h3{
float:left;
font-weight:normal;
}

.newsTitle p{
float:right;
padding:0 0 0 10px;
font-size:80%;
background:url(images/arrow.gif) no-repeat 0 5px;
}

.news p{
clear:both;
padding-bottom:2px;
border-bottom:1px dashed #dcdcdc;
}

.news p:last-child{border:0;}

.news p a{
display:block;
padding:5px 0;
color:#333;
font-style:italic;
font:italic 110% "Palatino Linotype", "Book Antiqua", Palatino, serif;
}

.news a span{
color:#515151;
font:normal 90% Arial, 'ヒラギノ角ゴ Pro W3','Hiragino Kaku Gothic Pro','ＭＳ Ｐゴシック',sans-serif;
}

.news span{padding-left:10px;}

.news a:hover span{color:#6f6f6f;}



/* フッター
*****************************************************/
#footer ul{
padding:15px 0 25px;
text-align:center;
}

#footer li{
display:inline-block;
padding: 5px 16px;
border-left:1px dotted #d5d5d5;
}
*:first-child+html #footer li{display:inline;}

#footer li:first-child{border:0;}

#footer li a{
text-decoration:none;
color:#000;
}

#footer li a:hover{color:#999;}

#footer ul ul{display:none;}

#copyright{
clear:both;
padding:10px 0 37px;
text-align:center;
color:#000;
font-size:10px;
}


/* page navigation
------------------------------------------------------------*/
.pagenav{
clear:both;
width: 100%;
height: 30px;
margin: 5px 0 20px;
}

.prev{float:left}

.next{float:right;}

#pageLinks{
clear:both;
color:#4f4d4d;
text-align:center;
}


/* トップページ 最新記事4件
------------------------------------------------------------*/
ul.post{
padding:0;
}

ul.post li{
margin:0 10px;
padding:20px 0 15px;
border-bottom:1px dashed #dcdcdc;
}

ul.post li:last-child{border:0;}

ul.post img{
float:left;
margin:0 15px 5px 10px;
}

ul.post h3{
margin:0 0 10px 10px;
font-size:14px;
font-weight:normal;
color:#333;
border:0;
}
/* FIELD-X追加
------------------------------------------------------------*/
    .lp-frontContainer {
      max-width: 880px;
      margin: 0 auto;
      padding: 0 16px;
    }
    .lp-frontBanner {
      background: #fff;
      border: 1px solid #ccc;
      margin: 20px auto;
      padding: 20px 24px;
      display: flex;
      justify-content: space-between;
      flex-direction: column;
      align-items: center;
      text-align: center;
      gap: 16px;
      box-shadow: 0 2px 6px rgba(0,0,0,0.08);
      flex-wrap: nowrap;
    }

    .lp-frontBanner h2 {
      font-size: 17px;
      margin: 0 0 6px;
      color: #0b0b0b;
      font-weight: 700;
    }

    .lp-frontBanner p {
      margin: 0;
      font-size: 13px;
      color: #444;
      white-space: nowrap;
    }

    .lp-frontBanner__btns {
      display: inline-flex;
      flex-direction: row;
      gap: 10px;
      white-space: nowrap;
    }

    .lp-frontBanner a {
      display: inline-block;
      background: #336699;
      color: #fff;
      padding: 6px 14px;
      border-radius: 4px;
      font-size: 13px;
      text-decoration: none;
      border: 1px solid #336699;
      transition: 0.2s;
      white-space: nowrap;
    }

    .lp-frontBanner a:hover {
      border-color: #2c5a88;
	  color: #fff;
	  opacity: .7;
    }

    .lp-frontBanner a.outline {
      background: #fff;
      color: #444;
      border: 1px solid #aaa;
    }

    .lp-frontBanner a.outline:hover {
      background: #336699;
      color: #fff;
      border-color: #336699;
    }

    @media (max-width: 900px) {
      .lp-frontBanner {
        flex-direction: column;
        text-align: center;
      }
      .lp-frontBanner__btns {
        justify-content: center;
        flex-wrap: wrap;
        width: 100%;
      }
      .lp-frontBanner a {
        flex: 1 1 auto;
        min-width: 0;
        font-size: 12px;
        padding: 6px 10px;
      }
      .lp-frontBanner p {
        white-space: normal;
      }
    }

    @media (max-width: 480px) {
      .lp-frontBanner__btns {
        flex-direction: column;
        width: 100%;
      }
      .lp-frontBanner a {
        width: 100%;
      }
    }

/* 固定ページ */
/* スマホのみ表示 */
/* スマホのみ表示 */
#top-lp-banner {
  display: none;
}

@media (max-width: 768px) {
  #top-lp-banner {
    display: block;
  }
}

#top-lp-banner {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 16px;
}

#top-lp-banner .top-mobile-lp-banner {
  background: #fff;
  border: 1px solid #ccc;
  margin: 20px auto;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  flex-wrap: nowrap;
  text-align: center;
}

#top-lp-banner .top-mobile-lp-banner h2 {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 6px;
  color: #0b0b0b;
}

#top-lp-banner .top-mobile-lp-banner p {
  margin: 0;
  font-size: 16px;
  color: #444;
  white-space: normal;
}

@media (max-width: 768px) {
  #top-lp-banner .top-mobile-lp-banner {
    padding: 16px;
  }

  #top-lp-banner .top-mobile-lp-banner h2 {
    font-size: 16px;
  }

  #top-lp-banner .top-mobile-lp-banner p {
    font-size: 14px;
  }
}

#top-lp-banner .top-mobile-lp-banner__btns {
  display: inline-flex;
  flex-direction: row;
  gap: 30px;
  white-space: nowrap;
}

#top-lp-banner .top-mobile-lp-banner__btns a {
  color: #fff;

}

@media (max-width: 480px) {
  #top-lp-banner .top-mobile-lp-banner__btns {
    flex-direction: column;
    gap: 12px;
    width: 100%;
    align-items: center;
  }
}

#top-lp-banner .top-mobile-lp-banner a {
  max-width: 200px;
  display: inline-block;
  background: #336699;
  color: #fff;
  border-radius: 4px;
  text-decoration: none;
  border: 1px solid #336699;
  transition: 0.2s;
  white-space: nowrap;
  font-size: 14px;
  padding: 10px 14px;
  width: 100%;
  text-align: center;
}

#top-lp-banner .top-mobile-lp-banner a:hover {
  opacity: 0.7;
}




/* =================================================
/* レスポンシブ対応の基本設定 
   ================================================= */
/* 固定幅を強制的に解除 */
body,
#page,
#wrapper,
#wrap,
.wrap,
.site-container,
.site-inner,
.content-sidebar-wrap,
.inner,
#inner,
.container,
#container,
.page-wrap,
#page-wrap {
  width: 100% !important;
  max-width: 100% !important;
  min-width: unset !important;
  box-sizing: border-box !important;
}

/* スマホ・タブレット（768px以下） */
@media screen and (max-width: 768px) {

  body,
  #page,
  #wrapper,
  #wrap,
  .wrap,
  .site-container,
  .site-inner,
  .content-sidebar-wrap,
  .inner,
  #inner,
  .container,
  #container {
    width: 100% !important;
    max-width: 100% !important;
    min-width: unset !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    float: none !important;
    box-sizing: border-box !important;
  }

  /* コンテンツとサイドバーを縦並びに */
  .content,
  .entry-content,
  .sidebar,
  .sidebar-primary,
  .sidebar-secondary,
  #sidebar,
  #sidebar-alt {
    width: 100% !important;
    float: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  /* ナビゲーション */
  .nav-primary,
  .nav-secondary,
  nav {
    width: 100% !important;
  }

  /* 画像のはみ出し防止 */
  img, video, ifr


img, video {
  max-width: 100%;
  height: auto;
}

/* タブレット以下（768px） */
@media screen and (max-width: 768px) {
  body,
  #wrap,
  #inner,
  .site-container,
  .content-sidebar-wrap {
    width: 100% !important;
    max-width: 100% !important;
    min-width: unset !important;
    float: none !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
    box-sizing: border-box !important;
  }

  .content,
  .sidebar,
  #sidebar,
  .sidebar-primary,
  .sidebar-secondary {
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
  }

  .nav-primary,
  .nav-secondary {
    width: 100% !important;
  }
}
/* =================================================
   post-753専用 LPデザイン 完全統合版
   ================================================= */

/* ===== サイドバー非表示 ===== */
body:has(#post-753) #sidebar, body.itco-syn2-lp #sidebar { display: none !important; }
body:has(#post-753) #content, body.itco-syn2-lp #content { width: 100% !important; float: none !important; }

/* ===== カラー変数 ===== */
body:has(#post-753), body.itco-syn2-lp {
  --main:   #123d6b;
  --sub:    #1e5aa8;
  --light:  #edf4ff;
  --border: #b3c4e0;
  --text:   #0f172a;
}

/* ===== テーマ由来の余計な装飾を抑制 ===== */
body:has(#post-753) #post-753 h1, body.itco-syn2-lp #post-753 h1,
body:has(#post-753) #post-753 h2, body.itco-syn2-lp #post-753 h2,
body:has(#post-753) #post-753 h3, body.itco-syn2-lp #post-753 h3 {
  border: none !important;
  background: none !important;
  box-shadow: none !important;
}
body:has(#post-753) #post-753 hr, body.itco-syn2-lp #post-753 hr { display: none !important; }

/* ===== box-sizing統一 ===== */
body:has(#post-753) .itco-syn2__wrap, body.itco-syn2-lp .itco-syn2__wrap,
body:has(#post-753) .itco-syn2__wrap *, body.itco-syn2-lp .itco-syn2__wrap * {
  box-sizing: border-box;
}
.page-id-753 {
  overflow-x: hidden;
}

/* =================================================
   ベース・外枠
   ================================================= */
body:has(#post-753) .itco-syn2, body.itco-syn2-lp .itco-syn2 {
  padding: 40px 0 60px;
  background: #f0f4fb;
}
body:has(#post-753) .itco-syn2__wrap, body.itco-syn2-lp .itco-syn2__wrap {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 max(24px, env(safe-area-inset-right)) 0 max(24px, env(safe-area-inset-left));
  display: flex;
  flex-direction: column;
  gap: 24px;
  color: var(--text);
}

/* =================================================
   HERO
   ================================================= */
body:has(#post-753) .itco-syn2__hero, body.itco-syn2-lp .itco-syn2__hero {
  position: relative;
  background: #fff;
  border-radius: 18px;
  padding: 32px 36px 28px;
  overflow: hidden;
}
body:has(#post-753) .itco-syn2__hero::before, body.itco-syn2-lp .itco-syn2__hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 5px;
  background: var(--main);
}
body:has(#post-753) .itco-syn2__title, body.itco-syn2-lp .itco-syn2__title {
  margin: 0 0 14px;
  font-size: clamp(1.25rem, 0.6rem + 2.2vw, 1.9rem);
  font-weight: 800;
  line-height: 1.3;
}
body:has(#post-753) .itco-syn2__lead, body.itco-syn2-lp .itco-syn2__lead {
  margin: 0 0 20px;
  font-size: clamp(0.95rem, 0.88rem + 0.35vw, 1rem);
  line-height: 1.85;
}

/* バッジ */
body:has(#post-753) .itco-syn2__badges, body.itco-syn2-lp .itco-syn2__badges {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
body:has(#post-753) .itco-syn2__badges li, body.itco-syn2-lp .itco-syn2__badges li {
  font-size: 0.85rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--light);
  border: 1px solid var(--border);
  color: var(--main);
  white-space: nowrap;
}

/* =================================================
   診断で分かることカード
   ================================================= */
body:has(#post-753) .itco-syn2__card, body.itco-syn2-lp .itco-syn2__card {
  background: #fff;
  border-radius: 18px;
  padding: 28px 36px;
}
body:has(#post-753) .itco-syn2__h2, body.itco-syn2-lp .itco-syn2__h2 {
  margin: 0 0 16px;
  font-size: 1.125rem;
  font-weight: 800;
  line-height: 1.4;
  color: var(--main);
}
body:has(#post-753) .itco-syn2__list, body.itco-syn2-lp .itco-syn2__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
body:has(#post-753) .itco-syn2__list li, body.itco-syn2-lp .itco-syn2__list li {
  padding-left: 22px;
  position: relative;
  font-size: 1rem;
  line-height: 1.7;
}
body:has(#post-753) .itco-syn2__list li::before, body.itco-syn2-lp .itco-syn2__list li::before {
  content: "●";
  position: absolute;
  left: 0; top: 3px;
  color: var(--main);
  font-size: 0.75rem;
}

/* =================================================
   KPIグリッド（HTML内に存在する場合）
   ================================================= */
body:has(#post-753) .itco-syn2__kpiRow, body.itco-syn2-lp .itco-syn2__kpiRow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
body:has(#post-753) .itco-syn2__kpiBox, body.itco-syn2-lp .itco-syn2__kpiBox {
  background: #fff;
  border-radius: 14px;
  padding: 20px 24px;
}
body:has(#post-753) .itco-syn2__kpiNum, body.itco-syn2-lp .itco-syn2__kpiNum {
  margin: 0 0 4px;
  font-size: 1.8rem;
  font-weight: 900;
  line-height: 1.1;
  color: var(--main);
}
body:has(#post-753) .itco-syn2__kpiTxt, body.itco-syn2-lp .itco-syn2__kpiTxt {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.4;
}

/* =================================================
   フォームカード
   ================================================= */
body:has(#post-753) .itco-syn2__formCard, body.itco-syn2-lp .itco-syn2__formCard {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
}
body:has(#post-753) .itco-syn2__formHead, body.itco-syn2-lp .itco-syn2__formHead {
  background: var(--main);
  padding: 20px 36px;
}
body:has(#post-753) .itco-syn2__formLabel, body.itco-syn2-lp .itco-syn2__formLabel {
  margin: 0 !important;
  font-size: 1.35rem !important;
  font-weight: 900 !important;
  color: #fff !important;
  letter-spacing: .02em;
}
body:has(#post-753) .itco-syn2__formBody, body.itco-syn2-lp .itco-syn2__formBody {
  padding: 28px 36px 36px;
}
body:has(#post-753) .itco-syn2__formCatch, body.itco-syn2-lp .itco-syn2__formCatch {
  font-size: 1rem;
  color: #555;
  margin: 0 0 0;
  padding: 16px 0;
  line-height: 1.6;
  border-bottom: 1px solid #eef1f8;
}
body:has(#post-753) .itco-syn2__privacy, body.itco-syn2-lp .itco-syn2__privacy {
  margin: 16px 0 0;
  font-size: 0.82rem;
  line-height: 1.6;
  color: #999;
}

/* =================================================
   Contact Form 7
   ================================================= */
body:has(#post-753) .itco-syn2__formBody .wpcf7, body.itco-syn2-lp .itco-syn2__formBody .wpcf7 { margin: 0; }

body:has(#post-753) .itco-syn2__formBody .wpcf7 p, body.itco-syn2-lp .itco-syn2__formBody .wpcf7 p {
  margin: 0 0 4px !important;
  padding: 0 !important;
}
body:has(#post-753) .itco-syn2__formBody .wpcf7 br, body.itco-syn2-lp .itco-syn2__formBody .wpcf7 br {
  display: none !important;
}

/* ラベル */
body:has(#post-753) .itco-syn2__formBody label, body.itco-syn2-lp .itco-syn2__formBody label {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: #222;
  margin: 16px 0 6px !important;
  line-height: 1.4;
}

/* 必須バッジ（赤・PC/スマホ共通） */
body:has(#post-753) .itco-syn2__formBody .wpcf7 .wpcf7-required, body.itco-syn2-lp .itco-syn2__formBody .wpcf7 .wpcf7-required,
body:has(#post-753) .itco-syn2__formBody .wpcf7 abbr[title="必須"], body.itco-syn2-lp .itco-syn2__formBody .wpcf7 abbr[title="必須"],
body:has(#post-753) .itco-syn2__formBody .wpcf7 .required, body.itco-syn2-lp .itco-syn2__formBody .wpcf7 .required {
  display: inline-block !important;
  margin-left: 8px !important;
  padding: 2px 8px !important;
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  color: #fff !important;
  background: #e53935 !important;
  border-radius: 4px !important;
  vertical-align: middle !important;
  letter-spacing: .03em;
}

/* wrapをブロック化 */
body:has(#post-753) .itco-syn2__formBody .wpcf7-form-control-wrap, body.itco-syn2-lp .itco-syn2__formBody .wpcf7-form-control-wrap {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
}

/* 入力フィールド共通 */
body:has(#post-753) .itco-syn2__formBody .wpcf7 input[type="text"], body.itco-syn2-lp .itco-syn2__formBody .wpcf7 input[type="text"],
body:has(#post-753) .itco-syn2__formBody .wpcf7 input[type="email"], body.itco-syn2-lp .itco-syn2__formBody .wpcf7 input[type="email"],
body:has(#post-753) .itco-syn2__formBody .wpcf7 input[type="tel"], body.itco-syn2-lp .itco-syn2__formBody .wpcf7 input[type="tel"],
body:has(#post-753) .itco-syn2__formBody .wpcf7 textarea, body.itco-syn2-lp .itco-syn2__formBody .wpcf7 textarea,
body:has(#post-753) .itco-syn2__formBody .wpcf7 select, body.itco-syn2-lp .itco-syn2__formBody .wpcf7 select {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  float: none !important;
  position: static !important;
  padding: 12px 14px !important;
  font-size: 1rem !important;
  border: 1px solid #d0daf0;
  border-radius: 12px;
  background: #fafcff;
  margin: 0 !important;
  transition: border-color .2s, box-shadow .2s;
}

/* フォーカス */
body:has(#post-753) .itco-syn2__formBody .wpcf7 input:focus, body.itco-syn2-lp .itco-syn2__formBody .wpcf7 input:focus,
body:has(#post-753) .itco-syn2__formBody .wpcf7 textarea:focus, body.itco-syn2-lp .itco-syn2__formBody .wpcf7 textarea:focus,
body:has(#post-753) .itco-syn2__formBody .wpcf7 select:focus, body.itco-syn2-lp .itco-syn2__formBody .wpcf7 select:focus {
  outline: none;
  border-color: var(--sub);
  box-shadow: 0 0 0 4px rgba(30,90,168,.14);
  background: #fff;
}

/* テキストエリア */
body:has(#post-753) .itco-syn2__formBody .wpcf7 textarea, body.itco-syn2-lp .itco-syn2__formBody .wpcf7 textarea {
  min-height: 130px;
  resize: vertical;
}

/* 送信ボタン */
body:has(#post-753) .itco-syn2__formBody .wpcf7 input[type="submit"], body.itco-syn2-lp .itco-syn2__formBody .wpcf7 input[type="submit"] {
  display: block !important;
  width: 100% !important;
  margin-top: 16px !important;
  padding: 16px !important;
  font-size: 1.05rem !important;
  font-weight: 900;
  border: none;
  border-radius: 14px;
  background: var(--sub);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(18,61,107,.28);
  transition: background .2s;
}
body:has(#post-753) .itco-syn2__formBody .wpcf7 input[type="submit"]:hover, body.itco-syn2-lp .itco-syn2__formBody .wpcf7 input[type="submit"]:hover {
  background: var(--main);
}

/* エラー・送信メッセージ */
body:has(#post-753) .itco-syn2__formBody .wpcf7-response-output, body.itco-syn2-lp .itco-syn2__formBody .wpcf7-response-output,
body:has(#post-753) .itco-syn2__formBody .wpcf7-not-valid-tip, body.itco-syn2-lp .itco-syn2__formBody .wpcf7-not-valid-tip {
  max-width: 100% !important;
  box-sizing: border-box !important;
}

/* =================================================
   スマホ対応（768px以下）
   ================================================= */
@media screen and (max-width: 768px) {

  body:has(#post-753) .itco-syn2, body.itco-syn2-lp .itco-syn2 {
    padding: 20px 0 40px;
  }
  body:has(#post-753) .itco-syn2__wrap, body.itco-syn2-lp .itco-syn2__wrap {
    padding: 0 max(16px, env(safe-area-inset-right)) 0 max(16px, env(safe-area-inset-left));
    gap: 16px;
  }

  /* HERO */
  body:has(#post-753) .itco-syn2__hero, body.itco-syn2-lp .itco-syn2__hero {
    padding: 24px 20px 20px;
  }

  /* バッジ：狭幅では折り返し可（横スクロール防止） */
  body:has(#post-753) .itco-syn2__badges li, body.itco-syn2-lp .itco-syn2__badges li {
    white-space: normal;
  }

  /* カード */
  body:has(#post-753) .itco-syn2__card, body.itco-syn2-lp .itco-syn2__card {
    padding: 22px 20px;
  }

  /* KPI */
  body:has(#post-753) .itco-syn2__kpiRow, body.itco-syn2-lp .itco-syn2__kpiRow {
    grid-template-columns: 1fr;
  }

  /* フォームカード */
  body:has(#post-753) .itco-syn2__formHead, body.itco-syn2-lp .itco-syn2__formHead {
    padding: 16px 20px;
  }
  body:has(#post-753) .itco-syn2__formBody, body.itco-syn2-lp .itco-syn2__formBody {
    padding: 20px 20px 28px;
  }

  /* iOSズーム防止：16px以上必須 */
  body:has(#post-753) .itco-syn2__formBody .wpcf7 input[type="text"], body.itco-syn2-lp .itco-syn2__formBody .wpcf7 input[type="text"],
body:has(#post-753) .itco-syn2__formBody .wpcf7 input[type="email"], body.itco-syn2-lp .itco-syn2__formBody .wpcf7 input[type="email"],
body:has(#post-753) .itco-syn2__formBody .wpcf7 input[type="tel"], body.itco-syn2-lp .itco-syn2__formBody .wpcf7 input[type="tel"],
body:has(#post-753) .itco-syn2__formBody .wpcf7 textarea, body.itco-syn2-lp .itco-syn2__formBody .wpcf7 textarea {
    font-size: 16px !important;
    padding: 11px 12px !important;
  }
}

/* =================================================
   極小画面（380px以下）
   ================================================= */
@media screen and (max-width: 380px) {
  body:has(#post-753) .itco-syn2, body.itco-syn2-lp .itco-syn2 {
    padding: 16px 0 32px;
  }
  body:has(#post-753) .itco-syn2__wrap, body.itco-syn2-lp .itco-syn2__wrap {
    padding: 0 max(12px, env(safe-area-inset-right)) 0 max(12px, env(safe-area-inset-left));
  }
  body:has(#post-753) .itco-syn2__hero, body.itco-syn2-lp .itco-syn2__hero {
    border-radius: 14px;
    padding: 20px 16px 18px;
  }
  body:has(#post-753) .itco-syn2__card, body.itco-syn2-lp .itco-syn2__card {
    border-radius: 14px;
    padding: 18px 16px;
  }
  body:has(#post-753) .itco-syn2__formCard, body.itco-syn2-lp .itco-syn2__formCard {
    border-radius: 16px;
  }
}

/* =================================================
   headerレスポンシブ
   ================================================= */
/* === PC: ナビメニューを中央寄せ === */
#mainNav .inner {
  text-align: center !important;
}
#mainNav ul {
  display: inline-block !important;
  float: none !important;
  text-align: left !important;
}

/* === ハンバーガーボタン === */
.hamburger-btn {
  display: none;
  cursor: pointer;
  background: #333;
  border: none;
  padding: 10px 12px;
  position: fixed;
  top: 10px;
  right: 10px;
  z-index: 99999;
  border-radius: 4px;
}
.hamburger-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  margin: 5px 0;
}

/* === モバイル（768px以下） === */
@media screen and (max-width: 768px) {
  .hamburger-btn {
    display: block !important;
  }

  #mainNav {
    display: none;
    position: fixed !important;   /* ← これが重要 */
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100vh !important;     /* 画面全体の高さ */
    background: #fff !important;
    z-index: 9998 !important;     /* コンテンツより必ず上 */
    overflow-y: auto;
    padding-top: 60px !important;
    box-sizing: border-box !important;
  }

  #mainNav ul {
    display: block !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  #mainNav ul li {
    display: block !important;
    width: 100% !important;
    text-align: center;
    border-bottom: 1px solid #eee;
    background: #fff !important;
  }

  #mainNav ul li a {
    display: block !important;
    padding: 18px 15px !important;
    font-size: 16px;
    color: #333 !important;
    background: #fff !important;
  }


  #mainNav ul li a:hover {
    background: #f5f5f5;
  }
}
/* メニュー項目の背景を白に統一 */
#mainNav ul li,
#mainNav ul li a,
#mainNav li.current-menu-item,
#mainNav li.current-menu-item a,
#mainNav li:nth-child(odd),
#mainNav li:nth-child(even) {
  background: #fff !important;
  background-color: #fff !important;
}
/* ハンバーガー閉じるボタン */
	.hamburger-btn span {
  transition: transform 0.3s, opacity 0.3s, margin 0.3s;
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  margin: 5px 0;
}
@media screen and (max-width: 768px) {
  #mainNav ul li {
    line-height: 1.6 !important;
    height: auto !important;
    min-height: unset !important;
    overflow: visible !important;
  }

  #mainNav ul li a {
    line-height: 1.6 !important;
    height: auto !important;
    overflow: visible !important;
    white-space: normal !important;
    padding: 20px 15px !important;
  }
}
}
/* === PC: ヘッダーを中央寄せ === */
#header .inner {
  text-align: center !important;
}
#header h1,
#header h2,
#header .contact {
  display: block;
  text-align: center !important;
  float: none !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* === PC: コンテンツ幅を880pxに制限 === */
@media screen and (min-width: 769px) {
  .site-inner,
  .content-sidebar-wrap,
  .wrap,
  #inner,
  .inner,
  #container,
  .container {
    max-width: 880px !important;
    width: 880px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
	@media screen and (min-width: 769px) {
  body > div,
  #page,
  #wrapper,
  #wrap,
  .site-container,
  .site-inner,
  .content-sidebar-wrap,
  .content,
  #content,
  .entry-content,
  #main,
  .main {
    max-width: 880px !important;
    width: 880px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
  }
}
}