@charset "UTF-8";

* {
    margin: 0;
    padding: 0;
}

body {
    margin: 2.5vw;
    box-sizing: border-box;
    background-color: #ca2500;    
}

header {    
    border: 0.2vw solid;
    border-color: #fff #fff transparent #fff;
}

h1 {
    display: flex;
    font-family: 'Zen Kaku Gothic New', sans-serif;
}

/* ロゴ画像 */
header h1 a {
    width: 10%;
    background-color: blue;
}

header h1 a img {
    width: 100%;
    height: 100%;
    padding: 0 30% 0;
    background-color: #fff;
}

.title {
    margin: auto 20vw auto 35vw;
    letter-spacing: 0.3em;
    font-family: 'Zen Kaku Gothic New', sans-serif;
    font-size: 1.3vw;
    color: #fff;
}

header nav ul {
    display: flex;
    margin: 0 -0.1vw;
    list-style-type: none;
}

header nav ul li {
    width: 100%;
    height: 4vw;
    line-height: 3vw;
    text-align: center;
    letter-spacing: 0.2em;
    border: solid #fff;
    border-width: 0.2vw 0.1vw;
}

header nav ul li:nth-child(4) {
    border-color: #fff;
}

header nav ul li a {
    display: block;
    padding: 0.5vw;
    text-decoration: none;
    font-family: 'Zen Kaku Gothic New', sans-serif;
    font-size: 1.3vw;
    color: #fff;
    cursor: default;
}

header nav ul li:nth-of-type(3) a,
header nav ul li:nth-of-type(4) a {
    cursor: pointer;
}
header nav ul li:nth-of-type(3) a:hover,
header nav ul li:nth-of-type(4) a:hover {
    color: #ca2500;
    background-color: #fff;
}

/* ファーストビュー */
.first_view {
    position: relative;
    margin-top: -0.5vw;
    margin-bottom: -5vw;
    height: 47vw;
    border: 0.2vw solid;
    border-color: transparent #fff #fff #fff;
    background-image: url(../images/yamaokaya/top/logo_02_t.svg);
    background-repeat: no-repeat;
    background-position: center;
}

.fv_copy {
    position: absolute;
    top: 20vw;
    left: 3vw;
    width: 22%;
    height: 15vw;
    padding: 2vw;
    background-color: #fff;
}

.fv_copy_jpn {
    letter-spacing: 0.05em;
    font-family: 'Zen Kaku Gothic New', sans-serif;
    font-size: 2.7vw;
    font-weight: 900;
    color: #272727;
}

.fv_copy_line {
    content: '';
    height: 0.1vw;
    margin: 2vw 0;
    background: #272727;
}

.fv_copy_eng {
    font-family: 'Zen Kaku Gothic New', sans-serif;
    font-size: 1.3vw;
    color: #272727;
}

/* スライドショー */
.loop {
    display: flex;
    margin-top: 5vw;
    overflow: hidden;
}

.loop_box {
    display: flex;
    list-style-type: none;
    animation: loop-list 30s linear infinite;
}

@keyframes loop-list {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-100%);
    }
}

.loop_item img {
    width: calc(200vw / 4);
    display: block;
}


/* おしらせ */
.news {
    display: flex;
    padding: 5vw 3.5vw;
    margin: auto;
    font-family: 'Zen Kaku Gothic New', sans-serif;
    color: #ca2500;
    background-color: #fff;
}

.news img {
    width: 25vw;
}

.news .news_content {
    width: 80%;
    padding: 2vw 2.5vw;
}

.news .news_content h2 {
    margin-top: 1vw;
    font-family: 'Zen Kaku Gothic New', sans-serif;
    font-size: 1.3vw;
}

.news .news_content p {
    white-space: pre-wrap;
    font-family: 'Zen Kaku Gothic New', sans-serif;
    font-size: 1.3vw;
}

/* こだわり */
.kodawari {
    border: 0.2vw solid #fff;
    padding: 5%;
}

.kodawari_flexA {
    display: flex;
    justify-content: space-between;
}

.kodawari_flexB {
    margin-top: 5vw;
    display: flex;
    justify-content: space-between;
}

/* 画像を暗くする */
.darker {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(82, 82, 82, 0.3); 
    background-blend-mode: multiply; 
}
/* マウスを乗せたとき画像を明るくする */
.kodawari_parent:hover .darker {
    transition: 0.4s;
    background-color: rgba(136, 136, 136, 0.096); 
    background-blend-mode: screen; 
}
/* 文字の横の線 */
.kodawari_content::before,
.kodawari_content::after {
    content: '';
    flex-grow: 0.07;
    height: 0.1vw;
    background: rgb(255, 255, 255);
}
.kodawari_content::before {
    margin-right: 0.5vw;
}
.kodawari_content::after {
    margin-left: 0.5vw;
}

/* こだわりの中身 */
.kodawari_parent {
    position: relative;
    width: 47%;
    overflow: hidden;
    background-color: blue;
}

.kodawari_parent img {
    display: block;
    width: 100%;
}

.kodawari_parent:hover img {
    transition: 0.4s;
    transform: scale(1.15);
}

/* こだわりの文章 */
.kodawari_child {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 80%;
}

/* こだわりの文章1の中身 */
.kodawari_child p:nth-child(1) {
    width: 100%;
    margin: auto;
    text-align: center;
    font-family: 'Zen Kaku Gothic New', sans-serif;
    font-size: 1vw;
    color: #fff;
} 

.kodawari_content {
    display: flex;
    width: 100%;
    text-align: center;
    align-items: center;
    justify-content: center;
    font-family: 'Zen Kaku Gothic New', sans-serif;
    font-size: 1.3vw;
    color: #fff;
} 

.kodawari_child h2 {
    display: block;
    width: 100%;
    margin-top: 0.5vw;
    text-align: center;
    font-family: 'Zen Old Mincho', serif;
    font-size: 2.5vw;
    color: #fff;
} 

/* コンタクト */
.contact { 
    display: block;
    position: relative;
    margin-top: -0.1vw;
    border: 0.2vw solid #fff;
    color: #fff;
}

.contact_parent div:nth-child(1) a {
    display: block;
    height: 15vw;
    padding-top: 9vw;
    text-align: center;
    letter-spacing: 0.2em;
    text-decoration: none;  
    font-family: 'Zen Kaku Gothic New', sans-serif;
    font-size: 3vw;
    color: #fff;
}

.contact_parent div span {
    display: block;
    position: absolute;
    top: 58%;
    left: 50%;
    transform: translate(-50%,-50%);
    letter-spacing: 0.2em;  
    text-decoration: none;  
    font-family: 'Zen Kaku Gothic New', sans-serif;
    font-size: 1vw;
    color: #fff;
}

.contact_parent div:hover a {
    color: #ca2500;
    background-color: #fff;
}

.contact_parent div:hover span {
    color: #ca2500;
    background-color: #fff;
}

/* フッター */
footer {
    margin-top: 5vw;
    border: 0.1vw solid #fff;    
}

.footer_parent {
    display: flex;
}

.footer_parent ul {
    display: flex;    
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    justify-content: space-around;  
    list-style-type: none;
}

.footer_parent ul li {
    text-align: center;    
    width: 100%;
    line-height: 3vw;
    border: 0.1vw solid #fff;
}

.this_page::before {
    content: '●';
    margin-left: -1.2em;
    color: #fff;
}

.footer_parent ul li a {
    display: block;
    padding: 0.5vw;
    letter-spacing: 0.2em;
    text-decoration: none;
    font-family: 'Zen Kaku Gothic New', sans-serif;
    font-size: 1.3vw;
    color: #fff;
    cursor: default;
}

.footer_parent ul li:nth-of-type(4) a,
.footer_parent ul li:nth-of-type(5) a {
    cursor: pointer;
}

.footer_parent ul li:nth-of-type(4) a:hover,
.footer_parent ul li:nth-of-type(5) a:hover {
    color: #ca2500;
    background-color: #fff;
}

.Copyright {
    display: block;
    padding: 0.5vw;
    letter-spacing: 0.1em;
    font-family: 'Zen Kaku Gothic New', sans-serif;
    font-size: 1.2vw;
    color: #fff;
}   