/*
Theme Name: TRUSTENCE
Theme URI: https://qoox.co.jp/
Author: Qoox Inc
Author URI: https://qoox.co.jp/
Description: A custom theme of Qoox
Version: 1.0
Text Domain: qoox
*/


@font-face {
    font-family: 'Lato';
    src: url('assets/fonts/Lato-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Lato';
    src: url('assets/fonts/Lato-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'CormorantGaramond';
    src: url('assets/fonts/CormorantGaramond-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'ZenKakuGothicNew';
    src: url('assets/fonts/ZenKakuGothicNew-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'ZenKakuGothicNew';
    src: url('assets/fonts/ZenKakuGothicNew-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root{

    /* カラー */
    --color-green-main: #0F3D2E;
    --color-green-90: #265042;
    --color-green-80: #3e6357;
    --color-green-70: #57776c;
    --color-green-60: #6f8a81;
    --color-green-50: #879e96;
    --color-green-40: #9fb1ab;
    --color-green-30: #b7c4c0;
    --color-green-20: #cfd8d5;
    --color-green-10: #e7ebea;

    --color-black-main: #191a1a;
    --color-black-90: #2f3030;
    --color-black-80: #464747;
    --color-black-70: #5e5e5e;
    --color-black-60: #757575;
    --color-black-50: #8c8c8c;
    --color-black-40: #a3a3a3;
    --color-black-30: #bababa;
    --color-black-20: #d1d1d1;
    --color-black-10: #e8e8e8;
    
    --color-gold-main: #d4af37;
    --color-gold-90: #d8b74b;
    --color-gold-80: #dcbf5e;
    --color-gold-70: #e0c773;
    --color-gold-60: #e5cf87;
    --color-gold-50: #e9d79b;
    --color-gold-40: #eddfaf;
    --color-gold-30: #f2e7c3;
    --color-gold-20: #f6efd7;
    --color-gold-10: #faf7eb;

    --color-white: #f8f6f0;
    --color-red: #ED3716;
    --color-blue: #103E5E;

    --font-family-en: 'CormorantGaramond', sans-serif;
    --font-family-lato: 'Lato', sans-serif;
    --font-family-ja: 'ZenKakuGothicNew', 'Lato', sans-serif;

    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-bold: 700;

    --line-height-zero: 1;
    --line-height-sm: 1.5;
    --line-height-md: 2.0;
    --line-height-lg: 2.5;

    --header-height-pc: 112px;
    --header-height-sp: 80px;

    --letter-spacing-sm: 0.02em;
    --letter-spacing-md: 0.08em;
    --letter-spacing-lg: 0.10em;

    --background-noise: 
    repeating-radial-gradient(
        circle,
        rgba(0,0,0,0.08) 0px,
        transparent 1px,
        transparent 4px
    );
}

/*====================
共通部分
====================*/

html{
    scroll-behavior: smooth;
}

body{
    font-family: var(--font-family-ja);
    color: var(--color-black-main);
    margin: 0;
    background-color: var(--color-white);
    box-sizing: border-box;
}

p, a, li, summary, label, button, button[type="submit"], div, h1, h2, h3, h4, h5, h6{
    margin: 0;
    letter-spacing: var(--letter-spacing-md);
}

a{
    text-decoration: none;
}

input[type="button"], button{
    cursor: pointer;
}

.admin-bar .header{
    top: 32px;
}

@media screen and (max-width: 768px) {
    .admin-bar .header{
        top: 46px;
    }
}

section{
    padding: 160px 0;
}

.container{
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
}

@media (max-width: 1200px) {
    .container{
        padding: 0 16px;
    }
}

@media (max-width: 480px) {

    section{
        padding: 80px 0;
    }

}


input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--color-green-main);
}



/*====================
ヘッダー
====================*/

.hamburger, 
.nav__overlay{
    display: none;
}

.header{
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
    padding: 24px 56px;
    height: var(--header-height-pc);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    transition: 0.3s ease-in-out;
}

.header__bg{
    background-color: var(--color-black-main);
}

.header__logo{
    width: 48px;
}

.header__logo img{
    width: 100%;
    vertical-align: middle;
}

.header__nav{
    display: flex;
    align-items: center;
    gap: 64px;
    font-family: var(--font-family-lato);
    font-weight: var(--font-weight-bold);
}

.header__nav-list{
    display: flex;
    gap: 40px;
    list-style: none;
}

.header__nav-link{
    color: var(--color-white);
    transition: 0.3s ease;
    letter-spacing: var(--letter-spacing-lg);
}

.header__nav-link:hover{
    color: var(--color-gold-main);
}

.header__nav-switcher{
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: var(--letter-spacing-lg);
}

.header__nav-active{
    color: var(--color-white);
}

.header__nav-divider{
    color: var(--color-white);
}

.header__nav-disabled{
    color: var(--color-black-50);
    transition: 0.3s ease;
}

.header__nav-disabled:hover{
    color: var(--color-gold-main);
}

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

    .header{
        padding: 24px 16px;
    }

    .header__nav-list{
        gap: 24px;
    }
}

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

    .header{
        height: var(--header-height-sp);
    }

    .hamburger, 
    .nav__overlay{
        display: block;
    }

    .header__nav,
    .header__nav-switcher{
        display: none;
    }

    .hamburger {
        cursor: pointer;
        width: 32px;
        height: 24px;
        position: relative;
        z-index: 1001;
    }

    .hamburger__line {
        position: absolute;
        width: 100%;
        height: 2px;
        background-color: var(--color-white);
        border-radius: 1px;
        transition: 0.3s ease;
    }

    .hamburger__line:nth-child(1) {
        top: 0;
    }

    .hamburger__line:nth-child(2) {
        top: 50%;
        transform: translateY(-50%);
    }

    .hamburger__line:nth-child(3) {
        bottom: 0;
    }

    .hamburger.is-active .hamburger__line:nth-child(1) {
        top: 50%;
        transform: translateY(-50%) rotate(45deg);
    }

    .hamburger.is-active .hamburger__line:nth-child(2) {
        opacity: 0;
    }

    .hamburger.is-active .hamburger__line:nth-child(3) {
        bottom: 50%;
        transform: translateY(50%) rotate(-45deg);
    }

    .nav__overlay {
        position: fixed;
        top: 0;
        right: 0;
        width: 80%;
        height: 100vh;
        background-color: rgba(25, 26, 26, 0.9);
        z-index: 1000;
        transform: translateX(100%);
        transition: 0.3s ease;
    }

    .nav__overlay.is-active {
        transform: translateX(0);
    }

    .nav {
        position: absolute;
        top: 20%;
        left: 50%;
        transform: translate(-50%, -20%);
        text-align: center;
        width: 100%;
    }

    .nav__items {
        display: flex;
        flex-direction: column;
        gap: 32px;
        list-style: none;
        margin-bottom: 48px;
        padding-left: 0;
    }

    .nav__item {
        color: var(--color-white);
        font-size: 24px;
        font-weight: var(--font-weight-bold);
        font-family: var(--font-family-lato);
        letter-spacing: var(--letter-spacing-lg);
        transition: 0.3s ease;
    }

    .nav__item:hover {
        color: var(--color-gold-main);
    }

    .nav .header__nav-switcher {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 8px;
        font-size: 24px;
        font-weight: var(--font-weight-bold);
        font-family: var(--font-family-lato);
        letter-spacing: var(--letter-spacing-lg);
    }

}



/*====================
フッター
====================*/

.footer {
    background-color: var(--color-black-main);
    background-image: var(--background-noise);
    color: var(--color-white);
    padding: 80px 0;
}

.footer__content{
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 24px 56px;
    gap: 40px;
}

.footer__logo{
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer__logo-img{
    width: 48px;
}

.footer__logo-name{
    font-size: 32px;
    font-family: var(--font-family-en);
    font-weight: var(--font-weight-bold);
}

.footer__nav{
    display: flex;
    align-items: center;
    gap: 64px;
    font-family: var(--font-family-lato);
    font-weight: var(--font-weight-bold);
}

.footer__nav-list{
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    list-style: none;
    padding-left: 0;
}

.footer__nav-link{
    color: var(--color-white);
    transition: 0.3s ease;
    letter-spacing: var(--letter-spacing-lg);
}

.footer__nav-switcher{
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: var(--letter-spacing-lg);
}

.footer__nav-active{
    color: var(--color-white);
}

.footer__nav-divider{
    color: var(--color-white);
}

.footer__nav-disabled{
    color: var(--color-black-50);
    transition: 0.3s ease;
}

.footer__nav-disabled:hover{
    color: var(--color-gold-main);
}

.footer__left{
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.footer__address{
    font-size: 14px;
    line-height: var(--line-height-md);
}

.footer__address-en{
    font-family: var(--font-family-lato);
    font-weight: var(--font-weight-bold);
}

.footer__meta{
    margin-top: 80px;
    font-size: 12px;
    text-align: center;
    font-family: var(--font-family-lato);
    font-weight: var(--font-weight-regular);
}


@media screen and (max-width: 1200px) {
    .footer__content{
        padding: 24px 16px;
    }

    .footer__nav{
        gap: 32px;
    }

    .footer__nav-list{
        gap: 24px;
    }
}

@media screen and (max-width: 992px) {
    .footer__content{
        flex-direction: column-reverse;
        justify-content: center;
        align-items: center;
    }

    .footer__left{
        flex-direction: row;
        justify-content: space-between;
        gap: 24px;
    }

    .footer__logo{
        margin-bottom: 24px;
    }
}

@media screen and (max-width: 768px) {
    .footer__nav-list{
        justify-content: center;
    }

    .footer__left{
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 8px;
        text-align: center;
    }
}



/*====================
セクションタイトル
====================*/

.section__title{
    display: flex;
    flex-direction: column;
}

.section__title-white{
    color: var(--color-white);
}

.section__title-green{
    color: var(--color-green-main);
}

.section__title-center{
    text-align: center;
}

.section__title-eng{
    font-size: 72px;
    font-family: var(--font-family-en);
    font-weight: var(--font-weight-bold);
    margin-bottom: 8px;
    letter-spacing: var(--letter-spacing-zero);
}

.section__title-ja{
    font-size: 20px;
}

@media screen and (max-width: 768px) {
    .section__title-eng{
        font-size: 48px;
    }

    .section__title-ja{
        font-size: 16px;
    }
}

@media screen and (max-width: 480px) {
    .section__title-eng{
        font-size: 40px;
    }
}



/*====================
ページネーション
====================*/

.page-numbers{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    list-style: none;
}

.page-numbers.current{
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background-color: var(--color-red-main);
    border: 1px solid var(--color-red-main);
    color: var(--color-white);
}

.page-numbers a{
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background-color: var(--color-white);
    border: 1px solid var(--color-red-main);
    color: var(--color-red-main);
    transition: 0.3s ease;
}

.page-numbers a:hover{
    background-color: var(--color-red-main);
    color: var(--color-white);
}

.next.page-numbers, .prev.page-numbers{
    width: 40px;
    height: 40px;
    border-radius: initial;
    background-color: initial;
    border: none;
}

/*====================
ボタン
====================*/

.btn__primary{
    font-family: var(--font-family-lato);
    font-weight: var(--font-weight-bold);
    border: 1px solid var(--color-green-main);
    color: var(--color-green-main);
    padding: 16px 32px 16px 40px;
    border-radius: 32px;
    transition: 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

.btn__primary img{
    transition: 0.3s ease;
}

.btn__primary:hover{
    background-color: var(--color-green-main);
    color: var(--color-white);
}

.btn__primary:hover img{
    filter: brightness(0) invert(1);
}

.btn__back{
    background-color: var(--color-black-30);
    color: var(--color-white);
    border: 1px solid var(--color-black-10);
    padding: 16px 40px 16px 40px;
}

.btn__back:hover{
    background-color: var(--color-black-50);
}

.btn__white{
    color: var(--color-white);
    border: 1px solid var(--color-white);
}

.btn__white img{
    filter: brightness(0) invert(1);
}

.btn__white:hover{
    background-color: var(--color-gold-main);
    color: var(--color-green-main);
    border: 1px solid var(--color-gold-main);
}

.btn__white:hover img{
    filter: initial;
}



/*====================
CTA
====================*/


.cta{
    display: block;
    max-width: 1440px;
    background-color: var(--color-green-main);
    background-image: var(--background-noise);
    border-radius: 16px;
    margin: 160px auto;
    padding: 80px 0;
}

.cta__content{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.cta__desc{
    margin-top: 48px;
    line-height: var(--line-height-md);
    color: var(--color-white);
    word-break: auto-phrase;
}

.cta__desc-en{
    font-family: var(--font-family-lato);
    font-weight: var(--font-weight-bold);
}

.cta__btn{
    background-image: url('./assets/img/icon/iconArrowBig.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin-right: 4px;
    width: 96px;
    height: 96px;
    transition: 0.3s ease;
}

.cta:hover .cta__btn{
    transform: translateX(4px);
    background-image: url('./assets/img/icon/iconArrowBigHover.svg');
}

@media screen and (max-width: 1440px) {
    .cta{
        max-width: 1200px;
    }

    .cta__content{
        padding: 0 80px;
    }
}

@media screen and (max-width: 1200px) {
    .cta{
        width: calc(100% - 32px);
        padding: 120px 16px;
        box-sizing: border-box;
    }

    .cta__content{
        padding: 0 80px;
    }
}

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

    .cta{
        padding: 40px 0;
    }

    .cta__content{
        padding: 40px 0;
    }
}

@media screen and (max-width: 768px) {
    .cta__content{
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 24px;
    }

    .cta .section__title{
        text-align: center;
    }

    .cta__desc{
        text-align: center;
    }

    .cta__desc br{
        display: none;
    }
}


/*====================
サービス一覧
====================*/


.service {
    background-color: var(--color-green-main);
    background-image: var(--background-noise);
}

.service__items {
    display: flex;
    justify-content: flex-start;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 56px 24px;
    margin-top: 64px;
}

.service__item {
    width: calc(33.333% - 16px);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.service__img {
    width: 100%;
    object-fit: cover;
}

.service__img img {
    width: 100%;
    border-radius: 8px;
}

.service__content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    color: var(--color-white);
    line-height: var(--line-height-sm);
}

.service__content-en {
    font-family: var(--font-family-lato);
    font-weight: var(--font-weight-bold);
}

.service__content-title {
    font-size: 16px;
    transition: 0.3s ease;
}

.service__content-desc {
    font-weight: var(--font-weight-medium);
    font-size: 14px;
    transition: 0.3s ease;
}

.service__content-btn {
    background-image: url('./assets/img/icon/iconArrow.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 40px;
    height: 40px;
    margin-right: 4px;
    transition: 0.3s ease;
}

.service__item:hover .service__content-txt {
    color: var(--color-gold-60);
}

.service__item:hover .service__content-btn {
    transform: translateX(4px);
    background-image: url('./assets/img/icon/iconArrowHover.svg');
}

@media screen and (max-width: 1200px) {
    .service__content-desc {
        font-size: 14px;
        word-break: auto-phrase;
    }
}

@media screen and (max-width: 992px) {
    .service__item {
        width: calc(50% - 16px);
    }
}

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

    .service__items {
        gap: 32px 16px;
    }

    .service__item {
        width: calc(50% - 8px);
        gap: 8px;
    }


    .service__content-btn {
        width: 32px;
        height: 32px;
    }
}

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

    .service__items {
        margin-top: 40px;
    }

    .service__item{
        width: 100%;
    }

    .service__content-title {
        font-size: 16px;
    }
}


/*====================
パンくずリスト
====================*/

.breadcrumbs {
    background-color: var(--color-black-80);
    padding: 8px 0;
}

.breadcrumbs__list {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.breadcrumbs__item {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: var(--color-black-60);
}

.breadcrumbs__item:not(:last-child)::after {
    content: "›";
    margin-left: 8px;
    color: var(--color-white);
    font-weight: bold;
}

.breadcrumbs__item a {
    color: var(--color-white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumbs__item a:hover {
    color: var(--color-gold-main);
}

.breadcrumbs__item span {
    color: var(--color-white);
}

@media screen and (max-width: 768px) {
    .breadcrumbs__list {
        padding: 0 16px;
    }
    
    .breadcrumbs__item {
        font-size: 12px;
    }
}




.autophrase{
    word-break: auto-phrase;
}