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

/* ========================================
   1. 基本設定・全体レイアウト
   ======================================== */
.sp-size{font-size:16px;
}
body {
    font-family: "Zen Kaku Gothic New", sans-serif !important;
    font-weight: 400;
    font-style: normal;
}

p,
h2,
h3,
h4 {
    letter-spacing: 0.1em;
}

p {
    word-break: keep-all;
    line-height: 2.2em;
}
.single p {

    padding: 20px;

}

a:hover {
    text-decoration: none;
}

a:hover img {
    opacity: 0.7;
    transition: opacity 0.5s;
}

.sp {
    display: none;
}
 .pc {
        display: block;
    }
.main {
    padding-left: 100px;
    padding-right: 100px;
    background: none !important;
	padding-top:0!important;
}
.home .content {
    margin-top: 0;
}
.content {
    margin-top: 50px;
}
.w-box {
    width: 870px;
    margin: 0 auto;
}

.alignwide {
    margin-left: calc(50% - 640px);
    margin-right: calc(50% - 640px);
    width: 1280px;
}

.alignfull,
.footer {
    margin: 0 calc(50% - 50vw);
    width: 100vw;
}

.p-big {
    font-size: 20px;
}

/* ショートコードで出した全文表示のスタイル調整 */
.new-entry-article-body {
    margin-top: 20px;
    padding: 20px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.new-entry-article-body img {
    max-width: 100%;
    height: auto;
}

.miyoshi-logo img {
    width: 300px;
}

.wp-block-navigation__container {
    gap: initial;
}

.sp-blend-title,
.sp-kamo-title {
    display: none;
}

.about-box a {
    padding-left: 2em;
    text-decoration: none;
}
a{text-decoration:none;}
/* ========================================
   2. ヘッダー・ナビゲーション
   ======================================== */
#header-container, #header-container .navi, #navi .navi-in>.menu-header .sub-menu {
    background-color: #fff;

}
.header-container-in.hlt-top-menu {
    display: flex;
    justify-content: space-between!important;
	align-items: flex-start;}
.header-container {
    padding: 20px 0;
}

.header-container-in.hlt-top-menu .logo-header img {
    height: 60px;    margin:10px;
}

.navi-in > ul {
    gap: 20px;
}

.navi-in > ul li {
    height: 28px;
}

.navi-in > ul li a {
    display: block;
    position: relative;
    padding: 2px 5px;
    border-radius: 20px;
    margin-top: 10px;
    font-size: 15px;
}

/* ナビボタン色分け */
.m-kamo a {
    background: #de6a42;
    color: #fff !important;
}

.m-soudan a {
    background: #e3c87c;
    color: #836954;
}

.m-project a {
    background: #9e8470;
    color: #fff !important;
}

/* ========================================
   3. コンテンツパーツ（ボックス・画像）
   ======================================== */

.p01box {
    padding: 50px;
    border-radius: 30px;
    background: #dfd0bd;
    margin: 60px 0 !important;
}

.p01box h3 {
    border: none;
    text-align: center;
    padding: 60px 0 !important;
}

.p01box p {
    text-align: center;
    padding: 20px 0;
}

.p02box {
    padding: 60px;
    border-radius: 30px;
    background: #dfd0bd;
    margin-top: -60px;
    position: relative;
}

.p02box h3 {
    position: absolute;
    left: 0;
    top: 50px;
    width: 279px;
    padding: 10px 20px !important;
    font-size: 30px !important;
    font-weight: 600 !important;
    letter-spacing: 0.1em;
    text-align: center;
    background: url("https://kamo.miyoshi-kensetsu.jp/heights/wp-content/uploads/2025/12/bk-story.png") no-repeat left center;
    background-size: cover;
}

.img-shadow img,
.wp-block-post-featured-image img {
    background: #fcfdfd;
    box-shadow: 30px 30px 0 #e9562d;
    border-radius: 30px;
    margin-bottom: 100px;
}

.wp-block-separator,
.wp-block-post-date {
    display: none;
}

.wp-block-query {
    margin: 50px 0 100px 0;
}

.home .eye-catch {
    display: none;
}

.eye-catch img,
.topslider,
.topslider img,
.product-img img,
.card-thumb img {
    border-radius: 30px;
}

.eye-catch img {
    margin-bottom:2em;
}

.metaslider .flex-control-nav {
    border: 0;
    margin: auto;
    list-style: none;
    padding: 0;
    bottom: 20px !important;
    line-height: 11px;
    z-index: 2;
}

/* ========================================
   4. タイトル装飾 (Sections)
   ======================================== */

.article h3 {
    border: 0;
    padding: 0;
    font-size: 30px;
    font-weight: 600;
}

.top-img img {
    margin: 120px auto 20px auto;
    z-index: 999 !important;
    position: sticky;
}

.section-title {
    position: relative;
    height: 40px;
    margin-top: 100px !important;
    margin-bottom: 80px !important;
    background-image: linear-gradient(to right, #604023 0%, #604023 50%, transparent 50%);
    background-size: 100vw 40px;
    background-repeat: no-repeat;
    background-position: center left;
    display: flex;
    align-items: center;
}

.section-title h2 {
    font-size: 30px;
    font-weight: 600;
    letter-spacing: 0.1em;
    line-height: 1;
    background: url("http://kamo.miyoshi-kensetsu.jp/heights/wp-content/uploads/2025/12/bk-kamo-title.svg") no-repeat left center;
    background-size: auto 40px;
    padding:10px 0 5px 80px;
    width: 1000px;
}

.section-title span {
    font-size: 16px;
    font-weight: 600;
    color: #6a3e1e;
	letter-spacing: 0;
}

.bk-yellow {
    background: #eae059;
    padding: 0 0 0 1em;
}

.cat-label {
    display: none;
}
.header-container-in .hlt-top-menu {
    display: flex;
    justify-content: space-between;
    align-items: flex-start!important;
    align-content: center;
}
/* ========================================
   5. 記事カード・リスト表示
   ======================================== */

.entry-card-title {
    font-weight: 600;
}

.widget-entry-cards .a-wrap {
    padding: 0;
}

.widget-entry-cards.card-large-image .a-wrap {
    max-width: 1000px;
    width: 100%;
}

.list,
.product-img .new-entry-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.top-kiji {
    display: block;
    max-width: 970px;
}

.top-kiji img {
    box-shadow: 30px 30px 0 #e9562d;
}

.top-kiji .new-entry-card-title {
    font-size: 24px;
    margin-bottom: 1em;
}

.top-kiji .new-entry-card-content {
    padding: 20px !important;
    margin: 50px auto 100px auto !important;
}

.top-kiji .widget-entry-card-snippet {
    font-size: 16px;
    opacity: 0.8;
    word-break: keep-all;
    line-height: 2.2em;
}

.ect-3-columns .entry-card-wrap {
    width: auto;
    padding: 7px;
}

/* ========================================
   6. フォーム (Contact Form 7)
   ======================================== */
input[type=submit]{
    padding: 20px;
    width: 100%;
    margin: 2em 0;
    cursor: pointer;
    border-radius: 5px;
}
.wpcf7 p {
    display: inline;
}

.wpcf7-form {
    font-weight: normal;
}

.wpcf7-radio {
    display: flex;
    flex-direction: column;
}

.wpcf7 textarea {
    height: 20em;
    font-size: 16px;
    line-height: 1.4;
    color: #9e8470;
}

.wpcf7-submit {
    -webkit-appearance: none;
    border: 1px solid var(--cocoon-thin-color);
    background-color: #604023 !important;
    color: #eee !important;
}

.wpcf7-submit:hover {
    background-color: #836954 !important;
    color: #fff !important;
}

.wpcf7-form input {
    margin-bottom: 20px !important;
}

.contact-rei {
    font-size: 14px;
    color: #777;
    line-height: 1em !important;
    padding: 0 20px 20px 20px;
}

.contact-rei span {
    color: #999;
}

/* ========================================
   7. フッター
   ======================================== */



.footer-right,
.footer-center {
    display: none;
}
.entry-title{
    font-size: 26px;
	margin: 30px;}
.post .entry-content img {
    margin: 3em 0;
	border-radius:30px;
	width:100%;
}

#footer .wrap {
    width: 1040px;
    padding: 60px 0;
    letter-spacing: 0.1em;
}

.footer-menu-pc {
    list-style: none;
    max-width: 300px;
    width: 300px;
}

.footer-menu-pc li {
    position: relative;
}

.footer-menu-pc li a::before {
    content: ">";
    position: absolute;
    left: 0;
    opacity: 0.8;
}

.footer-menu-pc li a {
    position: relative;
    padding-left: 2em !important;
}

.footer-menu-pc li a:hover {
    color: #fff !important;
    background: none !important;
}
.footer-widgets .wp-block-image{margin-bottom:3em;}
/* ========================================
   8. レスポンシブデザイン
   ======================================== */

/* タブレット以下 (834px) */
@media screen and (max-width: 834px) {
    p,
    h2,
    h3,
    h4 {
        letter-spacing: 0.1;
    }

    .sp-box {
        flex-direction: column-reverse;
    }

    .w-box {
        width: 100%;
    }

    .img-s img {
        width: 70%;
        margin: 0 20px 0 auto;
    }

    .img-m img {
        width: 85%;
        margin: 0 auto;
    }

    .alignwide {
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
        width: auto;
    }

    .tate {
        font-size: 26px;
        margin: 0 auto 20px auto !important;
    }

    .product-img img,
    .topslider,
    .topslider img {
        border-radius: 20px;
    }

    .product-img {
        display: flex;
    }

    .product-img .new-entry-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .wp-block-gallery {
        gap: 20px;
    }
}

/* スマホ (480px以下) */
@media screen and (max-width: 480px) {
    .has-bottom-margin.is-style-bottom-margin-6em {
        margin-bottom: 3em !important;
    }

    p {
        word-break: break-word;
    }

    .no-sidebar .content .main {
        margin: 0;
        width: 100%;
        padding: 30px;
    }

    #footer .wrap {
        width: 100%;
        padding: 100px 0;
    }

    .p01box {
        padding: 20px;
        border-radius: 20px;
        margin: 30px 0 !important;
    }

    .p01box h3 {
        padding: 30px 0 !important;
        margin: 0 !important;
    }

    .p01box p {
        padding: 10px 0;
    }

    .p02box {
        padding: 100px 20px 20px 20px;
        border-radius: 20px;
        margin-top: -80px;
    }

    .p02box h3 {
        top: 30px;
        width: 180px;
        padding: 10px !important;
        font-size: 22px !important;
        background-size: auto 34px;
    }

    .section-title {
        margin-top: 50px !important;
        margin-bottom: 60px !important;
        background-image: none;
    }

    .section-title h2 {
        font-size: 22px;
        line-height: 1;
        background-size: auto 35px;
        padding: 0 0 0 60px;
        width: 100vw;
        height: 35px;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .section-title span {
        font-size: 14px;
        padding-top: 5px;
    }

    .sp-blend-title {
        font-size: 16px !important;
        display: block;
        line-height: 2.4em;
    }

    .sp-blend-title span {
        font-size: 32px !important;
    }

    .sp-kamo-title {
        font-size: 16px !important;
        display: block;
        color: #de6a42;
        line-height: 2.4em;
    }

    .sp-kamo-title span {
        font-size: 28px !important;
    }

    .about-box {
        box-shadow: 10px 10px 0 #dfd0bd;
        padding: 40px 20px;
        border-radius: 20px;
        margin: 10px 0;
    }

    .about-box span {
        flex: 0 0 5em;
        padding: 0;
    }
	.entry-content{
		margin:0 0 8em 0!important
	}
    .entry-content p{
        line-height: 1.8;
    }

    .staff {
        margin: 0 60px;
        gap: 50px;
    }

    .eye-catch img,
    .article h3 {
        font-size: 20px;
    }

    .sp {
        display: block;
    }
    .pc {
        display: none;
    }
    .alignright {
        float: none;
        margin: 0 auto;
    }

    .footer-menu {
        max-width: 400px;
        width: 100vw;
    }

    #footer .wrap {
        width: 100vw;
        padding:0 20px 20px 20px;
    }

    #footer img {
        width: 100%;
    }

    .header-container {
        padding: 0;
    }

    .wrap {
        width: auto;
        margin-top: 0;
    }

    .content {
        margin-top: 0;
    }

    .list {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .eye-catch img {
        margin-bottom: 30px;
    }

    .story-in {
        width: 100%;
    }

    .top-img img {
        width: 60%;
        margin:50px auto 20px auto;
    }

    .img-shadow img,
    .wp-block-post-featured-image img {
        background: #fcfdfd;
        box-shadow: 14px 14px 0 #e9562d;
        border-radius: 20px;
        margin-bottom: 50px;
    }

    .wp-block-query {
        margin: 50px 0;
    }

    .header-container-in {
        display: flex;
        justify-content: space-between;
        align-items: center;
        align-content: center;
    }

    .article ul {
        padding-left: 0px;
    }

    .p-big {
        font-size: 16px;
        line-height: 2em !important;
        text-align: left;
    }

    /* モバイルメニュー関連 */
    .mobile-header-menu-buttons {
        top: 0;
        bottom: auto;
        justify-content: space-between;
        min-width: 46px;
        box-shadow: none;
    }

    .mobile-menu-buttons {
        background: none;
        display: flex;
        align-items: stretch;
        flex-direction: row-reverse;
    }

    #search-menu-open {
        display: none !important;
    }

    .navi-menu-caption {
        display: none !important;
    }

	.header-container-in.hlt-top-menu {
    display: flex;
    justify-content: space-between !important;
    align-items: center;
}
    .header-container-in.hlt-top-menu .logo-image {
        padding: 0;
        margin: 20px auto;
        width: 80%;
    }

    .mobile-menu-buttons .menu-button {
        width: 100px;
        padding: 10px 5px;
        display: flex;
        align-items: center;
        justify-content: center;
        letter-spacing: 0 !important;
    }

    .menu-content .menu-drawer {
        padding: 30px;
    }

    .menu-drawer li {
        display: block;
        margin-bottom: 20px;
        position: relative;
    }

    .menu-drawer li a::before {
        content: ">";
        position: absolute;
        left: 0;
        opacity: 0.8;
    }

    .menu-drawer li a {
        padding-left: 2em !important;
        color: #dfcfbc;
    }

    .menu-drawer li a:hover {
        color: #fff !important;
        background: none !important;
    }

    .body,
    .menu-content {
        font-size: 16px;
        background: #836954;
    }

 }
@media screen and (max-width: 1023px) {
    .mobile-footer-menu-buttons {
        background: #dfcfbc;
		flex-direction: row-reverse;

    }
/* フッターモバイルボタンのカスタムアイコンを正しく表示させるコード */

/* 1. 元のFont Awesomeアイコンを非表示にする */
#footer-mobile-buttons .menu-button:nth-child(1) .fa,
#footer-mobile-buttons .menu-button:nth-child(1) .fas,
.my-original-icon-p .fa,
.my-original-icon-p .fas,
.my-original-icon-d .fa,
.my-original-icon-d .fas {
    display: none!important;
}

/* 2. カスタムアイコンを::beforeで背景画像として表示 */
.menu-button:nth-of-type(2) .fa-star:before {
    content:""!important;
    display: block;
    width: 22px;
    height: 18px;
    margin: 0 auto;
    background-image: url("https://kamo.miyoshi-kensetsu.jp/heights/wp-content/uploads/2025/12/icon-miyosi.svg")!important;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.menu-button:nth-of-type(3) .fa-star:before {
    content:"";
    display: block;
    width: 22px;
    height: 18px;
    margin: 0 auto;
    background-image: url("https://kamo.miyoshi-kensetsu.jp/heights/wp-content/uploads/2025/12/icon-blog.svg")!important;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* 3. アイコン下のラベル文字色（調整用） */
.mobile-menu-buttons .menu-icon {
    text-align: center;
    width: 100%;
    display: block;
    font-size: 19px;
    color: #de6a42;
}
.map {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    /* 16:9のアスペクト比 */
    height: 0;
}

.map iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
	.mobile-menu-buttons .menu-caption{color:#de6a42}
	.entry-title {
    font-size: 22px;
    margin:0 0 1em 0;
		padding:0;
}
.single p {
    padding: 0px;
}
.bk-yellow {
    background: #eae059;
    padding: 0;
}
 .e-card-title {
        font-size: 14px;
    }
.post .entry-content img,.eye-catch img,.card-thumb img {
        border-radius: 20px;

    }
	.ect-3-columns .entry-card-wrap {
    width: auto;
    padding: 0;
}
.sp-size{font-size:12px;
}
}