@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.3
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/* |基本設定 */
body {
    color: #333;
    line-height: 1.5;
    font-size: 14px;
    font-family: 'Jost', 'Noto Sans JP', sans-serif;
    overflow-wrap: anywhere;
}
@media (min-width: 576px) {
    body {
        font-size: 15px;
    }
}
a {
    color: #333;
    text-decoration: none;
    transition: all .2s;
}
a:hover {
    opacity: .7;
}
p,
article p {
    margin: 0 0 .8rem;
}


h1, h2, h3, h4, h5, h6 {
    font-weight: bold;
    line-height: 1.5;
    margin: 0 0 1.25rem;
    color: #333;
}
h2 { font-size: 1.5rem; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.065rem; }

.article h2 {
  color: inherit;
/*  margin-bottom: 0;*/
  margin: 0 0 1.25rem;
  background-color: #f5f6f7;
}
.article h3 {
  color: inherit;
/*  margin-bottom: 0;*/
  margin: 0 0 1.25rem;
  background-color: none;
  border: none;
  font-size: inherit;
  padding: inherit;
}

.ttl {
    line-height:1.6;
    font-weight:normal;
    font-size:188%;
}
.ttl span {
    font-size:63%;
}
.ttl_sub {
    font-weight:bold;
    background:#e3e3e3;
    border-left-width:3px;
    border-left-color:#333;
    border-left-style:solid;
    padding-left:1em;
}
.ttl_2 {
    line-height:1.25;
    font-weight:bold;
    font-size:1.625em;
}
.ttl_2_sub {
    font-weight:normal;
    font-size:.875em;
    letter-spacing:.2em;
}
.ttl_3 {
    line-height:1.25;
    font-weight:bold;
    border:solid 1px #333;
    padding:.8em;
}
.ttl_3.high {
    padding-top:3em;
    padding-bottom:3em;
}
.ttl_4 {
    line-height:1.25;
    padding:2.5em .5em;
    text-align:center;
    background:url('../images/common/bg_stripe_gray.png');
    font-weight:bold;
}
.ttl_4 h2,
.ttl_4 h3 {
    font-size:1.375em;
    margin:0;
    padding:0;
}
.ttl_4 > div {
    letter-spacing:.1em;
    margin-top:.5em;
    font-size:.875em;
}
.ttl_5 {
    line-height:1.25;
    padding:1em .8em;
    background:url('../images/common/bg_stripe_gray.png');
    font-weight:bold;
}
.ttl_6 {
    padding:.2em 0 .2em .4em;
    border-left:solid 2px #000;
}


img {
    max-width: 100%;
    height: auto;
}
ul, ol {
    margin-bottom: 1.5em;
    padding-left: 1.5em;
}
li {
    margin-bottom: 0.5em; /* リスト項目間の余白 */
}


ul.list-style-none,
ol.list-style-none {
    list-style:none;
}

ol.standardList,
ul.standardList {
    margin:.8em 0;
    padding:0 0 0 1.5em;
    list-style-position:outside;
}
ol.standardList li,
ul.standardList li {
    margin:0 0 .4em;
}
ol.standardList {
    list-style-type:decimal;
}
ul.standardList {
    list-style-type:disc;
}
ul.standardList ul {
    list-style-type:circle;
}
.standardList ul,
.standardList ol {
    margin-top:.4em;
    margin-left:1.5em;
}

.table-of-contents {/* コンテンツ目次 */
    display:inline-block;
    margin:3em 0;
    padding:1.5em 2em;
    border:solid 1px #999;
    border-radius:4px;
    min-width:17em;
}
.type-post.hentry .table-of-contents h2 {
    font-size:1.2em;
    margin-top:.4em;
}
.type-post.hentry .table-of-contents ol,
.type-post.hentry .table-of-contents ul {
    padding-left:1.5em;
    margin-top:.8em;
}
@media screen and (min-width:560px), print {
    .table-of-contents {
        min-width:50%;
    }
}


.tableLine {
    border-top:solid 1px #ddd;
}
.tableLine tr {
    border-bottom:solid 1px #ddd;
}
.tableLine th, .tableLine td {
    padding:.8em;
    text-align:left;
    line-height:1.4;
    font-weight:normal;
}
.tableLine2 {}
.tableLine2 th,
.tableLine2 td {
    padding:.8em .4em;
    text-align:center;
    vertical-align:middle;
    line-height:1.5;
    border:solid 1px #d3d3d3;
}
.tableLine2 th {
    background:#f0f0f0;
}

strong, b {
    color: #d32f2f;
}
/* 基本設定| */

.tac {
    text-align:center;
}
.tal {
    text-align:left;
}
.tar {
    text-align:right;
}
.w100per {
    width:100%;
}
.w-fit {
    width:fit-content;
}
.mb5 {
    margin-bottom:5px;
}
.mb10 {
    margin-bottom:10px;
}
.mb20 {
    margin-bottom:20px;
}
.mb30 {
    margin-bottom:30px;
}
.mb40 {
    margin-bottom:40px;
}
.mb50 {
    margin-bottom:50px;
}
.mb60 {
    margin-bottom:60px;
}
.mb70 {
    margin-bottom:70px;
}
.mb80 {
    margin-bottom:80px;
}
.mb90 {
    margin-bottom:90px;
}
.mb100 {
    margin-bottom:100px;
}
.ml5 {
    margin-left:5px;
}
.ml10 {
    margin-left:10px;
}
.ml20 {
    margin-left:20px;
}
.ml30 {
    margin-left:30px;
}
.ml40 {
    margin-left:40px;
}
.ml50 {
    margin-left:50px;
}
.ml60 {
    margin-left:60px;
}
.ml70 {
    margin-left:70px;
}
.ml80 {
    margin-left:80px;
}
.ml90 {
    margin-left:90px;
}
.ml100 {
    margin-left:100px;
}
.ml-auto {
    margin-left:auto;
}
.mr5 {
    margin-right:5px;
}
.mr10 {
    margin-right:10px;
}
.mr20 {
    margin-right:20px;
}
.mr30 {
    margin-right:30px;
}
.mr40 {
    margin-right:40px;
}
.mr50 {
    margin-right:50px;
}
.mr60 {
    margin-right:60px;
}
.mr70 {
    margin-right:70px;
}
.mr80 {
    margin-right:80px;
}
.mr90 {
    margin-right:90px;
}
.mr100 {
    margin-right:100px;
}
.mr-auto {
    margin-right:auto;
}
.mt5 {
    margin-top:5px;
}
.mt10 {
    margin-top:10px;
}
.mt20 {
    margin-top:20px;
}
.mt30 {
    margin-top:30px;
}
.mt40 {
    margin-top:40px;
}
.mt50 {
    margin-top:50px;
}
.mt60 {
    margin-top:60px;
}
.mt70 {
    margin-top:70px;
}
.mt80 {
    margin-top:80px;
}
.mt90 {
    margin-top:90px;
}
.mt100 {
    margin-top:100px;
}
.pb10 {
    padding-bottom:10px;
}
.pb20 {
    padding-bottom:20px;
}
.pb30 {
    padding-bottom:30px;
}
.pb40 {
    padding-bottom:40px;
}
.pb50 {
    padding-bottom:50px;
}
.pb60 {
    padding-bottom:60px;
}
.pb70 {
    padding-bottom:70px;
}
.pb80 {
    padding-bottom:80px;
}
.pb90 {
    padding-bottom:90px;
}
.pb100 {
    padding-bottom:100px;
}
.pl10 {
    padding-left:10px;
}
.pl20 {
    padding-left:20px;
}
.pl30 {
    padding-left:30px;
}
.pl40 {
    padding-left:40px;
}
.pl50 {
    padding-left:50px;
}
.pl60 {
    padding-left:60px;
}
.pl70 {
    padding-left:70px;
}
.pl80 {
    padding-left:80px;
}
.pl90 {
    padding-left:90px;
}
.pl100 {
    padding-left:100px;
 }
.pr10 {
    padding-right:10px;
}
.pr20 {
    padding-right:20px;
}
.pr30 {
    padding-right:30px;
}
.pr40 {
    padding-right:40px;
}
.pr50 {
    padding-right:50px;
}
.pr60 {
    padding-right:60px;
}
.pr70 {
    padding-right:70px;
}
.pr80 {
    padding-right:80px;
}
.pr90 {
    padding-right:90px;
}
.pr100 {
    padding-right:100px;
}
.pt10 {
    padding-top:10px;
}
.pt20 {
    padding-top:20px;
}
.pt30 {
    padding-top:30px;
}
.pt40 {
    padding-top:40px;
}
.pt50 {
    padding-top:50px;
}
.pt60 {
    padding-top:60px;
}
.pt70 {
    padding-top:70px;
}
.pt80 {
    padding-top:80px;
}
.pt90 {
    padding-top:90px;
}
.pt100 {
    padding-top:100px;
}
.pd-x {
    padding-left:5%;
    padding-right:5%;
}
.d-block {
    display:block;
}
.d-inline-block {
    display:inline-block;
}

ul.tagIcon {
    list-style:none;
    display:flex;
    flex-wrap:wrap;
    margin:5px 0 10px;
}
ul.tagIcon li {
    margin:.25em .25em .25em 0;
    padding:.25em .5em;
    border:solid 1px #222;
    border-radius:4px;
    font-size:.8em;
    line-height:1.4;
}
ul.tagIcon li.reverse {
    background:#333;
    color:#fff;
    border-color:#333;
}
ul.tagIcon li.gray {
    background:#999;
    color:#fff;
    border-color:#999;
}

  

/* |flex-style */
.wrap_column {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    align-items: flex-start;
    /* margin-bottom: 2.5rem; */
}
.nowrap_column,
.nowrap_column_rps,
.nowrap_column_rps_direction_column {
    display:flex;
    flex-wrap:nowrap;
}
.nowrap_space-between {
    display:flex;
    justify-content:space-between;
}

.d-inline-flex {
    display:inline-flex;
}
.direction_column {
    display:flex;
    flex-direction:column;
}
@media screen and (max-width:900px) {
    .nowrap_column_rps {
        display:block;
    }
    .nowrap_column_rps_direction_column {
        flex-direction:column;
    }
}
.wrap_column .item2,
.wrap_column .item2rps1,
.wrap_column .item3rps1,
.wrap_column .item3rps2 {
    width:100%;
}
.wrap_column .item2,
.wrap_column .item3rps2 {
    max-width: calc((100% - 20px) / 2);
}
@media screen and (min-width:901px) {
    .wrap_column .item2rps1 {
        max-width: calc((100% - 20px) / 2);
    }
    .wrap_column .item3rps1,
    .wrap_column .item3rps2 {
        max-width: calc((100% - 40px) / 3);
    }
}
/* flex-style| */

/* 注意や※などに使用 */
.color-red {
    color: #de5d50;
}

a.link_btn {
    display:inline-block;
    border:solid 1px #ccc;
    border-radius:4px;
    padding:.3em .8em;
    margin-bottom:2em;
    text-align:center;
}
a.link_btn_2 {
    display:inline-block;
    border-bottom:solid 1px #ddd;
    border-radius:4px;
    padding:.8em .8em;
    text-align:center;
    background:#f1f1f1;
    color:#000;
    margin-bottom:10px;
}
a.link_btn_2 {
    background:#6fba2c;
    color:#fff;
}
a.link_btn_2.reversal {
    background:#333;
    color:#fff;
}
a.link_btn_2.large {
    padding:1.2em .5em;
    font-weight:bold;
}
a.link_btn_3 {
    display:inline-block;
    position:relative;
    line-height:1.3;
    font-weight:bold;
    text-align:center;
    background:#fff;
    color:#000;
    padding:1em 2.5em;
    border:1px solid #000;
    border-radius:2em;
}
a.link_btn_3:hover {
    background:#ddd;
}
a.link_btn_3.btn_arrow {
    padding-right:3em;
}
a.link_btn_4 {
    display:inline-block;
    position:relative;
    line-height:1.3;
    font-weight:bold;
    text-align:center;
    background:#379868;
    color:#fff;
    padding:1em 2.5em;
    border-radius:2em;
}
a.link_btn_4.btn_arrow {
    padding-right:3em;
}
a.btn_arrow:after {
    position:absolute;
    top:50%;
    right:.8em;
    margin-top:-.5em;
    font-family:"Font Awesome 5 Free";
    content:"\f105";
    font-weight:900;
    line-height:1;
}


/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
}

/*--------------------------------- 
アピールエリア
 --------------------------------*/ 
.appeal-content {
	background: none;
}

.appeal-button {
	position: absolute;
	top:50px;
	right:15px;
}

@media only screen and (max-width: 767px) {
  .appeal-button {
    top: 275px;
	right: 74px;
  }
}

/*--------------------------------- 
スマホだけ改行したいとき
 --------------------------------*/ 
@media screen and (min-width: 768px){
.sp-br {display: none;} }

/*--------------------------------- 
リンク画像エフェクト
 --------------------------------*/ 
#linkbutton:hover{
	 transform:scale(1.1);
}

/*--------------------------------- 
リンク画像エフェクト(クリーナーA)
 --------------------------------*/ 
.cleaneraimg {
  transition: transform 0.3s ease-out;
}

.cleaneraimg:hover {
  transform: rotateZ(360deg);
}

.cleaneraimg:hover + a + .cleaneraimg,
.cleaneraimg:hover + a:hover + .cleaneraimg {
  transform: rotateZ(-360deg);
}

/*--------------------------------- 
フッターアンダーライン非表示
 --------------------------------*/ 
.footer a {
  text-decoration: none;
}

/*--------------------------------- 
スマートフォンでのみ表示
 --------------------------------*/ 
@media screen and (min-width:768px){
	.for-sp{
	display:none;
	}
}

/*--------------------------------- 
SNSアイコン位置調整
 --------------------------------*/ 
.snsicon {
  display: flex;
  align-items: center;
}

.snsimg {
  margin-right: 25px;
  height: 50px;
  transition: transform 0.5s; /* transformにトランジションを追加 */
}

.snsimg:hover {
  transform: rotateY(360deg); /* ホバー時に回転するアニメーションを追加 */
}

/* メニューバー背景の高さ */
.navi-in>ul li {
  height: 80px !important;
  line-height: 80px !important;
}
/*--------------------------------- 
フッターの中央寄せ
 --------------------------------*/ 
.footer-box {
  display: flex;
  justify-content: center;
}

/*--------------------------------- 
ギャラリー画像エフェクト
 --------------------------------*/ 
.gallery img:hover {
	transform: scale(1.1);
}
/*--------------------------------- 
サービス　CAD画像のエフェクト
 --------------------------------*/ 
.anim-box.poyopoyo {
  animation: poyopoyo 2s ease-out infinite;
  opacity: 1;
}

@keyframes poyopoyo {
  0%, 40%, 60%, 80% {
    transform: scale(1.0);
  }
  50%, 70% {
    transform: scale(0.95);
  }
}

/*--------------------------------- 
サービス　白衣画像のエフェクト
 --------------------------------*/ 
.fuwafuwa {
  animation: fuwafuwa 3s infinite ease-in-out .8s alternate;
  background: url(../img/ico-apple.svg) no-repeat center center / 60px auto;
  display: inline-block;
  transition: 1.5s ease-in-out;
}
 
@keyframes fuwafuwa {
  0% {
    transform:translate(0, 0) rotate(-7deg);
  }
  50% {
    transform:translate(0, -7px) rotate(0deg);
  }
  100% {
    transform:translate(0, 0) rotate(7deg);
  }
}

/*--------------------------------- 
サービス　校正画像のエフェクト
 --------------------------------*/ 
.reflection{
display:inline-block;
position:relative;
overflow:hidden;
}
 
.reflection:after {
content:"";
height:100%;
width:30px;
position:absolute;
top:-180px;
left:0;
background-color: #fff;
opacity:0;
-webkit-transform: rotate(45deg);
-webkit-animation: reflection 2s ease-in-out infinite;
}
 
@keyframes reflection {
0% { -webkit-transform: scale(0) rotate(45deg); opacity: 0; }
80% { -webkit-transform: scale(0) rotate(45deg); opacity: 0.5; }
81% { -webkit-transform: scale(4) rotate(45deg); opacity: 1; }
100% { -webkit-transform: scale(50) rotate(45deg); opacity: 0; }
}

/*--------------------------------- 
トップページリンクアニメーション
 --------------------------------*/
.slide-button {
  display: inline-block;
  padding: 0.5em 1em;
  background-color: #063ca3;
  color: white;
  text-align: center;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease, color 0.3s ease;
}
/*
.slide-button:hover {
  background-color: white;
  color: #063ca3;
}

.slide-button::after {
  content: "\f105";
  font-family: FontAwesome;
  font-size: 1em;
  margin-left: 0.5em;
  transition: margin-left 0.3s ease;
}

.slide-button:hover::after {
  margin-left: 0.8em;
}
*/
@import url('https://use.fontawesome.com/releases/v5.15.3/css/all.css');

/*--------------------------------- 
クリーナーAのフリップアニメーション
 --------------------------------*/
.image_box {
  position: relative;
  perspective: 1000px; /* 3D空間の奥行きを定義 */
}
.image_box img {
  position: absolute;
  top: 0;
  left: 0;
  transition: all 0.6s ease; /* 裏返るアニメーション */
  backface-visibility: hidden; /* 裏面を見えなくする */
}
.image_box .caflip2 {
  transform: rotateY(180deg); /* 裏返した状態 */
}
.image_box:hover .caflip {
  transform: rotateY(180deg); /* 裏返すアニメーション */
}
.image_box:hover .caflip2 {
  transform: rotateY(0); /* 裏面を表に表示するアニメーション */
}
.image_box {
  width: 376px; /* 画像の幅 */
  height: 376px; /* 画像の高さ */
}
figcaption.wp-element-caption {
  white-space: nowrap;
}
/* 画像の幅を376pxに設定 */
.wp-block-image img {
  max-width: 376px;
  height: auto;
}

/* キャプションのスタイルを調整 */
.wp-caption {
  text-align: center;
  margin: 0;
  padding: 0.5em;
  font-size: 0.9em;
  line-height: 1.4em;
  background-color: #f5f5f5;
  border-radius: 5px;
}
/* スマートフォン用のスタイル */
/* スマートフォン用のスタイル */
@media (max-width: 767px) {
  .image_box {
    perspective: none; /* 3D空間の奥行きを解除 */
    width: 188px; /* 画像の幅を188pxに設定 */
    height: auto; /* 画像の高さを自動調整 */
  }
  .image_box img {
    position: static; /* 通常の画像表示に戻す */
    transform: none; /* 3D回転を解除 */
    transition: none; /* アニメーションを解除 */
    backface-visibility: visible; /* 裏面を表示 */
  }
  .image_box .caflip {
    display: none; /* 裏返すアニメーションを解除 */
  }
  .image_box .caflip2 {
    display: none; /* 裏面を非表示にする */
  }
}

/* 2枚目の画像を非表示にする */
.wp-block-image:nth-child(2) {
  display: none;
}

/*--------------------------------- 
ガッティーオイル製品一覧画像アニメーション
 --------------------------------*/
.guttyoillist {
	position: relative;
	top: 0;
	transition: top 0.3s; /* トランジションを追加 */
}

.guttyoillist:hover {
	top: -10px;
}


/*--------------------------------- 
ガッティークリーナーA画像スマホでのみ表示
 --------------------------------*/
@media only screen and (max-width: 767px) {
  .wp-block-image.aligncenter.size-full.casp img {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    height: auto;
  }
}

@media only screen and (min-width: 768px) {
  .wp-block-image.aligncenter.size-full.casp {
    display: none;
  }
}

/*--------------------------------- 
クリーナーA不織布丸画像回転
 --------------------------------*/
.carotate:hover {
  animation-name: anim_r;
  animation-duration: 4s;
  animation-timing-function: linear;
  animation-direction: normal;
}

@keyframes anim_r {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------- 
ガッティーオイル製品一覧　表
 --------------------------------*/
/* 表全体 */
.gutty_list table {
  width: 100%;
  border-collapse: collapse;
}

/* 行 */
.gtty_list tr {
  border-bottom: 1px solid #ddd;
}

/* セル全体 */
.gutty_list td {
  padding: 10px;
  text-align: center;
  border-right: 1px solid #ddd;
}

/* 製品名のセル */
.gutty_list td:nth-child(2) {
  text-align: left;
}

