/*
Theme Name: SLV
 */
@charset "utf-8";
/* WEB Fonts */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;500&display=swap');
@import url('https://db.onlinewebfonts.com/c/d2889fc52158f72e629f70a9ff1e17b3?family=Changeling+Neo+W02+Stencil');
/* Grobal Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Noto Sans JP', sans-serif;
}
body, html {
    height: 100%;
}
/* Logo Background */
.logo-background {
    height: 100vh;
    position: relative;
}
.logo-background::after {
    content: "";
    width: 100vw;
    height: 100vh;
    background-image: url('img/main-image.png');
    background-size: cover;
    background-position: center;
    position: fixed;
    top: 0px;
    left: 0px;
    z-index: -1;
}
.overlay-black {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}
/* Header */
header {
    position: absolute;
    top: 0;
    width: 100%;
    height: 72px;
    display: flex;
    justify-content: space-between;
    padding: 8px 8px;
    color: white;
    background-color: rgba(0, 0, 0, 0.75);
    overflow: hidden;
    align-items: center;
}
/* Company */
.company {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}
.company h1 {
    font-size: 6pt;
    margin-bottom: 0px;
}
.company div {
    font-size: 11pt;
}
/* Contact */
.contact {
	display: flex;
}
.contact a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
	color: white;
    text-decoration: none; 
    font-size: 7pt;
	padding: 2px;
}
.contact img {
    width: 24px;
    height: 24px;
}
/* Logo */
.logo {
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    width: 75vw;
    opacity: 0;
    animation: fadeIn 2s ease forwards;
}
.logo h2 {
    font-size: 2.4vw;
    opacity: 0;
    animation: fadeInText 3s ease forwards 1.5s;
    margin: 0 auto;
}
.logo div {
    width: 0;
    height: 1px;
    background-color: white;
    margin: 8px auto;
    animation: expandLine 2s ease forwards 0.5s;
}
@keyframes fadeIn {
    to {
        opacity: 1;
    }
}
@keyframes fadeInText {
    to {
        opacity: 1;
    }
}
@keyframes expandLine {
    to {
        width: 100%;
    }
}
/* Scroll Cursor */
.scroll-cursor {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    cursor: pointer;
    z-index: 10;
}
.scroll-cursor img {
    width: 32px;
    height: auto;
    animation: bounce 1.5s infinite;
}
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}
/* Main Content Wrap */
.content-wrap {
    background-image: url('img/background.jpg');
    background-repeat: repeat;
    background-attachment: fixed;
    background-position: center;
    padding: 16px;
    font-size: 10pt;
    color: #404040;
    /*min-height: 100vh;*/
}
/* Main Content Box */
.content {
    margin-top: 16px;
    margin-bottom: 16px;
    padding: 8px;
    background-color: rgba(0,0,0,0.1);
}
/* Title */
.title h3 {
    display: flex;
}
/* Title Japanese */
.title span:nth-child(1) {
    border-bottom: #808080 1px solid; 
    line-height: 24pt;
    flex-grow: 1;
    font-size: 12pt;
    background: url('img/marker1.svg') no-repeat left center;
    padding-left: 24px;
}
/* Title Diagonal Line */
.title span:nth-child(2) {
    width: 24pt;
    aspect-ratio: 1;
    background-image: linear-gradient(to left top, transparent 50%, #808080 50%, #808080 calc(50% + 1px), transparent calc(50% + 1px))
}
/* Title English */
.title span:nth-child(3)  {
    border-top: #808080 1px solid; 
    line-height: 24pt;
    font-family: "Changeling Neo W02 Stencil";
    font-size: 18pt;
    color: #808080;
}
/* News Text */
.news p {
    margin: 8px;
}
/* News Date */
.news span {
    display: block;
    text-align: right;
    font-size: 10pt;
    border-bottom: #808080 1px dashed;
}
/* Content Abstract */
h4 {
    margin-top: 8px;
    margin-bottom: 8px;
    position: relative;
    padding-left: 24px;
    background: url('img/marker2.svg') no-repeat left top;
    background-size: 12pt 12pt;
    line-height: 12pt;
}
/* Article Layout */
.article img {
	padding: 8px;
}
.article p {
	padding: 8px;
}
@media screen and (max-width: 767px) {
    .box-wrap {
        display: block;
    }
    .box-wrap .box-a {
        width: 100%;
        margin: 0 auto;
    }
    .box-wrap .box-b {
        width: 100%;
        margin: 0 auto;
    }  
}
/* Fotter */
footer {
    font-size: 9pt;
    padding: 20px;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.75);
    color: white; 
}