@charset "utf-8";
/* CSS Document */
.ttl-pic h2.sp {
    display: none;
}
main.joined > div > iframe{
	width:100%;
	height:650px;
	margin-bottom:100px;
}

@media screen and (max-width: 767px) {
    
    .ttl-pic h2.sp {
        display: block;
    }
    .ttl-pic h2 img.yamasa-logo {
        width: 10em;
    }
	main.joined > div > iframe{
		height:50vw;
		margin-bottom:40px;
	}

}
main.yamasa {
    padding-top: 150px;
}
h4 {
    font-size: 24px;
}
.ttl-pic {
    height: 547px;
    background: top center no-repeat url(../img/futakata_01.jpg);
}
main.yamasa section#greet > img {
    display: block;
    margin: 0 auto;
}
main.yamasa section#greet ul {
    padding-top: 60px;
}
main.yamasa section#greet li {
    width: 50%;
}
main.yamasa section#greet li.pic {
    padding: 0 60px;
}
main.yamasa section#greet li.txt {
    padding-right: 60px;
}
main.yamasa section#overview {
    padding-top: 180px;
    background: top 370px center no-repeat url(../img/yamasa-overview.jpg);
}
main.yamasa section#overview h4:after {
    content: "";
    display: block;
    width: 3em;
    height: 4px;
    background: #ee7378;
    margin-bottom: 1em;
}
main.yamasa section#overview #ov1 {
    background: top center no-repeat url(../img/futakata_07.png);
    height: 635px;
}
main.yamasa section#overview #ov2 {
    background: top center no-repeat url(../img/futakata_08.png);
    height: 427px;
}
main.yamasa section#overview #ov1 .txt {
    width: 50%;
    margin-left: auto;
    margin-right: 0;
    padding: 60px 20px 0 40px;
}
main.yamasa section#overview #ov2 .txt {
    width: 50%;
    padding: 70px 60px 0 0;
}
main.yamasa .wrap.sans {
    padding-top: 160px;
}
main.yamasa table {
    width: 100%;
    margin-top: 5px;
}
main.yamasa table th,
main.yamasa table td {
    padding: 1em;
    text-align: left;
    border: solid 1px #ccc;
}

main.yamasa table th {
    width: 310px;
    vertical-align: top;
    padding: 1em 1.5em;
    background: #f7f7f7;
}
main.yamasa table:last-of-type {
    margin-bottom: 100px;
}
main.yamasa section#access h3 {
    padding-bottom: 50px;
}
main.yamasa section#product .sec-bg{
    height: 517px;
    background: top center no-repeat url(../img/futakata_03.jpg);
}
main.yamasa section#product ul {
    padding-top: 90px;
    justify-content: space-between;
}
main.yamasa section#product li {
    width: 30%;
    text-align: center;
}
main.yamasa section#product li h4 {
    padding: 1em 0;
}
main.yamasa section#product li p {
    line-height: 1.5em;
}
main.yamasa section#access {
    padding-top: 200px;
}
main.yamasa .access {
    position: relative;
}
main.yamasa .access iframe {
    width: 100%;
    height: 480px;
}
main.yamasa .access img {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%,-50%);
}
main.yamasa section#access ul {
    padding-top: 60px;
}
main.yamasa section#access li {
    width: 50%;
}
main.yamasa section#access li:first-of-type {
    padding-right: 20px;
}
main.yamasa section#access li:last-of-type {
    padding-left: 20px;
}
main.yamasa section#access h4 {
    padding-bottom: 1em;
}

@media screen and (max-width: 767px) {
    h4 {
        font-size: 18px;
        font-weight: bold;
    }
    .ttl-pic {
        height: 38vw;
        background: center center / cover no-repeat url(../img/futakata-sp_01.jpg);
    }
    main.yamasa {
        padding-top: 40px;
    }
    main.yamasa section#greet > img {
        width: 16vw;
    }
    main.yamasa section#greet ul {
        flex-direction: column;
        padding-top: 20px;
    }
    main.yamasa section#greet li.pic,
    main.yamasa section#greet li.txt {
        width: 100%;
        padding: 0;
    }
    main.yamasa section#greet li.txt {
        padding: 0 15px;
    }
    main.yamasa section#greet li.txt h4 {
        padding-top: 1em;
    }
    main.yamasa section#greet li.txt p {
        padding: 0;
    }
    main.yamasa section#overview {
        padding-top: 40px;
        background: none;
    }
    main.yamasa section#overview .wrap {
        height: auto !important;
        background: transparent !important;
    }
    main.yamasa section#overview .txt {
        width: 100% !important;
        padding: 0 15px !important;
    }
    main.yamasa section#overview .txt p {
        padding: 0;
    }
    main.yamasa section#overview .txt h4 {
        padding-top: 1em;
    }
    main.yamasa section#overview .txt h4:after {
        height: 2px;
        margin-bottom: 0.5em;
    }
    main.yamasa .wrap.sans {
        padding: 0 15px;
    }
    main.yamasa table th {
        width: 7.5em;
    }

    main.yamasa table th,
    main.yamasa table td {
        font-size: 16px;
        padding: 0.5em;
    }
    main.yamasa table:last-of-type {
        margin-bottom: 40px;
    }
    main.yamasa section#product .sec-bg {
        height: auto;
        background: transparent;
    }
    main.yamasa section#product ul {
        flex-direction: column;
        padding-top: 0;
    }
    main.yamasa section#product li {
        padding-top: 30px;
        width: 100%;
        display: flex;
        align-items: center;
    }
    main.yamasa section#product li .pic {
        width: 40%;
        padding: 0 5%;
    }
    main.yamasa section#product li .txt {
        text-align: left;
    }
    main.yamasa section#product li .txt h4 {
        padding: 0;
        padding-bottom: 0.5em;
    }
    main.yamasa section#product li .txt p {
        padding: 0;
}
    main.yamasa section#access {
        padding-top: 40px;
    }
    main.yamasa section#access h3 {
        padding-bottom: 40px;
    }
    main.yamasa .access {
        padding-left: 15px;
        padding-right: 15px;
    }
    main.yamasa .access iframe {
        height: 80vw;
    }
    main.yamasa .access img {
        width: 16vw;
    }
    main.yamasa section#access ul {
        flex-direction: column;
        padding-top: 0;
    }
    main.yamasa section#access li {
        width: 100%;
        padding: 20px 15px;
    }
    main.yamasa section#access li:last-of-type {
        padding-bottom: 0;
    }
    main.yamasa section#access p {
        padding: 0;
    }
}

@media screen and (max-width: 450px) {
    h4 {
        font-size: 14px;
    }
    main.yamasa table th,
    main.yamasa table td {
        font-size: 12px;
    }

    main.yamasa section#product li .pic {
        width: 35%;
        padding: 0 2.5%;
    }
}