@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;
}

body {
    overflow-x: hidden;
}

/*ヘッダー*/

header {
    position: fixed;
    top: 0;
    display: flex;
    width: 100%;
    background-color: #fff;
    z-index: 999;
}

h1 {
    width: 33%;
    margin-left: 33%;
}

h1 a img {
    width: 100%;
}

nav {
    position: relative;
}

nav ul {
    display: none;
    position: absolute;
    top: 13vw;
    left: -66vw;
    width: 100vw;
    list-style-type: none;
}

nav ul li {
    position: relative;
    width: 100%;
}

nav ul li a {
    display: block;
    text-align: center;
    line-height: 4;
    font-size: 4vw;
    font-family: 'Noto_Sans_JP';
    text-decoration: none;
    color: #222;
    transition: 0.3s;
}

nav ul li a:hover {
    color: #fff;
    background-color: rgb(244, 0, 0);
    transition: 0.3s;
}

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

.insta {
    position: relative;
    top: 0.5vw;
    left: 24vw;
    width: 5%;
}

.insta a {
    display: block;
    text-align: center;
    color: #666;
    font-size: 9vw;
}

/*トグルボタンが押されたときに付与するクラス*/
nav.NavMenu.active ul {
	/*transform: translateY(0%);/*上から出したい場合は、transform: translateYを使う。*/
    display: block;
    background-color: rgba(255,255,255,1);
    animation: humbarger 0.8s;
}

@keyframes humbarger {
	0% { width: 10vw; }
  100% { width: 100vw; }
}

/*トグルボタンのスタイルを指定*/
.Toggle {
	position: fixed;    /* bodyに対しての絶対位置指定 */
    top: 1.5vw;
    left: 12px;
    width: 42px;
	height: 42px;
	cursor: pointer;/*divだけどカーソルが変わるようにしている*/
	z-index: 3;/*ボタンを一番上にしている(押せなくなるから)*/
}

.Toggle span {
	display: block;
	position: absolute;
	width: 22px;
	border-bottom: solid 3px #000;
	transition: .35s ease-in-out;			/*変化の速度を指定*/
	left: 6px;
}

.Toggle span:nth-child(1) {
	top: 9px;
}

.Toggle span:nth-child(2) {
	top: 18px;
}

.Toggle span:nth-child(3) {
	top: 27px;
}

/* 最初のspanをマイナス45度に */
.Toggle.active span:nth-child(1) {
	top: 18px;
	left: 6px;
	transform: rotate(-45deg);
}

/* 2番目と3番目のspanを45度に */
.Toggle.active span:nth-child(2),
.Toggle.active span:nth-child(3) {
	top: 18px;
	transform: rotate(45deg);
}

/*メイン*/

main {
    padding-top: 30%;
}

/*トップ画像*/

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

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

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

/*会社案内*/

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

.section-left {
    width: 100%;
}

/*企業理念*/

.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: 5vw;
    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: 3vw;
    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: 5vw;
    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: 3vw;
    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: 5vw;
    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: 3vw;
    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: 1em;
}

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

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

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

/*代表者経歴*/

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

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

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

.president-career p:nth-child(2) {
    margin-bottom: 1%;
    font-size: 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: 5vw;
    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: 3vw;
    font-family: 'Noto_Sans_JP';
    border: 1px solid #aaa;
}

.company-profile td {
    width: 60vw;
    height: 5vw;
    padding-left: 3%;
    white-space: pre-wrap;
    letter-spacing: -0.1em;
    color: #222;
    font-size: 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: 5vw;
    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: 3vw;
    font-family: 'Noto_Sans_JP';
    border: 1px solid #aaa;
    background-color: rgb(248, 248, 248);
}

.company-history td {
    width: 60vw;
    height: 5vw;
    padding-left: 5%;
    white-space: pre-wrap;
    letter-spacing: -0.1em;
    color: #222;
    font-size: 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: 5vw;
    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: 3vw;
    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: 70vw;
    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: 18%;
    margin-right: 2%;
    line-height: 3;
    font-size: 3vw;
    letter-spacing: 0.2em;
    color: #222;
    font-family: 'Noto_Sans_JP';
}

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

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

.company-effort-box {
    width: 95%;
    margin-bottom: 10%;
}

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

.company-effort-box p:nth-child(2) {
    margin-top: 1%;
    margin-bottom: 3%;
    letter-spacing: 0em;
    font-size: 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: 3vw;
    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: 5vw;
    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: 3vw;
    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: 70vw;
    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: 1%;
    margin-right: 2%;
    line-height: 3;
    font-size: 3vw;
    letter-spacing: 0.2em;
    color: #222;
    font-family: 'Noto_Sans_JP';
}

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

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

.community-activities-box {
    width: 95%;
    margin-bottom: 10%;
}

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

.community-activities-box p:nth-child(2) {
    margin-top: 1%;
    margin-bottom: 3%;
    letter-spacing: 0em;
    font-size: 3vw;
    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: 3vw;
    color: #222;
    font-family: 'Noto_Sans_JP';
}

/*サイドバー*/

.section-right {
    display: none;
}

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

.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: 4vw;
    font-family: 'Noto_Sans_JP';
}

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

/*フッター*/

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

.yajirushi {
    width: 1.5%;
    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: 2.8vw;
    font-family: 'Noto_Sans_JP';
}

.footer-image {
    width: 50%;
    margin: 5% auto 3%;
}

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

footer address {
    text-align: center;
    line-height: 2;
    color:  #fff;
    font-size: 2.8vw;
    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);}
}

