/*
Theme Name: SPEEDS
Version: 1.0.0
Author: KSI
Template: businesspress
*/
h1, h2, h3, h4, h5, h6, .site-title,.widget, p {
    color: #3e3a39;
}
/* Swiper全体 */
.mv-swiper.swiper {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    overflow: visible;
    position: relative;
    padding: 0;
}
/* Wrapper */
.mv-swiper .swiper-wrapper {
    align-items: center;
}
/* スライド */
.mv-swiper .swiper-slide {
    width: 90vw;
    flex-shrink: 0;
}
/* タブレット */
@media screen and (min-width: 781px) {
    .mv-swiper .swiper-slide {
        width: 70vw;
    }
}
/* PC */
@media screen and (min-width: 1200px) {
    .mv-swiper .swiper-slide {
        width: 55vw;
    }
}
/* 画像 */
.mv-swiper img {
    width: 100%;
    display: block;
}
/* 矢印 */
.mv-swiper .swiper-button-prev {
    left: 10px;
}
.mv-swiper .swiper-button-next {
    right: 10px;
}
/* スマホ矢印 */
@media screen and (max-width: 781px) {
    .mv-swiper .swiper-button-prev {
        left: -5px;
    }
    .mv-swiper .swiper-button-next {
        right: -5px;
    }
}
/* 横スクロール防止 */
body {
    overflow-x: hidden;
}
.swiper-button-next:after, .swiper-button-prev:after {
    color: #fff;
    background-color: #00000057;
    padding: 10px;
}
#bgi01 {
    padding: 0 0 2rem 0;
    background-size: 150% 150%;
    background-color: rgb(255 255 255 / 50%);
    background-blend-mode: lighten;
    animation: moveGradient 12s ease infinite;
    background-image: url(https://lifecp.info/wp2018/wp-content/uploads/2026/06/bgi01.jpg);
}
@keyframes moveGradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}
h2.title01, .entry-content h2.title01 {
    padding: 3em 0 0 0;
    font-weight: 700;
    font-size: 15px;
    margin-bottom: 0;
    line-height: 3rem;
    width: 100%;
    letter-spacing: 0.2rem;
    border: unset;
}
h2.title01::after,.entry-content h2.title01::after {
    content: none;
}
p.title02 {
    font-weight: 700;
    margin-bottom: 4.5rem;
    font-size: 40px;
    font-family: 'Playfair Display', serif;
    position: relative;
    line-height: 3rem;
    width: 100%;
    letter-spacing: 0.3rem;
}
p.title02:before {
  content: '';
  position: absolute;
  bottom: -25px;
  display: inline-block;
  width: 60px;
  height: 8px;
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  background-color: #e50012;
  border-radius: 50px;
}
p.title03 {
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 20px;
    line-height: 3rem;
    width: 100%;
	letter-spacing: 0.1rem;
}
p.top_text {
    font-size: 16px;
    letter-spacing: 0.1rem;
    line-height: 3rem;
    width: 100%;
    margin-bottom: 2.5rem;
}
.btn02 {
    width: 100%;
    text-align: center;
}
.btn02 a.wp-block-button__link {
    display: inline-block;
    position: relative;
    border: 2px solid #3e3a39;
    padding: 0 50px !important;
    border-radius: 50px;
    line-height: 3rem !important;
    background-color: #fff;
    color: #3e3a39;
    text-decoration: none;
    min-width: 240px;
    box-sizing: border-box;
    /* ★ここにtransitionを追加します（0.3秒かけて変化） */
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.btn02 a.wp-block-button__link:after {
    font-family: "Font Awesome 6 Free";
    content: "\f105";
    font-weight: 900;
    position: absolute;                  
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    /* ★矢印の色もふわっと変えたい場合はここにも追加 */
    transition: color 0.3s ease;
}
.btn02 a.wp-block-button__link:hover {
    background-color: #3e3a39;
    color: #fff !important;
    border-color: #3e3a39; 
}
.btn02 a.wp-block-button__link:hover:after {
    color: #fff;
}
.btn02.btn-contact a.wp-block-button__link {
    background-color: #ffda00;
    padding: 5px 50px !important;
    font-weight: bold;
}
.btn02.btn-contact a.wp-block-button__link:hover {
    background-color: #3e3a39;
}
aside#block-22, aside#block-28, aside#block-29, aside#block-30, aside#block-31, aside#block-32, aside#block-33, aside#block-35, aside#block-36, aside#block-45 {
    margin-bottom: unset;
}
aside#block-34 {
    background-color: #fef9da;
    padding: 30px;
    border-radius: 15px;
}
aside#block-34 .wp-block-columns {
    margin-bottom: 0;
    gap: 1em;
}
aside#block-34 .wp-block-column {
    background-color: #fff;
    padding: 30px;
    border-radius: 15px;
}
aside#block-34 .wp-block-column img {
    width: 75%;
    margin: 0 auto;
    display: block;
}
aside#block-34 .wp-block-column h3 {
    padding: 0;
    margin: 0 0 1em 0;
    font-size: 18px;
    letter-spacing: 0.1rem;
}
aside#block-34 .wp-block-column p {
    margin-bottom: 0.8rem;
}
/* 親要素のpタグ：枠の中で完全に中央に寄せる */
.link_arrow.wp-block-paragraph {
    text-align: center;
    margin-bottom: 0.8rem;
}
.link_arrow a {
    display: inline-flex;
    align-items: center;
    color: #3e3a39;
    text-decoration: none;
    font-size: 1.15rem;
    font-weight: bold;
    border-bottom: 2px solid #3e3a39;
    padding-bottom: 4px;
}
/* 丸アイコンの設定（ここは据え置きでOKです） */
.link_arrow a:before {
    content: "\f105";
    font-family: "Font Awesome 6 Free"; /* バージョンに合わせて 5 又は 6 */
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    background: #3e3a39;
    color: #fff;
    border-radius: 50%;
    margin-right: 8px;
    font-size: 0.7rem;
}
.footer-news-wrapper .su-posts-custom-loop {
    background-color: #fff !important;
    border-radius: 5px !important;
    overflow: hidden !important;
    padding: 0 !important;
    margin: 1em 0 1.5em 0 !important;
}

/* 1行全体の装飾（Flexboxで素直に横並び） */
.footer-news-wrapper .custom-post-row {
    display: flex !important;
    align-items: center !important;
    padding: 16px 20px !important;
    border-bottom: 1px solid #eee !important;
    text-decoration: none !important;
    position: relative !important;
    box-sizing: border-box !important;
    transition: background 0.2s;
}

/* 最後の行の下線を消す */
.footer-news-wrapper .custom-post-row:last-child {
    border-bottom: none !important;
}

/* ① 日付（14px・グレー） */
.footer-news-wrapper .custom-post-date {
    font-size: 14px !important;
    color: #666 !important;
    width: 110px !important;       /* 日付の幅を固定して縦のラインを揃える */
    flex-shrink: 0 !important;
}

/* ② カテゴリー名（12px・黄色い座布団） */
.footer-news-wrapper .custom-post-category {
    font-size: 12px !important;
    font-weight: bold !important;
    color: #3e3a39 !important;
    background-color: #fce881 !important;
    padding: 3px 0 !important;       /* 💡左右のパディングを0にして、幅をwidthで固定します */
    border-radius: 4px !important;
    margin-right: 20px !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    /* ここを追加：幅を100pxで統一し、文字を中央寄せにする */
    width: 100px !important;
    text-align: center !important;
}

/* ③ 記事タイトル（14px・長すぎたら三点リーダー） */
.footer-news-wrapper .custom-post-title {
    font-size: 14px !important;
    font-weight: bold !important;
    color: #3e3a39 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    flex-grow: 1 !important;
    padding-right: 30px !important; /* 右矢印との衝突防止 */
}

/* ④ 右端の矢印アイコン「＞」を完全固定 */
.footer-news-wrapper .custom-post-row::after {
    content: "\f105" !important;
    font-family: "Font Awesome 6 Free", "Font Awesome 5 Free" !important;
    font-weight: 900 !important;
    position: absolute !important;
    right: 20px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    color: #3e3a39 !important;
}

/* マウスホバー時のエフェクト */
.footer-news-wrapper .custom-post-row:hover {
    background-color: #fcfcfc !important;
}

.footer-widget-3.footer-widget.widget-area p {
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1.5em;
}
/* フッターエリア全体のベース設定 */
.footer-widget-4.footer-widget.widget-area {
    background-color: #3e3a39;
    padding: 4em 0 3em 0; /* 下部の余白も調整 */
    color: #ffffff;
}

/* フッターエリア内のすべてのテキストとリンクを強制的に白にする */
.footer-widget-4.footer-widget.widget-area,
.footer-widget-4.footer-widget.widget-area li,
.footer-widget-4.footer-widget.widget-area a,
.footer-widget-4.footer-widget.widget-area .footer_sitemap li {
    color: #ffffff !important;
}
/* 念のためリンクのホバー色も調整 */
.footer-widget-4.footer-widget.widget-area a:hover {
    color: #cccccc !important;
}
/* 1. 全体を中央寄せにしつつ、各項目を左揃えにするための設定 */
.footer_sitemap {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center; /* 全体は中央寄せ */
    gap: 40px;               /* 項目間の隙間 */
    align-items: flex-start;
}
/* 2. 各列の幅を固定・制限して、中身を左揃えにする */
.footer_sitemap > li {
    width: 150px;            /* 💡ここを調整（必要な幅を指定） */
    text-align: left;        /* 中身は左揃え */
}
/* 3. 事業内容の親要素（サブメニュー込み）の設定 */
.footer_sitemap .has-submenu {
    width: 180px;            /* 事業名は少し幅を広くとる */
}
/* 4. サブメニュー内の項目も左揃え */
.footer_sitemap .submenu {
    list-style: none;
    padding: 10px 0 0 0;
    margin: 0;
    text-align: left;        /* 左揃えを維持 */
}
/* 5. 下段（lower）のレイアウト調整 */
.footer_sitemap.lower {
    margin-top: 10px;
    justify-content: center;
    gap: 40px;
    display: flex;
}
.footer_sitemap.lower li {
    font-size: 12px;
    width: auto;             /* 下段は文字数に合わせて自然に配置 */
    text-align: center;
}
.footer_sitemap .submenu li {
    font-size: 13px !important;
}
.footer_sitemap .submenu li::before {
    content: "・";
    margin-right: 5px; /* アイコンと文字の間の余白 */
    color: #ffffff;    /* アイコンの色 */
}

.site-bottom {
    background-color: #fff;
    border-top: none !important;
    padding-top: 0;
}
.site-info {
    text-align: center;
    width: 100%;
}

.home .content-area {
    margin-bottom: 4rem;
}
.grecaptcha-badge { visibility: hidden; }
body:lang(ja) {
    font-family: Roboto,"Droid Sans","ヒラギノ角ゴ ProN W3","Hiragino Kaku Gothic ProN","メイリオ",Meiryo,sans-serif;
}
body.blog .footer-widget-2 {
    display: none;
}
header#masthead {
    margin-bottom: 0;
}
header#masthead {
    background-color: #ffda00;
    padding-top: 8px;
}
.main-header.main-header-original {
    background-color: #ffffff;
    padding: 0;
}
.main-header-content {
    background-color: #ffffff;
}
.main-header.main-header-clone.main-header-clone-show {
    padding: 0;
}
.jumbotron-overlay {
    background: linear-gradient(225deg, #fbf1b0 0%, #ffe76a 100%);
}
.jumbotron-content {
    padding-bottom: 45px;
    padding-top: 45px;
}
.jumbotron-title {
    text-shadow: none;
    color: #3e3a39;
    font-size: 26px;
    letter-spacing: 0.1rem;
}
.footer-widget-1.footer-widget.widget-area {
    background: linear-gradient(225deg, #FFFDF0 0%, #FCE881 100%);
    padding-bottom: 2em;
}
.footer-widget-3.footer-widget.widget-area {
    background-color: #fef8d1;
    padding: 4em 0 0 0;
}
.footer-widget-2.footer-widget.widget-area {
    background-color: #f6f7f3;
	padding-bottom: 2em;
}
.footer-widget-4.footer-widget.widget-area {
    background-color: #3e3a39;
    padding: 4em 0 0 0;
}
.footer-widget-5.footer-widget.widget-area {
    border-bottom: none;
}
.footer-widget-5.footer-widget.widget-area p {
    font-size: 12px;
}

a img:hover {
    opacity: 0.8;
    transition: 1.0s;
}
.entry-content h2 {
    padding: 1rem 2rem;
    border-left: 4px solid #2d3e54;
}
.wp-block-button a {
    min-width: 16rem;
    font-size: 1.35rem;
	text-decoration: none;
}
.wp-block-button a:hover {
    color: #fff;
}
.wp-block-button__link {
    background-color: #2d3e54;
}
a.wp-block-button__link {
    text-decoration: none;
    color: #fff;
	border: 2px solid #2d3e54;
}
a.wp-block-button__link:hover {
    background-color: #fff;
    border: 2px solid #2d3e54;
    color: #2d3e54 !important;
    transition: all 0.5s ease 0s;
}
.site-content {
    max-width: 960px;
}
.footer-widget.widget-area {
    border-bottom: 1px solid #e5e5e5;
}
.footer-widget-area {
    padding-top: 0;
	padding-bottom: 0;
}
h2.footer_headline {
    margin-top: 2em;
    margin-bottom: 1rem;
    text-align: center;
    font-size: 3rem;
    font-weight: normal;
    font-family: serif;
    letter-spacing: 0.5rem;
    line-height: 3rem;
}
h2.footer_headline:first-letter {
    color: #e10001;
}
.widget_recent_entries li a {
    border-bottom: unset;
    font-weight: 700;
}
.wp-block-latest-posts__featured-image {
    margin-bottom: 1em;
}
.wp-block-latest-posts {
    border-top: unset;
}
.widget {
    font-size: 95%;
}
.mb0 {
    margin-bottom: 0;
}
.mt4rem {
    margin-top: 4rem;
}
.mt55rem {
    margin-top: 5.5rem;
}
p.mb0 {
    margin-bottom: 0;
}
.menu a[href*="lin.ee"]:before {
    content: "\f3c0";
}
.menu a[href*="x.com"]:before {
    content: "\e61b";
}
.wp-block-table td, .wp-block-table th {
    padding: 1rem;
}
table td:first-child {
    white-space: nowrap;
}

.footer-widget.widget-area {
    width: -webkit-fill-available;
    margin-right: calc(50% - 50vw) !important;
    margin-left: calc(50% - 50vw) !important;
    border-bottom: 1px solid #e5e5e5;
}
aside#block-37, aside#block-40 {
    margin-bottom: 1rem;
}
.breadcrumbs {
    width: 100%;
    margin: -1px auto 5rem auto;
    padding: 0.75rem 0;
    font-size: 1rem;
    letter-spacing: 0.05rem;
    background-color: #f6f7f3;
}
.breadcrumbs_inner {
    white-space: nowrap;
    overflow: auto;
}
.breadcrumbs a {
    color: #000000;
    text-decoration: none;
}
body.home .breadcrumbs {
    display: none;
}
input#wp-block-search__input-1 {
    border: 2px solid #cccccc;
}
button.wp-block-search__button.has-icon.wp-element-button {
    font-size: 10px;
    margin-left: 3px;
    border-radius: 0;
    background-color: #2d3e54;
}
#secondary h2 {
    margin: 0 0 1rem 0;
}
aside#block-1, aside#block-2, aside#block-3, aside#block-4, aside#block-5, aside#block-6 {
    margin-bottom: 2.5rem;
}
ul.wp-block-categories-list.wp-block-categories li {
    margin: 0 0 0.2rem 0;
}
ul.wp-block-categories-list.wp-block-categories li a {
    background-color: #fff;
    line-height: 50px;
    padding: 0 18px;
    width: 100%;
    display: inline-block;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    border: 2px solid #cccccc;
    color: #333333;
}
ul.wp-block-categories-list.wp-block-categories li a:hover {
    border: 2px solid #2d3e54;
    background-color: #2d3e54;
    color: #ffffff;
    transition: 1.0s;
}
.wp-block-archives-dropdown.wp-block-archives {
    position: relative;
    line-height: 54px;
}
.wp-block-archives-dropdown.wp-block-archives select {
    width: 100%;
    display: inline-block;
    padding: 0 18px;
    box-sizing: border-box;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    cursor: pointer;
    line-height: 50px;
    border: 2px solid #cccccc;
    color: #333333;
}
.wp-block-archives-dropdown.wp-block-archives:after {
    position: absolute;
    right: 17px;
    font-family: 'FontAwesome';
    content: "\f107";
}
.back-to-top {
    background: rgba(51,69,89,0.9);
}
.back-to-top:before {
    color: #ffffff;
}
h2.home-header-title {
    font-family: 'Noto Serif JP', serif;
    font-family: 'Playfair Display', serif;
}
.mt0 { margin-top: 0; }
.mb125 { margin-bottom: 1.25em; }
.mb05 { margin-bottom: 0.5em; }
h1.page-title.search-result + p {
    background-color: #f5f5f5;
    padding: 0.3rem 1rem;
    margin-bottom: 0;
}
.wp-block-gallery + p {
    margin-top: 1.8em;
}
.entry-content h2 {
    border-bottom: solid 4px skyblue;
    position: relative;
    padding-bottom: 0.35em;
    border-left: none;
    padding-left: 0;
}
.entry-content h2:after {
    position: absolute;
    content: " ";
    display: block;
    border-bottom: solid 4px #fd7824;
    bottom: -4px;
    width: 20%;
}
.entry-content h3 {
    position: relative;
    padding-left: 1.35em;
    border: none;
    margin-bottom: 1.5em;
}
.entry-content h3:before {
    font-family: 'FontAwesome';
    content: "\f111";
    font-weight: 700;
    position: absolute;
    font-size: 1em;
    left: 0;
    color: #ffda00;
}

.wp-block-columns.is-layout-flex.wp-container-core-columns-is-layout-8f761849.wp-block-columns-is-layout-flex {
    gap: 0.5em;
}
/* カード全体の見た目 */
.before-after .wp-block-column {
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    background-color: #f6f7f3;
}
.before-after .wp-block-column .wp-block-column {
    background-color: #ffffff;
	padding: 20px 20px 0 20px;
}

/* 1. ラベル（ps-label） */
.ps-label {
    background: #00cba9;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8em;
    font-weight: bold;
    align-self: flex-start;
    margin: 0 auto 1rem auto;
}
.wp-block-columns.before-after .ps-label p {
    margin-bottom: 0;
	color : #fff;
}
/* 2. 悩み（ps-problem） */
.ps-problem {
    font-weight: bold;
    line-height: 1.5;
    flex-grow: 1;
    margin-bottom: 20px;
    font-size: 15px;
}

/* 3. 解決策（ps-result） */
.ps-result {
    background: #00cba9;
    color: #fff;
    padding: 16px;
    border-radius: 0 0 8px 8px;
    line-height: 1.5;
    margin: 0 -20px;
    font-size: 15px;
}

/* 親コンテナの設定 */
.client-companies {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.8em !important;
}

/* 各カラム（ロゴが入っている箱）の設定 */
.client-companies > .wp-block-column {
    display: flex !important;
    justify-content: center !important; /* 横中央寄せ */
    align-items: center !important;     /* 縦中央寄せ */
    flex: 1 1 150px !important;         /* 柔軟に伸縮しつつ、幅が狭くなったら折り返す */
}

/* ロゴ画像自体の調整 */
.client-companies .wp-block-image img {
    max-height: 60px !important;       /* 高さを揃える（適宜調整してください） */
    width: auto !important;             /* 横幅は比率を維持 */
    object-fit: contain !important;     /* はみ出し防止 */
}
/* PC--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------*/
@media screen and (min-width: 782px) {
.br-pc {display:inline-block!important;} 
.br-sp {display:none!important;}
.forpc{display:inline-block!important;}
.forsp{display:none!important;} 
.footer-widget-6.footer-widget.widget-area {display: none !important;}
.post-thumbnail a,
.wp-block-latest-posts__featured-image a {
    overflow: hidden;
    display: block;
}
.post-thumbnail a img:hover,
.wp-block-latest-posts__featured-image a img:hover	{
    transform: scale(1.2);
    transition: 0.6s;
}
footer aside {
    width: 960px;
    margin: 0 auto;
}
.breadcrumbs_inner {
    width: 100%;
    margin: 0 auto;
    padding-left: 40px;
    padding-right: 40px;
    max-width: 960px;
}
body.blog .breadcrumbs_inner, body.archive .breadcrumbs_inner, body.category .breadcrumbs_inner, body.search .breadcrumbs_inner, body.single .breadcrumbs_inner {
    max-width: 1120px;
}
.main-header-content {
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 20px;
    padding-right: 20px;
    max-width: 100%;
}
.main-navigation a {
    font-weight: 700;
    letter-spacing: 0.1em;
    font-size: 15px;
    color: #3e3a39;
}
li.btn01 a {
    border: 2px solid #3e3a39;
    padding: 0 30px !important;
    border-radius: 50px;
    line-height: 3rem !important;
    margin-left: 15px;
}
li.btn01 a:hover {
    color: #fff;
	background-color:#3e3a39;
    opacity: 0.8;
}

}
/* SP--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------*/
@media screen and (max-width: 781px) {
.br-sp {display:inline-block!important;} 
.br-pc {display:none!important;} 
.wp-block-latest-posts.is-grid li {margin-right: 0;}
.forpc{display:none!important;} 
.forsp{display:inline-block!important;} 
.footer-widget-6 {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
}
.floatingBnr img {
    width: 49%;
    margin: 0 0.5%;
    float: left;
}
.footer-widget-6.footer-widget.widget-area .widget,
.footer-widget-6.footer-widget.widget-area .wp-block-columns {
    margin-bottom: 0;
}
.back-to-top {
    bottom: 80px;
}
.nowrap table {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    margin-bottom: 3.5rem;
    table-layout: unset !important;
}
.footer-widget-4.footer-widget.widget-area img {
    width: 70%;
    margin: -0.5rem 15%;
}
nav.main-navigation li.menu-item {
    border-bottom: 1px solid #ccc;
    width: 100%;
}
nav.main-navigation li.menu-item ul li:first-child {
    border-top: 1px solid #ccc;
}
nav.main-navigation li.menu-item ul li:last-child {
    border-bottom: none;
}
.footer-widget.widget-area {
    max-width: 720px;
    padding-left: 5%;
    padding-right: 5%;
}
.breadcrumbs {
    margin: -1px 0 3rem 0;
    padding: 1rem 5%;
    display: inline-block;
    overflow: auto;
    white-space: nowrap;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.main-header-content {
    padding-top: 1rem;
    padding-bottom: 1rem;
}
.sidebar-area {
    border-top: solid 1px #ccc;
}
.home-header-content {
    padding-top: 105px;
    padding-bottom: 105px;
}
.home-header {
    background-position: left;
}
aside#block-29 {
    margin-bottom: 2em;
}
li.forsp.menu-item {
    display: block !important;
}
}
/* ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------*/
/************************************
** お問い合わせフォームの入力
************************************/
@media screen and (min-width:769px){
#cf-tbl{
width: 100%;
}
#cf-tbl table {
    width: 100%;
    margin: 0 auto;
    border: 1px solid #ccc;
    padding: 30px;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    background-color: #fff;
    border-collapse: unset;
    margin-bottom: 1.5rem;
}
#cf-tbl table tr {
    width: 100%;
    float: left;
}
#cf-tbl table tr th {
    width: 35%;
    float: left;
    font-weight: 700;
    text-align: left;
    vertical-align: top;
    padding: 20px 10px 10px 10px;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    border: unset;
    background-color: unset;
}
#cf-tbl table tr td {
    width: 65%;
    float: left;
    padding: 20px 10px 10px 10px;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    border: unset;
}
}
@media screen and (max-width:768px){
#cf-tbl table {
    width: 100%;
    margin: 0 auto;
    border: 1px solid #ccc;
    padding: 20px;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-collapse: unset;
    margin-bottom: 1.5rem;
    font-size: 100%;
}
#cf-tbl table tr {
    width: 100%;
    float: left;
}
#cf-tbl table th {
    width: 100%;
    float: left;
    text-align: left;
    border: 0;
    margin: 0 0 10px 0;
    padding: 0 0 1rem 0;
    font-size: 15px;
    border-bottom: 1px solid #ccc;
    background-color: unset;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
#cf-tbl table td {
    width: 100%;
    float: left;
    margin-bottom: 3rem;
    padding: 0;
    border: unset;
}
#cf-tbl table tr td{
border-width: 0px 1px 0px 1px;
}
}
/*「必須」文字デザイン*/
span.wpcf7-list-item {
    display: block;
    margin: 0;
}
#cf-tbl table input.wpcf7-form-control.wpcf7-text, #cf-tbl table textarea.wpcf7-form-control.wpcf7-textarea {
    width: 100%;
    padding: 10px;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    font-size: 100%;
    margin: 0;
    color: #000;
}
form.wpcf7-form p {
    font-weight: 700;
    text-align: center;
}
span.wpcf7-list-item.first {
    margin-left: 0;
}
.required {
    font-size: .8em;
    padding: 5px;
    background: orange;
    color: #fff;
    border-radius: 3px;
    margin-right: 5px;
    font-weight: normal;
}
/*「任意」文字デザイン*/
.optional{
font-size:.8em;
padding: 5px;
background: #172f6a;
color: #fff;
border-radius: 3px;
margin-right: 5px;
    font-weight: normal;
}
/* 入力項目を見やすく */
input.wpcf7-form-control.wpcf7-text, textarea.wpcf7-form-control.wpcf7-textarea {
    width: 100%;
    padding: 8px 15px;
    margin-right: 10px;
    margin-top: 10px;
    margin-bottom: 10px;
    border: 1px solid #d0d5d8;
    border-radius: 3px;
    background-color: #eff1f5;
}
textarea.wpcf7-form-control.wpcf7-textarea {
	height: 200px;
}
span.pp_text {
    text-align: center;
    font-weight: 700;
    display: block;
    margin: 1rem 0;
}
/* 「送信する」ボタン */
input.wpcf7-submit {
    display: block;
    padding: 30px 15px;
    width: 400px;
    background: orange;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    margin: 15px auto 0;
    -webkit-border-radius: 50px;
}
@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;
}