html {
    height: 100%;
    font-size: 62.5%;
}

body {
    font-family: "游ゴシック", "Yu Gothic", "游ゴシック体", "YuGothic", sans-serif;
    height: 100%;
    font-weight: 500;
    font-size: 1.5rem;
    line-height: 42px;
    letter-spacing: 0.04em;
    color: #45484C;
}

img {
    border: 0;
    max-width: 100%;
    vertical-align: bottom;
    object-fit: cover;
}

a {
    text-decoration: none;
    color: #45484C;
    display: block;
}

li {
    list-style-type: none;
}

.c-button {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: 0;
    border-radius: 0;
    background: #ccc;
}

button {
    background: none;
    border: none;
    outline: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

/* 

ABOUT PAGE

*/
h4 {
    font-family: 'A-OTF Ryumin Pr6N', "a-otf-ryumin-pr6n", 'Shippori Mincho B1', "YuMincho", "Yu Mincho", serif;
    font-style: normal;
    font-weight: 300;
    font-size: 32px;
    line-height: 48px;
    letter-spacing: 0.02em;
}

h3 {
    font-family: 'Cormorant Garamond', "Cormorant", Arial, Helvetica, sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 24px;
    line-height: 28px;
}

h2 {
    font-family: 'A-OTF Ryumin Pr6N', "a-otf-ryumin-pr6n", 'Shippori Mincho B1', "YuMincho", "Yu Mincho", serif;
    font-style: normal;
    font-weight: 300;
    font-size: 32px;
    line-height: 74px;
}

h1 {
    font-family: 'Cormorant Garamond', "Cormorant",'A-OTF Ryumin Pr6N', "a-otf-ryumin-pr6n", 'Shippori Mincho B1', "YuMincho", "Yu Mincho", serif;
    font-style: normal;
    font-weight: 300;
    font-size: 60px;
    line-height: 48px;
    text-align: center;
    align-items: center;
    vertical-align: middle;
    letter-spacing: 0.04em;
}

.message_dwn {
    font-size: 15px;
    line-height: 32px;
    letter-spacing: 0.04em;
}

.ceo_name p {
    font-size: 24px;
    line-height: 27px;
    letter-spacing: 0.04em;
}

.ceo_name p:first-child {
    font-size: 15px;
    line-height: 27px;
    letter-spacing: 0.04em;
}

.smp_br {
    display: none;
}

/* 

header

*/
.header_inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 40px;
}

.sticky .header_inner {
    align-items: center;
}

.header_logo {
    width: 75px;
}

.header.sticky {
    position: fixed;
    top: 0;
    margin-top: 0;
    background: #fff;
    padding: 0;
    width: calc(100% - 0px);
}

.header.sticky .header_logo {
    width: 75px;
}

.header.sticky .nav-wrapper {
    display: flex;
    align-items: center;
}

.header.sticky li a {
    color: var(--black);
    font-size: 13px;
    display: flex;
    align-items: center;
}
.header__nav > ul {
    display: flex;
    gap: 55px;
}

.about_img {
    background-image: url(../images/about_ceo.jpg);
    background-size: cover;
    border-radius: 0;
    width: 56.18vw;
    height: 290px;
    background-position: 50% 30%;
}

.fv_inner {
    /* background-image: url(../images/footer_bg.jpg); */
    background-size: cover;
    /* height: 350px; */
    display: flex;
    /* justify-content: center; */
    align-items: center;
    padding-top: 90px;
    padding-left: 100px;
}

.fv_inner h3{
    margin-top: 15px;
}

/* 
Mesage section
*/
.message_upper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 120px 200px 60px 86px;
}

.message_dwn {
    margin-right: 200px;
    width: 56.18vw;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    margin-left: auto;
}

.message_dwn h4 {
    margin-bottom: 60px;
}

.message_dwn p {
    margin-bottom: 60px;
}

.message_dwn .ceo_name {
    margin-top: 100px;
    text-align: right;
}

.message_dwn .ceo_name p {
    margin-bottom: 4px;
}

/* 

Member section

*/

.memberitembox_wrapper {
    flex-wrap: wrap;
    justify-content: space-between;
}

.members_upper {
    display: flex;
    justify-content: space-between;
    margin: 150px 80px 0 86px;
    max-width: 1700px;
}

.members_itembox {
    display: flex;
    justify-content: space-between;
    margin-bottom: 80px;
}

.members_item {
    margin-right: 58px;
    box-shadow: 4px 4px 20px rgba(0, 0, 0, 0.08);
    width: 238px;
}

.members_img {
    margin: 0;
    /* マージンをリセット */
    padding: 0;
    /* パディングをリセット */
}


.members_text {
    padding: 30px 0px 30px 20px;
    position: relative;
}

.members_text p {
    font-size: 15px;
    line-height: 26px;
}

span.member-box {
    width: 50px;
    height: 50px;
    background: var(--red);
    display: inline;
    position: absolute;
    right: 0;
    top: 0;
}
/* 
.members_item:nth-child(2) span.member-box {
    background: var(--yellow);
}

.members_item:nth-child(3) span.member-box {
    background: var(--blue);
} */

/* 

CREDO link section

*/

#credo_link {
    margin-top: 150px;
    display: none;
}

.members_set_img {
    position: relative;
}

.members_set_heading {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 10px 40px;
    display: inline-block;
}

.members_set_text2 {
    background-color: white;
    padding: 20px 40px;
    text-align: center;
    line-height: 1.5;
    display: inline-block;
    margin-bottom: 10px;
}


.set_title {
    font-size: 58px;
    line-height: 60px;
}

.set_sub {
    font-size: 28px;
    margin-bottom: 5px;
}

/* 
.set_btn {
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 300px;
    height: 64px;
    background-image: linear-gradient(to right, #C84E89, #F15F79);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    margin-bottom: 60px;
    border-radius: 8px;
}

.set_btn_link {
    text-decoration: none;
    color: white;
} */

.credo_link_textbox {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 10px;
}

.section_btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 300px;
    height: 65px;
    background-image: linear-gradient(to right, #C84E89, #F15F79);
    color: #fff;
    text-decoration: none;
    /* リンクの下線を除去 */
    border-radius: 8px;
    font-weight: 700;
    font-size: 15px;
    line-height: 24px;
    letter-spacing: 0.08em;
    position: relative;
    box-shadow: 0 3px 10px rgb(0 0 0 / 16%);
    transition: background-color 0.2s ease, box-shadow 0.5s ease;
}

.section_btn>span {
    z-index: 1;
    /* テキストを前面に */
}

.section_btn>img {
    margin-left: 10px;
    transition: transform 0.5s ease;
    /* アニメーション効果 */
}

.section_btn:hover>img {
    transform: translateX(5px);
    /* ホバー時に矢印を動かす */
}

.section_btn:hover {
    box-shadow: none;
}

.is-btn-center {
    display: flex;
    justify-content: center;
    /* 水平方向の中央揃え */
    align-items: center;
    /* 垂直方向の中央揃え */
    height: 100%;
    /* 必要に応じて調整 */
}

.credo_inner {
    margin-top: 200px;
    margin-left: 86px;
    display: flex
;
    justify-content: space-between;
    align-items: center;
    align-items: flex-start;
}

.credo_content {
    width: 80%;
    display: flex
;
    flex-direction: column;
    gap: 100px;
}
@media screen and (max-width: 480px) {
    body {
        font-size: 12px;
    }


    /* universal */
    h4 {
        font-size: 20px;
        line-height: 48px;
    }

    h3 {
        font-size: 14px;
        line-height: 28px;
    }

    h2 {
        font-size: 18px;
        line-height: 36px;
    }

    main {
        margin: 0 20px;
    }

    .smp_br {
        display: block;
    }

    #credo_link {
        margin-top: 80px;
    }

    .members_itembox {
        display: flex;
        justify-content: space-between;
        margin-bottom: 20px;
    }

    .members_upper {
        flex-direction: column;
        justify-content: space-between;
        margin: 50px 0 0 0 ;
        max-width: 1700px;
    }

    .members_item {
        width: calc(50% - 10px); /* 幅を50%に設定し、左右のマージンを10pxずつ設定 */
        margin-right: 20px; /* 右のマージンを20pxに設定 */
        margin-bottom: 20px; /* 下のマージンを20pxに設定 */
        box-shadow: 4px 4px 20px rgba(0, 0, 0, 0.08);
    }

    .members_item {
        width: 100%; /* 幅を100%に設定して1列に表示 */
        margin:0 5px 0px 0
    }

    .members_text {
        padding: 5px 0 5px 0;
        position: relative;
    }

    .members_text p {
        font-size: 7px;
        line-height: 12px;
    }

    span.member-box {
        width: 15px;
        height: 15px;
        background: var(--red);
        display: inline;
        position: absolute;
        right: 0;
        top: -0.5px;
    }

    
    .members_item:nth-child(2) span.member-box {
        background: var(--yellow);
    }
    
    .members_item:nth-child(3) span.member-box {
        background: var(--blue);
    }

    .members_set_heading {
        position: absolute;
        top: 30%;
        left: 50%;
        transform: translate(-50%, -50%);
        background-color: white;
        padding: 0px 0px 10px 5px;
        display: inline-block;
    }

    .set_sub {
        font-size: 12px;
        margin-bottom: 0;
    }

    .set_title {
        font-size: 24px;
        line-height: 20px;
        width: 250px;
    }

    .credo_link_textbox {
        position: static;
        transform: none;
        margin-bottom: 10px;
    }

    .members_set_text2 {
        background-color: white;
        padding: 20px 0;
        text-align: left;
        line-height: 1.5;
        display: inline-block;
        margin-bottom: 10px;
    }

    .section_btn {
        display: inline-flex;
        justify-content: center;
        align-items: center;
        width: 200px;
        height: 50px;
        background-image: linear-gradient(to right, #C84E89, #F15F79);
        color: #fff;
        text-decoration: none;
        border-radius: 8px;
        font-weight: 700;
        font-size: 13px;
        line-height: 24px;
        letter-spacing: 0.08em;
        position: relative;
        box-shadow: 0 3px 10px rgb(0 0 0 / 16%);
        transition: background-color 0.2s ease, box-shadow 0.5s ease;
    }

    .header {
        background-color: white;
        width: 100%;
        height: 50px;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 999;
    }

    .header__nav {
        position: absolute;
        right: 0;
        left: 0;
        top: 0;
        width: 100%;
        height: 100vh;
        transform: translateX(100%);
        background-color: #fff;
        transition: ease .4s;
    }

    


    @media screen and (min-width: 960px) {
        .header__nav {
            position: static;
            transform: initial;
            background-color: inherit;
            height: inherit;
            display: flex;
            justify-content: end;
            width: 50%;
        }
    }

    @media screen and (min-width: 960px) {
        .nav__items {
            width: 100%;
            display: flex;
            align-items: center;
            height: initial;
            justify-content: space-between;
        }
    }

    .nav-items {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        padding: 0;
    }



    @media screen and (min-width: 960px) {
        .nav-items {
            position: inherit;
            top: 0;
            left: 0;
            transform: translate(0, 0);

        }
    }

    .header__hamburger {
        width: 48px;
        height: 100%;
    }

    .hamburger {
        background-color: transparent;
        border-color: transparent;
        z-index: 9999;
    }

    @media screen and (min-width: 960px) {
        .hamburger {
            display: none;
        }
    }

    /* ハンバーガーメニューの線 */
    .hamburger span {
        width: 20px;
        height: 1px;
        background-color: var(--black);
        position: relative;
        transition: ease .4s;
        display: block;
    }

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

    .hamburger span:nth-child(2) {
        margin: 8px 0;
    }

    .hamburger span:nth-child(3) {
        top: 0;
    }

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

    .hamburger span:nth-child(2) {
        margin: 8px 0;
    }

    .hamburger span:nth-child(3) {
        top: 0;
    }

    .hamburger.sticky span {
        width: 20px;
        height: 1px;
        background-color: var(--black);
        position: relative;
        transition: ease .4s;
        display: block;
    }

    /* ハンバーガーメニュークリック後のスタイル */
    .header__nav.active {
        transform: translateX(0);
    }

    .hamburger.active span:nth-child(1) {
        top: 5px;
        transform: rotate(45deg);
    }

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

    .hamburger.active span:nth-child(3) {
        top: -13px;
        transform: rotate(-45deg);
    }



    .about_img {
        width: calc(100vw - 40px);
        height: 130px;
        order: -1;
        margin-top: 40px;
        margin-bottom: 30px;
        border-radius: 0px;
    }

    .message_upper {
        flex-direction: column;
        margin: 0;
        align-items: flex-start;
    }

    .message_dwn {
        margin: 0;
        width: auto;
        font-size: 12px;
        line-height: 32px;
    }

    .ceo_name p {
        font-size: 16px;
        line-height: 27px;
        letter-spacing: 0.04em;
    }

    .ceo_name p:first-child {
        font-size: 12px;
        line-height: 27px;
    }

    .message_dwn h4 {
        margin: 10px 0 20px;
        font-size: 19px;
    }

    .message_dwn p {
        margin-bottom: 20px;
    }

    .message_dwn .ceo_name {
        margin-top: 0;
    }

    /* Company */
    #company {
        margin-top: 120px;
    }

    #company .section_title {
        margin-left: 0;
    }

    /* OFFICE IMAGES */
    .office_img {
        flex-direction: column;
        gap: 10px;
    }

    .tokyo_office,
    .osaka_office {
        width: calc(100vw - 40px);
        height: 120px;
        border-radius: 5px;
    }

    .tokyo_office .text,
    .osaka_office .text {
        margin-right: 10px;
        margin-bottom: 10px;
        font-size: 14px;
    }
    .credo_inner {
        margin-top: 20px;
        margin-left: 0px;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        align-items: flex-start;
    }
    .credo_content {
        width: calc(100% + 40px);
        margin: 0 -20px;
    }
}