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

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

/* --- 既存CSSカスタマイズ --- */

.vimeo iframe {
	position: relative;
  aspect-ratio:9 /16; /* ビデオの横/縦比 */
}
.vimeo .video {
  height: 100%;
  margin: 0 auto;
  overflow: visible;
  width: 300px!important;
}

::placeholder {
	 color: #cccccc;
}

p:empty{display: none;}


.page-id-1718 .content {
	margin-top: 0;
}
.page-id-1718 #content .wrap {
    width: 100%;
}
.page-id-1718 .main {
    padding: 0;
	border: none;
}
.page-id-1718 .entry-header {
	display: none;
}
.page-id-1718 .entry-content {
	width: 100%;
    margin:0;
}
.post-1718 h1.entry-title {
	display: none;
}
.post-1718 .entry-content>*,
.post-1718 .body .article,
article.post-1718  {
    margin-bottom: 0!important;
	background-color: #f4f6f9;
}

body::after,
main::after{
	display: none;
}

table tr:nth-of-type(2n+1) {
    background: none!important;
}

article h1 {
	padding: 10px 8px;
    font-size: 28px;
	color: #152946!important;
	border-left: 5px solid #152946;
}

article h2 {
	padding: 15px 25px!important;
	color: #ffffff;
	background: #152946!important;
}

.date-tags,
.article-footer {
    display: none;
}

.appeal .appeal-in {
  min-height: unset;
}

.appeal {
  aspect-ratio: 2 / 1;
  background-size: contain;
}

p.cform {
	font-size: 80%;
}

dl.f-mailer {
	width: 70%;
	margin:  25px auto;
	padding: 0;
	font-size: 95%;
}

dl.f-mailer dt {
	width: 100%;
	margin: 0;
	padding: 0;
	font-weight: 900;
}

dl.f-mailer dd {
	width: 100%;
	margin: 0 0 15px 0;
	padding: 0;
}

span.hissu {
	padding: 1px 10px;
	font-size: 75%;
	color: #ff0000;
	border: 1px solid #ff0000;
	border-radius: 10px;
}

input[type=submit] {
	width: 350px;
	margin: 20px auto;
	padding: 15px;
	font-size: 135%;
	color: #ffffff;
	background: #152946;
	border-radius: 55px;
	transition : 0.4s;
}

input[type=submit]:hover {
	background: #687fa1;
}


/* --- ヒーローセクション --- */
.container_box {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
}
h1, h2, h3 {
  font-weight: bold;
  line-height: 1.4;
}

h2.top_h2 {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
  color: #1a2b49;
  background: none!important;
}

h2.top_h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #e0b700;
}

h2 span {
  font-size: 2.5rem;
	color: #CA4042;
}

span.h2_sub {
  font-size: 1.5rem;
}

h3.top_h3 {
	margin: 0 0  15px 0;
    font-size: 1.8rem;
   text-align: center;
	background: none;
	border: none;
}
p {
  margin: 0 0 1em 0;
}
a {
  color: #e0b700;
  text-decoration: none;
}
section {
  padding: 25px 0;
}
section:nth-of-type(odd) {
  background-color: #ffffff;
}
.img_box {
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  padding: 0;
}
.img_box img,
.img_box2 img {
  width: 100%;
  margin: 0 auto;
  padding: 0;
  line-height: 0;
  box-sizing: border-box;
}
.img_box2 {
  width: 100%;

  margin: 0 auto;
  padding: 0;
}
.sdgs_img {
  margin: 0 auto;
  padding: 15px;
  background: #ffffff;
}
/* --- ヒーローセクション --- */
.hero {
  background: url("https://ironixxx.makes1.com/wp-content/uploads/2025/06/header_bg.png") center no-repeat,#1a2b49;
  color: #fff;
  text-align: center;
  padding: 80px 20px;
}
.hero h1 {
  font-size: 2rem;
  margin: 0 0 10px 0;
  font-weight: normal;
	font-family: "Hiragino Mincho Pro", "MS PMincho", "MS Mincho", "游明朝", "Yu Mincho", serif;
}
.hero .service-name {
  font-size: 3.5rem;
  font-weight: bold;
  color: #e0b700;
  margin: 20px 0 0 0;
  letter-spacing: 2px;
}
.hero .service-name img {
  width: 100%;
	max-width: 750px;
	margin: 0 auto 15px auto;
	padding: 0;
	line-height:0;
}
.hero p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto 30px auto;
	font-family: "Hiragino Mincho Pro", "MS PMincho", "MS Mincho", "游明朝", "Yu Mincho", serif;
}
.hero .final-catch {
  font-size: 1.2rem;
  font-weight: bold;
  margin-top: 40px;
}
/* --- お悩みセクション --- */
.problem {
  text-align: center;
}
.problem .lead {
  font-size: 1.8rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 30px;
	line-height: 1.4;
}
.problem-list {
  list-style: none;
  padding: 0;
  max-width: 700px;
  margin: 30px auto;
  text-align: left;
  background-color: #fff8e1;
  border: 1px solid #e0b700;
  padding: 20px 30px;
  border-radius: 8px;
}
.problem-list li {
  padding-left: 1.5em;
  text-indent: -1.5em;
  margin-bottom: 10px;
}
.problem-list li::before {
  content: '・';
  color: #e0b700;
  font-weight: bold;
  padding-right: 5px;
}
.solution {
	width: 100%;
	margin: 0 auto!important;
	padding: 25px 0;
    font-size: 2.0rem;
    font-weight: bold;
	color: #ffffff;
	text-align: center;
	background: #1a2b49;
}
.nayami_img {
	width: 100%;
	max-width: 960px;
	margin: 0 auto;
	padding:0;
	line-height: 0;
}
.nayami_img img {
	width: 100%;
	margin: 0;
	padding:0;
	line-height: 0;
}
/* --- 選ばれる理由セクション --- */
.reason-list {
  margin: 0 auto;
  list-style: none;
  padding: 0!important;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
.reason-list li {
  background-color: #fff;
  padding: 20px;
  font-size: 1.4rem;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
  color: #1a2b49;
  border-top: 8px solid #e0b700;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.reason-list li img {
  width: 100%;
  max-width:70%;
  margin: 0 auto;
  padding: 0;
  line-height: 0;
}
.reason-list li::before {
  margin-right: 10px;
  color: #28a745;
}
/* --- 比較テーブル --- */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 40px 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.comparison-table th, .comparison-table td {
  border: 1px solid #ddd!important;
  padding: 15px;
  text-align: center;
}
.comparison-table th {
  background-color: #333;
  color: #fff;
  font-weight: bold;
}
.comparison-table td {
  width: 28.3333%;
  background-color: #ffffff;
  line-height: 1.3;
}
.comparison-table td:first-child {
  width: 15%;
  background-color: #333;
  line-height: 1.3;
  font-weight: bold;
  color: #fff;
  text-align: center;
}
.comparison-table .our-service {
  font-weight: bold;
  color: #000000;
}
/* --- 施工事例 --- */
.gallery {
  text-align: center;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  margin-top: 25px;
}
.gallery-item {
	margin: 5px;
  background-color: #fff;
  padding: 0 0 10px 0;
  border: 1px solid #ddd;
  border-radius: 5px;
  text-align: center;
}
.gallery-item img {
  max-width: 100%;
  height: auto;
  background-color: #ccc;
}
.gallery-item p {
  margin: 0;
  font-weight: bold;
}
.gal6y_box {
	width: 100%;
	max-width: 700px;
	margin: 0 auto;
	padding: 0;
	display: flex;
}
.gal6y {
	width: 48%;
	margin: 0 auto;
	padding: 0;
}
/* --- お客様の声 --- */
.testimonials {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 60px;
}
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
}
.testimonial-card {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    display: flex;
}
.card-image {
    width: 150px;
    flex-shrink: 0;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.card-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
}

.card-header h3 {
    margin: 0 7px 0 5px 0;
	padding: 0 7px 0 0;
    font-size: 1.25rem;
    font-weight: 700;
	text-align: left;
	display: inline;
}

.customer-title {
    font-size: 0.9rem;
    color: #007bff;
    font-weight: 700;
    display: inline-block;
    padding: 3px 8px;
    background-color: #e7f3ff;
    border-radius: 5px;
}
.card-body {
    margin: 15px 0 0 0!important;
	padding: 0;
    font-size: 0.95rem;
    color: #555;
	line-height: 1.5;
}
/* --- よくある質問 --- */

.faq_box {
  width: 100%;
max-width: 700px;
  margin: 15px auto;
  padding: 0;
}
p.q {
  margin: 0 auto;
  padding: 5px 25px;
  font-size: 125%;
  font-weight: bold;
  color: #ffffff;
  background: #0071bc;
  border-radius: 6px 6PX 0 0;
}
p.q span {
  margin: 0 5px 0 0;
  padding: 1px 5px 3px 5px;
  font-size: 90%;
  color: #284b66;
  background: #ffffff;
  border-radius: 15px;
}
p.a {
  margin: 0 0 0 40px !important;
  padding: 0;
  font-size: 100%;
  text-indent: -30px;
}
p.a span {
  margin: 0 5px 0 0;
  padding: 3px 7px;
  font-size: 90%;
  color: #ffffff;
  background: #e13013;
  border-radius: 15px;
}
.cp_qa *, .cp_qa *:after, .cp_qa *:before {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
.cp_qa {
  overflow-x: hidden;
  margin: 0 auto;
  color: #333333;
  border-top: 1px dashed #cccccc;
}
.cp_qa2 {
  overflow-x: hidden;
  margin: 0 auto;
  padding: 0;
  color: #333333;
}
.cp_qa .cp_actab {
  padding: 10px 0;
  border-bottom: 1px dashed #cccccc;
}
.cp_qa2 .cp_actab2 {
  margin: 1px auto;
  padding: 0;
  background: #0071bc;
  position: relative;
}
.cp_qa2 .cp_actab2::after {
  content: "▼";
  text-align: right;
  position: absolute;
  color: #ffffff;
  right: 15px;
  top: 15px;
}
.cp_qa p {
  margin: 0;
  padding: 0;
}
.cp_qa2 p {
  margin: 0;
  padding: 0;
}
.cp_qa label {
  font-size: 1.2em;
  position: relative;
  display: block;
  width: 100%;
  margin: 0;
  padding: 10px 10px 0 48px;
  cursor: pointer;
  line-height: 1.5;
}
.cp_qa2 label {
  font-size: 1.2em;
  position: relative;
  display: block;
  width: 100%;
  margin: 0;
  padding: 15px 10px 15px 48px;
  cursor: pointer;
  line-height: 1.5;
  color: #ffffff;
}
.cp_qa .cp_actab-content {
  font-size: 1em;
  position: relative;
  overflow: hidden;
  height: 0;
  margin: 0 40px !important;
  padding: 0;
  -webkit-transition: 0.4s ease;
  transition: 0.4s ease;
  opacity: 0;
}
.cp_qa2 .cp_actab-content2 {
  font-size: 1em;
  position: relative;
  overflow: hidden;
  height: 0;
  margin: 0 !important;
  padding: 0;
  -webkit-transition: 0.4s ease;
  transition: 0.4s ease;
  opacity: 0;
  background: #f3f9fe;
}
p, .paragraph {
  margin: 0;
  padding: 0;
}
.cp_qa .cp_actab input[type=checkbox]:checked ~ .cp_actab-content {
  height: auto;
  padding: 14px 0;
  opacity: 1;
}
.cp_qa2 .cp_actab2 input[type=checkbox]:checked ~ .cp_actab-content2 {
  height: auto;
  padding: 0;
  opacity: 1;
}
.cp_qa .cp_plus {
  font-size: 2.4em;
  line-height: 100%;
  position: absolute;
  z-index: 5;
  margin: 3px 0 0 10px;
  -webkit-transition: 0.2s ease;
  transition: 0.2s ease;
}
.cp_qa2 .cp_plus {
  font-size: 2.4em;
  line-height: 100%;
  position: absolute;
  z-index: 5;
  margin: 3px 0 0 10px;
  -webkit-transition: 0.2s ease;
  transition: 0.2s ease;
}
.cp_qa .cp_actab input[type=checkbox]:checked ~ .cp_plus {
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}
.cp_qa2 .cp_actab2 input[type=checkbox]:checked ~ .cp_plus {
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}
.cp_qa .cp_actab input[type=checkbox] {
  display: none;
}
.cp_qa2 .cp_actab2 input[type=checkbox] {
  display: none;
}
.cp_actab span {
  margin: 0 5px 0 0;
  padding: 3px 5px 2px 5px;
  font-size: 100%;
  color: #ffffff;
  background: #0071bc;
  border-radius: 2px;
}
.cp_actab2 span {
  margin: 0 5px 0 0;
  padding: 3px 5px 2px 5px;
  font-size: 100%;
  color: #ffffff;
  background: #0071bc;
  border-radius: 2px;
}
.gyou_box {
  padding: 15px;
}
.gyou_box_w {
  padding: 15px;
  background: #ffffff;
}
p.gyou {
  margin: 0;
  padding: 0;
  font-size: 135%;
  font-weight: 900;
  line-height: 1.3;
  color: #0071bc;
}
/* --- お問い合わせフォーム --- */
.contact-form {
  max-width: 700px;
  margin: 0 auto;
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}
.form-group input, .form-group textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}
.submit-button {
  display: block;
  width: 100%;
  padding: 15px;
  background-color: #e0b700;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 1.2rem;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s;
}
.submit-button:hover {
  background-color: #c9a600;
}
/* --- フッター（ --- */
.footer_company {
  background-color: #1a2b49!important;
  color: #fff;
  padding: 40px 0 10px 0;
  text-align: center;
}
.copyright {
  margin-top: 30px;
  font-size: 0.7em;
  color: #aaa;
}

/* --- 会社概要 --- */
.company_table {
  width: 100%;
  margin: 40px auto;
	background: none;
}
.company_table {
  width: 100%;
  border-collapse: collapse;
  border-top: 1px solid #868686!important;
}
.company_table tr {
  border-bottom: 1px solid #868686!important;
	border-left: none;
	border-right: none;
}
.company_table th {
	 width: 20%;
  padding: 10px 10px;
  font-size: 15px;
  line-height: 1.5;
  text-align: left;
	border-left: none;
	border-right: none;
	background: #ffffff;
}
.company_table td {
	 width: 80%;
  padding: 10px 10px;
  font-size: 15px;
  line-height: 1.5;
  text-align: left;
	border-left: none;
	border-right: none;
}
.company_table td:first-child {
  font-weight: bold;
  width: 180px;
  text-align: center;
}

.pc-display {
	display: block;
}

.sp-display {
	display: none;
}


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

/*834px以下*/
@media screen and (max-width: 834px){
	
.logo-image span, .logo-image a {
	margin: 10px 0!important:
}
    .section-title {
        font-size: 2rem;
    }
    .testimonial-card {
        flex-direction: column;
    }
    .card-image {
        width: 100%;
        height: 200px;
    }
	  h2 {
    font-size: 1.8rem;
  }
  .hero h1 {
    font-size: 1.5rem;
  }
  .hero .service-name {
    font-size: 2.5rem;
  }
  .comparison-wrapper {
    overflow-x: auto;
  }
  .comparison-table {
    min-width: 600px;
  }
  .company_table {
    margin: 20px 0 0
  }
  .company_table td {
    display: block;
    width: 100%;
    padding: 15px 10px;
  }
  .company_table td:first-child {
    width: 100%;
    border-bottom: none;
  }
	
}

/*480px以下*/
@media screen and (max-width: 480px){
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

dl.f-mailer {
	width: 100%;
}
.problem .lead  {
  font-size: 1.4rem;	
}
h2.top_h2 {
  font-size: 1.3rem;
}
h2 span {
  font-size: 1.7rem;
}
h3.top_h3 {
    font-size: 1.5rem;
}
p {
	font-size: 90%;
}
.solution {
	padding: 20px 0;
    font-size: 1.4rem;
	line-height: 1.2;
}
.pc-display {
	display: none;
}

.sp-display {
	display: block;
}

}
