@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: 2.8vw;
}

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

.header-flex {
    display: flex;
}

.hamburger-container {
    display: none;
}

.header-flex nav {
    width: 55%;
    margin-left: 6%;
}

.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: 1.8vw;
    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: 18%;
    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.6vw;
}

main section details {
    display: block;
    width: 18%;
    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: 2vw;
    color: #888;
    background-color: #eee;
}

main section details summary {
    list-style-type: none;
    text-align: center;
    line-height: 2.4;
    color: #888;
    font-size: 1.6vw;
    cursor: pointer;
}

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

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

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

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 {
    font-size: 2vw;
    line-height: 2;
    text-align: justify;
}

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

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

main section .about-flex + p {
    margin-bottom: 5%;
}

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

main section img:nth-of-type(2) {
    animation: aboutimg 2s forwards;
    animation-delay: 2.5s;
}

@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 img {
    opacity: 0;
    width: 45%;
    margin-left: 5%;
    animation: aboutimg 2s forwards;
    animation-delay: 2s;
}



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

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

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

/* 下部news */

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

main section .news-list .news-content {
    width: 50%;
    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 {
    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: 3; 
    font-size: 1.6vw;
}

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

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 {
    margin-bottom: 5%;
    transition: 0.2s;
}

main section .topics:last-of-type {
    margin-bottom: 0;
}

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: 6vw;
    height: 6vw;
    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: 29%;
    left: 30%;
    content: "\f106";
    font: var(--fa-font-solid);
    font-size: 3vw;
    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: 28%;
    margin-bottom: 3%;
}

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

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: 2vw;
}

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

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

h3 a {
    display: block;
    font-size: 3.4vw;
    color: #888;
    transition: 0.2s;
}

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

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

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

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

footer .sns-icon a i {
    display: inline-block;
    margin-left: 7%;
    font-size: 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: 3.5vw;
}
