@import url(reset.min.css);
@import url(color-proto-theme-print.css) print;

/* 0. ローカルリセット */
* {
    box-sizing: border-box; 
}

/* 1. 基本設定 */
html {
    font-size: 62.5%;  /* ベースのフォントサイズを10pxに設定 */
}

body {
    font-family: 'メイリオ', 'Meiryo', 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', sans-serif;
    font-size: 1.6rem;
    line-height: 2.4rem;
}

img {
    display: inline;
}

/* 2. フォント関係基本設定 */
.mc-heading-small {
    font-size: 1.2rem;
    line-height: 1.2rem;
}
.mc-heading-default {
    font-size: 1.6rem;
    line-height: 1.6rem;
}
.mc-heading-large {
    font-size: 1.9rem;
    line-height: 1.9rem;
}
.mc-heading-xlarge {
    font-size: 2.4rem;
    line-height: 2.4rem;
}
.mc-heading-x2large {
    font-size: 4.2rem;
    line-height: 4.6rem;
}
.mc-heading-x3large {
    /* 今現在H1でのみ使用, H2と同じ設定 */
    font-size: 4.2rem;
    line-height: 4.6rem;
}
.mc-heading-x4large {
    font-size: 6.6rem;
    line-height: 7.0rem;
}

.mc-text-small {
    font-size: 1.2rem;
    line-height: 1.8rem;
}
.mc-text-default {
    font-size: 1.6rem;
    line-height: 2.4rem;
}
.mc-text-large {
    font-size: 1.8rem;
    line-height: 2.7rem;
}

/*.mc-margin-bottom-xlarge {
    margin-bottom: 3em !important;
}

.mc-margin-bottom-large {
    margin-bottom: 2em !important;
}

.mc-margin-bottom-medium {
    margin-bottom: 1em !important;
}*/

/* 微調整用 */
.right-aligned {
    text-align: right;
}

/* .left-aligned {
    text-align: left;
}
.center-aligned {
    text-align: center;
} */

.character-spacing-05 {
    letter-spacing: 0.5em;
}

.position-center {
    /* 3行で中心揃え */
    align-items: center;/* 交差軸方向 */
    display: flex;
    justify-content: center;/* 横軸方向 */
}

.text-bold {
    /* footer */
    font-weight: bold;
}

.text-underline {
    border-bottom:1px solid;
}

/*** ナビメニュー ***/
nav {
    /* height: 48px; */
    /* display: flex; */
    background-color: #fff;
    font-size: 1.4rem;
    line-height: 1.5;
    position: fixed;
    width: 100%;
    z-index: 999;
}

nav a {
    color: #000;
}

nav ul,
nav li {
    margin: 0;
    padding: 0;
}

/* nav .my-company {
    list-style-type: none;
    width: 60%;
} */

nav .my-company-2 {
    list-style-type: none;
    display: flex;
    justify-content: space-between;
    align-items: center; /*baseline;*/
}

nav .my-company-2 li {
    padding: .2em;
    font-size: 1.2rem;
}

nav .my-company-2 li:first-child {
    /* 社名ロゴ */
    width: 20%;
}

nav .my-company-2 li:last-child {
    width: 70%;
}

nav .my-company-2 li:last-child {
    /* 住所・電話番号 */
    text-align: right;
    padding-right: 65px;  /* ハンバーガーメニュー用マージン */
    width: 80%;
}

/* 2-1. 固定NAVI */

.company-text {
    display: none;
}

/* [Font icon](https://icons8.com/line-awesome) */
i.lab,
i.las {
    font-size: 2rem;
    vertical-align: middle;
}

h1,
h2,
h3,
h4 {
    font-weight: normal;
    letter-spacing: 0.25rem;
    margin-bottom: 0.5em;
}

p {
    /* font-size: 1.6rem; */
    line-height: 2.4rem;
    margin-bottom: 0.5em;
}

/* 2-2. リンク */
a {
    text-decoration: none;
}

strong {
    font-weight: normal;
}

em {
    font-style: normal;
}

/* table関係 */
table {
    border-collapse: collapse;
    width: 100%;
}

table th {
    text-align: left;
    font-weight: normal;
}

table td {
    text-align: center;
}

dl {
    padding: 1em;
    width: 100%;
}

dt,
dd {
    margin-bottom: 0.5em;
}
dt {
    padding-left: 0;
}
dd {
    padding-left: 1.0em;
    padding-right: 1.0em;
}

.flexbox-rapper {
    display: flex;
    justify-content: space-around;
}

/* 社ロゴ */
.company-name {
    margin: 10px 0 0 5px;
    padding: 0;
}

.company-name img {
    /* width: 50px;
    height: 32px; */
    width: 64px;
    height: 40px;
    overflow: hidden;
    object-fit: cover;
    object-position: left center;
    margin-top: 0;
    margin-left: 0;
}

/* .company-name a::after {
    content: "みともコンサルタント";
    color: white;
} */

#general-base { /* 全体ラッパー */
    min-width: 375px;
}

/*** ヘッダー ***/
.hellow {
    text-align: center;
    padding-top: 75px;
    min-height: 136px;
}

.hellow hgroup {
    width: 100%;
    padding: .3em;
}

.hellow hgroup h1 {
    font-weight: bold;
    margin-bottom: 0;
}

.hellow hgroup p {
    /* スマホ等、小さい画面では非表示 */
    display: none;
}

/*** メインコンテンツ ***/
.contents-box {
    /* margin-bottom: 5rem; */
    width: 100%;
    padding-bottom: 1em;
}

.main-contents {
    width: 100%;
    /* content-visibility: auto; */
    /* contain-intrinsic-size: 500px; */
}

/* .main-contents article {
}

.main-contents article:last-of-type {
} */

.page-content {
    padding: 1em;
    width: 100%;

}

.page-content h2 {
    text-align: center;
    line-height: 1.5em;
}

/* 交互に背景色を変えたいコンテンツ */
/* .next-page-content {
    background-color: #fff;
    color: #123;
} */

.section-block {
    margin-bottom: 1em;
    /* padding: .5em; */
}

.sub-header-text {
    border-bottom: 5px solid;
    padding: 0.1em 0.1em 0.1em 0.2em;
}

.sub2-header-text {
    border-bottom: 1px solid;
    padding-left: 0.5em;
}

/* サイドメニュー */
aside {
    font-size: 1.4rem;
    padding: 1em;
}

/* .side-menu {
} */

.side-menu > ul {
    padding-left: 0;
    margin-bottom: 2em;
}

.side-menu ul {
    list-style-type: none;
}

.side-menu > ul li {
    border-bottom: 1px solid #333;
    padding: 0.3em;
}

.side-menu > ul li:nth-child(3) {
    /* 3番目リンク「採用情報」の下線を消すため */
    border: none;
}

.side-menu a {
    display: block;
    padding: 0.3em;
}

.address-box {
    text-align: center;
    margin-bottom: 2em;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 6px;
    padding: 1em;
    width: 96%;  /* over write */
    margin-left: auto;
    margin-right: auto;
}

.address-box address {
    font-style: normal;
}

.address-box h2.spacer {
    padding-top: 0;
    padding-bottom: .67em;
}


/* ソーシャルボタン */
/* .social-media {
    vertical-align: bottom;
    width: 100%;
} */

.social-media ul {
    list-style-type: none;
    padding: 0;
    display: flex;
    justify-content: space-around;
}

.social-media li {
    padding: 0.5em;
    width: 44%;
    text-align: center;
}

.social-media li a {
    display: block;
}

/*** フッター ***/
footer {
    font-size: 1.3rem;
    min-height: 150px;
    text-align: center;
}

footer .end-roll {
    padding: 1.3rem;
}

footer .address h2 {
    font-size: 1.6rem;
    margin: 0.5em 0;
}

footer .address h3 {
    margin: 1.2rem 0 0;
}

footer .address p {
    /* margin: 0; */
    margin-bottom: 1em;
    line-height: 1.4;
}

footer .writecopy {
    padding: 0.75em 0.5em 0.2em;
    width: 100%;
}

/* トグルメニュー */
/* .toggle-menu {
} */

#sidebarMenu {
    /* background: linear-gradient(180deg, rgb(241, 168, 84) 0%, #e49740cc 100%); */
    background: linear-gradient(180deg, #000000cc 0%, #000000ff 100%);
    /* height: 100%; */
    /* margin-top: 90px; */
    position: fixed;
    /* position: absolute; */
    right: 0;
    top: 0;
    transform: translateY(-101%);
    transition: transform 200ms ease-in-out;
    width: 100%;
    z-index: 999;
}
.sidebarMenuInner {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin: 0;
    padding: 0;
}
.sidebarMenuInner li {
    border-bottom: 1px solid #333;
    cursor: pointer;
    /* font-weight: bold; */
    list-style: none;
    text-align: center;
    text-transform: uppercase;
}
.sidebarMenuInner li.company-top {
    background-color: #000;
    padding: 0.75em;
}
.sidebarMenuInner li:not(:first-child) {
    color: #fff;
    font-size: 1.9rem;
    padding: 1.2em;
}
.sidebarMenuInner li:last-of-type {
    border: none;
}
.sidebarMenuInner li span {
    color: rgba(255, 255, 255, 0.8);
    display: block;
    font-size: 1.4rem;
}
.sidebarMenuInner li a {
    color: #fff;
    cursor: pointer;
    display: block;
    /* font-weight: bold; */
    text-decoration: none;
    text-transform: uppercase;
}
input[type="checkbox"]:checked ~ #sidebarMenu {
    transform: translateX(0);
}

input[type=checkbox] {
    box-sizing: border-box;
    display: none;
    transition: all 0.3s;
}
.sidebarIconToggle {
    box-sizing: border-box;
    cursor: pointer;
    height: 22px;
    position: fixed;
    right: 16px;
    transition: all 0.3s;
    top: 23px;
    width: 32px;
    z-index: 9999;
}
.spinner {
    box-sizing: border-box;
    background-color: #ffe600;
    height: 3px;
    position: absolute;
    transition: all 0.3s;
    width: 100%;
}
.horizontal {
    box-sizing: border-box;
    float: left;
    margin-top: 6px;
    position: relative;
    transition: all 0.3s;
}
.diagonal.part-1 {
    box-sizing: border-box;
    float: left;
    position: relative;
    transition: all 0.3s;
}
.diagonal.part-2 {
    box-sizing: border-box;
    float: left;
    margin-top: 6px;
    position: relative;
    transition: all 0.3s;
}
input[type=checkbox]:checked ~ .sidebarIconToggle > .horizontal {
    box-sizing: border-box;
    opacity: 0;
    transition: all 0.3s;
}
input[type=checkbox]:checked ~ .sidebarIconToggle > .diagonal.part-1 {
    box-sizing: border-box;
    margin-top: 11px;
    transform: rotate(135deg);
    transition: all 0.3s;
}
input[type=checkbox]:checked ~ .sidebarIconToggle > .diagonal.part-2 {
    box-sizing: border-box;
    margin-top: -12px;
    transform: rotate(-135deg);
    transition: all 0.3s;
}
/* トグルメニュー以外を薄く表示 */
#closeSidebarMenu {
    background-color: rgba(255, 255, 255, .6);
    display: none; /* 通常値 */
    height: 100%;
    left: 0;
    position: fixed;
    top: 0;
    width: 100%;
}
input[type=checkbox]:checked ~ #closeSidebarMenu {
    display: block;
}

/* 小 のみ */
@media screen and (max-width: 650px) {
    .mc-heading-large {
        font-size: calc(1.9rem * 0.9);
    }
    .mc-heading-x2large {
        font-size: calc(4.2rem * 0.65);
    }
    .mc-heading-x3large {
        /* 今現在H1でのみ使用, H2と同じ設定 */
        font-size: calc(4.2rem * 0.75);
    }
}

/* 中 以上 */
@media screen and (min-width: 651px) {
    nav .my-company-2 li {
        font-size: 1.4rem;
    }

    .hellow {
        padding-top: 80px;
        min-height: 136px;
        /* height: 80px; */
    }

    .sidebarIconToggle {
        top: 27px;
    }
    
    .social-media ul {
        display: block;
    }
    
    .social-media li {
        width: 100%;
        margin-bottom: 1em;
    }

    /* フッター */
    footer .end-roll {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    footer .end-roll .logo {
        width: 50%;
    }

    footer .end-roll .address {
        width: 50%;
        padding-left: 1em;
    }

    footer .address {
        text-align: left;
    }

    /* footer .writecopy {
        width: 100%;
    } */
}

/* 中の大 以上 */
@media screen and (min-width: 961px) {
    /* 社ロゴ */
    .company-name img {
        width: auto;  /* 全体表示へ移行 */
    }

    nav .my-company-2 li:first-child {
        width: 65%;
    }
    
    nav .my-company-2 li:last-child {
        width: 35%;
        display: block;
    }
    
    .hellow {
        background-position: center bottom -130px;
        background-repeat: no-repeat;
        background-size: cover;
        height: 200px;
        /* padding-top: 58px; */
        /* visibility: visible; */
        display: flex;
        justify-content: flex-start;
    }

    .hellow hgroup {
        /* width: 60%; */
        text-align: center;
        margin-top: 1em;
        padding: 1em;
        text-shadow: #666 1px 1px 2px;
    }

    .hellow hgroup p {
        display: block;
    }

    .contents-box {
        margin-left: auto;
        margin-right: auto;
    }

    .main-contents {
        margin-left: auto;
        margin-right: auto;
    }

    aside {
        display: flex;
        justify-content: space-around;
        align-items: flex-end; /* 下揃え */
        width: 100%;
    }

    aside > div {
        width: 44%;
    }
    
    /* aside .side-menu {
        position: sticky;
        top: 75px;
    } */
}

/* 大 以上 */
@media screen and (min-width: 1201px) {
    nav .my-company-2 {
        width: 1200px;
        margin: auto;
    }
        
    .main-contents {
        max-width: 1200px;
        margin: auto;
    }
}

/* 大大 以上 */
@media screen and (min-width: 1301px) {
    nav .my-company-2 li:last-child {
        padding-right: 0;  /* ハンバーガーメニュー用マージン無しでよい */
    }
}
