@charset "utf-8";

:root {
    --color-primary: #C9A24D;
    --color-bg-secondary: #C9A24D14;
    --color-bg-primary: #fff;
    --color-bg-secondary: #FCF9F0DB;
    --color-bg-thirdary: #C9A24D;
    --color-bg-forth: #2C3E74;

    --color-text-white: #fff;
    --color-text-logo: #1274a1;
}

html {
    scroll-behavior: smooth;
}


/* h1 */
.main-tit {
    font-size: 32px;
}

/* h2 */
.section__tit {
    font-size: 32px;
    color: #0F172A;
}

/* h3 */
.content-tit {
    font-size: 20px;
}

.tit-border {
    padding-bottom: 10px;
    position: relative;
}

.tit-border::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 64px;
    height: 2px;
    background-color: var(--color-bg-forth);
}

.section__inner {
    padding: 40px 18px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 600px;
    margin: 0 auto;
}

/* スマホの時下記クラスタグ付与しない */
.section__inner__left {
    display: contents;
}

.section__tit-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.section__tit-en {
    font-size: 14px;
    color: #6B7280;
}

.card-wrapper {
    padding: 0 18px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.card {
    background-color: var(--color-bg-primary);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    box-shadow: 0px 4px 4px 0px #00000040;
    border-radius: 7px;
}

.card__icon {
    width: 64px;
    height: 64px;
    background-color: var(--color-bg-thirdary);
    border-radius: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.card__icon--num {
    border-radius: 7px;
}

.text {
    font-size: 16px;
    color: #333;
}

/* header */
.header__inner {
    display: flex;
    justify-content: space-between;
    align-content: center;
    padding: 0 18px;
}

.header__logo img {
    width: 44px;
}

.header__menu {
    display: flex;
    justify-content: center;
    align-items: center;
}

.header__menu__list {
    display: none;
}

.header__menu__btn {
  display: block;
  background-color: transparent;
  border: none;
  outline: none;
  cursor: pointer;
  width: 24px;
  height: 18px;
}
.header__menu__btn span {
  background-color: var(--color-bg-forth);
  width: 24px;
  height: 2px;
  display: block;
  margin: 0 auto 5px;
  transition: transform 0.7s;
}
.header__menu__btn span:last-child {
  margin-bottom: 0;
}
.header__menu__btn.menu-open span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
.header__menu__btn.menu-open span:nth-child(2) {
  transform: translateY(-11px);
  opacity: 0;
}
.header__menu__btn.menu-open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}
@media (min-width: 769px) {
  .header__menu__btn {
    display: none;
  }
}

.header__menu-list-wrapper {
    position: absolute;
    top: 44px;
    left: 0;
    background-color: var(--color-bg-primary);
    width: 100vw;
    max-height: 0px;
    overflow: hidden;
    transition: max-height 0.7s ease;
}

.header__menu-list-wrapper.menu-open {
    max-height: 150px;
}

.header__menu-list {
    display: flex;
    flex-direction: column;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    padding: 0 18px;
}

.header__menu-list-wrapper a {
    color: var(--color-text-logo);
}
/* TOP */
.main {
    background-image: linear-gradient(rgb(0 0 0 / 28%), rgb(0 0 0 / 29%)), url(/common/img/back-grand-main.jpg?2026);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 540px;
    display: flex;
}

.main .section__inner {
    display: flex;
    justify-content: flex-end;
    padding-bottom: 80px;
    margin-left: 0;
}
.main .main-tit {
    color: var(--color-text-white);
}

.main .text {
    color: var(--color-text-white);
}

/* ONERISEについて */
.about {
    background-color: var(--color-bg-primary);
}
/* 事業内容 */
.service {
    background-color: var(--color-bg-secondary);
}
.card .tit-border::after {
    left: 0;
    transform: translateX(0%);
    width: 32px;
    height: 1px;
    background-color: var(--color-bg-thirdary);
}

/* 選ばれる理由 */
.strength {
    background-image: linear-gradient(rgba(255,255,255,0.5), rgba(255,255,255,0.5)), url(/common/img/back-grand-strength.jpg?2026);
    background-size: cover;
}

.card__icon--num .text {
    color: var(--color-text-white);
    font-size: 32px;
    font-weight: 700;
}

.strength .content-tit {
    font-weight: 500;
}


/* 実績 */
.works {
    background-color: var(--color-bg-secondary);
}
/* 会社概要 */
.company {
    background-color: var(--color-bg-primary);
}

.dl {
    border-top: 1px solid #E5E7EB;
    border-bottom: 1px solid #E5E7EB;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 12px 0;
    font-size: 14px;
}

.dl__item {
    display: flex;
}

.dl__item__dt {
    width: 40%;
}
 

/* フッター */
.footer {
    background-color: var(--color-bg-forth);
    padding: 32px;
}

.copy-right {
    font-size: 20px;
    color: var(--color-text-white);
    text-align: center;
}

@media screen and (min-width:769px) {
    .main-tit {
       font-size: 40px;
    }

    .section__inner {
        max-width: 1120px;
        padding: 60px 18px;
    }

    .section__inner:has(>.section__inner__left) {
        flex-direction: row;
        justify-content: space-between;
    }

    .section__inner__left {
        display: flex;
        flex-direction: column;
        gap: 24px;
        width: 55%;
        max-width: 440px;
    }

    .section__tit::after {
        left: 0;
        transform: translateX(0);
    }

    /* h3 */
    .content-tit {
        font-size: 20px;
    }

    .sp {
        display: none;
    }

    .section__tit-wrapper {
        align-items: flex-start;
    }

    .card-wrapper {
        padding: 0 48px;
        flex-direction: row;
        align-items: center;
        justify-content: center;
    }

    .card {
        max-width: 300px;
        width: calc(29% - 16px);
    }

    /* header */
    .header {
        position: fixed;
        z-index: 1;
        top: 0;
        left: 0;
        width: 100vw;
        background-color: rgba(255, 255, 255, 0.4);
        transition: background-color ease .3s;
    }

    .header__inner {
        padding: 0 24px;
        max-width: 1440px;
        margin: 0 auto;
    }

    .header.is-active {
        background-color: var(--color-bg-primary);
    }

    .header__logo img {
        width: 80px;
    }

    .header__menu__list {
        display: flex;
        gap: 24px;
    }

    .header__menu__list a {
        color: var(--color-text-white);
        font-size: 20px;
        transition: color ease .3s;
    }

    .is-active .header__menu__list a {
        color: var(--color-text-logo);
    }

    /* ONE RISE について */
    .section__inner__left+img {
        max-width: 443px;
    }

    /* TOP */
    .main .section__inner {
        align-items: center;
        justify-content: center;
        margin: 0 auto;
    }

    /* 選ばれる理由 */
    .strength .card {
        min-height: 280px;
    }
}