@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
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/

/************************************
** 基本設定
************************************/
@import url('https://use.fontawesome.com/releases/v5.15.3/css/all.css');

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 {
  color:#333;
  opacity:.7;
}
a.link_btn,
a.link_btn_arrow {
  display:inline-block;
  color:#fff;
  /* font-weight:bold; */
  font-weight:normal;
  line-height:1.3;
  background-color:#063ca3;
  border:1px solid #063ca3;
  border-radius:4px;
  margin-bottom:2rem;
  padding:.5em .8em;
  text-align:center;
  position:relative;
}
a.link_btn_arrow {
  padding:.5em 2em .6em .8em;
}
a.link_btn_arrow:after {
  position:absolute;
  top:50%;
  /* right:.8em; */
  right:.5em;
  margin-top:-.5em;
  font-family:"Font Awesome 5 Free";
  /* content:"\f105"; */
  content:"\f138";
  font-weight:900;
  font-size:1.3rem;
  line-height:1;
}

p,
.article p {
  color: #333;
  margin:0 0 .8rem;
}

h1, h2, h3, h4, h5, h6,
h2.ttl, h3.ttl, h4.ttl, h5.ttl, h6.ttl {
  font-weight:bold;
  line-height:1.5;
  margin:0 0 1.25rem;
  /* color:#333; */
}
h2, h2.ttl, .article h2, .article h2.ttl { font-size:1.6rem; }
h3, h3.ttl, .article h3, .article h3.ttl { font-size:1.4rem; }
h4, h4.ttl, .article h4, .article h4.ttl { font-size:1.2rem; }
h5, h5.ttl, .article h5, .article h5.ttl { font-size:1.1rem; }
h6, h6.ttl, .article h6, .article h6.ttl { font-size:1.0rem; }
.article h1 {
  font-weight:normal;
  font-size:1.75rem;
}
.article h2 {
  background-color:#f5f6f7;
  color:inherit;
/*  margin-bottom:0;*/
  margin:0 0 1.25rem;
}
.article h3 {
  color:inherit;
/*  margin-bottom:0;*/
  margin:0 0 1.25rem;
  background-color:none;
  border:none;
  font-size:inherit;
  padding:inherit;
}
h2.ttl, h3.ttl, h4.ttl, h5.ttl, h6.ttl {
  /* line-height:1.6; */
  /* font-weight:normal; */
  /* font-weight:bold; */
  /* font-size:188%; */
}
/*
h2.ttl span, h3.ttl span, h4.ttl span, h5.ttl span, h6.ttl span {
  font-size:63%;
}
*/
h2.ttl_sub, h3.ttl_sub, h4.ttl_sub, h5.ttl_sub, h6.ttl_sub {
  font-weight:bold;
  background:#e3e3e3;
  border-left-width:3px;
  border-left-color:#333;
  border-left-style:solid;
  padding-left:1em;
}

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

.pref-ormatted {
  box-sizing:border-box;
  white-space:pre-wrap;
}

dl.faq {}
dl.faq dd,
.article dd {
  margin-left:0;
}

ul, ol {
  margin-bottom:2rem;
}
ul.list-style-none,
ol.list-style-none {
  list-style:none;
}
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;
}

.letter-spacing-em {
  letter-spacing:.15em;
}

.table_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_contents h2 {
  font-size:1.2em;
  margin-top:.4em;
}
.type-post.hentry .table_contents ol,
.type-post.hentry .table_contents ul {
  padding-left:1.5em;
  margin-top:.8em;
}
@media screen and (min-width:560px), print {
  .table_contents {
    min-width:50%;
  }
}

table th,
table td {
  padding:.8rem;
}
.tableLine {
  border-top:solid 1px #ddd;
  margin-bottom:2rem;
}
.tableLine tr {
  border-bottom:solid 1px #ddd;
}
.tableLine th,
.tableLine td {
  font-weight:normal;
  line-height:1.4;
  text-align:left;
  padding:.8rem;
}
.company-profile {
  width:100%;
  max-width:600px;
  margin:0 auto 2rem;
  table-layout:fixed;
  border-collapse:collapse;
  color:#333;
}
.company-profile th,
.company-profile td {
  padding:.8rem;
  border-bottom:1px solid #e0e0e0;
  border-right:none;
  border-left:none;
  /* line-height:1.6; */
  line-height:inherit;
  vertical-align:top;
}
.company-profile th {
  width:150px;
  background-color:#fff;
  font-weight:normal;
  text-align:left;
}
.company-profile td {
  width:auto;
  background-color:#fff;
}

.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;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}


.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%;
}

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

/* 固定ページの日付（投稿日・更新日）を非表示にする */
.type-page .post-date, 
.type-page .post-update {
  display:none !important;
}

.d-block {
  display:block;
}
.d-inline-block {
  display:inline-block;
}

.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);
  }
}

.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;
}

/************************************
** contactform 7
************************************/
/*
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea {
}
*/
.wpcf7-form input[type=text], .wpcf7-form input[type=password], .wpcf7-form input[type=date], .wpcf7-form input[type=datetime], .wpcf7-form input[type=email], .wpcf7-form input[type=number], .wpcf7-form input[type=search], .wpcf7-form input[type=tel], .wpcf7-form input[type=time], .wpcf7-form input[type=url], .wpcf7-form select, .wpcf7-form .search-edit {
  padding:11px;
  border:1px solid var(--cocoon-basic-border-color);
  border-radius:var(--cocoon-basic-border-radius);
  font-size:inherit;
  max-width:400px;
  width:100%;
}
.wpcf7-form input[name="zip-code"] {
  max-width:100px;
}
.wpcf7-form select {
  max-width:300px;
}
.wpcf7-form textarea {
  max-width:100%;
}
.wpcf7-form p {
  margin-bottom:0;
}
.wpcf7-form label {
  display:inline-block;
  margin-bottom:.5rem;
}
.wpcf7-form input[type=submit] {
  max-width:100px;
}

/* 必須項目 */
.wpcf7-form label .required-mark::after,
.wpcf7-form .required-mark::after {
  content:"必須";
  margin-left:8px;
  padding:2px 6px;
  background-color:#de5d50;
  color:#fff;
  font-size:11px;
  font-weight:bold;
  border-radius:3px;
  vertical-align:middle;
}

/* 任意項目 */
.wpcf7-form label .optional-mark::after,
.wpcf7-form .optional-mark::after {
  content:"任意";
  margin-left:8px;
  padding:2px 6px;
  background-color:#999; /* グレー系 */
  color:#fff;
  font-size:11px;
  font-weight:bold;
  border-radius:3px;
  vertical-align:middle;
}

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

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

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

/************************************
** アピールエリア
************************************/
#appeal {
  height:41vw;
  /* width:; */
}
.appeal-content {
  background:none;
}
.appeal-content .appeal-button {
  /* background-color:#063ca3; */
  background-color:#333;
}
.appeal-button {
  position:absolute;
  top:50px;
  right:15px;
}
@media screen and (max-width:1023px){
  .appeal-button {
    top:100px;
  }
}
/* アピールエリアの高さ設定 スマホ */
@media (max-width:1000px) {
  #header {
    height:98vw;
    display:flex;
    justify-content:center; /* 横方向の中央揃え */
    align-items:center; /* 縦方向の中央揃え */
  }
}
@media screen and (max-width:601px){
  .appeal-button {
    font-size:small;
    font-weight:normal;
    padding:9px 18px;
    top:60px;
    right:0;
  }
}

/************************************
** スマホだけ改行したいとき
************************************/
@media screen and (min-width:768px){
  .sp-br {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); /* ホバー時に回転するアニメーションを追加 */
}

/* 検索ボタン */
:root :where(.wp-element-button, .wp-block-button__link) {
  background-color:#32373c;
  background-color:#333;
}

/************************************
** ヘッダーメニュー
************************************/
#header-container .navi,
#navi .navi-in>.menu-header .sub-menu {
  /* background-color:#585858; */
  background-color:#333;
}
/*
.navi-in>ul li {
  height:80px !important;
  line-height:80px !important;
}
*/
.navi-in > ul .sub-menu ul {
  top:-60px;
  left:240px;
  position:relative;
}

/************************************
** フッター
************************************/
 .footer_container {
  background-color:#333;
  color:#fff;
}
.footer_container > div {
  margin-bottom:2em;
}
.footer_container address {
  font-style:normal;
}
.footer_container p,
.footer_container ul li {
  margin-bottom:.8rem;
}
.footer_container ul {
  padding:0;
}
.footer_container ul {
  padding:0;
}
.footer_container ul.list-style-none.wrap_column li {
  margin-right:.2rem;
  margin-bottom:0;
}

/************************************
** サイドカラムコンテンツ
************************************/
.side_container h2, .side_container h2.ttl {
  background-color:#f5f6f7;
  color:#333;
  font-size:1.2rem;
}

/************************************
** スマホ用ハンバーガーメニュー
************************************/
/* PCはメニュー表記を非表示 */
ul.menu-top.menu-header.menu-pc > li:first-child {
  display:none;
}
/* SPのハンバーガーメニュー内メニュー表記をタップ不可 */
@media screen and (max-width:1023px) {
  #navi-menu-content > ul > li:first-child.menu-item > a {
    display:table;
    width:auto;
    margin-left:auto;
    margin-right:auto; 
    pointer-events:none;
  }
}
.menu-content .menu-drawer {
  line-height:2;
  padding:0 1em 30px;
}
.menu-close-button {
  display:table;
  width:auto;
  margin-left:auto;
  margin-right:0;
  cursor:pointer;
  font-size:2em;
  line-height:1;
  /* padding:0 10px; */
  position:relative;
  top:8px;
  right:15px;
}
.menu-drawer .sub-menu {
  margin-bottom:0;
  padding-left:20px;
}
/*.menu-drawer > li:first-child*/
.menu-drawer > li {
  border-bottom:1px solid #ccc;
}

/************************************
** フロー
************************************/
/* 全体のコンテナ */
.flow-container {
  max-width:600px; /* お好みの幅に調整してください */
  margin:0 auto 2rem;
  padding:20px;
  font-family:"Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}

/* 各ステップのボックス */
.flow-step {
  display:flex;
  align-items:flex-start; /* 上揃え */
  gap:15px;
  background:#fdfdfd;
  border:1px solid #e0e0e0;
  border-radius:8px;
  padding:20px;
  box-shadow:0 2px 5px rgba(0,0,0,0.05);
}

/* アクティブ（現在のステップなど）の強調 */
.flow-step.active {
  border-left:5px solid #007bff; /* 左端にアクセントカラー */
  background:#fff;
}

/* ステップ番号 */
.step-number {
  flex-shrink:0;
  width:40px;
  height:40px;
  line-height:40px;
  background:#007bff;
  color:#fff;
  border-radius:50%;
  text-align:center;
  font-weight:bold;
  font-size:1.1rem;
}

/* テキストコンテンツ */
.step-content h3 {
  margin:0 0 8px 0;
  font-size:1.1rem;
  color:#333;
  line-height:1.4;
}

.step-content p {
  margin:0;
  font-size:0.9rem;
  color:#666;
  line-height:1.6;
}

/* 縦並び用の矢印（下向き） */
.flow-arrow {
  display:block;
  width:2px;
  height:30px;
  background:#dee2e6;
  margin:10px auto; /* 中央配置 */
  position:relative;
}

/* 矢印の先端（三角部分） */
.flow-arrow::after {
  content:'';
  position:absolute;
  bottom:-5px;
  left:50%;
  transform:translateX(-50%);
  border-left:8px solid transparent;
  border-right:8px solid transparent;
  border-top:10px solid #dee2e6;
}
