@charset "UTF-8";
/*
Theme Name:nico theme
Author: nico
Description: nico theme.
Version: 1.0
*/

*{
 margin: 0;
 padding: 0;
}

body{
word-wrap: break-word;
background:#fff;
}



html {
font-family: kozuka-gothic-pro, sans-serif;
font-style: normal;
font-weight: 200;


  font-size : 100%;
  line-height : 1.5;
  color: #383838;
}

h1,h2,h3,h4,h5,h6 {
 margin-bottom : 1em;
font-family: kozuka-gothic-pro, sans-serif;
font-weight: 900;
}

h1 {
font-size : 36px; 
line-height : 1.2;
} /* 48px */

h2 {
font-size : 26px;
line-height : 1.2;
font-weight: bold;
} /* 48px */

h3 {
font-size : 22px;
line-height : 1.2;
} /* 24px */



ul, ol {
	  list-style : none;
	   line-height: 1.8em;
	     font-size:0.9em;
	  }
img { 
         vertical-align : middle;
         max-width: 100%;
         height: auto;
         margin-bottom:1em;
         }

p{
    line-height: 1.8em;
    font-size:0.9em;
}

/* 親要素をはみ出して全幅にするクラス */
.equipment_pic {
    width: 100vw; /* 画面幅いっぱいに指定 */
    margin-left: calc(50% - 50vw); /* 画面の左端まで引き戻す */
    margin-right: calc(50% - 50vw); /* 画面の右端まで引き伸ばす */
    
    /* 念のため余計な余白を消す設定 */
    box-sizing: border-box; 
    line-height: 0; /* 画像下の謎の余白を消す */
    margin-bottom:2em;
}

/* 中の画像を親に合わせて広げる */
.equipment_pic img {
    width: 100%;
    height: auto;
    object-fit: cover; /* 画像の比率を保ったまま埋める場合 */
    vertical-align: bottom; /* 画像下の余白対策 */
}





a{
 text-decoration: none;
color: #2b2b2b;
 transition: 0.4s ease-in-out;  
}

a:hover {  
    opacity: 0.5;  
    filter: alpha(opacity=60);  
} 

img{
width: 100%;
}

/* text */

.left{
 text-align: left;
}

.right{
 text-align: right;
}

.center{
 text-align: center;
}

.bold{
 font-weight: bold;
}


.small{
 font-weight: normal;
 font-size: 0.7em;
}

/*flex*/

.flex_container_sp{
display: -webkit-box;
display: -ms-flexbox;
display: flex;
flex-wrap: wrap;
}

.flex_center{
 justify-content: center;
  align-items: center;
}

.flex_re{
flex-direction: row-reverse;
}

.flex_half_sp{
width: 46%;
margin: 2%;
box-sizing: border-box;
}

.flex_4_sp{
width: 48%;
margin: 1%;
box-sizing: border-box;
}


.flex_left_sp{
width: 31%;
margin: 2%;
box-sizing: border-box;
}


.flex_right_sp{
width: 61%;
margin: 2%;
box-sizing: border-box;
}

/*sns*/


.sns{
display: -webkit-box;
display: -ms-flexbox;
display: flex;
flex-wrap: wrap;
max-width: 250px;
margin:2em auto;
}



.sns figure{
width: 15%;
margin: 9%;
}

ul.sns li img{
width: 100%;
}






/*header*/

.header_in{
background-image:url("images/bg_header_sp.jpg");
background-repeat:no-repeat;
background-size:cover;
background-position:top center;
margin-top:0em;
padding:14em 1em 0em 0em;

}

header h1{
width: 250px;
position:absolute;
top:0.5em; 
left:0em;;

}



header{
margin-bottom: 2em;
}

header p{
line-height: 1.5em;
}

header h2.subtitle{
font-size:8vw;
margin-bottom:0.5em;
}


header p.catch{
font-size: 3vw;
line-height:1.5em;
margin-left: 2em;
line-height:1.8em;
font-weight:normal;
}

.news{
margin-top:16em;
background:#fff;
border-radius:0 10px 0 0;
padding:0.5em 1em 0.3em 1em;
font-size:0.9em;
position:relative;
top:0.1em;
}

.news span{
color:#ffa300;
}

/*header animation*/
.animation {
    opacity: 0;
    transform: translateY(30px); /* 初期状態で少し下に配置 */
    transition: opacity 0.6s ease, transform 1s ease; /* アニメーション効果 */
}

/* アニメーション完了時のスタイル */
.animate-in {
    opacity: 1;
    transform: translateY(0); /* 元の位置に戻す */
}


/*nav*/

.hamburger {
  top: 5px;
  /* 他の記述はそのまま */
}

/* ログインして管理バーが出ている時だけ位置を下げる */
body.admin-bar .hamburger {
  top: 37px; /* 5px + 32px(管理バーの高さ) */
}

/* スマホで管理バーが少し太くなる場合(46px)の調整 */
@media screen and (max-width: 782px) {
  body.admin-bar .hamburger {
    top: 51px; /* 5px + 46px */
  }
}

.hamburger {
  display : block;
  position: fixed;
z-index: 9999;
  right : 5px;
  top   : 5px;
  width : 42px;
  height: 42px;
  cursor: pointer;
  text-align: center;
}
.hamburger span {
  display : block;
  position: absolute;
  width   : 20px;
  height  : 2px ;
  right    : 6px;
  
  background : #000;
  -webkit-transition: 0.3s ease-in-out;
  -moz-transition   : 0.3s ease-in-out;
  transition        : 0.3s ease-in-out;
}
.hamburger span:nth-child(1) {
  top: 8px;
}
.hamburger span:nth-child(2) {
  top: 16px;
}
.hamburger span:nth-child(3) {
  top: 24px;
}

/* ナビ開いてる時のボタン */
.hamburger.open span:nth-child(1) {
  top : 16px;
  right: 6px;
  background :#000;
  -webkit-transform: rotate(-45deg);
  -moz-transform   : rotate(-45deg);
  transform        : rotate(-45deg);
}

.hamburger.open span:nth-child(2),
.hamburger.open span:nth-child(3) {
  top: 16px;
  background :#000;
  -webkit-transform: rotate(45deg);
  -moz-transform   : rotate(45deg);
  transform        : rotate(45deg);
}

nav.globalMenuSp {
  position: fixed;
 z-index : 10; 
  top  : 0;
  left : 0;
  background: rgba(255,255,255,0.9);
  text-align: center;
  width: 100%;
  height: 100%;
  opacity: 0;
pointer-events: none;
  transition: opacity .6s ease, visibility .6s ease;
  padding-top: 4em;
}

/* このクラスを、jQueryで付与・削除する */
nav.globalMenuSp.open {
  opacity: 1;
pointer-events: auto;
}



nav.globalMenuSp ul {
  margin: 0 auto;
  padding: 0;
  width: 100%;

}

nav.globalMenuSp ul li {
  list-style-type: none;
  padding: 0;
  width: 100%;
  transition: .4s all;

}
nav.globalMenuSp ul li:last-child {
  padding-bottom: 0;
}
nav.globalMenuSp ul li:hover{
  background :#2b2b2b;
}

nav.globalMenuSp ul li a {
  display: block;
  padding: 1em 0;
  text-decoration :none;

}




/*main*/
.main_box{
 position: relative;
  overflow: hidden; 
}

.box0{
padding-top: 3em;
}

.box0 p.subtitle{
margin-bottom:1em;
}

.box{
margin: 1em 2em 6em 2em;
}

.box h2{
font-size: 1.6em;
letter-spacing:0.1em;
margin-bottom:1em;
}

.box0 div img{
margin-bottom:1em;
}

.box0 h2{
color:#ffa1af;
}

.box h3{
font-size: 1.3em;
margin-bottom:0.3em;
line-height:1.6em;
}


.box p{
margin-bottom:1em;
}

.box_in{
margin-bottom:2em;
}

.bg_box{
  background: linear-gradient(180deg, #e3f2e7 0%, #e3f2e7 15%, #fff 15%, #fff 100%);
padding-top:3em;
}



.img_design img{
border-radius:20px;
}

.titleline1{
background:#fff;
width:40px;
height:10px;
margin-left: auto;
margin-right: auto;
margin-bottom:1em;
}

.titleline2{
background:#ffa1af;
}


.box_features .flex_4{
margin-bottom:2em;
border-bottom:1px solid #ccc;
padding-bottom:1em;
}

p.btn{
border:2px solid #91c99e;
text-align:center;
border-radius:200px;
max-width:130px;
font-size:0.8em;
margin-left: auto;
margin-right: auto;
}

p.btn a{
display:block;
}


.flow_box{
background:#e3f2e7;
padding-top:4em;
padding-bottom:2em;
}

.flow_box h3 span{
font-size:2.1em;
margin-right:0.2em;
}

.flow_box h3{
border-bottom:1px solid #000;
padding-bottom:0.3em;
font-size:1.2em;
}



p.contactbtn{
background:#ffa1af;
text-align:center;
max-width:150px;
border-radius:200px;
}

p.contactbtn a{
display:block;
color:#fff;
}

.price_box{
padding-top:4em;

}

p.bg_text{
background:#c1dde7;
display:inline-block;
border-radius:200px;
padding:0.3em 1em;
font-size:1.1em;
font-weight:bold;
margin-bottom:2em;
}

p.bg_text span{
font-size:1.2em;
}

.price_box h2{
margin-bottom:2em;
}

.price_box h3{
font-size:1.1em;
border-bottom:1px dotted #000;
margin-bottom:0.5em;
padding-bottom:0.3em;
}

.price_box table{
text-align:left;
}

.price_box th{
font-weight:normal;
padding-right:1em;
}

.price_box th,.price_box td{
padding-bottom:0.5em;

}

p.total{
font-size:1.3em;
border-bottom:1px solid #000;
display:inline-block;
margin-left:auto;
text-align: right;
}

.tb{
font-size:0.8em;
border-collapse:collapse;
width:100%;
}

.tb th,.tb td{
border:1px solid #ccc;
padding:0.2em;
text-align: center;
}



.h3_title {
    position: relative;
    padding-left: 25px; 
}

.h3_title::before {
    content: '';  
    display: block;
    position: absolute; 
    
    left: 0;
    top: 50%;  
    transform: translateY(-50%); 
    
    /* 丸の見た目 */
    width: 20px;  
    height: 20px;
    background-color: #c1dde7;
    border-radius: 50%;
}


/*footer*/


footer{
background:#e3f2e7;
padding-top:5em;
padding-bottom:3em;
}


footer .box h2{
margin-bottom:0em;
padding-bottom:0.5em;
max-width:250px;
}
footer .box h2 img{
margin-bottom:0;
}

footer .box p{
margin-bottom:0;
font-size:1em;
}


footer .box p.contactbtn{
margin-top:1em;
}

footer .box img{
margin-bottom:2em;
}

p.tel{
font-size:2em;
font-weight:bold;
}


p.copy{
margin-top:15em;
}


/*single*/


.youtube {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  margin-left: 2%;
  margin-bottom: 2em;
}
.youtube iframe {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
}

.page_main_single hr{
margin-top:2em;
margin-bottom:2em;
}

.page_main_single h2{
font-size:1.8em;
border-bottom:none;
margin-left: 0;
padding-left: 0;
margin-bottom:0.5em;
}


.page_main_single h3{
font-size:1.5em;
}



/*pagenavigation*/
/* ページナビゲーション */
.post-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 3em;
    gap: 20px;
    flex-wrap: wrap;
}

.nav-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
    padding: 0.3em 2em;
    background-color: #000;
    color: #fff;
    text-decoration: none;
    border-radius: 999px;
    font-size: 0.9em;
    line-height: 1;
   transition: all 0.4s ease;
}

.nav-button:hover {
    background-color: #333;
}

.nav-prev {
    /* 左に三角がある分、左右のバランスを調整 */
    padding-left: 1.2em;
    padding-right: 2em;
}

.nav-next {
    padding-left: 2em;
    padding-right: 1.2em;
}

.triangle {
    display: inline-block;
    width: 0;
    height: 0;
}

.triangle.left {
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-right: 6px solid white;
}

.triangle.right {
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 6px solid white;
}

.nav-text {
    line-height: 1;
    font-family: inherit;
}


/*ページナビゲーション２*/
.circle-pagination {
    text-align: center;
    margin: 3em 0;
}

.box_page1 .circle-pagination ul li {
    border-bottom: none;
}

.circle-pagination ul {
    list-style: none;
    padding: 0;
    display: inline-flex;
    gap: 0.8em;
}

.circle-pagination li a,
.circle-pagination li span {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 25px;
    height: 25px;
    text-decoration: none;
    border-radius: 50%;
    font-weight: bold;
    font-size: 0.9em;
    transition: all 0.3s ease;
}

/* 通常リンク */
.circle-pagination li a {
    background: #2b2b2b;
    color: #fff;
}

/* 現在のページ（←spanタグで出力される） */
.circle-pagination li span.current {
    background: #000;
    color: #fff;
    pointer-events: none;
}

/* span（.current以外）には背景色をつけない */
.circle-pagination li span:not(.current) {
    background: none;
    color: #fff;
}

/* ホバー時のリンク */
.circle-pagination li a:hover {
    background: #555;
}

/*contact*/
form label {
  display: block;
  margin-bottom: 2em;
}


.wpcf7 textarea ,.wpcf7 input[type="text"],
.wpcf7 input[type="email"],.wpcf7{
width: 100%;
  padding: 1em;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
border-radius: 5px;
box-shadow: none;
}

 input[type="tel"],.wpcf7 input[type="number"]{
      padding: 1em;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
border-radius: 5px;
box-shadow: none;
background: #fff;
 }

input[type="text"].p-postal-code{
    max-width: 120px;
}

input[type="text"].p-region{
    max-width: 280px;
}
input[type="text"].p-locality{
    max-width: 280px;
}

.wpcf7-form .wpcf7-select, select {      
 padding: 1em;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
border-radius: 5px;

background: #fff;
height: 35px;
}





.wpcf7 textarea ,.wpcf7 input[type="text"],
.wpcf7 input[type="email"],.wpcf7 input[type="tel"]{
  padding: 1em;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
border-radius: 5px;
box-shadow: none;
background: #fff;
}


.wpcf7 select{
  padding: 10px;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
border-radius: 5px;
box-shadow: none;
background: #fff;
}


.wpcf7 input[type="submit"]
  {

width: 300px;
padding: 1em 2em;
font-size: 14px;
border: none;
background-color: red;
-webkit-appearance: none;
cursor: pointer;
border-radius: 3px;
color: #fff;
font-weight: bold;
text-align: center;
margin: 0 auto;
margin-right: auto;
margin-left: auto;
display: block;
margin-bottom: 5em;
    -webkit-transition: 0.4s ease-in-out;
    -moz-transition: 0.4s ease-in-out;
    -o-transition: 0.4s ease-in-out;
    transition: 0.4s ease-in-out;
}

.wpcf7 input[type="submit"]:hover{
  opacity: 0.8;
    filter: alpha(opacity=60);
  }

.wpcf7-list-item-label{
 margin-right: 15px;
}
.fb-page{
width: 100%!important;
}
.clearfix:after {  
  content: ".";   
  display: block;   
  height: 0;   
  clear: both;   
  visibility: hidden;  
}  
  
.clearfix { display: inline-table; }  


form input,
form textarea,
form select {
  box-shadow: none !important;
  border: 1px solid #ccc; /* 必要ならシンプルな枠線 */
  outline: none;
}

/*外部コンテンツ*/
iframe	{max-width: 100%}


p.contact_btn{
position:fixed;
bottom: 0;
z-index: 1;
right: 2em;
background: red;
color: #fff;
text-align: center;
padding: 0.5em 1em;
font-size: 0.9em;
letter-spacing: 0.1em;
border-radius: 10px 10px 0px 0px;
max-width: 350px;
margin-left: auto;
margin-right: auto;
}

p.contact_btn a{
display: block;
color: #fff;
}



/*footer*/


footer{
color: #000;
font-size: 0.9em;
letter-spacing: 0.1em;
}

footer a{
color: #000;
}


p.copy{
font-size: 0.8em;
}



/*page*/
.page_title h1{
margin-top:3em;
font-size:2em;
letter-spacing:0.1em;

padding-bottom:0.3em;
}

.page table{
border-collapse:collapse;
margin-bottom:2em;
}

.page th{
 white-space: nowrap;
 text-align:left;
 padding:0.5em;
 border-right:1px solid #000;
}

.page td{
 padding:0.5em;
}

.profile h3 span{
font-size:0.8em;
}

.profile h3{
margin-bottom:1em;
}

.profile_in{
margin-bottom:5em;
}

.profile h2{
font-size:2em;
margin-bottom:1em;
}


/*category*/
.category .box{
margin-top:5em;
}

.cate_left_pc figure{
margin-bottom:0em;
}

.cate_right_pc{
background: #fff;
margin-bottom:3em;
padding:1em;
}

.cate_right_pc h2{
margin-bottom:0.3em;
}

.pagination-index ul {
  display: flex;
  justify-content: center;
  gap: .4rem;
  list-style: none;
  margin:   1rem 0;
  padding: 0;
margin-bottom:8em;
}

.pagination-index li a,
.pagination-index li span {
  display: inline-block;
  padding: .5rem .75rem;
  text-decoration: none;
  min-width: 2.2rem;
  text-align: center;
}

.pagination-index li .current {
  font-weight: bold;
}

.pagination-index li a:hover {
  background: #555; /* ホバー時 */
}

/*single*/
.post-content p{
margin-bottom:1em;
}

.post-content img{
margin-bottom:1em;
}




@media screen and (min-width: 769px){
/*header*/

.header_in{
background-image:url("images/bg_header_pc.jpg");
background-position:top center;
}

header h2.subtitle{
font-size:6vw;
margin-left: 40px;
}


header p.catch{
font-size: 2vw;
margin-left: 60px;
}

.news{
display:inline-block;
padding:0.5em 4em 0.3em 4em;
}


/*flex*/

.flex_container_pc{
display: -webkit-box;
display: -ms-flexbox;
display: flex;
flex-wrap: wrap;
}

.stretch{
align-items: stretch;
}

.flex_half_pc{
width:46%;
margin:2%;
}

.flex_3{
   width:46%;
    margin: 2%;
    box-sizing: border-box;
}




.flex_4{
   width:46%;
    margin: 2%;
box-sizing: border-box;
}



/*nav*/
.hamburger {
  display : block;
  position: fixed;
  z-index : 999;
  right : 10px;
  width : 42px;
  height: 42px;
  cursor: pointer;
  text-align: center;
}



/*header*/

/*main*/
.box p{
font-size:0.8em;
}

.equipment_pic {
    /* 全幅設定（100vw）を解除し、親要素の幅(100%)に合わせる */
    width: 100%;
    
    /* 左右のはみ出し（マイナスマージン）を解除 */
    margin-left: 0;
    margin-right: 0;
    
    /* デザイン調整（そのまま維持でOK） */
    margin-bottom: 2em;
    line-height: 0;
    
}

/* 画像の設定 */
.equipment_pic img {
    width: 100%; /* 親要素に合わせて伸縮 */
    height: auto;
    vertical-align: bottom;
    object-fit: cover;

}

.equipment_right_pc{
width:61%;
margin:2%;
box-sizing:border-box;
}


.equipment_left_pc{
width:31%;
margin:2%;
box-sizing:border-box;
}

.equipment_right_pc img{
border-radius:20px;
}

.flow_box .flex_fin{
margin-top:4em;
}

.flow_box .flex_fin  h3{
border-bottom:none;

}

.flow_box .flex_fin ul{
border-top:1px dotted #000;
border-bottom:1px dotted #000;
padding-top:1em;
padding-bottom:1em;
}


/*single*/
.single_page {
margin-top:4em;
max-width:600px;
margin-left: auto;
margin-right: auto;
padding-left:2em;
padding-right:2em;
}


/*footer*/

p.copy{
text-align: center;
}

/*page*/
.business{
margin-right: 2em;
}

.page_in{
margin-right: 2em;
}

 
 
 .bg_box{
background:#f4f4f4;
padding:2em;
margin-bottom:2em;
}

.sct_box h2{
font-size:1.1em;
}




}



@media screen and (min-width: 1024px){
.flex_4{
width: 23%;
margin: 1%;
box-sizing: border-box;
}

.flex_3{
width: 31%;
margin: 1%;
box-sizing: border-box;
}



}

@media screen and (min-width: 1280px){

/*nav*/
@media screen and (min-width: 1024px) {

    /* ハンバーガーは非表示 */
    .hamburger {
        display: none;
    }

    nav.globalMenuSp {
        /* ▼ 固定配置の設定 */
        position: fixed;
        top: 0;
        left: 0;       /* 幅全体に背景を敷くためleft:0, width:100%にします */
        width: 100%;
        z-index: 1000; /* 他の要素より手前に表示 */

        /* ▼ 背景とアニメーションの設定 */
        background-color: transparent; /* 最初は透明 */
        transition: background-color 0.5s ease; /* 0.5秒かけてふわっと変化 */
        
        /* その他のリセット */
        opacity: 1;
        height: auto;
        padding-top: 0;
        pointer-events: auto;
        visibility: visible;
    }

    /* ▼ スクロールされた時にJSで付与するクラス */
    nav.globalMenuSp.scrolled {
        background-color: rgba(255, 255, 255, 0.95); /* 少し透けた白 */
        box-shadow: 0 2px 3px rgba(0,0,0,0.1); /* お好みで影をつける */
    }

    /* 中身のリスト設定（右寄せのまま） */
    nav.globalMenuSp ul {
        display: flex;
        justify-content: flex-end; /* 右寄せ */
        align-items: center;
        margin: 0;
        width: 100%;
        padding-right: 20px;
        box-sizing: border-box;
        height: 60px; /* ★ヘッダーの高さをここで指定しておくと綺麗です */
    }

    nav.globalMenuSp ul li {
        width: auto;
        margin: 0;
        border: none;
    }
    
    nav.globalMenuSp ul li:hover {
        background: transparent;
    }

    nav.globalMenuSp ul li a {
        padding: 0 15px;
        color: #000;
        display: inline-block;
        text-decoration: none;
        line-height: 60px; /* ★高さに合わせて中央配置 */
    }
    
    nav.globalMenuSp ul li a:hover {
        opacity: 0.6;
    }
}


/* PC版のメディアクエリ内に追加してください */

/* 特定のボタン（ピンク）のデザイン */
nav.globalMenuSp ul li.btn-pink a {
    background-color: #ffa1af;  /* 背景色：ピンク */
    color: #fff !important;     /* 文字色：白（優先適用） */
    border-radius: 5px;         /* ほんの少し角丸 */
    
    /* ボタンらしい形にするための調整 */
    line-height: 1.5;           /* 行の高さリセット */
    padding: 5px 20px;         /* ボタンの内側の余白（上下10px, 左右20px） */
    margin-left: 10px;          /* ボタン同士の間隔 */
    transition: 0.3s;
}

/* ホバー時の挙動（少し薄くする） */
nav.globalMenuSp ul li.btn-pink a:hover {
    background-color: #ffa1af;  /* 背景色は変えない（あるいは濃くする） */
    opacity: 0.8;               /* 透明度で変化をつける */
    color: #fff !important;     /* 文字色白を維持 */
}

/*header*/
header h1{
width: 350px;
position:absolute;
top:0.5em; 
left:1em;;

}

header h2.subtitle{
font-size:3.5em;
margin-top:1em;
margin-left:2em;
}


header p.catch{
font-size: 1.6em;
margin-left:6em;
}

.box h2{
font-size: 2.5em;
}

.box p{
font-size: 1em;
}

.box_main{
max-width:1400px;
margin-left: auto;
margin-right: auto;
}

/*footer*/
footer .box h2{
max-width:350px;
margin-bottom:0;
}




}

