@charset "UTF-8";

* {
    margin: 0;
    padding: 0;
}

@font-face {
    font-family: Quicksand;
    src: url(../../font/Quicksand/Quicksand-VariableFont_wght.ttf);
}

@font-face {
    font-family: Zen_Kaku_Gothic_New;
    src: url(../../font/Zen_Kaku_Gothic_New/ZenKakuGothicNew-Regular.ttf);
}

html {
    scroll-behavior: smooth;
}


body {
    font-family: Zen_Kaku_Gothic_New;
    color: #333;
}

a {
    text-decoration: none;
    color: #333;
}

ul {
    list-style-type: none;
}

header {
    position: fixed;
    width: 100%;
    padding: 1% 0;
    top: 0;
    z-index: 10;
    background-color: rgba(255, 255, 255, 80%);
    box-shadow: 0 2px 5px #eee;
}

header h1 {
    width: 10%;
    height: fit-content;
    margin-left: 7%;
    font-size: 2vw;
}

header h1 a {
    display: block;
    text-align: center;
    line-height: 1.7;
}


.header-flex {
    display: flex;
}

.hamburger-container {
    display: none;
}

.header-flex nav {
    width: 40%;
    margin-left: 12%;
}

.header-flex nav ul {
    display: flex;
}

.header-flex nav ul li {
    width: 25%;
}


.header-flex nav ul li a {
    display: block;
    text-align: center;
    line-height: 3.4;
    font-size: 1vw;
    transition: 0.2s;
}

.header-flex nav ul li a:hover {
    opacity: 0.5;
    transition: 0.2s;
}


/* section */


main {
    width: 80%;
    margin-top: 10%;
    margin-left: auto;
    margin-right: auto;
}

main section {
    margin-top: 7%;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}

main section .button-flex {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
}

main section .button {
    width: 15%;
    margin-top: 6%;
    margin-left: auto;
    margin-right: auto;
    background-color: #eee;
    border: 1px solid transparent;
    border-radius: 0.5vw;
    transition: 0.3s;
}

main section .button:hover {
    background-color: #fff;
    border: 1px solid #666;
    transition: 0.3s;
}

main section .button a {
    display: block;
    text-align: center;
    line-height: 2.4;
    color: #888;
    font-size: 1.2vw;
}

main section details {
    display: block;
    width: 15%;
    margin-top: 6%;
    margin-left: auto;
    margin-right: auto;
    background-color: #eee;
    border-radius: 0.5vw;
    transition: 0.3s;
}

main section details[open] {
    width: 100%;
    background-color: #fff;
    animation: fade 1s ease;
}

@keyframes fade {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

main section details[open] summary {
    visibility: hidden;
    position: relative;
}

main section details[open] summary::before {
    visibility: visible;
    position: absolute;
    top: 0;
    left: 37%;
    content: "Company profile";
    padding: 0 2%;
    border-radius: 0.5vw;
    font-size: 1.7vw;
    color: #888;
    background-color: #eee;
}

main section details summary {
    display: block;
    text-align: center;
    line-height: 2.4;
    color: #888;
    font-size: 1.2vw;
    cursor: pointer;
}

summary::-webkit-details-marker {
    display: none;
}

main section details table {
    width: 100%;
    margin-top: 5%;
    font-size: 1.3vw;
    border-spacing: 0;
}

main section details table caption {
    margin-bottom: 2%;
    text-align: left;
    font-weight: bold;
    border-bottom: 1px solid #888;
    line-height: 2.4;
    text-indent: 1.5em;
    font-size: 2vw;
}

main section details table tr th,
main section details table tr td {
    border-bottom: 1px solid #ccc;
}

main section details table tr th {
    width: 20%;
    font-weight: normal;
    background-color: #F8F8F8;
    border-color: #fff;
}

main section details table tr td {
    display: block;
    padding: 3% 6%;
}


main h2 {
    font-size: 2.8vw;
    font-family: Quicksand;
    font-weight: normal;
    margin-bottom: 1%;
}

main section p:first-of-type {
    margin-bottom: 5%;
    font-size: 1.6vw;
}

main section img {
    opacity: 0;
    width: 100%;
    animation: aboutimg 2s forwards;
}

main section img:nth-of-type(2) {
    animation: aboutimg 2s forwards;
    /* animation-delay: 2s; */
    animation-timeline: view();
    animation-range: cover 0% contain 50%;;
}

@keyframes aboutimg {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

main section .about-flex {
    display: flex;
    align-items: center;
    margin-top: 5%;
    margin-bottom: 5%;
}

main section .about-flex p {
    font-size: 1.2vw;
    line-height: 2;
    text-align: justify;
}

main section .about-flex p span {
    display: inline-block;
    margin: 5% 0;
    font-size: 1.2vw;
}

main section .about-flex img {
    opacity: 0;
    width: 45%;
    margin-left: 5%;
    animation: aboutimg 2s forwards;
    /* animation-delay: 2s; */
    animation-timeline: view();
    animation-range: cover 0% contain 50%;;
}

main section .about-flex + p {
    margin-bottom: 5%;
    font-size: 1.4vw;
    line-height: 2;
    text-align: justify;
}



main .news-topics-flex {
    display: flex;
}

main .news-topics-flex section:nth-of-type(1) {
    width: 70%;
}

main .news-topics-flex section:nth-of-type(2) {
    width: 25%;
    margin-left: 5%;
}

/* 下部news */

main section .news-list {
    display: flex;
    gap: 3%;
    overflow-x: scroll;
}

main section .news-list .news-content {
    width: 30%;
    transition: 0.2s;
    flex-shrink: 0;
}

main section .news-list .news-content:hover {
    opacity: 0.5;
    transition: 0.2s;
}

main section .news-list .news-content a {
    text-decoration: none;
    color: #888;
}

main section .news-list .news-content a img {
    width: 100%;
}

main section .news-list .news-content a .text {
    padding: 5% 0;
}

main section .news-list .news-content a .text p {
    text-align: justify;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4; /* 制限したい行数が3の場合 */
    font-size: 1vw;
}

main section .news-list .news-content a .text p:nth-of-type(1) {
    color: #666;
    font-size: 1.2vw;
}

main section .news-list .news-content a .text p:nth-of-type(2) {
    line-height: 2;
    text-align: right;
}

main section .news-list .news-content a .text p:nth-of-type(3) {
    line-height: 1.7;
    text-indent: 1em;
}

main section .topics {
    padding: 3%;
    transition: 0.2s;
}

main section .topics:hover {
    opacity: 0.5;
    transition: 0.2s;
}

main section .topics img {
    display: block;
    width: 100%;
}

.top-link a {
    position: relative;
    display: block;
    width: 4vw;
    height: 4vw;
    margin-top: 5%;
    margin-left: auto;
    margin-right: 5%;
    border-radius: 50%;
    background-color: #ccc;
    transition: 0.2s;
}

.top-link a::before {
    position: absolute;
    top: 27%;
    left: 27%;
    content: "\f106";
    font: var(--fa-font-solid);
    font-size: 2vw;
    color: #fff;
}

.top-link a:hover {
    opacity: 0.5;
    transition: 0.2s;
}

/* footer */

footer {
    margin-top: 1%;
    padding: 5% 0 1% 0;
    background-color: #EEE;
}

footer .footer-nav {
    display: flex;
    width: 80%;
    margin-left: 10%;
}

footer .footer-nav ul {
    width: 20%;
    margin-bottom: 3%;
}

footer .footer-nav ul:nth-of-type(2) {
    margin-left: 10%;
}

footer .footer-nav ul li {
    transition: 0.2s;
}

footer .footer-nav ul li:hover {
    opacity: 0.5;
    transition: 0.2s;
}

footer .footer-nav ul li a {
    display: block;
    line-height: 3;
    color: #888;
    font-size: 1.2vw;
}

footer .footer-nav ul li a::before {
    content: "\f054";
    font: var(--fa-font-solid);
    font-size: 1vw;
    color: #ccc;
    margin-right: 3%;

    /* content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    border-right: 2px solid #ccc;
    border-top: 2px solid #ccc;
    transform: rotate(45deg); */
}

footer h3 {
    width: 10%;
    margin-left: auto;
}

h3 a {
    display: block;
    text-decoration: none;
    font-size: 2vw;
    color: #888;
    transition: 0.2s;
}

h3 a:hover {
    opacity: 0.5;
    transition: 0.2s;
}

footer p {
    text-align: center;
    color: #888;
    font-size: 1.2vw;
}

.whiteline {
    border-bottom: 2px solid #fff;
    margin-top: 3%;
    margin-bottom: 3%;
}

footer .sns-icon {
    width: 18%;
    margin-left: auto;
    margin-right: 5%;
}

footer .sns-icon a i {
    display: inline-block;
    margin-left: 7%;
    font-size: 2.4vw;
    vertical-align: middle;
    color: #888;
    background-color: #eee;
    transition: 0.2s;
}

footer .sns-icon a i:hover {
    opacity: 0.5;
    transition: 0.2s;
}

footer .sns-icon a .fa-square-x-twitter {
    margin-left: 0;
}

footer .sns-icon a .fa-line {
    font-size: 2.2vw;
}
