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

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/

/* 見出しリセット */
/* 見出し2 */
.article h2{
background:none;
padding: 0;
}

/* 見出し3 */
.article h3{
border-top:none;
border-bottom:none;
border-left:none;
border-right:none;
padding: 0;
}

/* 見出し4 */
.article h4{
border-top:none;
border-bottom:none;
padding: 0;
}

/* 見出し5 */
.article h5{
border-bottom:none;
padding: 0;
}

/* 見出し6 */
.article h6{
border-bottom:none;
padding: 0;
}

/*　見出しH2~H6の変更　*/
.article h2 {
position: relative;
padding: 15px 15px 10px 35px;
border-radius: 5px;
color: #ffffff;
background-color: #003366;
}
 
.article h2::after {
position: absolute;
content: '';
top: 50%;
left: 15px;
transform: translateY(-50%);
width: 5px;
height: 25px;
background-color: #ffffff;
}
.article h3 {
position: relative;
border-bottom: 4px solid #009999;
}

.article h3::after {
position: absolute;
content: " ";
display: block;     
border-bottom: solid 4px #003366;
bottom: -4px;
width:15%;
}

.article h4 {
color: #333; /*文字の色を変更*/
padding: .2em 1em;
margin-top: 40px;
border-left: 6px solid #003366; /*線の色を変更*/
}
.article h5 {
color: #e95506; /*文字の色を変更*/
margin-top: 40px;
border-bottom: solid 2px #e95506; /*線の色を変更*/
}
.article h6 {
color: #003366; /*文字の色を変更*/
margin-top: 40px;
border-bottom: solid 2px #003366; /*線の色を変更*/
}
/*グローバルナビメニュー マウスオーバーでアンダーライン*/
#navi .navi-in a:after{
position: absolute;/*線の位置を絶対配置に*/
content: "";/*文字はなし*/
left: 0px;/*線の位置*/
bottom: 1px;/*線の位置*/
height: 1px;/*線の高さ*/
width: 100%;/*幅いっぱいに線を引く*/
background: #ffffff;/*線の色*/
transform: scale(0,1);/*マウスオーバーの前は線を消す*/
transition: 0.3s;/*線が0→100%になるまでの秒数*/
}

#navi .navi-in a:hover:after{
transform: scale(1);/*マウスオーバー後、線を100%出す*/
}

/*******************************
* 目次
********************************/
.toc {
    border: 1px solid #666;
    font-size: 0.9em;
    line-height: 1.5;
    padding: 0;
    margin-bottom: 1em;
    display: table;
    margin-left: auto;
    margin-right: auto;
}
.toc-title {
    background: #666; /*目次タイトルの背景色*/
    color: #fff; /*目次タイトルの文字色*/
    font-size: 1.1em;
    text-align: center;
    padding: 6px 16px;
}
.toc-title::before {
    font-family: FontAwesome;
    content: '\f0ca'; /*目次タイトルのアイコン*/
    margin-right: 0.5em;
}
.toc-content {
    padding: 8px;
}
.toc ul li a, .toc ol li a {
    display: block;
    border-bottom: 1px dashed #666; /*h3以下の下側ボーダー*/
    margin-left: -20px;
    padding-left: 20px;
}
.toc ul.toc-list>li, .toc ol.toc-list>li {
    margin-top: 1em;
}
.toc ul.toc-list>li>a, .toc ol.toc-list>li>a {
    border-bottom: 2px solid #666; /*h2の下側ボーダー*/
    font-weight: bold;
}

/*******************************
* 固定ページ記事タイトル非表示
********************************/
.type-page h1,
.type-page 
.post-meta{
  display:none;
}

/*******************************
* 固定ページ日付非表示
********************************/
.post-2 .date-tags,
.post-3 .date-tags,
.post-108 .date-tags,
.post-150 .date-tags,
.post-296 .date-tags,
.post-315 .date-tags,
.post-116 .date-tags,
.post-375 .date-tags,
.post-384 .date-tags,
.post-1091 .date-tags,
.post-43 .date-tags {
display: none;
}

/*Download button*/
a.aligncenter.download-button{
width:300px;
	font-size:14px;
	background-image: -webkit-linear-gradient(#191970,#000080,#00008b);
}

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

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

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

/************************************
****　ヘッダーメニュー
************************************/
.navi-in > ul{/*メニューを中央に配置する場合は4～7行目を削除してください*/
justify-content:flex-start;
}
.navi-in>ul li {
line-height: 40px;
height: 40px;
}
.navi-in a{
font-size:15px;
}
#navi .navi-in a:hover {
transform: none!important;
}
.navi-in > ul .sub-menu a {
padding: 0;
}
.navi-in > ul .sub-menu{
box-shadow: 0px 2px 5px 0 rgba(0,0,0,.26);
}
.sub-menu .caption-wrap {
color:#333;/*サブメニューの文字色*/
border-top: dotted #dddddd;
background:#fff;/*サブメニューの背景色*/
padding:0 0 0 2em;
margin:0;
}
.navi-in > ul .sub-menu a:hover {
transform: none!important;
}
div#header-container {
box-shadow: none;
}
div.item-label{
font-weight:bold;
}

/************************************
****　モバイル表示　ヘッダーメニュー・検索アイコン
************************************/
.mobile-menu-buttons{
height:50px;
box-shadow: none;
}
.mobile-menu-buttons > li {
padding-top:0;
}
.menu-button{
margin: auto;
}
.mobile-menu-buttons .menu-button:hover{
background-color:white;
}
span.fas.fa-search::before{
color:#333333;/*検索マーク色変更はこちら*/
margin-left:1em;
}
span.fas.fa-bars::before{
color:#333333;/*ハンバーガーメニュー色変更はこちら*/
margin-right:1em;
}
.navi-menu-caption.menu-caption,.home-menu-caption.menu-caption,.search-menu-caption.menu-caption,.top-menu-caption.menu-caption,.sidebar-menu-caption.menu-caption{
display:none;
}

/*モバイルメニュー　文字消す*/
/*1023px以下*/
@media screen and (max-width: 1023px){
  .mobile-menu-buttons .menu-caption{
    display: none;
  }
  .mobile-menu-buttons{
    align-items: center;
  }
}

.hero-section {
  background-image: url('https://office-tonosaki.com/wp-content/uploads/2025/04/hero-tonosaki-converted.png');
  background-size: cover;
  background-position: center;
  height: 700px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 5%;
  position: relative;
  z-index: 1;
}

.hero-text {
  color: white;
  text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.85);
  max-width: 600px;
  z-index: 2;
  position: relative;
}

.hero-text h1 {
  font-size: 48px;
  color: white;
  display: block;    /* ← 明示的に表示させる */
  margin: 0 0 20px 0;
}

.hero-text p {
  font-size: 24px;
  line-height: 1.8;
}

.hero-btn {
  display: inline-block;
  background-color: #005bac;
  color: white;
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.hero-btn:hover {
  background-color: #003e80;
}

.greeting-section {
  padding: 60px 5%;
  background-color: #f9f9f9;
}

.greeting-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.greeting-photo img {
  width: 300px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.greeting-text {
  flex: 1;
  min-width: 300px;
}

.greeting-text h2 {
  font-size: 32px;
  margin-bottom: 20px;
  color: #333;
}

.greeting-text p {
  font-size: 18px;
  line-height: 1.8;
  color: #444;
}

.feature-section {
  padding: 60px 5%;
  background-color: #f2f6fa;
  text-align: center;
}

.feature-title {
  font-size: 32px;
  margin-bottom: 40px;
  color: #222;
}

.feature-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.feature-card {
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  padding: 30px 20px;
  width: 300px;
  max-width: 90%;
  text-align: center;
}

.feature-icon {
  font-size: 40px;
  margin-bottom: 15px;
}

.feature-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #005bac;
}

.feature-card p {
  font-size: 16px;
  line-height: 1.6;
  color: #444;
}

/* スマホ対応 */
@media screen and (max-width: 767px) {
  .feature-card {
    width: 100%;
  }
}

.service-list {
  list-style: none;
  padding: 0;
  max-width: 600px;
  margin: 0 auto;
  font-size: 18px;
  line-height: 2;
}

.service-list li {
  position: relative;
  padding-left: 25px;
  text-align: left;
  color: #444;
}

.service-list li::before {
  content: "✔";
  color: #005bac;
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 0;
}

.faq-item {
  margin-bottom: 15px;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.faq-question {
  width: 100%;
  text-align: left;
  background-color: #f0f4f9;
  border: none;
  padding: 15px 20px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background-color: #e2ecf5;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  padding: 0 20px;
  background-color: #f9f9f9;
  font-size: 16px;
  line-height: 1.6;
  color: #444;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 15px 20px;
}

.faq-link {
  text-align: center;
  margin-top: 30px;
}

.faq-link a {
  color: #005bac;
  text-decoration: none;
  font-weight: bold;
}

.faq-link a:hover {
  text-decoration: underline;
}

.faq-item {
  display: block !important;
}
.faq-question,
.faq-answer {
  display: block;
  width: 100%;
}

/* ページ全体に背景色（左右に薄色） */
body {
  background-color: #f4f8fc !important;
}

/* コンテンツ＋サイドバー全体を中央に白背景で表示 */
#content {
  background-color: #ffffff !important;
  max-width: 1200px;  /* ←幅を広げた */
  margin: 0 auto;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
  padding: 40px 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
}

/* メインとサイドバーの幅を安定させる（必要なら） */
#main {
  flex: 1 1 65%;
}

#sidebar {
  flex: 1 1 30%;
}

.total-amount input {
  font-size: 26px;
  font-weight: bold;
  color: #222;
  text-align: right;
}

.tax input {
  font-size: 26px;
  font-weight: bold;
  color: #222;
  text-align: right;
}

.koseki input {
  font-size: 26px;
  font-weight: bold;
  color: #222;
  text-align: right;
}

.soufu input {
  font-size: 26px;
  font-weight: bold;
  color: #222;
  text-align: right;
}

.athor input {
  font-size: 26px;
  font-weight: bold;
  color: #222;
  text-align: right;
}

.hou input {
  font-size: 26px;
  font-weight: bold;
  color: #222;
  text-align: right;
}

.sidebar-office-info-wrapper {
  display: flex;
  justify-content: center;
}

.sidebar-office-info {
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  padding: 12px 16px;
  font-size: 14px;
  line-height: 1.6;
  color: #333;
  border-radius: 6px;
  max-width: 280px;
  width: 100%;
}

.sidebar-office-info strong {
  display: block;
  font-size: 15px;
  color: #222;
  margin-bottom: 5px;
}

.sidebar-office-info summary {
  font-weight: bold;
  margin-top: 8px;
}

.fixed-buttons {
  position: sticky;
  top: 20px;
  z-index: 100;
}

.sidebar-office-info-wrapper {
  display: flex;
  justify-content: center;
}

.sidebar-office-info {
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  padding: 12px 16px;
  font-size: 14px;
  line-height: 1.6;
  color: #333;
  border-radius: 6px;
  max-width: 280px;
  width: 100%;
}

.download-button {
  display: inline-block;
  padding: 1em 2em;
  background: #007acc;
  color: #fff;
  font-weight: bold;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.3s ease;
}
.download-button:hover {
  background: #005fa3;
}

