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

/************************************
** 子テーマ用のスタイルを書く
************************************/
/* ============================
* 共通部分
* ========================= */
/* 改行 */
.sp-only {
    display: none;
}

/* 画像ホバー時のエフェクト */
.article a > img:hover {
    opacity: .6;
    transition: all .8s ease;
}

/* 画面の横揺れを防ぐ */
.body {
    overflow-x: hidden;
}

/* divとpのマージンを消す */
.front-top-page div, .front-top-page p {
    margin-bottom: 0;
}

/* リストスタイルのリセット */
.front-top-page .main ul, .front-top-page .main ul li {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    vertical-align: baseline;
    outline: 0;
}

.front-top-page .main ul {
    list-style: none;
}

/* 見出しをリセット */
.article h2 {
    margin-top: 0;
    margin-bottom: 0;
    padding: 0;
    border-radius: 0;
    background-color: transparent;
}

.article h3 {
    margin-top: 0;
    margin-bottom: 0;
    padding: 0;
    border-top: 0;
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
}

/* エントリーカードの一覧に下線をつける */
.ect-entry-card a {
	border-bottom: 1px #4f4f56 dotted;
}

.ect-entry-card :last-child {
	border-bottom: none;
}


/* ============================
* 通常ページのカスタマイズ
* ========================= */
/* 見出し */
.entry-title {
    position: relative;
    margin-bottom: 15px;
    padding: .5em .5em .5em 2.3em;
    border-bottom: solid 3px #258a46;
    border-radius: 4px;
    background: url(https://fukuoka.jpn.com/wp-content/uploads/2022/09/flow-ttl-bg.jpg) repeat left top;
    font-weight: 600;
    font-weight: 600;
    line-height: 1.4;
}

.entry-title:before {
    position: absolute;
    left: .7em; /*左端からのアイコンまでの距離*/
    color: #258a46;
    font-weight: 600;
}

.article h2 {
    margin-bottom: 15px;
    padding: .25em .5em;/*上下 左右の余白*/
    border-left: solid 5px #258a46;/*左線*/
    font-size: 20px;
}

.article h3 {
    margin-bottom: 15px;
    padding: 5px;
    border-bottom: dotted 3px #258a46;
    font-size: 18px;
}

/* アイコン */
.entry-title {
    padding-left: 2.0em; /* アイコンと文字の距離をつめる */
}

.entry-title:before {
    font-family: FontAwesome;
    content: "\f00c";
}

/* 関連記事 */
.widget-single-content-bottom-title{
    position: relative;
    margin-bottom: 15px;
    padding: .5em .5em .5em 2.3em;
    border-bottom: solid 3px #258a46;
    border-radius: 4px;
    background: url(https://fukuoka.jpn.com/wp-content/uploads/2022/09/flow-ttl-bg.jpg) repeat left top;
    font-weight: 600;
    font-weight: 600;
    line-height: 1.4;
	font-size :18px;
}

.widget-single-content-bottom-title:before {
    position: absolute;
    left: .7em; /*左端からのアイコンまでの距離*/
    color: #258a46;
    font-weight: 600;
}

/* 関連記事のアイコン */
.widget-single-content-bottom-title {
    padding-left: 2.0em; /* アイコンと文字の距離をつめる */
}

.widget-single-content-bottom-title:before {
    font-family: FontAwesome;
    content: "\f00c";
}

/* ウィジェットの文字を小さくする(関連記事・サイドバーのお知らせ) */
.no-thumbnail .widget-entry-cards div.widget-entry-card-content {
	font-size: 16px;
}

.widget-related-entry-cards> a {
	border-bottom: 1px #4f4f56 dotted;
}

.widget-related-entry-cards> a:last-child {
    border-bottom: none;
}

/* リストスタイル */
.article ul {
    position: relative;
    padding: .5em 1em .5em 2.3em;
    border: solid 2px #dfd7bf;
    border-radius: 4px;
    background: url("https://fukuoka.jpn.com/wp-content/uploads/2022/09/appeal-bg.jpg") repeat left top;
}

.article ul li {
    list-style-type: none!important;/*ポチ消す*/
    padding: .5em 0;
    line-height: 1.5;
}

.article ul li:before {
    position: absolute;
    left: 1em; /*左端からのアイコンまで*/
    color: #fd994c; /*アイコン色*/
    font-family: FontAwesome;
    content: "\f00c";/*アイコン種類*/
}

.article ol {
    padding: .5em 1em .5em 2.3em;
    border: solid 2px #dfd7bf;
    border-radius: 4px;
    background: url("https://fukuoka.jpn.com/wp-content/uploads/2022/09/appeal-bg.jpg") repeat left top;
}

.article ol p, .article ul p {
	margin-bottom: 0px;
}

/* テーブル（表） */
.article th {
    background: url(https://fukuoka.jpn.com/wp-content/uploads/2022/09/table-bg02.jpg) repeat left top;
}

table th, table td {
    border: 1px solid #dfd7bf;
    background: #ffffff;
}

/* 表の中の箇条書きには余白と背景をつけない */
.article td > ol, .article td > ul {
    margin-bottom: 0;
	background: none;
	border: none;
}

.article td > p {
    margin-bottom: 0;
}

.article th > p {
    margin-bottom: 0;
}


/*見出しの箇条書きには余白と背景をつけない */
.article #toc ol {
    margin-bottom: 0;
	background: none;
	border: none;
}

/* GoogleのreCAPTCHAのロゴを非表示*/
.grecaptcha-badge {
    visibility: hidden;
}

/* ============================
* 通常ページのカスタマイズ-sp
* ========================= */
@media (max-width:480px) {
    /* リストスタイルの装飾（通常記事） */
    .article ul:not(li ul,.toc-list,dd ul,.widget ul,.front-top-page ul) {
        padding-left: 2.5em;
    }

    .article li ul {
        padding-left: 1em;
    }

    /* 見出し */
    .article h2 {
        margin-bottom: 15px;
        font-size: 18px;
    }

    .article h3 {
        font-size: 16px;
    }
}

/* ============================
* トップページのカスタマイズ
* ========================= */
/* 見出しの装飾 */
.front-top-page .top-ttl {
    margin-bottom: 20px;
    padding: 0;
    border-left: none;
    background: transparent !important;
    font-size: 30px;
    text-align: center;
}

.front-top-page .top-txt {
    margin-bottom: 20px;
    font-size: 22px;
    text-align: center;
}

/* トップページのメイン部分 */
.front-top-page .main {
    padding-bottom: 0;/* フッターとメイン部分の余白を消す */
    border: none;
    background-color: transparent;
}

/*フッター*/
.front-top-page .footer {
    margin-top: 0;/* フッターとメイン部分の余白を消す(topページのみ) */
}

.front-top-page .post-1264 {
    margin-bottom: 0;/* フッターとメイン部分の余白を消す */
}

/*フロント固定ページのタイトルと日付を非表示*/
.home.page .entry-title {
    display: none;
}

.date-tags {
    display: none;
}

/* アピールエリアとメイン部分の空白を削除 */
.front-top-page .content {
    margin-top: 0;
}

/* ボタン */
/* 共通部分 */
.btn-common {
    position: relative;
    width: 250px;
    max-width: 100%;
    padding: 5px;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
            transition: .25s;

    -webkit-transition: .25s;
}

.btn-common:after {
    position: absolute;
    right: .3em;
    bottom: .3em;
    border-top: 10px solid transparent;
    border-right: 10px solid;
    content: "";
}

/* 白いボタン */
.btn-primary {
    box-shadow: 0 3px 0 #969285;
    background-color: #ffffff;
    color: #453c1e;
}

.btn-primary:hover {
    color: #f7ba59;
}

/* オレンジのボタン */
.btn-attention {
    display: block;
    box-shadow: 0 3px 0 #fd994c;
    background: url(https://fukuoka.jpn.com/wp-content/uploads/2022/09/btn-attention-bg.jpg) repeat left top;
    color: #453c1e;
}

.btn-attention:hover {
    color: #ffffff;
}

/* ============================
* fluid-box
* ========================= */
/* 画像を画面いっぱいに表示 */
.fluid-box {
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    box-sizing: border-box;
    background-color: transparent;
}

/* 背景を指定 */
.service > .fluid-box, .greet > .fluid-box, .infomation > .fluid-box {
    background-image: url("https://fukuoka.jpn.com/wp-content/uploads/2022/09/header-bg.jpg");
    background-repeat: repeat;
}

.top-banner > .fluid-box, .flow > .fluid-box, .area > .fluid-box {
    background-image: url("https://fukuoka.jpn.com/wp-content/uploads/2022/09/main-bg-blue.jpg");
    background-repeat: repeat;
}

/* ============================
  * wrapper
  * ========================= */
.wrapper {
    max-width: 1256px;
    margin: 0 auto;
    padding: 60px 29px;
    box-sizing: border-box;
}

/* ============================
* ヘッダー
* ========================= */
#header-container {
    position: relative;
    border-bottom: solid 3px #258a46;
    background-image: url("https://fukuoka.jpn.com/wp-content/uploads/2022/09/header-bg.jpg");
    background-repeat: repeat;
}

/* グローバルメニュー*/
.navi {
    background-color: transparent;
}

#navi .navi-in a:hover {
    background-color: #fbab70;
    transition: all .3s ease-in-out;
}

/* ============================
* アピールエリア
* ========================= */
/*コンテンツ上部の画像　全幅にする*/
#content-top-in {
    width: 100%;
}
/*メニューとコンテンツ上部の画像の余白調整*/
#content-top {
    margin-top: 0;
    margin-bottom: 0;
}

/* 下部の余白を消す(ウィジェットid指定) */
#custom_html-2 {
    margin-bottom: 0;
}

/* 画像指定 */
#appeal-wrapper {
    background-image: url("https://fukuoka.jpn.com/wp-content/uploads/2022/09/appeal-bg.jpg");
    background-repeat: repeat;
}

#appeal-wrapper .appeal-img {
    height: 480px;
    background: url("https://fukuoka.jpn.com/wp-content/uploads/2022/09/apeal-img-pc.png") no-repeat 50% 0;
}

.appeal-img {
    display: block;
    overflow: hidden;
    background-repeat: no-repeat;
    text-indent: 100%;
    white-space: nowrap;
}

/* ============================
* 境界確認の手紙-リンク
* ========================= */

.letter-area {
	margin-bottom: 20px !important;
	text-align: center;
}

.letter-area > a {
	font-size: 18px;
	color: red;
}

/* ============================
* トップバナー
* ========================= */
.top-banner .wrapper {
    padding-top: 18px;
}

.top-banner-box {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}

.top-banner-img {
    text-align: center;
}

.top-banner-img img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}

/* ============================
* サービス内容
* ========================= */
.service-box {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-bottom: 30px !important;
}

.service-item {
    width: calc(33.3333333% - 60px / 3);
    min-height: 320px;
    margin-right: 30px;
    padding: 5px;
    border-radius: 5px;
}

.service-box :last-child {
    margin-right: 0;
}

.service-item-01 {
    background-image: url("https://fukuoka.jpn.com/wp-content/uploads/2022/09/service-item-bg01.jpg");
}
.service-item-02 {
    background-image: url("https://fukuoka.jpn.com/wp-content/uploads/2022/09/service-item-bg02.jpg");
}
.service-item-03 {
    background-image: url("https://fukuoka.jpn.com/wp-content/uploads/2022/09/service-item-bg03.jpg");
}

.service-item-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 15px;
    border: 2px dotted #ffffff;
    border-radius: 5px;
}

.service-icon {
    display: flex !important;
    justify-content: center;
    align-items: center;
    opacity: .8;
    margin-bottom: 10px;
    color: #ffffff;
    font-size: 40px !important;
    text-decoration: none;
}

.service .service-ttl {
    margin-bottom: 10px;
    border-bottom: none;
    font-size: 24px;
    text-align: center;
}

.service .service-txt {
    flex-grow: 1;/* 横並び時、一番長いテキストに縦幅を合わせる */
    margin-bottom: 10px;
    padding: 5px;
    border-radius: 2px;
    background-color: rgba(255, 255, 255, .3);
    font-size: 16px;
}

/* ボタン */
.service .btn-attention {
    margin: 0 auto;
}

/* ============================
* ご依頼の流れ
* ========================= */
.flow-inner {
    margin-top: 60px;
}

.flow-box {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.flow-box-item {
    position: relative;
    width: calc(25% - 15px / 4);
    min-height: 320px;
    margin-right: 20px;
    padding: 40px 20px 30px 20px;
    border-radius: 5px;
    background-color: #ffffff;
}

.flow-box :last-child {
    margin-right: 0;
}

/* 円 */
.circle {
    display: flex;
    justify-content: center; /*横中央*/
    align-items: center; /*縦中央*/
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: url("https://fukuoka.jpn.com/wp-content/uploads/2022/09/circle-bg.jpg") repeat left top;
    color: #64523e;
    font-weight: 600;
    line-height: 75px;
    text-align: center; /*行揃えを中央*/
}

.circle-inner {
    width: 75px;
    height: 75px;
    border: 2px dotted #ffffff;
    border-radius: 50%;
}

.flow-box > .flow-box-item .flow-box-img {
    display: block;
    max-width: 100%;
    height: 150px;
    margin: 0 auto 5px;
}

.flow-box > .flow-box-item > .flow-ttl {
    margin-bottom: 15px;
    padding: 5px;
    border-bottom: solid 3px #258a46;
    border-radius: 4px;
    background: url("https://fukuoka.jpn.com/wp-content/uploads/2022/09/flow-ttl-bg.jpg") repeat left top;
    font-weight: 600;
    font-size: 18px;
    text-align: center;
}

.flow-box > .flow-box-item > .flow-txt {
    flex-grow: 1;/* 横並び時、一番長いテキストに縦幅を合わせる */
    font-size: 16px;
}

/* ============================
* ごあいさつ
* ========================= */
.greet-inner {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.greet-inner > img {
    display: block;
    width: 40%;
    margin-right: 30px;
    /* 二重枠線＋背景色 */
    border: double 5px #dfd7bf;
    background-color: #ffffff;
}

/* ============================
* 対応エリア
* ========================= */
/* 見出し */
.front-top-page .ttl-primary {
    position: relative;
    margin-bottom: 20px;
    padding: .5em .5em .5em 2.3em;
    border-bottom: solid 3px #258a46;
    border-radius: 4px;
    background: url("https://fukuoka.jpn.com/wp-content/uploads/2022/09/flow-ttl-bg.jpg") repeat left top;
    font-weight: 600;
    font-weight: 600;
    line-height: 1.4;
}

.front-top-page .ttl-primary:before {
    position: absolute;
    left: 1em; /*左端からのアイコンまでの距離*/
    color: #258a46;
    font-weight: 600;
}

/* 対応エリアの見出しアイコン */
.front-top-page .area-ttl {
    padding-left: 2.0em; /* アイコンと文字の距離をつめる */
}

.front-top-page .area .ttl-primary:before {
    font-family: FontAwesome;
    content: "\f041";
}

/* テキスト */
.front-top-page .area .area-txt {
    margin-bottom: 30px;
}

.front-top-page .area .area-txt:last-child {
    margin-bottom: 0;
}

/* ============================
* お知らせ
* ========================= */
/*サムネイルを非表示  */
.new-entry-card-thumb.widget-entry-card-thumb.card-thumb {
    display: none;
}

.new-entry-card-content.widget-entry-card-content.card-content {
    margin-left: 0;
}

/* 日付を表示する */
.new-entry-card-date {
    display: block;
}

/* 見出しアイコン */
.front-top-page .infomation .ttl-primary:before {
    font-family: FontAwesome;
    content: "\f05a";
}

/* 横並び */
.infomation-box {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.infomation-item {
    width: calc(50% - 20px);
    padding: 15px 20px;
    border-radius: 4px;
    background: #ffffff;
}

.new-entry-cards > a {
    border-bottom: 1px #4f4f56 dotted;
}

.new-entry-cards > a:last-child {
    border-bottom: none;
}

/* ============================
* フッター
* ========================= */
/*
#footer {
    background: url("https://fukuoka.jpn.com/wp-content/uploads/2022/09/footer.jpg") repeat left top;
}

.contact-area {
    width: 100%; /* 全幅を確保 */
}

.contact-inner {
    padding: 40px;
    border-radius: 4px;
    background-color: #ffffff;
}

.contact-ttl {
    margin-bottom: 20px !important;
    font-size: 24px;
    text-align: center;
}

.contact-img {
    width: 400px;
    max-width: 100%;
    height: auto;
    margin: 0 auto 20px !important;
    text-align: center;
}

.number-img {
    vertical-align: bottom;
}

.contact-area .btn-common {
    width: 400px;
    max-width: 100%;
    margin: 0 auto;
    padding: 15px;
    font-size: 20px;
}

.btn-contact-icon {
    font-size: 25px;
}

*/


/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px) {
    /* ヘッダーモバイルボタン */
    .mobile-header-menu-buttons {
        background: url("https://fukuoka.jpn.com/wp-content/uploads/2022/09/header-bg.jpg") repeat left top;
    }
}

/*834px以下*/
@media screen and (max-width: 834px) {
    /* ============================
* アピールエリア
* ========================= */
    #appeal-wrapper .appeal-img {
        height: 80vw;
        background: url("https://fukuoka.jpn.com/wp-content/uploads/2022/09/apeal-img-sp.png") no-repeat;
    }

    .appeal-img {
        background-size: contain!important;
    }

    /* ============================
* トップバナー
* ========================= */
    .top-banner-box {
        display: flex;
        flex-direction: column;
        margin-bottom: -20px !important;
    }

    .top-banner-item {
        margin-bottom: 20px !important;
    }

    .top-banner-img > img {
        margin: 0 auto;
    }

    /* ============================
* ごあいさつ
* ========================= */
    .greet-inner {
        display: flex;
        flex-direction: column;
    }

    .greet-inner > img {
        width: 70%;
        margin: 0 auto 20px;
    }

    /* ============================
* ご依頼の流れ
* ========================= */
    /* 2列にする */
    .flow-box {
        display: flex;
        flex-wrap: wrap; /* 折返し指定 */
    }

    .flow .flow-box-item {
        width: calc(50% - 20px);
        min-height: 320px;
        margin-right: 20px;
        margin-bottom: 60px;
    }

    /* 右にくるカードの右側の余白を消す */
    .flow-box :nth-of-type(2n) {
        margin-right: 0;
    }

    /* 下2つの下の余白を消す */
    .flow-box :nth-last-child(-n+2) {
        margin-bottom: 0;
    }

    /* ============================
* モバイルフッターメニューボタン
* ========================= */
    .mobile-footer-menu-buttons .navi-menu-button:first-of-type {
        background: #e99b2c;
    }

    .mobile-footer-menu-buttons .navi-menu-button:nth-of-type(2) {
        background: #258a46;
    }

    .mobile-menu-buttons .menu-button > a {
        color: #ffffff;
    }

    .mobile-menu-buttons .menu-caption {
      font-size: 12px;
  }
}

/*480px以下*/
@media screen and (max-width: 480px) {
    /* ============================
* 共通
* ========================= */
    /* 改行 */
    .sp-only {
        display: block;
    }

    .pc-only {
        display: none;
    }

    /*  wrapper */
    .wrapper {
        padding: 40px 16px;
    }

    /* 見出し・本文のフォントサイズ */
    .front-top-page .top-ttl {
        font-size: 25px;
    }

    .front-top-page .top-txt {
        font-size: 18px;
    }

    /* テーブル（表） */
    .article table {
        width: 100%;
    }

    /* ============================
* サービス内容
* ========================= */
    /* 縦並びにする */
    .service-box {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .service-box .service-item {
        width: 100%;
        height: 335px;
        margin: 0 0 30px 0;
    }

    .service-box :last-child {
        margin-bottom: 0;
    }

    .service-item-inner {
        width: 100%;
        height: 100%;
    }

    /* 文字を小さく */
    .service .service-ttl {
        font-size: 22px;
    }

    .service .btn-common {
        margin-top: 15px;
    }

    /* ============================
* ご依頼の流れ
* ========================= */
    /* 縦並びにする */
    .flow-box {
        display: flex;
        flex-direction: column;
    }

    .flow-box .flow-box-item {
        width: 100%;
        height: 370px;
        margin: 0 0 60px 0;
    }

    /* タブレットの設定で消した余白を復活 */
    .flow-box:nth-of-type(3n) {
        margin-bottom: 60px;
    }

    /* 最後のカードの下に余白をつける */
    .flow-box :last-child {
        margin-bottom: 0;
    }

    /* ============================
* ごあいさつ
* ========================= */
    .greet-inner > img {
        width: 100%;
        margin: 0 auto 20px;
    }

    /* ============================
* お知らせ
* ========================= */
    /* 縦並びにする */
    .infomation-box {
        display: flex;
        flex-direction: column;
    }

    .infomation-item {
        width: 100%;
        margin-bottom: 30px !important;
    }

    .infomation-box :last-child {
        margin-bottom: 0 !important;
    }

    /* ============================
* フッター
* ========================= */
    .contact-ttl {
        font-size: 18px;
    }
    .contact-area .btn-common {
        font-size: 18px;
    }
}

/* ====================================================================== */
/* ============================
* サービスページ
* ========================= */
/* wrapper */
.service-page-wrapper {
    width: 100%;
    padding-bottom: 70px;
}

/* 導入部分 */
.intro-inner {
    padding: 30px;
    background: url("https://fukuoka.jpn.com/wp-content/uploads/2022/09/appeal-bg.jpg") repeat left top;
}

/* 横並び */
.intro-box {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.intro-box > img {
    display: block;
    width: 50%;
    margin-left: 30px;
    /* 二重枠線＋背景色 */
    border: double 5px #dfd7bf;
    background-color: #ffffff;
}

/* サービスの種類 */
.service-page-work .service-page-wrapper {
    padding-bottom: 0;
}

.work-box {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 30px !important;
}

.work-item {
    position: relative;
    width: calc(50% - 20px);
    min-height: 330px;
    margin-right: 20px;
    margin-bottom: 60px;
    padding: 5px;
    border-radius: 5px;
}

.page-id-1463 .work-item {
    min-height: 300px;
}

/* 背景の設定 */
.page-id-1456 .work-item {
    background: url("https://fukuoka.jpn.com/wp-content/uploads/2022/09/service-item-bg01.jpg") repeat left top;
}
.page-id-1441 .work-item {
    background: url("https://fukuoka.jpn.com/wp-content/uploads/2022/09/service-item-bg02.jpg") repeat left top;
}
.page-id-1463 .work-item {
    background: url("https://fukuoka.jpn.com/wp-content/uploads/2022/09/service-item-bg03.jpg") repeat left top;
}

.work-box :nth-of-type(2n) {
    margin-right: 0;
}

.work-item-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 15px;
    border: 2px dotted #ffffff;
    border-radius: 5px;
}

.work-ttl {
    width: 100%;
    margin-top: 30px;
    text-align: center;
}

.work-ttl h3 {
    margin-bottom: 10px !important;
    border-bottom: dotted 2px #ffffff;
    font-size: 20px;
}

.work-txt-large {
    margin-bottom: 10px !important;
    font-weight: 600;
    font-size: 16px;
    line-height: 1.5 !important;
    text-align: center;
}

.work-txt-small {
    flex-grow: 1;/* 横並び時、一番長いテキストに縦幅を合わせる */
    margin-bottom: 10px;
    padding: 5px;
    border-radius: 2px;
    background-color: rgba(255, 255, 255, .3);
    font-size: 16px;
}

/* 円 */
.work-icon {
    display: flex !important;
    justify-content: center;
    align-items: center;
    opacity: .8;
    color: #675e31;
    font-size: 40px !important;
    line-height: 71px;
    text-decoration: none;
}

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*480px以下*/
@media screen and (max-width: 480px) {
    /* ============================
* サービスページ
* ========================= */
    /* 導入部分 */
    .intro-box {
        display: flex;
        flex-direction: column;
    }

    .intro-box > img {
        order: 1;
        width: 100%;
        margin: 0 auto 20px;
    }

    .intro-txt {
        order: 2;
    }

    /* サービスの種類 */
    .work-box {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        margin-bottom: 0 !important;
    }

    .work-box .work-item {
        width: 100%;
        height: 350px;
    }

    .page-id-1463 .work-item {
        height: 320px;
    }

    .work-box :last-child {
        margin-bottom: 0;
    }
}

/* ====================================================================== */
/* ============================
* サイドバー
* ========================= */
/* 見出し */
#sidebar > .widget {
    border-radius: 10px;
}

.widget_search {
    padding: 0;
}

span.fas.fa-search::before {
    color: #258a46;/*検索マーク色*/
}

.sidebar h3 {
    max-width: 500px;
    margin: 0 auto;
    margin-top: -.5em;
    margin-bottom: 1em;
    padding-bottom: .3em;
    border-bottom: 3px dotted;
    border-color: #258a46;
    border-radius: 0;
    background-color: #ffffff;
    text-align: center;
}

.widget_recent_entries ul li a, .widget_categories ul li a, .widget_archive ul li a, .widget_pages ul li a, .widget_meta ul li a, .widget_rss ul li a, .widget_nav_menu ul li a {
    margin: 6px 0;
    padding: 4px 10px;
    border-radius: 20px;
    background-color: #f7f7f7;
    transition: .4s;
}

.widget_recent_entries ul li a:hover, .widget_categories ul li a:hover, .widget_archive ul li a:hover, .widget_pages ul li a:hover, .widget_meta ul li a:hover, .widget_rss ul li a:hover, .widget_nav_menu ul li a:hover {
    background-color: #90c31f;
    color: #ffffff!important;
}

.tagcloud a {
    background-color: #f7f7f7;
}

.tagcloud a:hover {
    background-color: #90c31f;
    color: #ffffff!important;
    transition: .4s ;
}

.nwa .recommended.rcs-card-margin a {
    width: 90%;
    margin: 0 0 1em;
}

/* wrapper */
.sidebar-wrapper {
    max-width: 500px;
    margin: 0 auto;
    padding-bottom: 5px;
}

/* 業務内容 */
.sidebar-work-item {
    margin-bottom: 15px;
    font-size: 18px;
}

.sidebar-work-item-01 a {
    background: url("https://fukuoka.jpn.com/wp-content/uploads/2022/09/service-item-bg01.jpg") repeat left top;
}
.sidebar-work-item-02 a {
    background: url("https://fukuoka.jpn.com/wp-content/uploads/2022/09/service-item-bg02.jpg") repeat left top;
}
.sidebar-work-item-03 a {
    background: url("https://fukuoka.jpn.com/wp-content/uploads/2022/09/service-item-bg03.jpg") repeat left top;
}

.sidebar-work-item > a {
    display: block;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    padding: 5px;
}

.sidebar-work-item .btn-attention {
    box-shadow: 0 3px 0 #948c6f;
}

.sidebar-work-icon {
    padding-right: 5px;
    font-size: 20px;
}

/* お問い合わせ */
.sidebar-contact-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    border: 1px solid #dfd7bf;
    border-radius: 5px;
}

.sidebar-contact-box > p {
    margin-bottom: 15px;
    border-bottom: 3px dotted #dfd7bf;
    font-size: 18px;
}

.sidebar-contact-box img {
    display: block;
    margin-bottom: 20px;
}

/* 豆知識 */
.sidebar-inform-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    border-radius: 5px;
    font-weight: 600;
}

.sidebar-inform-box-01 {
    background: url("https://fukuoka.jpn.com/wp-content/uploads/2022/09/appeal-bg.jpg") repeat left top;

}
.sidebar-inform-box-02 {
    background: url("https://fukuoka.jpn.com/wp-content/uploads/2022/09/table-bg03.jpg") repeat left top;

}

.sidebar-inform-box img {
    width: 70px;
    height: auto;
}

.sidebar-inform-box p:nth-of-type(2) {
    margin-bottom: 15px;
    font-size: 24px;
}

/* ===== フッター上部お問い合わせ：末尾追記用（PC見切れ防止＋白ボックス全幅化）===== */
/* フッター背景（現状のまま） */
#footer{
  background: url("https://fukuoka.jpn.com/wp-content/uploads/2022/09/footer.jpg") repeat left top;
}

/* 1) まず「左右が空でも幅を取る」問題を潰す
   - 空カラムは非表示
   - 残ったカラムを100%に拡張
*/
#footer .footer-widgets{
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}

/* 古い環境/空判定が効く場合の保険 */
#footer .footer-left:empty,
#footer .footer-center:empty,
#footer .footer-right:empty{
  display: none !important;
}

/* 確実版（左右にウィジェットが無いなら左右を消し、中央を100%にする）
   ※ :has() 対応ブラウザ（Chrome/Edge/Safariの現行）で確実に効く
*/
@supports selector(:has(*)){
  /* ウィジェットが入っていないカラムは消す */
  #footer .footer-left:not(:has(.widget)),
  #footer .footer-center:not(:has(.widget)),
  #footer .footer-right:not(:has(.widget)){
    display: none !important;
  }

  /* 左右が空（=ウィジェット無し）なら中央を100% */
  #footer .footer-widgets:not(:has(.footer-left .widget)):not(:has(.footer-right .widget)) .footer-center{
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }

  /* 中右が空なら左を100%（念のため） */
  #footer .footer-widgets:not(:has(.footer-center .widget)):not(:has(.footer-right .widget)) .footer-left{
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }

  /* 左中が空なら右を100%（念のため） */
  #footer .footer-widgets:not(:has(.footer-left .widget)):not(:has(.footer-center .widget)) .footer-right{
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }
}

/* 2) あなたの問い合わせHTML（contact-area）の見切れ/幅問題を安定化 */

/* このブロックだけ横はみ出しを封じる */
#footer .contact-area{
  width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
}

/* PC見切れの原因になりがちな fluid-box の100vw/translate をフッター内だけ無効化 */
#footer .contact-area .fluid-box{
  position: static !important;
  left: auto !important;
  right: auto !important;
  transform: none !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box;
}

/* wrapperは「中央の枠」を維持（背景が左右に残る） */
#footer .contact-area .wrapper{
  width: 100%;
  max-width: 1256px;
  margin: 0 auto;
  padding: 60px 29px;
  box-sizing: border-box;
}

/* 白ボックスは「親（wrapper）」に対して100% */
#footer .contact-area .contact-inner{
  width: 100%;
  margin: 0;
  padding: 40px;
  border-radius: 4px;
  background: #fff;
  box-sizing: border-box;
  text-align: center;
}

/* 電話画像・ボタン中央寄せの安定化 */
#footer .contact-area .contact-box{
  display: flex;
  flex-direction: column;
  align-items: center;
}

#footer .contact-area .contact-img{
  width: 100%;
  max-width: 400px;
  margin: 0 auto 20px !important;
  text-align: center;
}

#footer .contact-area .number-img{
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
}

#footer .contact-area .btn-common{
  display: block;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  padding: 15px;
  font-size: 20px;
  box-sizing: border-box;
}

#footer .contact-area .btn-contact-icon{
  font-size: 25px;
}

/* 3) SP調整（あなたの既存と同じ意図） */
@media screen and (max-width: 480px){
  #footer .contact-area .wrapper{
    padding: 40px 10px;
  }
  #footer .contact-area .contact-ttl{
    font-size: 18px;
  }
  #footer .contact-area .btn-common{
    font-size: 18px;
  }
}
