/*   
Theme Name: aluhi_2024
*/
@charset "UTF-8";

/* Repeatable Patterns
----------------------------------------------------*/

html {
    font-size: 62.5%;
}

html.is-scroll-prevent {
    height: 100%;
    overflow: hidden;
}

body {
    background: #F5F5F5;
    color: #000000;
    font-family: "Figtree", "Noto Sans JP", sans-serif;
    font-weight: 500;
    line-height: 1;
    letter-spacing: .02rem;
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.all_container{
    position: relative;
    overflow: hidden;
}

/* print setting */
@media print {
    html {
        font-size: 38%;
    }

    body {
        -webkit-print-color-adjust: exact;
    }
}

h1,
h2,
h3,
h4,
h5,
h6,
p{
    margin: 0;
}


h1,
h2,
h3,
h4,
h5,
h6{
    font-weight: 700;
}

ul {
    margin: 0;
}

a {
    color: #000000;
    text-decoration: none;
    transition: 0.3s ease-out;
}

a:hover {
    color: #f34d22;
}

a img {
    transition: 0.3s ease-out;
}

a:hover img {
    
}

::-moz-selection {
    background: #000000;
    color: #fff;
    text-shadow: none;
}

::selection {
    background: #000000;
    color: #fff;
    text-shadow: none;
}

figure{
    margin: 0;
}

img {
    width: 100%;
    height: auto;
    max-width: none !important;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

@media screen and (-webkit-min-device-pixel-ratio: 0) and (min-resolution: .001dpcm) {
    img {
        image-rendering: -webkit-optimize-contrast;
    }
}

svg {
    fill: currentcolor;
    vertical-align: middle;
}

svg + * {
    vertical-align: middle;
}


ul {
    list-style-type: none;
    padding: 0;
}

input,
textarea,
button {
    font-family: "Figtree", "Noto Sans JP", sans-serif;
    font-weight: 500;
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
    background: none;
    border-radius: 0;
    transition: 0.3s ease-out;
    cursor: pointer;
    color: #000000;
    border: none;
}

.flex {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}


/*テキスト*/
.text_01 {
    font-size: 1.8rem;
    line-height: 1.5;
    text-align: justify;
}

.text_02 {
    font-size: 1.7rem;
    line-height: 1.8;
    text-align: justify;
}

.en{
    font-family: "Figtree", sans-serif;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .08rem;
}

/*リンク*/

.link_box{
    width: 26rem;
    height: 6rem;
    font-size: 2rem;
    margin: auto;
    color: #fff;
    background: #000;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
    z-index: 1;
    border-radius: 50vmax;
}

.link_box::after {
    color: #fff;
    background: #f34d22;
    position: absolute;
    top: 0;
    left: 0;
    content: '';
    width: 100%;
    height: 100%;
    transform: scale(0, 1);
    transform-origin: left top;
    transition: .2s cubic-bezier(0.45, 0, 0.55, 1);
    z-index: -1;
}

.link_box .en{
    font-weight: 700;
}

.link_box:hover {
    color: #fff;
}

.link_box:hover::after {
    transform: scale(1, 1);
}

.link_box span::after {
    position: absolute;
    content: "";
    top: 0;
    bottom: 0;
    right: 2rem;
    margin: auto;
    border-top: solid 2px;
    border-right: solid 2px;
    width: 8px;
    height: 8px;
    transform: rotate(45deg);
    z-index: 2;
}

/*アニメーション*/
.fadein {
    opacity: 0;
    transition: 2s ease-out;
}

.fadein.scrollin {
    opacity: 1;
}

@media print {
    .fadein {
        opacity: 1;
    }
}

/* メインヘッダー
----------------------------------------------------*/

.main_header {
    width: 20%;
    top: 0;
    left: 0;
    position: fixed;
    min-height: 100vh;
    min-height: 100dvh;
    background: #fff;
    justify-content: center;
    align-items: center;
    padding: 8rem 2%;
    box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.06)
}

.main_logo,
.related_nav_item{
    max-width: 14.5rem;
    margin: auto;
}

.header_nav {
    padding-top: 8.8rem;
}

.main_nav_item + .main_nav_item {
    padding-top: 3rem;
}

.main_nav_link {
    display: block;
    font-size: 1.7rem;
    font-weight: 700;
}

.main_nav_link span{
    font-size: 76%;
    text-transform: none;
}

.hs_btn {
    position: relative;
    cursor: pointer;
}

.hs_btn::before,
.hs_btn::after {
    display: block;
    content: '';
    background-color: #000000;
    position: absolute;
    width: 1.2rem;
    height: .2rem;
    top: -.2rem;
    bottom: 0;
    right: 0;
    margin: auto;
    transition: 0.3s ease-out;
    opacity: 1;
}

.hs_btn::after,
.hs_btn::after {
    transform: rotate(90deg);
}

.hs_btn.open::after,
.hs_btn.open::after {
    opacity: 0;
}

.hs_content {
    display: none;
}

.sub_nav_list{
    margin-top: 1.8rem;
    margin-left: 1.2rem;
}

.sub_nav_item + .sub_nav_item{
    margin-top: 1.4rem;
}

.sub_nav_link{
    font-size: 1.5rem;
    line-height: 1.3;
    font-weight: 700;
}

.related_nav_list{
    margin-top: 5.6rem;
    margin-bottom: 6.4rem;
}

.related_nav_item + .related_nav_item{
    margin-top: 2.8rem;
}

.sns_nav_item + .sns_nav_item{
    margin-left: 1.6rem;
}

.main_logo a:hover,
.related_nav_item a:hover,
.sns_nav_item a:hover{
    filter: invert(38%) sepia(24%) saturate(4594%) hue-rotate(347deg) brightness(97%) contrast(97%);
}

/* メインフッター 
----------------------------------------------------*/

.footer_container{
    position: absolute;
    right: 0;
    bottom: 4rem;
}

.copyright{
    font-size: 1.6rem;
    text-align: right;
    text-transform: none;
}


/* メインコンテナー .main_container
----------------------------------------------------*/

.main_container{
    width: 80%;
    margin-left: auto;
}

.wrapper{
    position: relative;
    width: 84%;
    margin: 0 auto;
    padding-bottom: 16rem;
    max-width: 1000px;
    min-height: 100vh;
    min-height: 100svh;
}

/* ----- トップページ ----- */

.portfolio_nav{
    margin-top: 4.8rem;
    margin-bottom: 4.8rem;
}

.portfolio_nav_list{
    justify-content: flex-end;
    align-items: center;
}

.portfolio_nav_item{
    font-size: 1.7rem;
    font-weight: 700;
    margin-bottom: .8rem;
    margin-left: 1.4rem;
}

.tag{
    width: 1.1rem;
    height: 1.3rem;
    background-image: url(img/icon_tag.svg);
    background-size: cover;
    margin-right: .1rem;
    display: inline-block;
    transition: 0.3s ease-out
}

.tag_link:hover{
    color: #000;
    filter: invert(38%) sepia(24%) saturate(4594%) hue-rotate(347deg) brightness(97%) contrast(97%);
}

.portfolio_list{
    margin: 0 -1.5%;
}

.portfolio_list_item{
    width: calc(100% / 3);
    padding: 0 1.5% 3%;
}

.portfolio_list_inner{
    box-shadow: 0px 1px 2px 0px rgba(0,0,0,0.06);
}

.portfolio_list_link{
    display: block;
    position:relative;
    top:0;
}

.portfolio_list_link:hover{
    top:.8rem;
    color: inherit;
}

.portfolio_list_link:hover .tag{
    filter: none;
}

.portfolio_list_img img{
    aspect-ratio: 1 / 1;
    object-fit: cover;
    overflow: hidden;
}

.portfolio_list_body{
    background: #fff;
    padding: 1.6rem 7% 2rem;
}

.portfolio_list_title{
    font-size: 1.6rem;
    line-height: 1.4;
}

.portfolio_list_category_container{
    padding-top: .8rem;
    font-size: 1.3rem;
}

.portfolio_list_category{
    opacity: .6;
    display: inline-block;
    padding-right: .6rem;
}

.portfolio_list_category .tag{
    width: .9rem;
    height: 1.1rem;
    margin-bottom: -.1rem;
}

.portfolio_link_all{
    margin-top: 4rem;
}


/* ----- PORTFOLIO ----- */

.page_heading{
    font-size: 2.6rem;
    font-weight: 700;
    margin-bottom: 4.8rem;
}

.no_article_text{
    font-size: 2rem;
}

/*ページャー（WP-PageNavi）*/

.wp-pagenavi{
    padding-top: 4rem;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.wp-pagenavi a, .wp-pagenavi span{
    font-size: 2rem;
    margin: 0 1rem;
    padding: 0 .2rem .8rem;
}

.wp-pagenavi span.current{
    border-bottom: 2px solid;
}

/*個別記事*/

.post_title{
    font-size: 2.6rem;
    line-height: 1.4;
    margin-bottom: 4rem;
}

.post_main{
    padding: 6% 8.5%;
    background: #fff;
    box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.06);
}

.post_body{
    font-size: 1.6rem;
    line-height: 1.8;
}

.post_body *{
    margin-top: 1.2rem;
}

.post_body > * + * {
    margin-top: 3.2rem;
}

.post_body *:first-child{
    margin-top: 0 !important;
}

.post_body figure{
    margin-top: 4.8rem;
    margin-bottom: 4.8rem;
}

.post_body h2 {
    font-size: 2.4rem;
    line-height: 1.5;
    margin-top: 8rem;
    margin-bottom: 4rem;
}

.post_body h3 {
    font-size: 2.1rem;
    line-height: 1.5;
    margin-bottom: 3.2rem;
}

.post_body h4 {
    font-size: 1.9rem;
    line-height: 1.5;
}

.post_body h5,
.post_body h6{
    line-height: 1.5;
}

.post_body a {
    text-decoration: underline;
}

.post_body a:hover{
    color: #f34d22;
}

.post_body hr.wp-block-separator{
    border-top: 1px dashed #999 !important;
    margin-top: 5rem;
    margin-bottom: 5rem;
}

.post_body figure.is-type-video .wp-block-embed__wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
}

.post_body figure.is-type-video iframe {
    position: absolute;
    top: 0;
    right: 0;
    width: 100% !important;
    height: 100% !important;
}

.post_footer{
    position: relative;
    margin-top: 6rem;
    padding-top: 4.8rem;
}

.post_footer::before{
    content: "";
    height: 10px;
    width: 100%;
    background: url(img/border.svg) repeat-x left top;
    background-size: auto 105%;
    position: absolute;
    top: 0;
    left: 0;
}

.post_detail{
    margin: 0;
    font-size: 1.5rem;
    line-height: 1.4;
}

.post_detail a{
    color: #f34d22;
}

.post_detail a:hover{
    text-decoration: underline;
} 

.post_detail dt{
    width: 14%;
    margin-bottom: 1.4rem;
}

.post_detail dd{
    width: 86%;
    margin: 0;
    margin-bottom: 1.4rem;
}

.post_category_item{
    margin-right: 1rem;
}

.post_category_item .tag{
    filter: invert(38%) sepia(24%) saturate(4594%) hue-rotate(347deg) brightness(97%) contrast(97%);
}

.related_container{
    margin-top: 8rem;
}

.related_heading{
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 4rem;
}

.post_link_all{
    margin-top: 4rem;
}

/* ----- CONTACT ----- */

.form_list{
    margin-top: 4rem;
    margin-bottom: 4rem;
}

.form_item + .form_item{
    padding-top: 2.8rem;
}

.form_title{
    font-size: 1.8rem;
    line-height: 1.8;
}

.form_title span{
    font-size: 1.3rem;
    padding-left: 1.6rem;
}

.form_box input,
.form_box textarea{
    font-size: 1.6rem;
    line-height: 1.8;
    width: 100%;
    padding: .6rem 1.2rem;
    border: 1px solid #000;
} 

.wpcf7-submit{
    font-weight: 700;
}

.wpcf7-not-valid-tip{
    font-size: 1.5rem !important;
    padding-top: .8rem;
}

.wpcf7-acceptance{
    text-align: center;
    font-size: 1.6rem;
    line-height: 1.5;
    margin: 0 auto 4.8rem;
    display: block;
}

.wpcf7-response-output{
    margin: 2.4em 0 0 !important;
    padding: 1.2rem 1rem !important;
    color: #333;
    font-size: 1.8rem;
    line-height: 1.5;
    text-align: center;
}

.recaptcha_text{
    margin-top: 4rem;
    color: #999;
    font-size: 1.2rem;
    line-height: 1.5;
    text-align: justify;
}

.recaptcha_text a{
    color: #999;
}

.grecaptcha-badge { visibility: hidden; }


/* ----- 404 ----- */

.error_intro_title{
    font-size: 2.4rem;
    line-height: 1.5;
    text-align: center;
    margin-top: 10rem;
    margin-bottom: 4rem;
}


/*----------------------------------------------------

PCのみ

----------------------------------------------------*/

@media print, screen and (min-width: 920px) {
    .display_sp {
        display: none !important;
    }

    a[href^="tel:"] {
        pointer-events: none;
    }
}

@media print, screen and (min-width: 1400px) {
    html {
        font-size: 68%;
    }
}


@media only screen and (max-width: 1020px) and (min-width: 920px) {
    html {
        font-size: 56%;
    }
}

@media only screen and (max-width: 1100px) and (min-width: 768px){
    .portfolio_list{
        margin: 0 -1.5% !important;
    }

    .portfolio_list_item{
        width: calc(100% / 2)!important;
        padding: 0 1.5% 3%!important;
    }
}

/*----------------------------------------------------

スマートフォンのみ

----------------------------------------------------*/


@media only screen and (max-width: 919px) {

    .display_pc {
        display: none !important;
    }

    /*テキスト*/
    .text_01 {
        font-size: 1.6rem;
    }

    .text_02 {
        font-size: 1.4rem;
    }

    /*リンク*/

    .link_box{
        width: 23.2rem;
        height: 4.8rem;
        font-size: 1.7rem;
    }

    .link_box span::after {
        right: 1.4rem;
        width: 7px;
        height: 7px;
    }

    /* メインヘッダー
    ----------------------------------------------------*/

    .main_header {
        position: absolute;
        width: 100%;
        padding: 2rem 6%;
        box-shadow: none;
        justify-content: flex-start;
        background: none;
        min-height: 0;
        z-index: 1;
    }

    .main_logo{
        width: 9.2rem;
        margin: 0;
    }

    /*ドロワーメニュー*/

    .drawer-hamburger {
        position: fixed;
        top: 0;
        right: 6%;
        width: 3.2rem;
        height: 2rem;
        margin-top: 2.2rem;
        z-index: 999;
        padding: 0;
    }

    .drawer-hamburger-icon,
    .drawer-hamburger-icon:after,
    .drawer-hamburger-icon:before {
        transition: all .3s cubic-bezier(.19, 1, .22, 1);
    }

    .drawer-hamburger-icon {
        position: relative;
        display: block;
        width: 100% !important;
        height: 2px;
        margin-top: 0 !important;
        background-color: transparent;
    }

    .drawer-hamburger-icon:after,
    .drawer-hamburger-icon:before {
        position: absolute;
        content: " ";
        height: 2px;
        width: 100% !important;
        background-color: #000000;
        left: 0;
        right: 0;
        margin: auto;
    }

    .drawer-hamburger-icon:before {
        top: -.45rem !important;
    }

    .drawer-hamburger-icon:after {
        top: .45rem !important;
    }

    .is-opened .drawer-hamburger-icon:before {
        transform: rotate(45deg);
        top: 0 !important;
    }

    .is-opened .drawer-hamburger-icon:after {
        transform: rotate(-45deg);
        top: 0 !important;
    }

    .drawer-nav {
        background: rgba(255,255,255,0.75);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        position: fixed;
        top: 0;
        right: -100%;
        z-index: 100;
        overflow-y: scroll;
        width: 100%;
        height: 100vh;
        height: 100dvh;
        max-height: 100%;
        transition: right .3s ease-in-out;
        -webkit-overflow-scrolling: touch;
    }

    .is-opened .drawer-nav {
        right: 0;
        transition: right .3s ease-in-out;
    }

    .drawer_inner {
        padding-top: 8rem;
        padding-bottom: 6rem;
        position: relative;
        min-height: 100vh;
        min-height: 100dvh;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 68%;
    }

    .main_nav_link {
        font-size: 1.9rem;
    }
    
    .hs_btn::before,
    .hs_btn::after {
        top: -.1rem;
    }


    /* メインフッター 
    ----------------------------------------------------*/

    .footer_container{
        bottom: 3.2rem;
        padding-left: 6%;
        padding-right: 6%;
    }

    .copyright{
        font-size: 1.5rem;
    }


    /* メインコンテナー .main_container
    ----------------------------------------------------*/

    .main_container{
        width: 100%;
        margin-left: 0;
    }

    .wrapper{
        width: 100%;
        padding: 7.2rem 6% 10rem;
    }

    /* ----- トップページ ----- */

    .portfolio_nav{
        margin-top: 0;
        margin-bottom: 3.2rem;
        margin-right: calc(50% - 50vw);
        overflow-x: auto;
    }

    .portfolio_nav_list{
        flex-wrap: wrap;
        justify-content: flex-start;
        width: max-content;
    }

    .portfolio_nav_item{
        font-size: 1.6rem;
        margin-left: 0;
        margin-right: .7rem;
        margin-bottom: .6rem;
    }

    .tag{
        width: 1rem;
        height: 1.2rem;
    }

    .portfolio_list{
        margin: 0
    }

    .portfolio_list_item{
        width: calc(100% / 1);
        padding: 0 0 2rem;
    }

    .portfolio_list_body{
        padding: 1.6rem 5% 1.8rem;
    }

    .portfolio_list_title{
        font-size: 1.6rem;
    }

    .portfolio_list_category_container{
        font-size: 1.3rem;
        padding-top: .6rem;
    }

    .portfolio_list_category .tag{
        width: .8rem;
        height: 1rem;
        margin-bottom: -.1rem;
    }

    .portfolio_link_all{
        margin-top: 2rem;
    }

    /* ----- PORTFOLIO ----- */

    .page_heading{
        font-size: 2.2rem;
        margin-bottom: 3.2rem;
    }
    
    .no_article_text{
        font-size: 1.8rem;
    }

    /*ページャー（WP-PageNavi）*/

    .wp-pagenavi{
        padding-top: 3rem;
    }

    .wp-pagenavi a, .wp-pagenavi span{
        font-size: 2rem;
        margin: 0 .6rem;
        padding: 0 .2rem .6rem;
    }

    /*個別記事*/

    .post_title{
        font-size: 2.2rem;
        line-height: 1.4;
        margin-bottom: 3.2rem;
    }

    .post_main{
        padding: 0;
        background: none;
        box-shadow: none;
    }

    .post_body{
        font-size: 1.5rem;
        line-height: 1.8;
    }

    .post_body *{
        margin-top: 1rem;
    }

    .post_body > * + * {
        margin-top: 2.8rem;
    }

    .post_body figure{
        margin-top: 3.2rem;
        margin-bottom: 3.2rem;
    }

    .post_body h2 {
        font-size: 2.2rem;
        margin-top: 5rem;
        margin-bottom: 3.2rem;
    }

    .post_body h3 {
        font-size: 2rem;
        margin-bottom: 2.8rem;
    }

    .post_body h4 {
        font-size: 1.8rem;
        line-height: 1.5;
    }

    .post_body hr.wp-block-separator{
        margin-top: 3.6rem;
        margin-bottom: 3.6rem;
    }

    .post_footer{
        margin-top: 5rem;
        padding-top: 4rem;
    }

    .post_footer::before{
        height: 10px;
    }

    .post_detail{
        font-size: 1.4rem;
    }

    .post_detail dt{
        width: 24%;
        margin-bottom: 1rem;
    }

    .post_detail dd{
        width: 76%;
        margin-bottom: 1rem;
    }

    .post_category_item{
        margin-right: .6rem;
    }

    .related_container{
        margin-top: 10rem;
    }

    .related_heading{
        font-size: 2rem;
        margin-bottom: 3.2rem;
    }
    
    .related_container .portfolio_list_item:last-child{
        display: none;
    }

    .post_link_all{
        margin-top: 2.8rem;
    }
    

    /* ----- CONTACT ----- */

    .form_list{
        margin-top: 2rem;
        margin-bottom: 2rem;
    }

    .form_item + .form_item{
        padding-top: 1.8rem;
    }

    .form_title{
        font-size: 1.5rem;
    }

    .form_title span{
        font-size: 1.2rem;
        padding-left: 1rem;
    }

    .form_box input,
    .form_box textarea{
        font-size: 1.6rem;
        padding: .6rem 1rem;
    } 

    .wpcf7-not-valid-tip{
        font-size: 1.4rem !important;
    }

    .wpcf7-acceptance{
        font-size: 1.5rem;
        margin: 0 auto 2rem;
    }

    .wpcf7-response-output{
        margin: 1.6rem 0 0 !important;
        padding: 1.2rem 1rem !important;
        font-size: 1.5rem;
    }

    .recaptcha_text{
        margin-top: 2.8rem;
        font-size: 1.1rem;
    }
    /* ----- 404 ----- */

    .error_intro_title{
        font-size: 2rem;
        margin-top: 8rem;
        margin-bottom: 3.2rem;
    }
}


@media screen and (max-width: 320px) {
    html {
        font-size: 56%;
    }
}
