/* ==========================================================================
corporat top.css
https://corporate.murata.com/

Published.2026.03.25

Outline:
1.Corporate TOP Contents
========================================================================== */



/* ==========================================================================
1.Corporate TOP Contents
========================================================================== */
.link-icon {
    fill: currentColor;
    height: 11px;
    margin-bottom: 4px;
    margin-left: 8px;
    vertical-align: middle;
    width: 12px;
}

.link-arow {
    fill: currentColor;
    height: 11px;
    margin-bottom: 4px;
    margin-left: 8px;
    vertical-align: middle;
    width: 30px;
}

.m-information{
    background: #303030;
    color: #fff;
    display: flex;
    justify-content: center;
}

.m-information-inner{
    max-width: 1200px;
    margin: 30px 24px;
    display: flex;
    width: 100%;
}

.m-information h2{
    white-space: nowrap;
    border-right: 1px solid #c9c9c9;
    align-items: center;
    display: flex;
    padding-right: 25px;
    margin-right: 25px;
    font-weight: bold;
    font-size: 16px;
}

.m-information ul {
    gap: 5px;
    display: flex;
    flex-direction: column;
    line-height: 1.4;
}

.m-information a{
    font-size: 15px;
    color: #fff;
    padding-left: 20px;
    position: relative;
    text-decoration: none;
    display: block;
}

.m-information a:hover{
    text-decoration: underline;
}

.m-information a:before {
    border-bottom: 2px solid currentColor;
    border-left-width: 0;
    border-right: 2px solid currentColor;
    border-top-width: 0;
    content: "";
    height: 8px;
    left: 0;
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    transform: rotate(-45deg);
    width: 8px;
}

.top-box{
    display: flex;
    position: relative;
    justify-content: center;
    transition: all .3s cubic-bezier(.25, .8, .25, 1);
    max-width: 1920px;
    margin: 0 auto;
}

.top-box:nth-of-type(even) .top-box-inner{
    flex-direction: row-reverse;
}

.top-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    background: #525b5cfa;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.top-box-inner{
    display: flex;
    margin: 100px 24px;
    max-width: 1200px;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
}

.top-box-title{
    display: flex;
    flex-direction: column;
    justify-content: center;
    background:#fff;
    position: relative;
    clip-path: polygon(0 0, 100% 0, 100% 80%, 70% 100%, 0 100%);
    text-decoration: none;
    height: 500px;
    padding:50px;
    outline-offset: -1px;
    max-width: 520px;
    width: 80%;
    z-index: 2;
}

.top-box-title .link-arow{
    color:#cc0011;
}

.top-box-title .link-arow:after {
    display: inline-block;
    margin-top: -.2em;
    margin-left: 1rem;
    color: #ea002a;
    font-weight: 400;
    font-size: 3.5rem;
    font-family: icons;
    font-style: normal;
    -webkit-font-feature-settings: normal;
    font-feature-settings: normal;
    font-variant: normal;
    line-height: 0;
    text-transform: none;
    vertical-align: middle;
    content: "\EA5B";
    -webkit-font-smoothing: antialiased;
}

.top-box-title:hover p{
    color: #222;
}

.top-box-title a{
    font-weight: bold;
    white-space: nowrap;
}

.plus-icon {
    position: absolute;
    width: 60px;
    height: 60;
    right: 0;
    top: 0;
}

.plus-icon summary{
    height: 60px;
    list-style: none;
    cursor: pointer;
}

.plus-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2px;
    height: 30px;
    background-color: #cc0011;
    transform: translate(-50%, -50%);
    transition: transform .3s cubic-bezier(.25, .8, .25, 1);
    pointer-events: none;
}

.plus-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 2px;
    background-color: #cc0011;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.top-box-title h2{
    font-size: min(8vw,80px);
    line-height: 1em;
    color: #cc0011;
    display: flex;
    flex-direction: column;
    margin-bottom: 40px;
    letter-spacing: -0.03em;
}

.top-box:nth-of-type(2) .top-box-title h2{
    font-size: min(6.5vw,65px);
}

.top-box:nth-of-type(4) .top-box-title h2{
    font-size: min(6.5vw,65px);
}

.top-box-title h2 span{
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 0;
    line-height: 3em;
}

.top-box-menu{
    opacity: 0;
    transform: translateY(20px);
    gap: 10px 30px;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    transition: all .4s cubic-bezier(.25, .5, .5, 1);
    pointer-events: none;
    width: 50%;
}


/* .top-box:hover::before, */
/* .top-box:has(details[open])::before, */
.top-box:has(.top-box-menu:focus-within)::before,
.top-box.is-active::before{
    transform: scaleX(1);
}

/* .top-box:hover .plus-icon::before, */
/* .top-box:has(details[open]) .plus-icon::before, */
.top-box:has(.top-box-menu:focus-within) .plus-icon::before,
.top-box.is-active .plus-icon::before{
    transform: translate(-50%, -50%) rotate(90deg);
}

/* .top-box:hover .top-box-menu, */
/* .top-box:has(details[open]) .top-box-menu, */
.top-box:has(.top-box-menu:focus-within) .top-box-menu,
.top-box.is-active .top-box-menu{
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.top-box:nth-of-type(even) .top-box-menu {
    margin-left: 24px;
}
.top-box:nth-of-type(odd) .top-box-menu {
    margin-right: 24px;
}

.top-box:nth-of-type(1) .top-box-menu{
    height: 300px;
}
.top-box:nth-of-type(2) .top-box-menu{
    height: 230px;
}
.top-box:nth-of-type(3) .top-box-menu{
    height: 290px;
}
.top-box:nth-of-type(4) .top-box-menu{
    height: 180px;
}
.top-box-menu{
    text-indent: -20px;
    padding-left: 20px;
}
.top-box-menu li{
    width: 50%;
}

.top-box-menu a{
    color: #fff;
    text-decoration: none;
    padding-left: 20px;
    position: relative;
}

.top-box-menu a:before {
    border-bottom: 2px solid currentColor;
    border-left-width: 0;
    border-right: 2px solid currentColor;
    border-top-width: 0;
    content: "";
    height: 8px;
    left: 0;
    position: absolute;
    top: 6px;
    margin: auto;
    transform: rotate(-45deg);
    width: 8px;
}

.top-box-menu a:hover{
    text-decoration: underline;
}

.top-bg{
    z-index: -1;
    position: absolute;
    width: 100%;
    height: 100%;
}
.top-bg img{
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.top-box:nth-of-type(1) .top-bg img {
    object-position: top;
}
.top-box:nth-of-type(2) .top-bg img {
    object-position: right;
}
.top-box:nth-of-type(3) .top-bg img {
    object-position: right;
}
.top-box:nth-of-type(4) .top-bg img {
    object-position: left;
}
.top-pickup{
    background: #ea002a;
    color: #fff;
    display: flex;
    justify-content: center;
}

.top-pickup-inner{
    max-width: 1200px;
    margin: 40px 24px 80px;
}

.top-pickup h2{
    font-size: min(13vw, 64px);
}

.top-pickup a{
    color: #fff;
}

.top-pickup .pickup-img{
    display: block;
    overflow: hidden;
}

.top-pickup a img{
    transition: transform .3s cubic-bezier(.25, .8, .25, 1);
}

.top-pickup a:hover img{
    transform: scale(1.05);
}

.top-pickup-btnbox{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 20px;
}

.top-pickup-btnbox a{
    text-decoration: none;
}

.top-pickup-btnbox a:hover{
    text-decoration: underline;
}

.top-pickup-btnbox>a{
    width: 40%;
}

.top-pickup-subbox{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 56%;
    gap: 5%;
}

.top-pickup-subbox li{
    width: 47%;
}

.top-pickup-subbox p.pickup-link-arow::after {
    display: inline-block;
    margin-top: -.2em;
    margin-left: 1rem;
    color: #fff;
    font-weight: 400;
    font-size: 3.5rem;
    font-family: icons;
    font-style: normal;
    -webkit-font-feature-settings: normal;
    font-feature-settings: normal;
    font-variant: normal;
    line-height: 0;
    text-transform: none;
    vertical-align: middle;
    content: "\EA5B";
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/*リンクテキスト文字色のfocus処理*/
.top-box .top-box-menu a.focus-visible:focus,
.top-pickup .top-pickup-btnbox a.focus-visible:focus,
.m-information .m-information_list li a {
color:#fff ;
}

@media screen and (max-width: 1024px) {
    .top-box-menu{
        height: auto!important;
    }
    
    .top-box-menu li{
        width: 100%;
    }
    
    .top-pickup-btnbox>a {
        width: 41%;
    }
}

@media screen and (max-width: 768px) {
    
    .m-information-inner {
        flex-direction: column;
    }
    
    .m-information h2 {
        border-right: 0;
        border-bottom: 1px solid #c9c9c9;
        margin-right: 0;
        padding-bottom: 10px;
        margin-bottom: 30px;
    }
    
    .top-box {
        flex-direction: column-reverse;
    }
    
    .top-box:hover{
        background: none;
    }
    
    .top-box-inner {
        margin: 0;
    }
    
    .top-box-title{
        width: 100%;
        height: 100%;
        padding: 20px 24px 100px;
        max-width: 100%;
    }
    
    .top-box-title h2{
        font-size: min(16vw);
    }
    
    .top-box:nth-of-type(2) .top-box-title h2{
        font-size: min(13vw);
    }
    
    .top-box:nth-of-type(4) .top-box-title h2{
        font-size: min(13vw);
    }
    
    .top-box::before,
    .top-box-menu,
    .plus-icon{
        display: none!important;
    }
    
    .top-bg {
        position: relative!important;
    }
    
    .top-box:nth-of-type(even) .top-box-inner{
        flex-direction: row;
    }
    
    .top-pickup-btnbox{
        gap: 60px;
    }
    
    .top-pickup-btnbox>a{
        width: 100%;
    }
    
    .top-pickup-subbox{
        width: 100%;
        gap: 30px;
    }
    
    .top-pickup-subbox li{
        width: 100%;
        display: flex;
        gap: 20px;
    }
    .top-pickup-subbox li > a{
        display: flex;
        gap: 20px;
    }
    
    .top-pickup-subbox .pickup-img {
        width: 50%;
    }
    
    .top-pickup-subbox p {
        width: 44%;
    }
}
