
/* =======================================
   ▼ 見出しタグの初期化（h1〜h5）
   ======================================= */
.mado-lp h1,
.mado-lp h2,
.mado-lp h3,
.mado-lp h4,
.mado-lp h5 {
  all: unset;
  display: block;
  margin: 0 0 10px 0;
  font-family: inherit;
  font-weight: normal;
  color: #004b98;
}

/* 各見出しのサイズ例 */
.mado-lp h1 {
  font-size: 1.8em;
  margin-bottom: 16px;
}
.mado-lp h2 {
  font-size: 1.6em;
  margin-bottom: 14px;
}
.mado-lp h3 {
  font-size: 1.4em;
  margin-bottom: 12px;
}
.mado-lp h4 {
  font-size: 1.2em;
  margin-bottom: 10px;
}
.mado-lp h5 {
  font-size: 1.1em;
  margin-bottom: 8px;
}

/* =======================================
   ▼ LP全体
   ======================================= */
.mado-lp {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  color: #333;
  background-color: #f7f7f7;
  margin: 0;
  padding: 0;
}

/* =======================================
   ▼ ヘッダー
   ======================================= */
.mado-lp .lp-header {
  background: #004b98;
  text-align: center;
  padding: 20px;
  color: #fff;
}
.mado-lp .lp-header p {
  font-size: 1em;
  margin-top: 10px;
}

/* =======================================
   ▼ ヒーローセクション
   ======================================= */
.mado-lp .hero {
  /* 背景画像をカバーさせ、中央寄せ
     heightではなく min-height を指定して余裕を持たせる */
  background: url('https://via.placeholder.com/1200x600.png?text=Your+Business+Image') no-repeat center/cover;
  min-height: 60vh;
  position: relative;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

/* 背景に半透明のオーバーレイ */
.mado-lp .hero::before {
  content: "";
  display: block;
  position: absolute;
  top: 0; 
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 0;
}

/* ヒーロー内のテキストコンテンツをまとめる */
.mado-lp .hero-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1; /* オーバーレイより前面に */
}

.mado-lp .hero-content h2 {
  font-size: 2em; /* ヒーローだけ少し大きめ */
  margin-bottom: 20px;
}
.mado-lp .hero-content p {
  font-size: 1.2em;
  margin-bottom: 30px;
}

/* CTAボタン */
.mado-lp .cta-button {
  display: inline-block;
  background: #f8b400;
  color: #fff;
  text-decoration: none;
  padding: 15px 30px;
  font-size: 1em;
  border-radius: 3px;
  transition: background 0.3s ease;
}
.mado-lp .cta-button:hover {
  background: #eda600;
}

/* =======================================
   ▼ アバウトセクション
   ======================================= */
.mado-lp .about-section {
  background: #fff;
  padding: 60px 20px;
  text-align: center;
}
.mado-lp .about-section p {
  max-width: 800px;
  margin: 0 auto 20px;
  line-height: 1.8;
}

/* =======================================
   ▼ 代表挨拶セクション
   ======================================= */
.mado-lp .representative-section {
  background: #fff;
  padding: 60px 20px;
  text-align: center;
}
.mado-lp .representative-section .profile {
  margin-bottom: 30px;
}
.mado-lp .representative-section .profile p {
  line-height: 1.6;
}
.mado-lp .representative-section .profile-text {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}
.mado-lp .representative-section .profile-text p {
  margin-bottom: 20px;
  line-height: 1.8;
}

/* =======================================
   ▼ 強みセクション
   ======================================= */
.mado-lp .strength-section {
  background: #eef2f6;
  padding: 60px 20px;
  text-align: center;
}
.mado-lp .strength-section .strength-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}
.mado-lp .card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 5px;
  padding: 20px;
  flex: 1 1 calc(33% - 40px);
  min-width: 250px;
  max-width: 350px;
  text-align: center;
}
.mado-lp .card img {
  max-width: 50px;
  margin-bottom: 20px;
}
.mado-lp .card p {
  font-size: 0.95em;
  line-height: 1.6;
}

/* =======================================
   ▼ 他社比較セクション
   ======================================= */
.mado-lp .compare-section {
  background: #fff;
  padding: 60px 20px;
  text-align: center;
}
.mado-lp .compare-section .compare-table {
  max-width: 900px;
  margin: 0 auto;
}
.mado-lp .compare-section table {
  width: 100%;
  border-collapse: collapse;
}
.mado-lp .compare-section th,
.mado-lp .compare-section td {
  border: 1px solid #ddd;
  padding: 10px;
  font-size: 0.95em;
  line-height: 1.6;
}
.mado-lp .compare-section th {
  background: #f2f2f2;
  font-weight: normal;
}
.mado-lp .compare-section th[scope="row"] {
  text-align: left;
  width: 250px;
}

/* =======================================
   ▼ お客様の声セクション
   ======================================= */
.mado-lp .voice-section {
  background: #fff;
  padding: 60px 20px;
  text-align: center;
}
.mado-lp .voice-section .voice-container {
  max-width: 800px;
  margin: 0 auto 40px;
  text-align: left;
  background: #f2f2f2;
  padding: 30px;
  border-radius: 5px;
  position: relative;
}
.mado-lp .voice-container:last-child {
  margin-bottom: 0;
}
.mado-lp .voice-container::before {
  content: "“";
  font-size: 80px;
  color: #004b98;
  position: absolute;
  top: -10px;
  left: -10px;
}
.mado-lp .voice-container::after {
  content: "”";
  font-size: 80px;
  color: #004b98;
  position: absolute;
  bottom: -20px;
  right: -15px;
}
.mado-lp .voice-name {
  margin-top: 20px;
  text-align: right;
  font-weight: bold;
}

/* =======================================
   ▼ よくあるご質問セクション
   ======================================= */
.mado-lp .faq-section {
  background: #fff;
  padding: 60px 20px;
  max-width: 800px;
  margin: 0 auto;
}
.mado-lp .faq-section h2 {
  text-align: center;
  margin-bottom: 40px;
}
.mado-lp .faq-item {
  margin-bottom: 30px;
}
.mado-lp .faq-item h3 {
  font-size: 1.2em;
  color: #004b98;
  margin-bottom: 5px;
}
.mado-lp .faq-item p {
  line-height: 1.6;
  font-size: 0.95em;
}

/* =======================================
   ▼ フッター
   ======================================= */
.mado-lp footer {
  background: #002f64;
  color: #fff;
  text-align: center;
  padding: 20px;
  font-size: 0.9em;
}

/* =======================================
   ▼ レスポンシブ対応
   ======================================= */
@media screen and (max-width: 768px) {
  /* ヒーローをもう少し小さくする例 */
  .mado-lp .hero {
    padding: 60px 20px;
  }
  .mado-lp .hero-content h2 {
    font-size: 1.5em;
  }
  .mado-lp .hero-content p {
    font-size: 1em;
  }

  .mado-lp .strength-section .strength-cards {
    flex-direction: column;
    align-items: center;
  }
  .mado-lp .card {
    max-width: 500px;
  }
}



/* CTAセクション */
.cta-section {
  background-color: #003366; /* 背景色 */
  color: #fff;              /* 文字色 */
  text-align: center;       /* テキスト中央寄せ */
  padding: 3rem 0;          /* セクション上下の余白 */
}

.cta-section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.cta-section p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

/* 文字やレイアウトを調整したい場合は、.cta-inner など必要に応じて追加してください */

/* ボタンのスタイル例 */
.btn-primary {
  display: inline-block;
  background-color: #FF6600;
  color: #fff;
  padding: 0.8rem 1.5rem;
  border-radius: 3px;
  font-weight: bold;
  transition: opacity 0.3s;
}

.btn-primary:hover {
  opacity: 0.8;
}

h2 {
    font-size: 1.5em; /* 大きく強調 */
    color: #2c3e50; /* 落ち着いたダークブルー */
    margin-bottom: 1rem; /* 下に余白をつける */
    border-bottom: 2px solid #3498db; /* 下線で区切り */
    padding-bottom: 0.5rem; /* 下線との間にスペース */
}

h3 {
    font-size: 1.3em; /* 中程度のサイズ */
    color: #34495e; /* 少し薄いダークブルー */
    margin-bottom: 0.75rem; /* 下に余白をつける */
    border-left: 4px solid #1abc9c; /* 左にラインを追加 */
    padding-left: 0.5rem; /* ラインと文字の間にスペース */
}

h4 {
    font-size: 1.1em; /* 小さめだけど見やすい */
    color: #7f8c8d; /* グレーで控えめに */
    margin-bottom: 0.5rem; /* 下に少し余白 */
    font-style: italic; /* 斜体で柔らかさを */
    padding-left: 0.5rem; /* 左に少しスペース */
}

  /* テーブル専用のクラスを定義 */
        .responsive-table {
            width: 100%;
            border-collapse: collapse;
            margin: 20px 0;
        }

        .responsive-table th, .responsive-table td {
            border: 1px solid #ddd;
            padding: 8px;
            text-align: left;
        }

        .responsive-table th {
            background-color: #f2f2f2;
        }

        /* スクロールなしで列を縦並びに表示 */
        @media screen and (max-width: 600px) {
            .responsive-table thead {
                display: none;
            }

            .responsive-table tr {
                display: block;
                margin-bottom: 10px;
            }

            .responsive-table td {
                display: flex;
                justify-content: space-between;
                align-items: center;
                border: none;
                border-bottom: 1px solid #ddd;
                padding: 10px;
            }

            .responsive-table td::before {
                content: attr(data-label);
                flex: 0 0 40%;
                font-weight: bold;
            }

            .responsive-table td:last-child {
                border-bottom: none;
            }
        }

Contact Form7 Customize
**********************/
 
.contact-divider{	/*区切り*/
    display: block;
    width: 100%;
    border-bottom: dashed 1px #C6C6C6 !important;
    margin-bottom: 20px;
}
.req-tag{	/*必須*/
    padding: 5px 15px;
    background: #C51D51 !important;
    display: inline-block;
    text-align: center;
    margin: 0 5px;
    border-radius: 3px;
}
 
.normal-tag{	/*任意*/
    padding: 5px 15px;
    background: #3999AC !important;
    display: inline-block;
    text-align: center;
    margin: 0 5px;
    border-radius: 3px;    
}
 
.mail-container{	/*入力フォーム*/
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
    height: auto;
}
 
.top-sp{	/*間隔*/
    margin: 20px 0;
}
.btm-sp{
    margin-bottom: 15px;
}
.mail-item{
    margin-bottom: 30px;
}
.mail-item:nth-child(1){ /*Label*/
    width: 20%;
}
.mail-item:nth-child(2){ /*Tag*/
    width: 10%;
    text-align: center;
}
.mail-item:nth-child(3){ /*Form*/
    width: 70%;
}
 
.scroll{	/*利用規約*/
    padding: 20px;
    width: 100%;
    height: 300px;
    overflow-y: scroll;
    overflow-x: hidden;
    background: white;
    scrollbar-color: #4084A7 #EFEFEF;
    border: solid 1px #707070;
}
 
.chk-container{		/*同意-ボタン*/
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    height: auto;
}
.chk-item{
    width: 100%;
    margin-bottom: 10px;
    text-align: center;
}
 
.wpcf7-form-control.wpcf7-text,
.wpcf7-form-control.wpcf7-select,
.wpcf7-form-control.wpcf7-text.wpcf7-email{
    width: 50%;
    border-radius: 5px !important;
    margin-bottom: 0;
    background-color: white;
}
 
.wpcf7-form-control.wpcf7-textarea{
    width: 100%;
    border-radius: 5px !important;
    margin-bottom: 0;
    background-color: white;
}
 
 
.wpcf7-not-valid-tip{ /*Error Messages*/
    color: red !important;
    padding-top: 10px !important;
    font-size: 13px !important;
    display: block;
}
span.wpcf7-not-valid-tip {
    padding: 0;
}
 
/*エラー表示を非表示*/
.screen-reader-response {
    display: none;
}
 
div.wpcf7-validation-errors {
    margin-top: 20px !important;
    font-size: 16px;
    display: inline-block;
    margin: 0 auto;
    background-color: #CF2323;
}
 
 
@media screen and (max-width: 640px) { /* 640px以下(Mobile)*/
 
   .wpcf7-form-control.wpcf7-text,
   .wpcf7-form-control.wpcf7-text.wpcf7-email,
   .wpcf7-form-control.wpcf7-select{
        width: 100%;
    }
    .mail-item:nth-child(1){ /*Label*/
        width: 50%;
        margin-bottom: 10px;
    }
    .mail-item:nth-child(2){ /*Tag*/
        width: 50%;
        margin-bottom: 10px;
        text-align: left !important;
    }
    .mail-item:nth-child(3){
        width: 100%;
    }
    .tag {
        width: 60px;
    }
}

/************************************
** お問い合わせフォームの入力
************************************/
#cf-tbl{
width: 800px;
}

#cf-tbl table{
width: 100%;
border-collapse: collapse;
border: solid #CCC;
border-width: 1px;
color: #444;
}
#cf-tbl table tr th,
#cf-tbl table tr td{
padding: 0.5em;
text-align: left;
vertical-align: top;
border: solid #CCC;
border-width: 1px;
vertical-align: middle;
}
#cf-tbl table tr th{
width: 35%;
background: #eee;
}
@media screen and (max-width:768px){
#cf-tbl{
width: 100%;
}

#cf-tbl table,
#cf-tbl table tbody,
#cf-tbl table tr,
#cf-tbl table tr th,
#cf-tbl table tr td{
display: block;
}

#cf-tbl table{
width: 100%;
border-width: 0 0 1px 0;
}

#cf-tbl table tr th,
#cf-tbl table tr td{
width: 100%;
padding: 3% 5%;
}

#cf-tbl table tr td{
border-width: 0px 1px 0px 1px;
}
}
/*「必須」文字デザイン*/
.required{
font-size:.8em;
padding: 5px;
background: #F57500;
color: #fff;
border-radius: 3px;
margin-right: 5px;
}

/*「任意」文字デザイン*/
.optional{
font-size:.8em;
padding: 5px;
background: #000080;
color: #fff;
border-radius: 3px;
margin-right: 5px;
}

/* 入力項目を見やすく */
input.wpcf7-form-control.wpcf7-text,
textarea.wpcf7-form-control.wpcf7-textarea {
	width: 100%;
	padding: 8px 15px;
	margin-right: 10px;
	margin-top: 10px;
	border: 1px solid #d0d5d8;
	border-radius: 3px;
	background-color: #eff1f5;
}
textarea.wpcf7-form-control.wpcf7-textarea {
	height: 200px;
}

/* 「送信する」ボタン */
input.wpcf7-submit {
    display: block;
    padding: 15px;
    width: 400px;
    background: #ffaa56;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    border-radius: 2px;
    margin: 15px auto 0
}
@media screen and (max-width:768px){
input.wpcf7-submit {
width: 250px;
}
}

input.wpcf7-submit:hover {
	box-shadow: 0 15px 30px -5px rgba(0,0,0,.15), 0 0 5px rgba(0,0,0,.1);
	transform: translateY(-4px);
	opacity:0.7;
}
/* エラーメッセージを見やすく */
span.wpcf7-not-valid-tip,
.wpcf7-response-output.wpcf7-validation-errors {
	color: red;
	font-weight: 600;
}

/*ContactForm7カスタマイズ*/
table.CF7_table{
	width:80%;
	margin:0 auto;
	border: 3px solid #e5e5e5;
}

table.CF7_table tr{
	border-top: 1px solid #e5e5e5;
}

.single .entry-content table.CF7_table,
.page .entry-content table.CF7_table{
	display:table;
}

/*入力欄*/
.CF7_table input, .CF7_table textarea {
	border: 1px solid #d8d8d8;
}

.CF7_table ::placeholder {
	color:#797979;
}

/*「必須」文字*/
.CF7_req{
	font-size:.9em;
	padding: 5px;
	background: #f79034;/*オレンジ*/
	color: #fff;
	border-radius: 3px;
	margin-right:1em;
}

/*「任意」文字*/
.CF7_unreq{
	font-size:.9em;
	padding: 5px;
	background: #bdbdbd;/*グレー*/
	color: #fff;
	border-radius: 3px;
	margin-right:1em;
}

/* タイトル列 */
@media screen and (min-width: 768px){
	.CF7_table th{
	width:30%;/*横幅*/
	background-color:#ebedf5;/*ブルーグレー*/
	}
}

/* レスポンシブ */
@media screen and (max-width: 768px){
	table.CF7_table{
	width:95%;
	}
	.CF7_table tr, .CF7_table td, .CF7_table th{
	display: block;
	width: 100%;
	line-height:2.5em;
	}
	.CF7_table th{
	background-color:#ebedf5;
	}
}

/* 「送信する」ボタン */
.wpcf7 input.wpcf7-submit {
	background-color:#f79034;/* オレンジ*/
	border:0;
	color:#fff;
	font-size:1.2em;
	font-weight:bold;
	margin:0 auto;
}

.CF7_btn{
	text-align:center;
	margin-top:20px;
}

.wpcf7-spinner{
	width:0;
	margin:0;
}

mark {
  background: none; /* 背景を削除 */
  color: inherit; /* 文字色を継承 */
  text-decoration: underline; /* 下線を追加 */
  text-decoration-color: #ffe4b5; /* 下線の色を設定 */
  text-decoration-thickness: 3px; /* 下線の太さを設定 */
  text-underline-offset: 0.2em; /* 下線と文字の間隔を調整 */
}
