@charset "UTF-8";
/*
Theme Name: HANA-BIRA
Theme URI: https://force0401.com/
Description: HANA-BIRA Corporate Website Theme
Author: KOKORO企画
Author URI: https://force0401.com/
Version: 1.0.0
Text Domain: hana-bira
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: corporate, business, beauty, multilingual
*/

/* Import common styles */
@import url('common.css');

/* sub-page common
---------------------------------------- */
/* header */
.sub-header-wrapper {
    margin-top: -100.5vh;
}
.sub-header img {
    position: relative;
    width: 100%;
    height: 250px;
    object-fit: cover;
    z-index: -10;
}
.sub-header {
    position: relative;
    width: 100%;
}
.sub-header h2.section-ttl {
    margin-top: -95px;
    padding-left: 8%;
    width: 100%;
}

/* crumbs list */
.crumbs {
    max-width: 1520px;
    margin: auto;
    padding: 0 8%;
    display: flex;
    justify-content: right;
}
.crumbs ol {
    margin: 10px 0 10px;
    display: flex;
    white-space: nowrap;
    flex-wrap:wrap;
    justify-content: right;
    font-size: 0.687rem;
}
.crumbs ol li {
    list-style: none;
    font-weight: 500;
    overflow-x: scroll;
    font-weight: 400;
    /* IE, Edge 対応 */
    -ms-overflow-style: none;
    /* Firefox 対応 */
    scrollbar-width: none;
    }
    /* Chrome, Safari 対応 */
    .crumbs ol li::-webkit-scrollbar {
    display:none;
    white-space: nowrap;
}
.crumbs ol li:not(:last-child) {
    position: relative;
    padding-right: 30px;
    margin-right: 10px;
}
.crumbs ol li:not(:last-child) ::after {
    content: "";
    display: block;
    position: absolute;
    width: 10px;
    height: 1px;
    background-color: #C375BA;
    top: 10px;
    right: 5px;
}
.crumbs ol li a {
    color: #2C2C2C;
    cursor: pointer;
    transition: .4s;
}
.crumbs ol li a:hover {
    opacity: 0.8;
}

/* Service page
---------------------------------------- */
#service-page {
    margin-top: 40px;
}
#service-page .service-content {
    margin-bottom: 100px;
}
#service-page .img-wrapper {
    margin-bottom: 10px;
}
#service-page .img-wrapper img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 15;
    object-fit: cover;  
}
#service-page .text-wrapper h3 {
    margin-top: 10px;
    margin-bottom: 30px;
    font-size: 0.875rem;
}
span.service-num-pc {
    display: none;
}
span.service-num-sp {
    font-size: 1.1875rem;
    color: #C375BA;
}

/* Company page
---------------------------------------- */
#philosophy .section-ttl,
#overview  .section-ttl {
    text-align: center;
}

#overview {
    max-width: 1520px;
    margin: 0 auto;
    margin-bottom: 220px;
}
#overview dl {
    padding: 0 8%;
    margin-top: 40px;
    margin-bottom: 200px;
}
#overview dl div {
    margin-top: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #E8E8E8;
}
#overview dl div:last-child {
    margin-bottom: 0;
}
#overview dl dt {
    margin-bottom: 10px;
}
#overview dl dd a {
    color: #C375BA;
}
#overview dl dd a:hover {
    opacity: 0.6;
}
#overview dl dt,
#overview dl dd {
    margin-left: 20px;
}

/* News archive page
---------------------------------------- */
#news-archive {
    max-width: 1000px;
    margin: auto;
    padding: 0 8%;
    margin-top: 40px;
}
#news-archive .news-ttl {
    width: 100%;
    font-size: 0.937rem;
}
#news-archive .news-date {
    width: 20%;
}
#news-archive .news-ttl {
    width: 70%;
}

/* News 記事page
---------------------------------------- */
#news-article {
    max-width: 1000px;
    margin: auto;
    padding: 0 8%;
    margin-top: 40px;
}
#news-article article h3 {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #E8E8E8;
}
#news-article .news-date {
    margin-bottom: 20px;
    font-size: 0.875rem;
}

/* 一覧に戻る */
.news-article-back {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 50px 0 100px;
}
.article-back {
    position: relative;
    padding-left: 25px;
    flex: 1;
    text-align: left;
    pointer-events: none; /* リンクがない場合クリックを無効化 */
}
.article-back a {
    pointer-events: auto; /* リンク自体はクリック可能 */
}
.archive-center {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 10; /* 他の要素より前面に */
}
.article-next {
    position: relative;
    padding-right: 25px;
    flex: 1;
    text-align: right;
    pointer-events: none; /* リンクがない場合クリックを無効化 */
}
.article-next a {
    pointer-events: auto; /* リンク自体はクリック可能 */
}
.article-back a,
.archive-center a,
.article-next a {
    color: #2C2C2C;
}
.article-back a:hover,
.archive-center a:hover,
.article-next a:hover {
    color: #9A9A9A;
}
.article-back a::before {
    content: "";
    margin: auto;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 2px;
    width: 10px; 
    height: 10px;
    border-top: 1px solid #2C2C2C;
    border-right: 1px solid #2C2C2C;
    transform: rotate(225deg);
}
.article-next a::after {
    content: "";
    margin: auto;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 2px;
    width: 10px; 
    height: 10px;
    border-top: 1px solid #2C2C2C;
    border-right: 1px solid #2C2C2C;
    transform: rotate(45deg);
}
.article-back a:hover::before,
.article-next a:hover::after {
    transition: .3s;
    border-color: #B5B4B2;
}

/* Contact page
---------------------------------------- */
#contact-form {
    max-width: 800px;
    margin: auto;
    padding: 40px 8% 0;
    position: relative;
    z-index: 0;
}
.sub-contact form {
    margin-top: 30px;
}
.contact dl {
    margin-top: 40px;
}
.form-content dt {
    margin-bottom: 5px;
}
.form-content dt span {
    display: inline-block;
    margin-left: 4px;
    color: #C375BA;
}
.form-content span.contact-optional {
    background: #F5F5F5;
}
/* form */
.form-content {
    margin-bottom: 35px;
}
.textarea {
    margin-bottom: 0;
}
.contact-supplement {
    margin-bottom: 40px;
    text-align: right;
    color: #C375BA;
}
input,
textarea {
    width: 100%;
    padding: 10px;
    font-weight: 400;
    background: #F5F5F5;
}
textarea {
    width: 100%;
    padding: 10px;
    height: 130px;
}
.contactform-btn {
    display: block;
    margin: auto;
}
.contactform-btn a::after {
    display: none;
}
.contactform-btn input {
    display: block;
    width: 260px;
    margin: auto;
    margin-top: 30px;
    padding: 15px 0;
    border: 1px solid #2C2C2C;
    border-radius: 80px;
    text-decoration: none;
    text-align: center;
    color: #2C2C2C;
    background: none;
    transition: .3s;
}
.contactform-btn input:hover {
    color: #FFF;
    background-color: #C375BA;
    border: 1px solid #C375BA;
}

/* message 入力してください */
.wpcf7-not-valid-tip {
	color: #dc3232;
	font-size: 0.875rem;
	font-weight: normal;
	display: block;
    text-align: right;
}
/* spinner 非表示 */
.wpcf7-spinner {
    display: none!important;
}
/* message 送信エラー */
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output,
.wpcf7 form.sent .wpcf7-response-output,
.wpcf7 form.spam .wpcf7-response-output {
    margin: 0;
    margin-top: 30px;
    text-align: center;
    font-size: 0.875rem;
    border: none;
}


/* -----------------------------
	SP 〜420px
-------------------------------- */
@media screen and (max-width: 420px){
    /* sub-page common
    ---------------------------------------- */
    /* header */
    .sub-header-wrapper {
        margin-top: -103.4vh;
    }
}

/* -----------------------------
	tablet 760px〜
-------------------------------- */
@media screen and (min-width: 760px){
    /* common */
    .crumbs {
        margin-bottom: 100px;
    }

    /* philosophy */
    #philosophy {
        max-width: 1200px;
        margin: auto;
        padding: 0 4%;
    }
    #philosophy p {
        margin-bottom: 150px;
    }

    /* company */
    #overview {
        max-width: 1000px;
        margin: auto;
        padding: 0 4%;
    }
    #overview dl {
        padding: 0;
    }
    #overview dl div {
        display: flex;
    }
    #overview dl dt {
        width: 30%;
        margin-bottom: 0!important;
    }
    #overview dl dd {
        width: 70%;
    }
}

/* -----------------------------
	PC向け 961px〜
-------------------------------- */
@media screen and (min-width: 961px){
    /* sub-page common
    ---------------------------------------- */
    /* header */
    .sub-header img {
        height: 280px;
    }
    .sub-header h2.section-ttl {
        max-width: 1520px;
        margin: auto;
        margin-top: -100px;
        padding-left: 3%;
        left: 0;
    }
    .sub-header h2.section-ttl .section-ttl-jp {
        font-size: 0.875rem;
    }
    .sub-header:before {
        width: 32%;
        height: 65px;
        top: 220px;
    }
    .sub-header:after {
        top: 218px;
    }
    
    /* crumbs list */
    .crumbs {
        max-width: 1520px;
        margin-top: 15px;
        padding: 0 3%;
    }
    .crumbs ol {
        font-size: 0.75rem;
    }

    /* Service page
    ---------------------------------------- */
    .service-num-sp {
        display: none;
    }
    #service-page .service-num-pc {
        display: block;
        margin-bottom: 0;
        font-size: 1.1875rem;
        color: #C375BA;
    }
    #service-page .service-content {
        width: 100%;
        margin-bottom: 200px;
        display: flex;
        justify-content: space-between;
    }
    #service-page .service-content .img-wrapper {
        width: 33%;
    }
    #service-page .service-content .text-wrapper {
        width: 55%;
    }
    #service-page .text-wrapper h3 {
        margin-top: 0;
        margin-bottom: 60px;
        font-size: 1.125rem;
    }
    #service-page .service-content02 {
        flex-direction: row-reverse;
    }


    /* News page
    ---------------------------------------- */
    .sub-news-list {
        padding: 0 3%;
        margin-bottom: 200px;
    }

    #news-article .news-date {
        font-size: 1rem;
    }
    #news-article .news-date {
        font-size: 1.125rem;
    }

    /* Contact page
    ---------------------------------------- */
    #contact-form {
        padding: 0 4%;
    }
    /* form */
    .form-content:last-child {
        margin-bottom: 60px;
    }
    /* message 送信エラー */
    .wpcf7 form.invalid .wpcf7-response-output,
    .wpcf7 form.unaccepted .wpcf7-response-output,
    .wpcf7 form.payment-required .wpcf7-response-output,
    .wpcf7 form.sent .wpcf7-response-output,
    .wpcf7 form.spam .wpcf7-response-output {
        font-size: 1rem;
    }
}