@charset "utf-8";



/* For modern browsers */

.cf:before,
.cf:after {
    content: "";
    display: table;
}

.cf:after {
    clear: both;
}

/* For IE 6/7 (trigger hasLayout) */

.cf {
    zoom: 1;
}



/* tags
---------------------------------------------------- */

body {
    margin: 0px;
    padding: 0px;
    color: #222;
    font-size: 15px;
    font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", "メイリオ", sans-serif;
    font-weight: 500;
    -webkit-text-size-adjust: 100%;
    background: url(../images/back1.png) repeat left top;
}

a {
    color: #222;
    text-decoration: none;
}

a:hover {
    color: #e00;
    text-decoration: none;
}

img {
    border: none;
    margin: 0px;
    padding: 0px;
    vertical-align: bottom;
    max-width: 100%;
    height: auto;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol,
dl,
dt,
dd,
div,
img {
    margin: 0px;
    padding: 0px;
    list-style: none;
    font-weight: normal;
}

@media screen and (max-width: 768px) {
    body {
        font-size: 14px;
    }
}


/* common
---------------------------------------------------- */

.inner1 {
    max-width: 1140px;
    margin: 0px auto;
}

table.table1 {
    border-collapse: collapse;
    width: 100%;
    border-top: 1px solid #333;
}

.table1 th,
.table1 td {
    padding: 20px 10px;
    border-bottom: 1px solid #333;
    line-height: 1.8;
}

.table1 th {
    width: 25%;
}

.table1 li {
    width: 33%;
    float: left;
}

.table1 li:last-child {
    width: auto;
}

@media screen and (max-width: 768px) {
    .table1 th,
    .table1 td {
        padding: 5px 20px 10px;
        display: block;
    }

    .table1 th {
        width: auto;
        text-align: left;
        border-bottom: none;
        padding: 10px 20px 0px;
    }
}

@media screen and (max-width: 480px) {
    .table1 th,
    .table1 td {
        font-size: 14px;
    }
    .table1 li {
        width: 50%;
    }
}

table.table2 {
    border-collapse: collapse;
    width: 100%;
    border-top: 1px solid #333;
}

.table2 th,
.table2 td {
    padding: 0px 10px;
    border-bottom: 1px solid #333;
    line-height: 1.8;
    box-sizing: border-box;
    height: 77px;
}

.table2 tr.tr1 th,
.table2 tr.tr1 td {
    height: 270px;
}

.table2 th {
    width: 28%;
    text-align: left;
}

.contact th span {
    font-size: 12px;
    color: #fff;
    background: #000000;
    display: block;
    line-height: 1;
    padding: 4px 5px;
    font-weight: normal;
    float: right;
}

@media screen and (max-width: 768px) {
    .table2 th,
    .table2 td,
    .table2 tr.tr1 th,
    .table2 tr.tr1 td {
        padding: 5px 20px 10px;
        display: block;
        height: auto;
    }

    .table2 th {
        width: auto;
        text-align: left;
        border-bottom: none;
        padding: 10px 20px 0px;
    }
}

@media screen and (max-width: 480px) {
    .table2 th,
    .table2 td {
        font-size: 14px;
    }
    .table2 li {
        width: 50%;
    }
}

/* header
---------------------------------------------------- */

#header {
    box-sizing: border-box;
    padding: 100px 60px 150px;
}

@media print {
    #header {
        width: 1080px;
        box-sizing: border-box;
    }
}

#header h1 {
    float: left;
}

#header ul {
    float: right;
    margin-top: 16px;
}

#header li {
    display: inline-block;
    font-size: 18px;
    margin-left: 18px;
    line-height: 1;
}

#header li:first-child {
    margin-left: 0px;
}

#header li a {
    display: inline-block;
    border-bottom: 1px solid transparent;
    padding-bottom: 4px;
}

#header li a:hover,
#header li a.on {
    border-bottom: 1px solid #333;
    color: #222;
}

@media screen and (max-width: 991px) {
    #header {
        padding-left: 30px;
        padding-right: 30px;
    }
    #header li {
        font-size: 14px;
        margin-left: 5px;
    }
}

@media screen and (max-width: 768px) {
    #header {
        padding: 40px 20px 50px;
    }
    #header h1 img {
        width: 300px;
        height: auto;
    }
    #header ul {
        display: none;
    }
}

@media screen and (max-width: 480px) {
    #header {
        padding: 20px 20px 35px;
    }
    #header h1 img {
        width: 230px;
        height: auto;
    }
}

/* title
---------------------------------------------------- */

#title {
    text-align: center;
    background: url(../images/title1.jpg)no-repeat center center;
    background-size: cover;
    padding: 90px 0px;
    margin-top: -50px;
    margin-bottom: 80px;
}

#title.contact-title {
    background: url(../images/title2.jpg)no-repeat center center;
    background-size: cover;
}

#title.works-title {
    background: url(../images/title3.jpg)no-repeat center center;
    background-size: cover;
}

#title.about-title {
    background: url(../images/title4.jpg)no-repeat center center;
    background-size: cover;
}

#title h2 {
    font-size: 33px;
    color: #fff;
    font-weight: bold;
    letter-spacing: 10px;
    line-height: 1;
}

#title p {
    font-size: 18px;
    color: #fff;
    margin-top: 20px;
    line-height: 1;
    letter-spacing: 3px;
}

@media screen and (max-width: 768px) {
    #title {
        padding: 40px 0px;
        margin-top: 0px;
        margin-bottom: 60px;
    }
    #title h2 {
        font-size: 26px;
    }

    #title p {
        font-size: 15px;
        margin-top: 15px;
        letter-spacing: 1px;
    }
}

@media screen and (max-width: 480px) {
    #title {
        padding: 30px 0px;
        margin-bottom: 40px;
    }
    #title h2 {
        font-size: 22px;
    }

    #title p {
        font-size: 13px;
        margin-top: 10px;
    }
}

/* about
---------------------------------------------------- */

#about1 p {
    text-align: center;
    line-height: 2.4;
    font-size: 16px;
    margin-bottom: 50px;
}

@media screen and (max-width: 768px) {
    #about1 p {
        line-height: 2;
        font-size: 15px;
        margin-bottom: 40px;
    }
}

@media screen and (max-width: 480px) {
    #about1 p {
        text-align: left;
        font-size: 14px;
        margin: 0px 20px 30px;
    }
}

#about2 {
    background: url(../images/about-back2.jpg) no-repeat center center;
    background-size: cover;
    text-align: center;
    padding: 60px 30px 70px;
}

#about2 h3 {
    font-size: 28px;
    font-weight: bold;
    line-height: 1;
    color: #fff;
    display: inline-block;
    background: #222;
    margin-bottom: 50px;
    letter-spacing: 2px;
    padding: 3px;
}

#about2 li {
    background: rgba(255, 255, 255, 0.8);
    width: 18%;
    float: left;
    margin: 0px 1% 25px;
    padding: 30px 0px 0px;
    line-height: 1;
    text-align: center;
    box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.4);
    box-sizing: border-box;
    font-weight: bold;
    height: 75px;
}

@media screen and (max-width: 768px) {
    #about2 {
        padding: 40px 20px 30px;
    }
    #about2 h3 {
        font-size: 24px;
        margin-bottom: 30px;
    }
    #about2 li {
        width: 23%;
        margin: 0px 1% 20px;
        padding: 25px 0px 0px;
        height: 65px;
    }
}

@media screen and (max-width: 480px) {
    #about2 {
        padding: 30px 20px 20px;
    }
    #about2 h3 {
        font-size: 20px;
    }
    #about2 li {
        width: 48%;
        margin: 0px 4% 15px 0px;
        padding: 15px 0px 0px;
        height: 45px;
        font-size: 13px;
    }
    #about2 li:nth-child(2n) {
        margin-right: 0px;
    }
}

#about3 {
    background: url(../images/about-back1a.jpg) no-repeat center center;
    background-size: cover;
    padding: 60px 30px 90px;
}

#about3 h3 {
    font-size: 30px;
    font-weight: bold;
    line-height: 1;
    text-align: center;
    margin-bottom: 50px;
}

#about3 li {
    width: 32%;
    float: left;
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.4);
    margin: 0px 2% 0px 0px;
    box-sizing: border-box;
    padding: 30px 30px 20px;
    min-height: 350px;
}

#about3 li:last-child {
    margin-right: 0px;
}

#about3 dt {
    font-size: 19px;
    font-weight: bold;
    line-height: 1.6;
    margin-bottom: 30px;
    position: relative;
}

#about3 dt::after {
    content: '';
    width: 80px;
    border-bottom: 3px solid #222;
    position: absolute;
    left: 0px;
    bottom: -15px;
}

#about3 dd {
    line-height: 2;
    font-size: 14px;
}

@media screen and (max-width: 768px) {
    #about3 {
        padding: 40px 30px 20px;
    }

    #about3 h3 {
        font-size: 24px;
        margin-bottom: 30px;
    }

    #about3 li {
        width: auto;
        float: none;
        margin: 0px 0px 20px;
        padding: 30px 30px 20px;
        min-height: 0px;
    }
    #about3 dt {
        font-size: 18px;
    }
    #about3 dt br {
        display: none;
    }
}

@media screen and (max-width: 480px) {
    #about3 {
        padding: 30px 20px 10px;
    }

    #about3 h3 {
        font-size: 20px;
    }

    #about3 li {
        padding: 20px;
    }
    #about3 dt {
        font-size: 16px;
    }
    #about3 dt br {
        display: inline;
    }
    #about3 dd {
        line-height: 1.8;
        font-size: 13px;
    }
}

/* detail
---------------------------------------------------- */

#detail1 {
    margin-bottom: 50px;
}

#detail1 .box2 {
    background: #fff;
    padding: 30px 20px 20px 30px;
    border: 1px solid #222;
}

#detail1 .box2 p {
    text-align: center;
    font-weight: bold;
    line-height: 1;
    margin-bottom: 30px;
}

#detail-navi li {
    width: 25%;
    float: left;
}

#detail-navi a {
    display: block;
    background: #222;
    color: #fff;
    margin: 0px 10px 10px 0px;
    font-size: 14px;
    line-height: 1.2;
    padding: 10px 0px;
    text-align: center;
    position: relative;
}

#detail-navi a:hover {
    background: #666;
}

#detail-navi a::after {
    position: absolute;
    top: 50%;
    right: 10px;
    display: block;
    content: '';
    width: 6px;
    height: 6px;
    margin-top: -4px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}


@media screen and (max-width: 768px) {
    #detail1 {
        margin: 0px 20px 50px;
    }
    #detail1 .box2 {
        background: transparent;
        padding: 0px 0px 0px 10px;
        margin-left: -10px;
        margin-right: -10px;
        border: none;
    }
    #detail-navi a {
        font-size: 13px;
    }
}

@media screen and (max-width: 480px) {
    #detail1 {
        margin-bottom: 40px;
    }
    #detail1 .box2 {
        padding: 0px;
        margin-left: 0px;
        margin-right: 0px;
    }
    .menu__single {
        position: relative;
    }
    .menu__single p {
        cursor: pointer;
        background: #222;
        color: #fff;
        line-height: 1.2;
        font-size: 14px;
        padding: 13px 0px;
        border: 2px solid #222;
        position: relative;
    }
    .menu__single p span {
        font-weight: normal;
        font-size: 11px;
        display: block;
        margin-top: 8px;
    }
    .menu__single p::after {
        position: absolute;
        top: 50%;
        right: 15px;
        display: block;
        content: '';
        width: 10px;
        height: 10px;
        margin-top: -9px;
        border-top: 2px solid #fff;
        border-right: 2px solid #fff;
        -webkit-transform: rotate(135deg);
        transform: rotate(135deg);
    }
    .menu__single .menu__second-level {
        visibility: hidden;
        opacity: 0;
        z-index: 1;
        position: absolute;
        top: 40px;
        width: 100%;
        background: #222;
        -webkit-transition: all .2s ease;
        transition: all .2s ease;
    }

    .menu__single:hover .menu__second-level {
        top: 63px;
        visibility: visible;
        opacity: 1;
    }

    #detail-navi li {
        width: 50%;
    }
    #detail-navi a {
        margin: 0px;
        font-size: 12px;
        border-right: 1px solid #666;
        border-top: 1px solid #666;
        padding: 13px 0px;
    }
    #detail-navi li:nth-child(2n) a {
        border-right: none;
    }
}

@media screen and (max-width: 320px) {
    .menu__single p::after {
        right: 12px;
        margin-top: -18px;
    }
    #detail-navi a {
        font-size: 11px;
    }
    #detail-navi a::after {
        right: 7px;
    }
}

.st1 {
    text-align: center;
    font-size: 26px;
    font-weight: bold;
    line-height: 1;
    position: relative;
    margin: 70px 0px;
}

.st1::after {
    content: '';
    width: 100px;
    border-bottom: 4px solid #222;
    position: absolute;
    left: 50%;
    margin-left: -50px;
    bottom: -20px;
}

#detail1 .box1 {
    background: url(../images/back2.png) repeat left top;
    padding: 30px 40px 5px;
    margin-bottom: 40px;
}

#detail1 p {
    line-height: 2;
    margin-bottom: 25px;
}

#detail-list li {
    width: 31%;
    float: left;
    margin: 0px 3.5% 35px 0px;
}

#detail-list li:nth-child(3n) {
    margin-right: 0px;
}

#detail-list li:nth-child(3n + 1) {
    clear: both;
}

#detail-list li a {
    display: block;
    height: 265px;
    position: relative;
    background: #000;
}

#detail-list li a:hover {
    opacity: 0.6;
}

#detail-list li a img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    display: block;
    margin: auto;
    position: absolute;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
}

.backbtn a {
    background: #222;
    display: block;
    color: #fff;
    width: 200px;
    padding: 10px 20px;
    line-height: 1;
    letter-spacing: 3px;
    text-align: right;
    position: relative;
    margin-top: 50px;
}

.backbtn a::after {
    position: absolute;
    top: 50%;
    left: 15px;
    display: block;
    content: '';
    width: 8px;
    height: 8px;
    margin-top: -6px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    -webkit-transform: rotate(225deg);
    transform: rotate(225deg);
}

.backbtn a:hover {
    background: #555;
}

@media screen and (max-width: 768px) {
    .st1 {
        font-size: 22px;
        margin: 60px 0px;
    }
    #detail1 .box1 {
        padding: 30px 30px 5px;
    }
    #detail-list li {
        margin-bottom: 30px;
    }
    #detail-list li a {
        height: 200px;
    }
    .backbtn a {
        margin-top: 30px;
    }
}

@media screen and (max-width: 480px) {
    .st1 {
        font-size: 18px;
        margin: 50px 0px;
    }

    .st1::after {
        width: 60px;
        margin-left: -30px;
    }
    #detail1 .box1 {
        padding: 20px 20px 5px;
        margin: 0px -20px 30px;
    }

    #detail1 p {
        line-height: 1.8;
        margin-bottom: 15px;
    }

    #detail-list li,
    #detail-list li:nth-child(3n) {
        width: 48%;
        margin: 0px 4% 15px 0px;
    }

    #detail-list li:nth-child(2n) {
        margin-right: 0px;
    }

    #detail-list li:nth-child(3n + 1) {
        clear: none;
    }
    #detail-list li:nth-child(2n + 1) {
        clear: both;
    }

    #detail-list li a {
        height: 121px;
    }
    .backbtn a {
        width: 100px;
        margin-top: 20px;
    }
}

/* works
---------------------------------------------------- */

#works1 {
    margin-bottom: 50px;
}

#works1 li {
    width: 48%;
    height: 320px;
    float: left;
    position: relative;
    margin-bottom: 40px;
}

#works1 li:nth-child(2n) {
    float: right;
}

#works1 li p {
    position: absolute;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    margin: auto;
    width: 80%;
    height: 180px;
    background: rgba(0, 0, 0, 0.6);
    line-height: 1.2;
    text-align: center;
    color: #fff;
    font-size: 20px;
    font-weight: bold;
    box-sizing: border-box;
    padding: 73px 5px 0px;
}

#works1 li a:hover p {
    background: rgba(0, 0, 0, 0.8);
}

@media screen and (max-width: 768px) {
    #works1 li {
        width: auto;
        height: 250px;
        float: none;
        margin-bottom: 10px;
    }

    #works1 li:nth-child(2n) {
        float: none;
    }

    #works1 li p {
        height: 120px;
        font-size: 18px;
        padding: 49px 0px 0px;
    }
}

@media screen and (max-width: 480px) {
    #works1 {
        margin-bottom: 30px;
    }
    #works1 li {
        height: 150px;
        margin-bottom: 5px;
    }
    #works1 li p {
        height: 80px;
        font-size: 15px;
        padding: 30px 0px 0px;
    }
}

/* contact
---------------------------------------------------- */

.contact p {
    line-height: 2;
    margin-bottom: 30px;
}

::-webkit-input-placeholder {
    color: #aaa;
}

:-ms-input-placeholder {
    color: #aaa;
}

::placeholder {
    color: #aaa
}

.contact input.size_m {
    width: 400px;
    padding: 8px 12px;
    font-size: 15px;
    border: 1px solid #aaa;
    border-radius: 3px;
}

.contact input.size_l {
    width: 600px;
    padding: 8px 12px;
    font-size: 15px;
    border: 1px solid #aaa;
    border-radius: 3px;
}

.contact textarea {
    width: 600px;
    height: 200px;
    padding: 8px 12px;
    font-size: 15px;
    border: 1px solid #aaa;
    border-radius: 3px;
}

#privacy {
    margin: 50px 0px;
    padding: 40px 20px 20px;
    text-align: center;
    background: #333;
}

#privacy p {
    color: #fff;
}

.contact .box1 {
    font-size: 16px;
    font-weight: bold;
    margin-top: 30px;
    background: #666;
    padding: 30px 0px;
    color: #fff;
}

.contact .box2 button {
    margin: 0;
    padding: 0;
    background: none;
    border: none;
    border-radius: 0;
    outline: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;

    margin: 50px auto;
    cursor: pointer;
    display: block;
    background: #9d1129;
    text-align: center;
    color: #fff;
    font-size: 18px;
    line-height: 1;
    padding: 25px 0px;
    font-weight: bold;
    width: 400px;
    position: relative;
}

.contact .box2 button.cbtn1::after {
    position: absolute;
    top: 50%;
    right: 15px;
    display: block;
    content: '';
    width: 12px;
    height: 12px;
    margin-top: -8px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}

.contact .box2 button.cbtn2::after {
    position: absolute;
    top: 50%;
    left: 15px;
    display: block;
    content: '';
    width: 8px;
    height: 8px;
    margin-top: -6px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    -webkit-transform: rotate(225deg);
    transform: rotate(225deg);
}

.contact .box2 button:hover {
    opacity: 0.6;
}

.contact .box2 button.cbtn2 {
    background: #888;
    width: 300px;
    padding: 15px 0px;
    font-size: 14px;
}

@media screen and (max-width: 768px) {
    .contact p {
        margin: 0px 20px 20px;
    }
    .contact th {
        width: auto;
    }
    .contact th span {
        font-size: 11px;
    }
    .contact input.size_m,
    .contact input.size_l {
        width: 100%;
        box-sizing: border-box;
        font-size: 14px;
    }
    .contact textarea {
        width: 100%;
        box-sizing: border-box;
        height: 150px;
        font-size: 14px;
    }
    #privacy {
        margin: 40px 0px;
        padding: 20px 0px 0px;
        text-align: left;
    }

    .contact .box1 {
        font-size: 15px;
        margin-top: 0px;
        text-align: center;
    }
    .contact .box2 button {
        margin: 30px auto;
        font-size: 15px;
        padding: 20px 0px;
        width: 260px;
        box-sizing: border-box;
    }
    .contact .box2 button.cbtn2 {
        width: 200px;
    }
}

@media screen and (max-width: 480px) {
    #privacy p {
        font-size: 13px;
    }
}

/* company
---------------------------------------------------- */

#map {
    margin-top: 80px;
}

#map iframe {
    width: 100%;
    vertical-align: bottom;
}

@media screen and (max-width: 768px) {
    #map {
        margin-top: 60px;
    }
}

@media screen and (max-width: 480px) {
    #map {
        margin-top: 40px;
    }
    #map iframe {
        height: 300px;
    }
}

/* wrapper1
---------------------------------------------------- */

#wrapper1 {
    height: 560px;
}

#main1 {
    width: 750px;
    height: 560px;
    float: left;
}

#main1 img {
    width: 750px;
    height: 560px;
}

#main2 {
    margin-left: 750px;
}

.img1 {
    height: 560px;
    float: left;
    box-sizing: border-box;
    width: 45%;
    border-left: 1px solid #cbced0;
    border-right: 1px solid #cbced0;
}

.img2 {
    width: 55%;
    height: 560px;
    float: left;
    box-sizing: border-box;
}

.img2a {
    height: 275px;
    border-bottom: 1px solid #cbced0;
    box-sizing: border-box;
}

.img2b {
    height: 285px;
    box-sizing: border-box;
    background: url(../images/back2.png) repeat left top;
    text-align: center;
    padding-top: 70px;
}

@media screen and (max-width: 1040px) {
    #wrapper1,
    .img1,
    .img2 {
        height: 373px;
    }

    #main1,
    #main1 img {
        width: 500px;
        height: 373px;
    }
    #main2 {
        margin-left: 500px;
    }

    .img2a {
        height: 180px;
    }

    .img2b {
        height: 193px;
        padding-top: 34px;
    }
}

@media screen and (max-width: 768px) {
    #wrapper1,
    .img1,
    .img2 {
        height: 224px;
    }

    #main1,
    #main1 img {
        width: 300px;
        height: 224px;
    }
    #main2 {
        margin-left: 300px;
    }

    .img2a {
        height: 112px;
    }

    .img2b {
        height: 112px;
        padding: 10px;
        text-align: left;
    }
    .img2b img {
        max-height: 100%;
        max-width: 100%;
        width: auto;
        height: auto;
    }
}

@media screen and (max-width: 480px) {
    #wrapper1,
    .img1,
    .img2 {
        height: 149px;
    }

    #main1,
    #main1 img {
        width: 200px;
        height: 149px;
    }
    #main2 {
        margin-left: 200px;
    }

    .img2a {
        height: 79px;
    }

    .img2b {
        height: 70px;
    }
}

/* wrapper2
---------------------------------------------------- */

#wrapper2 {
    height: 560px;
    border-top: 1px solid #cbced0;
}

#main3 {
    float: right;
    width: 800px;
    height: 560px;
}

#main3 img {
    width: 800px;
    height: 560px;
}

#main4 {
    margin-right: 800px;
}

.img3 {
    height: 560px;
    width: 27%;
    border-right: 1px solid #cbced0;
    float: left;
    box-sizing: border-box;
    background: url(../images/back2.png) repeat left top;
    text-align: center;
    padding-top: 75px;
}

.img4 {
    height: 560px;
    width: 73%;
    border-right: 1px solid #cbced0;
    float: left;
    box-sizing: border-box;
}

.img4a {
    height: 275px;
    border-bottom: 1px solid #cbced0;
    box-sizing: border-box;
}

.img4b {
    height: 285px;
    box-sizing: border-box;
}

.object-fit-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    font-family: 'object-fit: cover;'
}

@media screen and (max-width: 1040px) {
    #wrapper2,
    .img4 {
        height: 373px;
    }

    #main3,
    #main3 img {
        width: 533px;
        height: 373px;
    }

    #main4 {
        margin-right: 533px;
    }
    .img3 {
        height: 373px;
        padding: 30px 10px;
    }
    .img3 img {
        max-height: 100%;
        max-width: 100%;
        width: auto;
        height: auto;
    }

    .img4a {
        height: 186px;
    }

    .img4b {
        height: 187px;
    }
}

@media screen and (max-width: 768px) {
    #wrapper2,
    .img4 {
        height: 224px;
    }

    #main3,
    #main3 img {
        width: 320px;
        height: 224px;
    }

    #main4 {
        margin-right: 320px;
    }
    .img3 {
        height: 224px;
        padding: 10px;
    }
    .img4a {
        height: 112px;
    }
    .img4b {
        height: 112px;
    }
}

@media screen and (max-width: 480px) {
    #wrapper2,
    .img4 {
        height: 149px;
    }

    #main3,
    #main3 img {
        width: 213px;
        height: 149px;
    }

    #main4 {
        margin-right: 213px;
    }
    .img3 {
        height: 149px;
    }
    .img4a {
        height: 74px;
    }
    .img4b {
        height: 75px;
    }
}

/* footer
---------------------------------------------------- */

#footernavi {
    background: url(../images/back2.png) repeat left top;
    text-align: center;
    padding: 60px 0px;
}

#footernavi li {
    display: inline-block;
    line-height: 1;
    margin: 0px 30px;
}

#footernavi li a {
    display: inline-block;
    border-bottom: 1px solid transparent;
    padding-bottom: 4px;
}

#footernavi li a:hover {
    border-bottom: 1px solid #333;
    color: #222;
}

#footer {
    text-align: center;
    background: #86898d;
    padding: 50px 0px;
}

#footer .p2 {
    color: #fff;
    line-height: 2;
    margin: 30px 0px 40px;
}

#footer p a {
    color: #fff;
}

#footer .p3 {
    font-size: 12px;
    line-height: 2;
    color: #fff;
}

@media screen and (max-width: 768px) {
    #footernavi {
        padding: 20px 0px;
    }

    #footernavi li {
        margin: 0px 4px;
        font-size: 12px;
    }

    #footernavi li a {
        padding-bottom: 2px;
    }
    #footer {
        padding: 20px 0px;
    }
    #footer .p1 img {
        width: 180px;
    }
    #footer .p2 {
        line-height: 1.8;
        margin: 20px 0px;
        font-size: 13px;
    }

    #footer .p3 {
        font-size: 11px;
        line-height: 1.8;
    }
}

@media screen and (max-width: 480px) {
    #footernavi li {
        font-size: 11px;
    }
    #footer .p1 img {
        width: 140px;
    }
    #footer .p2 {
        font-size: 11px;
    }
    #footer .p3 {
        font-size: 9px;
    }
}

#pagetop {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
}

#pagetop a img {
    opacity: 0.4;
}

#pagetop a:hover img {
    opacity: 1;
}

@media screen and (max-width: 480px) {
    #pagetop {
        bottom: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
    }
}

/* drawer
---------------------------------------------------- */

header {
    display: none;
}

@media screen and (max-width: 768px) {
    header {
        display: block;
        z-index: 1000;
        position: relative;
    }
    header .drawer-menu-item {
        display: block;
        border-bottom: 1px solid #ccc;
        padding: 15px 20px 15px 15px;
        position: relative;
        line-height: 1.2;
        text-decoration: none;
        font-size: 15px;
    }
    .drawer-menu-item::after {
        position: absolute;
        top: 50%;
        right: 15px;
        display: block;
        content: '';
        width: 8px;
        height: 8px;
        margin-top: -5px;
        border-top: 2px solid #222;
        border-right: 2px solid #222;
        -webkit-transform: rotate(45deg);
        transform: rotate(45deg);
    }
}

.p2 img {
    margin-top: 10px;
    max-width: 45px;
    height: auto;
}

.p2 a:hover {
    opacity: 0.7;
}

.insta-add {
    display: flex;
    align-items: center;
}

.insta-add::after {
    content: '';/*何も入れない*/
    display: inline-block;/*忘れずに！*/
    width: 20px;/*画像の幅*/
    height: 20px;/*画像の高さ*/
    background-image: url(../images/instagram_icon_h.png);
    background-size: contain;
    vertical-align: middle;
    margin-left: 1em;
}

.add-flex {
    display: flex;
    align-items: center;
}

.add-insta-h {
    width: 45px;
    height: auto;
}

