@charset "UTF-8";

* {
    margin: 0;
    padding: 0;
}

@font-face {
    font-family: 'Noto_Sans_JP';
    src: url(../font/Noto_Sans_JP/static/NotoSansJP-Medium.ttf);
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

/*ヘッダー*/

header {
    position: fixed;
    top: 0;
    display: flex;
    width: 92%;
    padding: 1% 4% 0%;
    background-color: rgba(255,255,255,0.3);
    z-index: 999;
}

h1 {
    width: 24%;
}

h1 a img {
    width: 100%;
}

nav {
    width: 30%;
    margin-left: 42%;
}

nav ul {
    display: flex;
    list-style-type: none;
}

nav ul li {
    position: relative;
    width: 25%;
    margin-top: 8%;
}

nav ul li a {
    display: block;
    text-align: center;
    font-size: 1.3vw;
    font-family: 'Noto_Sans_JP';
    text-decoration: none;
    color: #222;
}

nav ul li a:hover {
    color: red;
    transition: 0.5s;
}

nav ul li a:hover::before {
    width: 100%;
    transition: 1.5s;
}

nav ul li a::before {
    position: absolute;
    display: block;
    width: 0%;
    left: 38%;
    bottom: -40%;
    content: "";
    height: 34%;
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url(../images/icon-smile.svg) ;
    transition: 1.5s;
}

nav ul li:nth-child(3) a {
    color: red;
}

nav ul li:nth-child(3) a::before {
    position: absolute;
    display: block;
    width: 100%;
    left: 38%;
    bottom: -40%;
    content: "";
    height: 34%;
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url(../images/icon-smile.svg) ;
}

.insta {
    width: 2%;
    margin-left: 1.5%;
}

.insta a {
    display: block;
    margin-top: 100%;
    text-align: center;
    color: #666;
    font-size: 1.8vw;
}

/*メイン*/

main {
    padding-top: 1.5%;
}

/*トップ画像*/

.company-top {
    position: relative;
    width: 100%;
    height: 55vw;
    top: 12vw;
    background-size: 100% 90%;
    background-repeat: no-repeat;
    background-image: url(../images/mv-photo-item2.webp);
}

.company-top h2 {
    position: absolute;
    top: -5vw;
    left: 46%;
    font-size: 1.5vw;
    font-weight: 200;
    letter-spacing: 0.5em;
    font-family: 'Noto_Sans_JP';
    color: #444;
}

.company-top p {
    position: absolute;
    top: -3vw;
    left: 30%;
    font-size: 4vw;
    letter-spacing: 0.1em;
    font-weight: 500;
    font-family: 'Noto_Sans_JP';
    color: rgb(244, 0, 0);
   
}

/*会社案内*/

.column {
    display: flex;
    margin-top: 1%;
}

.section-left {
    width: 75%;
}

/*企業理念*/

.section-left-back {
    padding: 15% 0 10%;
    border-bottom-right-radius: 2.5rem;
    background-color: rgb(248, 248, 248);
}

.philosophy h2 {
    position: relative;
    margin-left: 8%;
    margin-bottom: 3%;
    letter-spacing: 0.1em;
    color: #222;
    font-size: 2.2vw;
    font-family: 'Noto_Sans_JP';
}

.philosophy h2::before {
    position: absolute;
    top: -1.8vw;
    left: -4%;
    width: 10%;
    height: 3vw;
    content: "";
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url(../images/section-title-decoration.svg);
}

.philosophy p {
    width: 70%;
    margin-left: 8%;
    padding: 5% 5% 5%;
    color: #fff;
    font-size: 1.6vw;
    letter-spacing: 0.1em;
    font-family: 'Noto_Sans_JP';
    border-radius: 1rem 2.5rem 2.5rem;
    background-color: rgb(244, 0, 0);
}

/*ビジョン*/

.vision {
    margin-top: 10%;
}

.vision h2 {
    position: relative;
    margin-left: 8%;
    margin-bottom: 3%;
    letter-spacing: 0.1em;
    color: #222;
    font-size: 2.2vw;
    font-family: 'Noto_Sans_JP';
}

.vision h2::before {
    position: absolute;
    top: -1.8vw;
    left: -4%;
    width: 10%;
    height: 3vw;
    content: "";
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url(../images/section-title-decoration.svg);
}

.vision p {
    width: 70%;
    margin-left: 8%;
    padding: 5% 5% 5%;
    color: #222;
    font-size: 1.6vw;
    letter-spacing: 0.1em;
    font-family: 'Noto_Sans_JP';
    border-radius: 1rem 2.5rem 2.5rem;
    background-color: rgb(255, 185, 0);
}

/*代表者紹介*/

.representative {
    margin-top: 10%;
}

.representative h2 {
    position: relative;
    margin-left: 8%;
    margin-bottom: 3%;
    letter-spacing: 0.1em;
    color: #222;
    font-size: 2.2vw;
    font-family: 'Noto_Sans_JP';
}

.representative h2::before {
    position: absolute;
    top: -1.8vw;
    left: -4%;
    width: 10%;
    height: 3vw;
    content: "";
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url(../images/section-title-decoration.svg);
}

.representative-message {
    width: 70%;
    margin-left: 8%;
    margin-bottom: 1%;
    letter-spacing: 0.1em;
    font-size: 1.6vw;
    color: #222;
    font-family: 'Noto_Sans_JP';
}

.representative-flex-box {
    display: flex;
    width: 90%;
    margin-left: 8%;
    padding-top: 3%;
    padding-bottom: 3%;
    border-top: 1px solid #aaa;
}

.representative-flex-box div {
    width: 30%;
}

.representative-flex-box div img {
    width: 100%;
    border-radius: 2rem;
}

.representative-president {
    width: 100%;
    text-align: center;
    white-space: pre-wrap;
    font-size: 1.3vw;
    color: #222;
    font-family: 'Noto_Sans_JP';
}

.representative-president span {
    padding-right: 1em;
    letter-spacing: 0.1em;
    font-size: 1.1vw;
}

.representative-text {
    width: 64%;
    padding-left: 5%;
    white-space: pre-wrap;
    line-height: 1.8;
    font-size: 1.2vw;
    letter-spacing: 0.2em;
    color: #222;
    font-family: 'Noto_Sans_JP';
}

/*代表者経歴*/

.president-career {
    margin-left: 8%;
    padding: 3%;
    border-radius: 1rem 2.5rem 2.5rem;
    border: 1px solid #aaa;
}

.president-career p {
    white-space: pre-wrap;
    font-size: 1.2vw;
    line-height: 2;
    letter-spacing: 0.2em;
    color: #222;
    font-family: 'Noto_Sans_JP';    
}

.president-career p:nth-child(1) {
    font-size: 1.4vw;
    color: rgb(244, 0, 0);
}

.president-career p:nth-child(2) {
    margin-bottom: 1%;
    font-size: 1.3vw;
}

/*会社概要*/

.company-profile {
    margin-top: 10%;
    padding: 5% 0 5% 8%;
    border-top-right-radius: 2.5rem;
    border-bottom-right-radius: 2.5rem;
    background-color: rgb(248, 248, 248);
}

.company-profile h2 {
    position: relative;
    margin-bottom: 3%;
    letter-spacing: 0.1em;
    color: #222;
    font-size: 2.2vw;
    font-family: 'Noto_Sans_JP';
}

.company-profile h2::before {
    position: absolute;
    top: -1.8vw;
    left: -4%;
    width: 10%;
    height: 3vw;
    content: "";
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url(../images/section-title-decoration.svg);
}

.company-profile table {
    border-collapse: collapse;
}

.company-profile th {
    width: 20vw;
    height: 5vw;
    letter-spacing: 0.1em;
    color: #222;
    font-size: 1.3vw;
    font-family: 'Noto_Sans_JP';
    border: 1px solid #aaa;
}

.company-profile td {
    width: 42vw;
    height: 5vw;
    padding-left: 5%;
    white-space: pre-wrap;
    letter-spacing: 0.1em;
    color: #222;
    font-size: 1.3vw;
    font-family: 'Noto_Sans_JP';
    border: 1px solid #aaa;
    background-color: #fff;
}

/*沿革*/

.company-history {
    margin-top: 10%;
    padding: 5% 0 5% 8%;
}

.company-history h2 {
    position: relative;
    margin-bottom: 3%;
    letter-spacing: 0.1em;
    color: #222;
    font-size: 2.2vw;
    font-family: 'Noto_Sans_JP';
}

.company-history h2::before {
    position: absolute;
    top: -1.8vw;
    left: -4%;
    width: 10%;
    height: 3vw;
    content: "";
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url(../images/section-title-decoration.svg);
}

.company-history table {
    border-collapse: collapse;
}

.company-history th {
    width: 20vw;
    height: 5vw;
    letter-spacing: 0.1em;
    color: #222;
    font-size: 1.3vw;
    font-family: 'Noto_Sans_JP';
    border: 1px solid #aaa;
    background-color: rgb(248, 248, 248);
}

.company-history td {
    width: 42vw;
    height: 5vw;
    padding-left: 5%;
    white-space: pre-wrap;
    letter-spacing: 0.1em;
    color: #222;
    font-size: 1.3vw;
    font-family: 'Noto_Sans_JP';
    border: 1px solid #aaa;
}

/*会社としての取り組み*/

.company-effort {
    position: relative;
    margin-top: 10%;
    padding: 5% 0 5% 8%;
    border-top-right-radius: 2.5rem;
    border-bottom-right-radius: 2.5rem;
    background-color: rgb(248, 248, 248);
}

.company-effort h2 {
    position: relative;
    margin-bottom: 3%;
    letter-spacing: 0.1em;
    color: #222;
    font-size: 2.2vw;
    font-family: 'Noto_Sans_JP';
}

.company-effort h2::before {
    position: absolute;
    top: -1.8vw;
    left: -4%;
    width: 10%;
    height: 3vw;
    content: "";
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url(../images/section-title-decoration.svg);
}

.company-effort-text {
    padding-right: 5%;
    white-space: pre-wrap;
    line-height: 1.8;
    font-size: 1.2vw;
    letter-spacing: 0.2em;
    color: #222;
    font-family: 'Noto_Sans_JP';
}


.company-effort-image {
    display: block;
    position: absolute;
    width: 55%;
    height: 30vw;
}

.company-effort-image img:nth-child(1) {
    position: relative;
    width: 9vw;
    height: 9vw;
    left: 54vw;
    bottom: 1vw;
    animation: swing 10s linear infinite;
    transform: rotate(20deg);
}

@keyframes swing {
    50% {transform: rotate(-20deg);}
    100% {transform: rotate(20deg);}
}

.company-effort-sdgs {
    display: flex;
    width: 85%;
    margin-top: 5%;
    margin-bottom: 5%;
    padding: 5% 5% 5%;
    border-radius: 1rem 2.5rem 2.5rem;
    background-color: rgb(255, 185, 0);
}

.company-effort-sdgs p {
    margin-left: 22%;
    margin-right: 2%;
    line-height: 4.5;
    font-size: 1.4vw;
    letter-spacing: 0.2em;
    color: #222;
    font-family: 'Noto_Sans_JP';
}

.company-effort-sdgs img {
    width: 6vw;
    height: 6vw;
    margin-left: 2%;
}

.company-effort-flex {
    display: flex;
    margin-top: 5%;
    margin-right: 5%;
    justify-content: space-between;
}

.company-effort-box {
    width: 48%;
}

.company-effort-box img {
    width: 100%;
}

.company-effort-box p:nth-child(2) {
    margin-top: 1%;
    margin-bottom: 3%;
    letter-spacing: -0.06em;
    font-size: 1.3vw;
    color: rgb(244, 0, 0);
    font-family: 'Noto_Sans_JP';
}

.company-effort-box p:nth-child(3) {
    letter-spacing: 0.2em;
    line-height: 1.8;
    font-size: 1.2vw;
    color: #222;
    font-family: 'Noto_Sans_JP';
}

/*社会・地域貢献活動*/


.community-activities {
    position: relative;
    margin-top: 10%;
    padding: 5% 0 5% 8%;
}

.community-activities h2 {
    position: relative;
    margin-bottom: 3%;
    letter-spacing: 0.1em;
    color: #222;
    font-size: 2.2vw;
    font-family: 'Noto_Sans_JP';
}

.community-activities h2::before {
    position: absolute;
    top: -1.8vw;
    left: -4%;
    width: 10%;
    height: 3vw;
    content: "";
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url(../images/section-title-decoration.svg);
}

.community-activities-text {
    padding-right: 5%;
    white-space: pre-wrap;
    line-height: 1.8;
    font-size: 1.2vw;
    letter-spacing: 0.2em;
    color: #222;
    font-family: 'Noto_Sans_JP';
}

.community-activities-image {
    display: block;
    position: absolute;
    width: 55%;
    height: 30vw;
}

.community-activities-image img:nth-child(1) {
    position: relative;
    width: 8vw;
    height: 8vw;
    left: 56vw;
    bottom: 1.1vw;
    animation: screw 3s ease-out infinite;
}

@keyframes screw {
    0% {transform: scale(1) rotate(0);}
    50% {transform: scale(1.1) rotate(25deg);}    
    100% {transform: scale(1) rotate(0);}
}

.community-activities-sdgs {
    display: flex;
    width: 85%;
    margin-top: 5%;
    margin-bottom: 5%;
    padding: 5% 5% 5%;
    border-radius: 1rem 2.5rem 2.5rem;
    background-color: rgb(255, 185, 0);
}

.community-activities-sdgs p {
    margin-left: 5%;
    margin-right: 2%;
    line-height: 4.5;
    font-size: 1.4vw;
    letter-spacing: 0.2em;
    color: #222;
    font-family: 'Noto_Sans_JP';
}

.community-activities-sdgs img {
    width: 6vw;
    height: 6vw;
    margin-left: 2%;
}

.community-activities-flex {
    display: flex;
    margin-top: 5%;
    margin-right: 5%;
    justify-content: space-between;
}

.community-activities-box {
    width: 47%;
}

.community-activities-box img {
    width: 100%;
}

.community-activities-box p:nth-child(2) {
    margin-top: 1%;
    margin-bottom: 3%;
    letter-spacing: -0.1em;
    font-size: 1.2vw;
    color: rgb(244, 0, 0);
    font-family: 'Noto_Sans_JP';
}

.community-activities-box p:nth-child(3) {
    letter-spacing: 0.2em;
    line-height: 1.8;
    font-size: 1.1vw;
    color: #222;
    font-family: 'Noto_Sans_JP';
}

/*サイドバー*/

.section-right {
    position: sticky;
    top: 20%;
    width: 25%;
    height: 30vw;
    margin-top: 12%;
    margin-left: 3%;
}

.section-right h2 {
    margin-bottom: 5%;
    letter-spacing: 0.1em;
    padding-left: 13%;
    color: #444;
    font-size: 1.6vw;
    font-family: 'Noto_Sans_JP';
}


.section-right ul li {
    list-style-type: none;
}

.section-right ul li a {
    position: relative;
    display: block;
    width: 60%;
    padding-left: 22%;
    line-height: 3;
    font-size: 1.3vw;
    color: #222;
    text-decoration: none;
    font-family: 'Noto_Sans_JP';
    border-bottom: 1px solid #888;
    transition: 0.3s;
}

.section-right ul li a:nth-child(2) {
    border-top: 1px solid #888;
}

.section-right ul li a::before {
    position: absolute;
    top: 0.5vw;
    left: 3vw;
    content: '●';
    font-size: 1vw;
    color: #888;
}

.section-right ul li a:hover {
    color: rgb(244, 0, 0);
    transition: 0.3s;
}

.section-right ul li a:hover::before {
    content: '〇';
    font-size: 1vw;
    font-weight: 1000;
    color: rgb(244, 0, 0);
}

.section-right ul li a.js-css {
    color: rgba(244, 0, 0);
}

.section-right ul li a.js-css::before {
    content: '〇';
    font-size: 1vw;
    font-weight: 1000;
    color: rgb(244, 0, 0);
}

/*ユースエール認定企業*/

.youth-yell {
    display: flex;
    width: 82%;
    margin: 15% auto 0%;
}

.youth-yell-image {
    width: 15%;
}

.youth-yell-image img {
    width: 100%;
}

.youth-yell-text {
    width: 75%;
    margin-left: auto;
}


.youth-yell-text h3 {
    letter-spacing: 0.1em;
    color: #222;
    font-size: 1.6vw;
    font-family: 'Noto_Sans_JP';
}

.youth-yell-text p {
    margin-top: 2%;
    margin-bottom: 5%;
    line-height: 1.5;
    color: #222;
    font-size: 1.1vw;
    font-family: 'Noto_Sans_JP';
}

/*フッター*/

footer {
    width: 100%;
    height: 55vw;
    margin-top: 5%;
    overflow: hidden;
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url(../images/footer-bg.svg);
}

.yajirushi {
    width: 1%;
    height: 5vw;
    margin: 0 auto;
    content: "";
    clip-path: polygon(0 0, 100% 14%, 100% 100%, 0% 100%);
    background: #ffbc0d;
    transition: 0.8s;
}

.yajirushi:hover {
    transform: scale(-1, 1);
    transition: 0.8s;
}

footer a {
    text-decoration: none;
}

footer a p {
    text-align: center;
    color:  rgb(244, 0, 0);
    font-size: 1.4vw;
    font-family: 'Noto_Sans_JP';
}

.footer-image {
    width: 30%;
    margin: 10% auto 10%;
}

.footer-image img {
    width: 100%;
}

footer address {
    text-align: center;
    line-height: 2;
    color:  #fff;
    font-size: 1.1vw;
    font-family: 'Noto_Sans_JP';
}

.mac-image-footer {
    position: relative;
    width: 100%;
}

.mac-image-footer img:nth-child(1) {
    position: absolute;
    top: 8vw;
    height: 8vw;
    animation: macanime2 40s linear infinite;
}

@keyframes macanime2 {
    0% {transform: translateX(43%);}
  100% {transform: translateX(-90%);}
}

.mac-image-footer img:nth-child(2) {
    position: absolute;
    height: 36vw;
    top: -3vw;
    left: 68vw;
    animation: swing 10s linear infinite;
    transform: rotate(20deg);
}

@keyframes swing {
    50% {transform: rotate(-20deg);}
    100% {transform: rotate(20deg);}
}

