/* ===== Parameter ===== */
:root {
    /* color */
    --primary: #334261;
    --top_primary: #FF7300;
    --orange: #FC6544;
    --gray: #F4F4F4;
    --link-color: #0097EC;
    --brown: #4B3804;
}

/* ===== Class ===== */
.mb-120 {
    margin-bottom: 120px !important;
}

.mb-80 {
    margin-bottom: 80px !important;
}

.mb-64 {
    margin-bottom: 64px !important;
}

.mb-40 {
    margin-bottom: 40px !important;
}

.mb-32 {
    margin-bottom: 32px !important;
}

.mb-24 {
    margin-bottom: 24px !important;
}

.mb-16 {
    margin-bottom: 16px !important;
}

.ml-80 {
    margin-left: 80px !important;
}

.mr-32 {
    margin-right: 32px;
}

/* ブロック要素にして改行させたい時に使用 */
.block {
    display: block;
}

.d-flex {
    display: flex;
}

.d-flex-center {
    display: flex;
    vertical-align: middle;
    align-items: center;
}

.d-x-center {
    display: flex;
    align-items: center;
}

.d-flex-end {
    display: flex;
    align-items: flex-end;
}

.d-table-gap8 {
    display: flex;
    flex-wrap:wrap;
}

.d-table-row-gap32 {
    display: flex;
    flex-wrap:wrap;
    column-gap: 32px;
    row-gap: 32px;
}

.d-table-gap32 {
    display: flex;
    flex-wrap:wrap;
    column-gap: 32px;
    row-gap: 32px;
}

.d-table-gap32 .btn-components  {
    display: flex;
}

/* ===== Common ===== */
@font-face { 
    font-family: "Noto Sans JP Regular"; 
    src: url("../assets/font/NotoSansJP-Regular.otf") format("truetype")
}

@font-face { 
    font-family: "Noto Sans JP Bold"; 
    src: url("../assets/font/NotoSansJP-Bold.otf") format("truetype")
}

a:hover,
button:hover,
.btn-label:hover,
.menu-content a:hover {
    opacity: 0.6;
}

/* menu opened */
.overflow__hidden {
    overflow: hidden;
}

/* ===== Loading ===== */
#hide {
    opacity: 0;
    visibility: hidden;
}

/* 画面全体の設定 */
#loader__wrapper {
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100vw;
    height: 100vh;
    top: 0;
    background: #FFF9E6;
    z-index: 200;
}

.d-column {
    display:flex;
    justify-content: center;
    align-items: center;
    flex-flow: column;
}

#loader__wrapper .d-column p {
    color: var(--orange);
    font-size: 16px;
    font-family: 'Avenir Next';
    letter-spacing: 2.8px;
    opacity: 0;
    animation: blink 2s infinite linear;
}

/* ローディングロゴ */
.loader {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    width: 60px;
    height: 60px;
    background: url("../assets/img/loading-logo.svg") no-repeat;
    opacity: 0;
    animation: blink 2s infinite linear;
}
    
@keyframes blink {
    50% {
    opacity: 1;
    }
}

/* ローディング終了後 */
.loaded {
    opacity: 0;
    visibility: hidden;
}

/* ===== Components ===== */
/* ページタイトル */
.page-ttl__wrapper {
    margin-bottom: 40px;
}

.page-ttl__wrapper > .page-ttl {
    font-size: 40px;
    font-family: "Noto sans JP Bold";
    margin-bottom: 8px;
    line-height: 120%;
}

.sub-info-ttl {
    font-size: 26px;
    display: inline-block;
    color: var(--brown);
    margin-bottom: 16px;
}

@media (max-width: 800px) {
    .page-ttl__wrapper .page-ttl {
        font-size: 22px;
        margin-bottom: 4px;
    }

    .sub-ttl {
        font-size: 16px;
        margin-bottom: 8px;
    }
}

.page-ttl__wrapper > .en-ttl {
    font-size: 14px;
    font-family: "Noto sans JP Bold";
    color: #C5C5C5;
}

/* 目的・詳細 */
.intro__wrapper {
    margin-bottom: 40px;
}

.intro__wrapper > .intro-ttl {
    font-size: 24px;
    font-family: "Noto sans JP Bold";
    margin-bottom: 16px;
}

/* 説明文 */
.desc-content {
    display: inline-block;
    font-size: 16px;
    line-height: 170%;
    letter-spacing: 0.64px;
    font-family: "Noto Sans JP Regular"; 
}

.desc-content a {
    text-decoration-line: underline;
    text-underline-offset: 4px;
}

.desc-content .text-bold {
    font-family: "Noto sans JP Bold";
}

.text-note {
    display: inline-block;
    font-size: 12px;
    line-height: 170%;
    letter-spacing: 0.64px;
    font-family: "Noto Sans JP Regular"; 
}

@media (max-width: 800px) {
    .desc-content {
        font-size: 14px;
    }

    .intro__wrapper > .intro-ttl {
        font-size: 18px;
    }
}

h2 {
    font-size: 20px;
}

h3 {
    font-size: 20px;
    line-height: 170%;
    letter-spacing: 0.64px;
    margin-bottom: 16px;
}

@media (max-width: 800px) {
    h2 {
        font-size: 16px;
    }

    h3 {
        font-size: 16px;
    }
}

/* グレーのエリア */
.gray__wrapper {
    background: var(--gray);
    border-radius: 8px;
    max-width: 835px;
    padding: 16px;
    color: var(--link-color);
    margin-bottom: 64px;
}

@media (max-width: 1px) {
    .gray__wrapper {
        padding: 16px 24px;
    }
}

/* リンクリスト */
.link-list__wrapper {
    list-style: auto;
}

.gray__wrapper > span {
    color: var(--primary);
}

.link__item {
    letter-spacing: 0.64px;
    line-height: 200%;
}

.link-list__wrapper > li {
    color: var(--link-color);
    list-style-position: inside;
}

.link__item > a {
    color: var(--link-color);
    text-decoration-line: underline;
    text-underline-offset: 4px;
}

/* 見出しタイトル */
.ttl__wrapper {
    display: flex;
    margin-bottom: 16px;
    align-items: center;
}

.cl__brown {
    color: var(--brown);
}

.ttl__wrapper > .heading {
    background: var(--primary);
    width: 4px;
    height: 24px;
    margin-right: 8px;
}

.cl__brown > .heading {
    background: var(--brown);
    width: 4px;
    height: 24px;
    margin-right: 8px;
}

.ttl__wrapper > span {
    font-size: 20px;
    font-family: "Noto sans JP Bold";
}

@media (max-width: 800px) {
    .ttl__wrapper > span {
        font-size: 16px;
    }
}

.info-card {
    border-bottom: 1px solid #D9D9D9;
}

.info-card p {
    margin-bottom: 4px;
}

.info-card span {
    font-family: "Noto Sans JP Regular";
    display: inline-block;
    margin-bottom: 16px;
}

.info-card span a {
    font-family: "Noto Sans JP Bold";
    color: var(--link-color);
    text-decoration-line: underline;
}

@media (max-width: 800px) {
    .info-card p,
    .info-card span {
        font-size: 14px;
    }
}

.contact__wrapper {
    margin-bottom: 64px;
}

.icon-link > a {
    color: var(--link-color);
    text-decoration-line: underline;
    line-height: 170%;
}

.icon-link > .icon__ex-link {
    width: 16px;
    align-items: center;
}

/* ===== Layouts ===== */
html {
    width: 100%;
    height: 100%;
}

body {
    width: 100%;
    min-height: 100%;
    margin: 0;
    font-size: 16px;
    line-height: 170%;
    font-family: "Noto Sans JP Bold";
    display: flex;
    flex-direction: column;
    color: var(--primary);
    background-color: #FAFAFA;
}

.content {
    max-width: 835px;
    display: flex;
    margin-left: 308px;
    flex-direction: column;
    flex-grow: 1;
}

.sorry .content {
    margin: 0 auto;
}

.min-h {
    min-height: calc(100vh - 91px);
}

.content img {
    width: 100%;
}

.flex-content {
    flex-grow: 1;
    box-sizing: border-box;
    padding: 140px 80px 64px 80px;
}

/* ===== TOP bg responsive ===== */
@media screen and (500px > width) {
    .mv-ttl {
        display: block;
        width: 287px;
        padding-top: 420px;
        padding-bottom: 32px;
        margin: auto;
    }
}

@media screen and (500px < width <= 1100px) {
    .mv-ttl {
        display: block;
        margin-left: auto;
        margin-right: auto;
        padding-top: 74vw;
        padding-bottom: 40px;
        min-width: 287px;
        width: 40%;
    }

    .top__wrapper {
        width: 100%;
        background-size: cover;
        background-image: url("../assets/img/mid-top-bg.png") !important;
    }
}

@media screen and (1100px < width) {
    .mv-ttl {
        width: 40%;
        margin: 200px 0 128px 80px;
    }
}

/* ===== TOP PC===== */
@media screen and (min-width: 1100px) {
    .sp {
        display: none !important;
    }

    .top__wrapper {
        width: 100%;
        background-image: url("../assets/img/top-bg.png");
        background-size: cover;
    }

    .top-content__center {
        width: 1200px;
        margin: auto;
    }

    .top-main__wrapper,
    .top-info__wrapper {
        width: 1200px;
        border-radius: 30px;
        height: 100%;
        background: #fff;
        box-shadow: 0px 0px 30px 0px rgba(101, 75, 1, 0.10);
        margin-bottom: 120px;
    }

    .top-main__section {
        display: flex;
        position: relative;
        align-items: flex-end;
        padding-left: 80px;
    }

    .top-info__section {
        display: flex;
        position: relative;
        align-items: center;
        padding: 80px;
    }

    .top-main__section:first-child {
        padding-top: 140px;
    }

    .top-main__section .top-main__text > .section-number, 
        .top-main__section .d-flex-end .top-main__text > .section-number {
        width: 244px;
        position: absolute;
        z-index: -10;
    }
    
    .top-main__section:first-child .top-main__text > .section-number {
        top: 40px;
        left: 0;
    }
    
    .top-main__section:nth-of-type(2) .top-main__text > .section-number  {
        top: 0;
        left: 956px;
    }
    
    .top-main__section .top-main__text > .section-number   {
        top: 0;
        left: 0;
    }

    .top-main__section:nth-child(2) {
        padding-left: 0;
        margin-bottom: 80px;
    }

    .top-main__section:nth-child(2) .top-main__text {
        float: right;
        padding-left: 64px;
        padding-right: 80px;
        margin-bottom: 32px;
    }

    .top-main__section > img {
        width: 572px;
        height: 100%;
        float: right;
    }

    /* TODO */
    .top-info__section > img {
        width: 376px;
        height: 100%;
        float: right;
    }

    /* セクション大枠 */
    .top-main__text {
        float: left;
        padding-right: 80px;
        z-index: 100;
    }

    .top-ttl__wrapper .sub-ttl {
        color: #D5CFB3;
        font-family: 'Noto Sans JP Regular';
        font-size: 16px;
        margin-bottom: 12px;
    }

    .top-ttl__wrapper .main-ttl {
        color: var(--top_primary);
        font-size: 30px;
        letter-spacing: 1.2px;
        line-height: 120%;
        margin-bottom: 40px;
    }

    .section-description {
        color: var(--brown);
        font-size: 16px;
        font-family: "Noto Sans JP Regular";
        letter-spacing: 0.64px;
        display: block;
    }

    .btn-detail {
        width: 220px;
    }

    .btn-principle {
        width: 220px;
    }

    .btn-components {
        width: 170px;
        background-position: left top;
    }

    .link-cat__wrapper {
        display: flex;
        flex-wrap:wrap;
        column-gap: 80px;
        margin: 0 auto;
        margin-bottom: 64px;
    }

    .link-cat__wrapper img {
        width: 328px;
        height: 100%;
    }

    .link-cat {
        width: 160px;
    }
}

/* ===== TOP SP ===== */
@media screen and (max-width: 1099px) {
    .pc {
        display: none !important;
    }

    .top__wrapper {
        width: 100%;
        background-image: url(../assets/img/sp-top-bg.png);
        background-size: cover;
    }

    .top-content__center {
        width: 100%;
        margin: auto;
        box-shadow: 0px 0px 30px 0px rgba(101, 75, 1, 0.10);
    }

    .top-main__wrapper,
    .top-info__wrapper {
        width: 343px;
        border-radius: 30px;
        height: 100%;
        background: #fff;
        margin: 0 auto;
        margin-bottom: 64px;
    }

    .top-main__text {
        padding: 32px 0 64px 0;
    }

    .top-main__text.Principle__wrapper {
        padding: 0 0 24px 0;
    }

    .ttl-bg__wrapper {
        display: flex;
        align-items: center;
        height: 120px;
        margin-bottom: 24px;
    }

    .p-relative {
        position: relative;
    }

    .top-main__section {
        padding: 0 28px 0 28px;
    }

    .top-main__section .top-main__text .ttl-bg__wrapper .p-relative .section-number {
        height: 120px;
        position: absolute;
    }

    .sp.top-main__section.mb-64 .top-main__text .ttl-bg__wrapper .p-relative .section-number,
    .sp.top-main__section:nth-child(10) .top-main__text .ttl-bg__wrapper .p-relative .section-number {
        top: -28px;
        left: -28px;
    }

    .sp.top-main__section:nth-of-type(7) .top-main__text .ttl-bg__wrapper .p-relative .section-number {
        top: -28px;
        right: -28px;
    }

    .top-main__section > .top-main__text > .section-img {
        width: 287px;
        margin-bottom: 32px;
    }

    .sp-top-principle {
        width: 343px;
        margin-bottom: 40px;
    }

    .top-ttl__wrapper {
        position: relative;
        width: 287px;
        text-align: center;
        z-index: 100;
    }

    .top-ttl__wrapper .sub-ttl {
        color: #D5CFB3;
        font-family: 'Noto Sans JP Regular';
        font-size: 14px;
        margin-bottom: 8px;
    }

    .top-ttl__wrapper .main-ttl {
        color: var(--top_primary);
        font-size: 24px;
        letter-spacing: 1.2px;
    }

    .section-description {
        color: var(--brown);
        font-size: 14px;
        font-family: "Noto Sans JP Regular";
        letter-spacing: 0.64px;
        line-height: 170%;
        display: block;
        margin-bottom: 24px;
    }

    .btn-detail {
        width: 287px;
    }

    .btn-principle {
        min-width: 283px;
        width: 100%;
    }

    .btn-components {
        width: 136px;
        background-size: auto;
        background-position: right top;
    }

    .d-table-gap8 {
        row-gap: 16px;
        column-gap: 8px;
        padding-bottom: 40px;
    }

    .d-table-gap8 > .btn-components {
        display: flex;
        width: 135px;
    }

    .d-table-gap24 {
        display: flex;
        flex-wrap:wrap;
        row-gap: 24px;
    }

    .d-table-gap24 .d-flex img {
        width: 168px;
        margin-right: 24px;
    }

    .d-table-gap24 .d-flex span:first-child {
        padding-bottom: 8px;
        display: block;
    }

    .d-table-gap24 .d-flex span {
        font-size: 16px;
        display: inline-block;
    }

    .top-info__section {
        padding: 24px 28px 40px 28px;
    }

    .sp.top-info__wrapper .top-info__section img {
        width: 287px;
    }

    .top-main__text {
        padding-bottom: 0;
    }

    .link-cat__wrapper {
        width: 287px;
        margin: 0 auto;
        padding-bottom: 64px;
    }

    .link-cat__wrapper > img {
        width: 287px;
        margin-bottom: 40px;
    }

    .link-cat {
        margin-bottom: 40px;
    }
}

.link-cat-ttl__wrapper {
    display: flex;
    margin-bottom: 12px;
    align-items: center;
}

.link-cat-ttl__wrapper > .heading {
    background-color: var(--orange);
    width: 4px;
    height: 16px;
    margin-right: 8px;
}

.link-cat-ttl__wrapper h2 a {
    color: #654B01;
    font-size: 14px;
}

.link-cat > span,
.link-cat > a {
    display: block;
    color:  #654B01;
    font-size: 14px;
}

.section-ttl {
    color: var(--brown);
    font-size: 16px;
    font-family: "Noto Sans JP Bold";
    letter-spacing: 0.64px;
    display: block;
    margin-bottom: 8px;
}

.top-btn__section {
    margin-left: 80px;
    padding-bottom: 120px;
}

.btn-detail {
    display: flex;
    background-color: var(--top_primary);
    justify-content: center;
    align-items: center;
    border-bottom: 2px solid #CC640D;
    height: 60px;
    border-radius: 6px;
    background-image: url(../assets/img/icon_btn-arrow.svg);
    background-repeat: no-repeat;
    background-position: right 22px top 50%;
}

.btn-detail > .text {
    color: #fff;
}

.btn-principle > .text,
.btn-components > .text {
    color: var(--top_primary);
}

.btn-detail > .text,
.btn-principle > .text,
.btn-components > .text {
    display: block;
    letter-spacing: 0.64px;
    text-align: center;
    line-height: 120%;
}

.main-ttl > br,
.btn-principle > .text > br,
.btn-components > .text > br {
    height: 0;
}

.btn-detail .icon,
.btn-principle .icon,
.btn-components .icon {
    float: right;
    vertical-align: middle;
}

.btn-principle {
    border-radius: 6px;
    border: solid var(--top_primary);
    border-width: 2px 2px 4px 2px;
    font-family: "Noto Sans JP Bold";
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url(../assets/img/icon_btn-arrow-or.svg);
    background-repeat: no-repeat;
    background-position: right 22px top 50%;
}

.btn-components {
    border-radius: 6px;
    border: solid var(--top_primary);
    border-width: 2px 2px 4px 2px;
    font-family: "Noto Sans JP Bold";
    height: 82px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.btn-components.color {
    background-image: url(../assets/img/list-btn__color.png);
}

.btn-components.typography {
    background-image: url(../assets/img/list-btn__typography.png);
}

.btn-components.spacing {
    background-image: url(../assets/img/list-btn__spacing.png);
}

.btn-components.shadow {
    background-image: url(../assets/img/list-btn__shadow.png);
}

.btn-components.button {
    background-image: url(../assets/img/list-btn__button.png);
}

.btn-components.input {
    background-image: url(../assets/img/list-btn__input.png);
}

.btn-components.list {
    background-image: url(../assets/img/list-btn__list.png);
}

.btn-components.modal-window {
    background-image: url(../assets/img/list-btn__modal-window.png);
}

.btn-components.point {
    background-image: url(../assets/img/list-btn__point.png);
}

.btn-components > span {
    background-image: url(../assets/img/icon_btn-arrow-or.svg);
    background-size: auto;
    background-repeat: no-repeat;
    width: 100%;
    background-position: right 16px top 50%;
}

.user-box img {
    width: 142px;
    margin-bottom: 16px;
}

.pc .user-box span:nth-of-type(1) {
    text-align: center;
}

.user-box span,
.user-box img {
    display: block;
}

.user-box > span:nth-child(even) {
    margin-bottom: 8px;
}

.user-box > .desc-content {
    width: 142px;
}

/* ===== サイドメニュー非表示 ===== */
@media screen and (max-width: 800px) {
    .content {
        margin-left: 0 !important;
    }

    .min-h {
        min-height: calc(100vh - 136px) !important;
    }

    .flex-content {
        margin: auto;
        max-width: 400px;
        padding: 140px 16px 64px 16px;
    }

    .desc-content {
        width: auto !important;
    }
}

/* ===== Animation ===== */
html { scroll-behavior: smooth;}