@charset "utf-8";

/*
Theme Name: クラウド法人名刺
URI: https://mahito.biz/meishi
Theme URI: https://mahito.biz/public/wp-content/themes/mahitobiz
Description: クラウド法人名刺（mahito.biz）のテーマ
Author: マヒトカード事業部
Version: 1.0.0
*/

/*===================================================

 layout

===================================================*/
/*---------------------------------------------------
 root
---------------------------------------------------*/
:root {
    --accent: #ff9b00;
    --base: #e1c797;
    --main: #f6efe1;
    --sub: #faf5ed;
    --subs: #efe2c9;
    --light-yellow: #fffce8;
    --brown: #9d7927;
    --gray: #ccc;
    --light-gray: #f7f8f9;
    --black: #222;
    --red: #ff4848;
    --white: #fff;
}
/*---------------------------------------------------
 html.body
---------------------------------------------------*/
html {
    font-size: 10px;
}
body {
    margin: 0;
    padding: 0;
    color: var(--black);
    font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', Meiryo, sans-serif;
    font-size: 1.6rem;
}
/*---------------------------------------------------
 ul
---------------------------------------------------*/
ul {
    margin: 0;
    padding: 0;
}
ul li {
    list-style: none;
}
/*---------------------------------------------------
 link
---------------------------------------------------*/
a {
    color: var(--accent);
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}
a.blank::after {
    margin-left: 5px;
    content: url('/wp-content/uploads/common_1.png');
    content: image-set(url('/wp-content/uploads/common_1.webp') 1x, url('/wp-content/uploads/common_1-2x.webp') 2x);
}
/*---------------------------------------------------
 fadeIn
---------------------------------------------------*/
@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}
/*---------------------------------------------------
 setting
---------------------------------------------------*/
.inner {
    margin: 0 auto;
}
.inner-1600 {
    width: 100%;
    max-width: 1600px;
}
.inner-1280 {
    width: 100%;
    max-width: 1280px;
}
.inner-1160 {
    width: 100%;
    max-width: 1160px;
}
.inner-1120 {
    width: 100%;
    max-width: 1120px;
}
.inner-1040 {
    width: 100%;
    max-width: 1040px;
}
.inner-1000 {
    width: 100%;
    max-width: 1000px;
}
.inner-900 {
    width: 100%;
    max-width: 900px;
}
.inner-800 {
    width: 100%;
    max-width: 800px;
}
.contents {
    padding: 80px 0;
}
.btn {
    width: 240px;
    max-width: 240px;
    height: 60px;
    margin:  0 auto;
    background: var(--accent);
    border: 2px solid transparent;
    border-radius: 30px;
    display: block;
    color: var(--white);
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 5.6rem;
    text-align: center;
    transition: 0.5s;
    position: relative;
}
.btn:hover {
    background: var(--white);
    border: 2px solid var(--accent);
    color: var(--accent);
    text-decoration: none;
    transition: 0.5s;
}
.big-btn {
    width: 400px;
    max-width: 400px;
    height: 80px;
    border-radius: 40px;
    font-size: 2.3rem;
    line-height: 7.6rem;
}
.more-btn {
    width: 320px;
    max-width: 320px;
    height: 80px;
    border-radius: 40px;
    font-size: 2.3rem;
    line-height: 7.6rem;
    position: relative;
}
.small-btn {
    width: 108px;
    min-width: 108px;
    height: 40px;
    padding: 0 16px;
    border: 2px solid transparent;
    border-radius: 20px;
    line-height: 3.6rem;
}
.small-btn:hover {
    border: 2px solid var(--accent);
}
.btn.inversion {
    background: var(--white);
    border: 2px solid var(--accent);
    color: var(--accent);
}
.btn.inversion:hover {
    background: var(--accent);
    color: var(--white);
}
.btn span,
.more-btn span {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--white);
    display: block;
    content: '';
    position: absolute;
}
.btn span {
    top: 20px;
    right: 20px;
}
.more-btn span {
    top: 31px;
    right: 31px;
}
.btn span::after,
.more-btn span::after {
    width: 6px;
    height: 6px;
    margin: auto;
    border-top: 2px solid var(--accent);
    border-right: 2px solid var(--accent);
    border-radius: 2px;
    box-sizing: content-box;
    transform: rotate(45deg);
    transition: 0.6s cubic-bezier;
    content: '';
    position: absolute;
    top: 5px;
    left: 4px;
}
.title {
    text-align: center;
}
.title p:first-child {
    margin: 0 0 10px;
    color: var(--accent);
    font-size: 2.2rem;
    font-weight: 600;
}
/*---------------------------------------------------
 swiper
---------------------------------------------------*/
.swiper-wrapper {
    transition-timing-function: linear !important;
}
.swiper-pagination {
    margin-top: 30px;
    position: relative !important;
}
.swiper-pagination-bullet {
    width: 60px !important;
    height: 4px !important;
    background: var(--gray);
    border-radius: 0 !important;
}
.swiper-pagination-bullet-active {
    background: var(--accent) !important;
}

/*===================================================

 header

===================================================*/
header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
}
/*---------------------------------------------------
 link
---------------------------------------------------*/
#link {
    width: 1600px;
    display: flex;
    justify-content: flex-end;
}
#link li a {
    font-size: 1.4rem;
}
#link li a:not(.inversion) {
    width: 135px;
}
#link li:first-child  {
    margin-right: 20px;
}
#link li:first-child a {
    color: var(--black);
    line-height: 4.0rem;
}
#link li:first-child a:hover {
    color: var(--accent);
    text-decoration: none;
}
#link li:first-child a::before {
    width: 10px;
    height: 14px;
    margin-right: 4px;
    background: image-set(url('/wp-content/uploads/header_2.webp') 1x, url('/wp-content/uploads/header_2-2x.webp') 2x) no-repeat;
    display: inline-block;
    content: '';
    vertical-align: middle;
}
#link li:first-child a:hover::before {
    background: image-set(url('/wp-content/uploads/header_2_on.webp') 1x, url('/wp-content/uploads/header_2-2x_on.webp') 2x) no-repeat;
}
#link li:nth-child(2)  {
    margin-right: 10px;
}
#link li:last-child {
    margin-right: 0;
}
/*---------------------------------------------------
 nav
---------------------------------------------------*/
nav {
    width: 100%;
    max-width: 1600px;
    height: 70px;
    margin-top: 15px;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: space-between;
    clear: both;
}
nav #main-logo1 {
    width: 286px;
    height: 70px;
    float: left;
    padding: 8px 0 8px 16px;
}
nav #main-logo1:hover {
    opacity: 0.8;
}
nav #main-logo1 + div {
    float: right;
}
.menu-nav-container {
    float: left;
}
#menu-nav {
    float: left;
    margin: 8px 5px 8px 0;
    display: flex;
}
#menu-nav li {
    margin-right: 20px;
}
#menu-nav li a {
    color: var(--black);
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 5.4rem;
    position: relative;
}
#menu-nav li.select a {
    color: var(--accent);
    text-decoration: none;
}
#menu-nav li a:hover {
    color: var(--accent);
    text-decoration: none;
}
#menu-nav li a::after {
    width: 0;
    height: 1px;
    background: var(--accent);
    display: block;
    content: '';
    bottom: -5px;
    left: 0;
    position: absolute;
    transition: all 0.2s ease 0s;
}
#menu-nav li.select a::after,
#menu-nav li a:hover::after {
    width: 100%;
}
.menu-nav-container + a {
    width: 200px;
    height: 70px;
    float: right;
    background: var(--accent);
    border-radius: 0 8px 8px 0;
    color: var(--white);
    font-weight: 500;
    line-height: 7.0rem;
    text-align: center;
}
.menu-nav-container + a::after {
    width: 20px;
    height: 20px;
    margin-left: 4px;
    background: image-set(url('/wp-content/uploads/header_3.webp') 1x, url('/wp-content/uploads/header_3-2x_on.webp') 2x) no-repeat;
    display: inline-block;
    content: '';
    vertical-align: sub;
}
.menu-nav-container + a:hover {
    text-decoration: none;
    opacity: 0.8;
}
#hamburger-menu {
    display: none;
}

/*===================================================

 BLOCK

===================================================*/
.block {
    width: 100%;
    height: 430px;
    background: image-set(url('/wp-content/uploads/block_1.webp') 1x, url('/wp-content/uploads/block_1-2x.webp') 2x) var(--base);
    background-position: center;
    background-repeat: no-repeat;
}
.block .block-top {
    margin: 0 0 20px;
    padding-top: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 3.0rem;
    font-weight: 600;
}
.block .block-top::before,
.block .block-top::after {
    width: 30px;
    height: 2px;
    background: var(--black);
    content: '';
}
.block .block-top::before {
    margin-right: 5px;
    transform: rotate(60deg);
}
.block .block-top::after {
    margin-left: 5px;
    transform: rotate(-60deg);
}
.block .block-mid {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.block .block-mid li {
    width: 430px;
    height: 200px;
    padding: 15px 20px;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 2px 2px 2px 2px rgba(0, 0, 0, 0.04);
}
.block .block-mid li p {
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 2.8rem;
    text-align: center;
}
.block .block-mid li a {
    width: 290px;
    height: 68px;
    margin: 0 auto;
    background: image-set(url('/wp-content/uploads/block_2.webp') 1x, url('/wp-content/uploads/block_2-2x.webp') 2x) no-repeat;
    display: block;
    color: var(--white);
    line-height: 6.4rem;
    text-align: center;
}
.block .block-mid li a:hover {
    background: image-set(url('/wp-content/uploads/block_2_on.webp') 1x, url('/wp-content/uploads/block_2-2x_on.webp') 2x);
    line-height: 6.8rem;
    text-decoration: none;
}
.block .block-mid li a span {
    margin-right: 5px;
    padding: 0 5px 1px;
    background: var(--white);
    border-radius: 2px;
    color: var(--accent);
    font-size: 1.3rem;
    font-weight: 500;
    text-align: center;
}
.block .block-mid + p {
    margin-bottom: 10px;
    font-size: 2.4rem;
    font-weight: 500;
    text-align: center;
}
.block .block-link {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}
.block .block-link li:not(:last-child) {
    margin-right: 20px;
}
.block .block-link li a {
    padding-left: 30px;
    color: var(--black);
    font-weight: 500;
    position: relative;
}
.block .block-link li a::before {
    width: 8px;
    height: 8px;
    margin: auto;
    border-top: 2px solid var(--black);
    border-right: 2px solid var(--black);
    border-radius: 2px;
    box-sizing: content-box;
    transform: rotate(45deg);
    transition: 0.6s cubic-bezier;
    content: '';
    position: absolute;
    top: 2px;
    bottom: 0;
    left: 15px;
}
.block .block-link li a::after {
    width: 0;
    height: 1px;
    background: var(--black);
    display: block;
    content: '';
    bottom: -5px;
    left: 30px;
    position: absolute;
    transition: all 0.2s ease 0s;
}
.block .block-link li a:hover {
    text-decoration: none;
}
.block .block-link li a:hover::after {
    width: calc(100% - 30px);
}

/*===================================================

 SLIDE BANNER

===================================================*/
#slide-banner {
    width: 302px;
    padding: 30px 0 0 0;
    position: fixed;
    right: -100%;
    bottom: 200px;
    opacity: 0;
    transition: 1s ease-in-out;
}
#slide-banner.active {
    right: 15px;
    z-index: 9998;
    opacity: 1.0;
}
#slide-banner .close {
    width: 30px;
    height: 30px;
    background: var(--white);
    border-radius: 50%;
    display: block;
    position: absolute;
    top: 20px;
    right: -10px;
    cursor: pointer;
    z-index: 9999;
}
#slide-banner .close::before,
#slide-banner .close::after {
    width: 2px;
    height: 18px;
    background: #333;
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
}
#slide-banner .close::before {
    transform: translate(-50%,-50%) rotate(45deg);
}
#slide-banner .close::after {
    transform: translate(-50%,-50%) rotate(-45deg);
}
#slide-banner .close:hover::before,
#slide-banner .close:hover::after {
    background: var(--accent);
}
#slide-banner a {
    width: 302px;
    height: 212px;
    display: block;
    box-shadow: -2px 2px 2px 2px rgba(0, 0, 0, 0.04);
}

/*===================================================

 PAGE TOP

===================================================*/
#page-top {
    width: 70px;
    height: 70px;
    background: var(--base);
    border-radius: 50%;
    font-size: 0;
    position: fixed;
    right: -100%;
    bottom: 30px;
    transition: 1s ease-in-out;
    z-index: 9999;
}
#page-top a {
    width: 100%;
    height: 100%;
    display: block;
    position: relative;
}
#page-top:hover {
    background: var(--brown);
}
#page-top a::after {
    width: 21px;
    height: 21px;
    margin: auto;
    border-top: 4px solid var(--white);
    border-right: 4px solid  var(--white);
    border-radius: 2px;
    box-sizing: content-box;
    transition: 0.6s cubic-bezier;
    content: '';
    position: absolute;
    top: 17px;
    left: 50%;
    transform: translateX(calc(-50% - 3px));
    rotate: 315deg;
}

/*===================================================

 FOOTER

===================================================*/
footer {
    padding: 40px 0 10px;
    background: var(--brown);
}
footer ul li a {
    color: var(--white);
}
footer .ftop {
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
footer .ftop #main-logo2 {
    width: 290px;
    height: 60px;
    display: block;
}
footer .flink ul {
    display: flex;
}
footer .flink ul li {
    margin: 0 25px 20px 0;
    font-size: 1.5rem;
}
footer .flink ul li a {
    position: relative;
}
footer .flink ul li a:hover {
    text-decoration: none;
}
footer .flink ul li a::after {
    width: 0;
    height: 1px;
    background: var(--white);
    display: block;
    content: '';
    bottom: -5px;
    left: 0;
    position: absolute;
    transition: all 0.2s ease 0s;
}
footer .flink ul li a:hover::after {
    width: 100%;
}
footer .fbottom {
    padding: 20px 0 50px;
    border-top: 1px solid var(--white);
}
footer .fbottom ul {
    width: 100%;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}
footer .fbottom ul li {
    margin: 0 30px 10px 0;
}
footer .fbottom ul li:last-child {
    margin-right: 0;
}
footer .fbottom ul li a {
    font-size: 1.5rem;
    position: relative;
}
footer .fbottom ul li a:hover {
    text-decoration: none;
}
footer .fbottom ul li a::after {
    width: 0;
    height: 1px;
    background: var(--white);
    display: block;
    content: '';
    bottom: -5px;
    left: 0;
    position: absolute;
    transition: all 0.2s ease 0s;
}
footer .fbottom ul li a:hover::after {
    width: 100%;
}
footer .copyr p {
    margin: 0;
    color: var(--white);
    text-align: center;
}

/*===================================================

 RESPONSIVE

===================================================*/
@media screen and (max-width: 1640px) {
    .inner-1600 {
        width: calc(100% - 40px);
        margin: 0 auto;
    }
}
@media screen and (max-width: 1600px) {
    header {
        width: 100%;
    }
    #link {
        width: 90%;
        margin: 0 auto;
    }
    nav {
        max-width: 90%;
        margin: 15px auto 0;
    }
}
@media screen and (max-width: 1320px) {
    .inner-1280 {
        width: calc(100% - 40px);
        margin: 0 auto;
    }
}
@media screen and (max-width: 1275px) {
    header {
        margin-top: 0 !important;
        padding: 10px 0;
        background: var(--main);
        position: static;
        transform: none;
    }
    #link, nav {
        display: none;
    }
    #hamburger-menu {
        display: block;
    }
    #hamburger-menu #menu-logo1 {
        width: 250px;
        height: auto;
        margin-left: 5px;
        display: block;
    }
    #hamburger-menu #menu-btn-check {
        display: none;
    }
    #hamburger-menu .menu-btn {
        width: 40px;
        height: 40px;
        display: flex;
        justify-content: center;
        align-items: center;
        position: absolute;
        top: 15px;
        right: 20px;
        cursor: pointer;
        z-index: 10000;
    }
    #hamburger-menu .menu-btn span,
    #hamburger-menu .menu-btn span::before,
    #hamburger-menu .menu-btn span::after {
        width: 24px;
        height: 2px;
        border-radius: 3px;
        background: var(--black);
        display: block;
        content: '';
        position: absolute;
    }
    #hamburger-menu .menu-btn span:before {
        bottom: 8px;
    }
    #hamburger-menu .menu-btn span:after {
        top: 8px;
    }
    #hamburger-menu .menu-content {
        width: 40%;
        height: 100%;
        background: rgba(225, 199, 151, 0.98);
        box-shadow: -3px 0 3px rgba(0, 0, 0, 0.05);
        overflow-y: auto;
        position: fixed;
        top: 0;
        left: 100%;
        z-index: 9999;
        transition: all 0.5s;
    }
    #hamburger-menu:has(#menu-btn-check:checked) .menu-content {
        left: 60%;
    }
    #hamburger-menu:has(#menu-btn-check:checked) .menu-btn {
        position: fixed;
    }
    #hamburger-menu #menu-btn-check:checked ~ .menu-btn span {
        background: rgba(255, 255, 255, 0);
    }
    #hamburger-menu:has(#menu-btn-check:checked) .menu-btn span::before,
    #hamburger-menu:has(#menu-btn-check:checked) .menu-btn span::after {
        width: 30px;
        background: var(--white);
    }
    #hamburger-menu #menu-btn-check:checked ~ .menu-btn span::before {
        bottom: 0;
        left: -3px;
        transform: rotate(45deg);
    }
    #hamburger-menu #menu-btn-check:checked ~ .menu-btn span::after {
        top: 0;
        left: -3px;
        transform: rotate(-45deg);
    }
    #hamburger-menu:has(#menu-btn-check:checked) .menu-btn:hover span::before,
    #hamburger-menu:has(#menu-btn-check:checked) .menu-btn:hover  span::after {
        background: var(--accent);
    }
    #hamburger-menu #menu-btn-check:checked ~ .menu-btn span + span {
        display: none;
    }
    #menu ul {
        padding-top: 80px;
    }
    #menu ul li {
        border-bottom: 1px solid var(--white);
    }
    #menu ul li:nth-last-child(-n + 5) {
        background: var(--accent);
        border-bottom: 1px solid var(--white);
    }
    #menu li:last-child {
        border: none;
    }
    #menu ul li a {
        width: 100%;
        height: auto;
        padding: 15px 0 15px 35px;
        display: block;
        color: var(--white);
        font-size: 1.5rem;
        font-weight: 500;
        position: relative;
    }
    #menu ul li a:hover {
        color: var(--accent);
        text-decoration: none;
    }
    #menu ul li a::before {
        width: 8px;
        height: 8px;
        margin: auto;
        border-top: 2px solid var(--white);
        border-right: 2px solid var(--white);
        border-radius: 2px;
        box-sizing: content-box;
        transform: rotate(45deg);
        transition: 0.6s cubic-bezier;
        content: '';
        position: absolute;
        top: 2px;
        bottom: 0;
        left: 15px;
    }
    #menu ul li a:hover::before {
        border-top: 2px solid var(--accent);
        border-right: 2px solid var(--accent);
    }
    #menu ul li:nth-last-child(-n + 5) a {
        color: var(--white);
    }
    #menu ul li:nth-last-child(-n + 5) a:hover {
        color: var(--white);
        text-decoration: underline;
    }
    #menu ul li:nth-last-child(-n + 5) a:hover::before {
        border-top: 2px solid var(--white);
        border-right: 2px solid var(--white);
    }
    .block {
        background-image: none;
    }
}
@media screen and (max-width: 1550px) {
    #slide-banner.active {
        display: none;
    }
}
@media screen and (max-width: 1200px) {
    .inner-1160 {
        width: calc(100% - 40px);
        margin: 0 auto;
    }
}
@media screen and (max-width: 1160px) {
    .inner-1120 {
        width: calc(100% - 40px);
        margin: 0 auto;
    }
}
@media screen and (max-width: 1080px) {
    .inner-1040 {
        width: calc(100% - 40px);
        margin: 0 auto;
    }
}
@media screen and (max-width: 1040px) {
    .inner-1000 {
        width: calc(100% - 40px);
        margin: 0 auto;
    }
}
@media screen and (max-width: 970px) {
    footer .ftop #main-logo2 {
        margin: 0 auto 30px;
    }
    footer .flink {
        width: 100%;
        margin: 0 auto;
    }
    footer .flink ul {
        justify-content: center;
    }
    footer .fbottom {
        width: calc(100% - 40px);
        margin: 0 auto;
    }
}
@media screen and (max-width: 930px) {
    .block {
        height: auto;
        padding-bottom: 30px;
    }
    .block .block-top {
        font-size: 2.4rem;
    }
    .block .block-mid {
        justify-content: center;
    }
    .block .block-mid li {
        height: auto;
        margin: 20px;
    }
    .block .block-mid li a {
        margin: 0 auto 10px;
    }
    .block .block-mid + p {
        font-size: 2.0rem;
    }
}
@media screen and (max-width: 940px) {
    .inner-900 {
        width: calc(100% - 40px);
        margin: 0 auto;
    }
}
@media screen and (max-width: 840px) {
    .inner-800 {
        width: calc(100% - 40px);
        margin: 0 auto;
    }
}
@media screen and (max-width: 715px) {
    #hamburger-menu #menu-logo1 {
        width: 180px;
        height: 36px;
    }
    #hamburger-menu .menu-btn {
        top: 7px;
    }
    #hamburger-menu .menu-content {
        width: 60%;
    }
    #hamburger-menu:has(#menu-btn-check:checked) .menu-content {
        left: 40%;
    }
    .block {
        padding: 30px 0;
    }
    .block .block-top,
    .block .block-mid + p,
    .block .block-link {
        display: none;
    }
    footer .flink {
        display: none;
    }
    footer .fbottom {
        padding: 20px 0;
    }
    footer .fbottom ul li {
        width: 100%;
        margin: 0 0 10px;
        text-align: center;
    }
}
@media screen and (max-width: 700px) {
    header {
        box-shadow: 0 2px 2px rgba(0, 0, 0, 0.15);
        position: fixed;
        top: 0 !important;
        left: 0;
    }
}
@media screen and (max-width: 500px) {
    #hamburger-menu .menu-content {
        width: 100%;
    }
    #hamburger-menu:has(#menu-btn-check:checked) .menu-content {
        left: 0;
    }
    .contents {
        padding: 50px 0;
    }
    .big-btn,
    .more-btn {
        width: 90%;
        height: auto;
        padding: 20px 0;
        font-size: 1.8rem;
        line-height: initial;
    }
    .title h4 {
        font-size: 2.5rem;
    }
    .block .block-mid li p br {
        display: none;
    }
    #page-top {
        display: none !important;
    }
}