@charset "utf-8";

:root {
    --light-brown: #c7b299;
    --brown: #998675;
    --dark-brown: #6c5c51;
    --darker-brown: #534741;
    --darker-brown: #483c39;
    --green: #928433;
    --gray: #e6e6e6;
    --header-logo-size: 130px;
}

@import url('https://fonts.googleapis.com/css2?family=Abril+Fatface&family=Shippori+Mincho&display=swap');

body,
header,
div,
p,
h1,
h2,
h3,
h4,
ul,
li,
img,
address,
dl,
dd,
dt,
main,
footer,
figure,
section,
article {
    margin: 0;
    padding: 0;
}

body,
header,
div,
p,
h1,
h2,
h3,
h4,
ul,
li,
img,
address,
form,
dl,
dd,
dt,
input,
textarea,
footer,
main,
figure,
section,
article,
a {
    box-sizing: border-box;
}

li {
    list-style: none;
    width: fit-content;
}

li a {
    height: 100%;
    display: block;
}

img {
    vertical-align: bottom;
}

.flex {
    display: flex;
    justify-content: space-between;
}

.inner {
    width: 760px;
    margin: auto;
}

a {
    text-decoration: none;
}

body {
    font-size: 16px;
    color: #736357;
    line-height: 1.8em;
    /* font-family: 'Abril Fatface', cursive; */
    /* font-family: 'Shippori Mincho', serif; */
    font-family: '小塚ゴシック Pro', 'Kozuka Gothic Pro', sans-serif;
    height: 100%;
}


h2,
nav a,
.hum_nav a,
ul.footer_nav a {
    font-family: 'Abril Fatface', cursive;
    /* font-weight: bold; */
    color: var(--dark-brown);
    letter-spacing: 0.04em;
}

input[type="button"],
input[type="submit"],
input[type="reset"],
button:hover {
    cursor: pointer;
}

.postLinks a {
    color: #736357;
}


/* ヘッダー */
header {
    position: fixed;
    width: 100%;
    z-index: 100;
}

header .logo {
    position: fixed;
}

.logo img {
    width: var(--header-logo-size);
    border: 1px solid var(--light-brown);
}

header .right {
    border-top: 8px var(--dark-brown) solid;
    width: calc(100% - var(--header-logo-size));
    margin-left: auto;
}

header .right>.flex {
    border-bottom: 1px solid var(--light-brown);
    background: #fff;
}

nav,
.hum_nav,
.footer_nav {
    font-size: 1.1rem;
    line-height: 1.1;
    text-align: center;
}

.footer_nav {
    padding-left: 20px;
}

nav {
    text-align: center;
}

footer .flex>.flex {
    max-width: 300px;
}

nav ul,
.footer_nav {
    height: 100%;
}

nav ul {
    align-items: center;
    display: flex;
}

.footer_nav {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    height: 150px;
    padding-top: 0;
}

nav li {
    width: 170px;
    height: 100%;
    display: flex;
    align-items: center;
}

.footer_nav li a {
    color: #fff;
}

nav a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    padding-top: 4px;
    border-right: 1px solid var(--light-brown);
    height: auto;
}

nav a span,
.hum_nav a span,
.footer_nav a span {
    display: block;
    font-size: 0.7em;
    letter-spacing: 0;
}

nav a span,
.hum_nav a span {
    color: var(--brown);
}

.footer_nav a span {
    color: #fff;
    text-align: left;
}

nav li:hover,
.hum_nav li:hover,
.footer_nav li:hover,
.other li:hover a {
    background: var(--brown);
}

nav li:hover a,
.hum_nav li:hover a,
.footer_nav li:hover a,
nav li:hover span,
.hum_nav li:hover span,
.footer_nav li:hover span,
.other li:hover a {
    color: #fff;
}

.other li {
    margin: 8px 8px 8px 0;
    position: relative;
}

.other a {
    font-size: 0.76rem;
    padding: 10px 20px 10px 12px;
    line-height: 1.2;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

header .other a {
    color: var(--dark-brown);
}

header .other li,
.hum_nav .other li {
    border: 1px solid var(--dark-brown);
}

.other a::after {
    content: "";
    /* background: url(../imgs/sq_brown.png) center / contain no-repeat; */
    width: 7px;
    height: 30px;
    position: absolute;
    right: 6px;
    display: block;
    top: 50%;
    transform: translateY(-50%);
}

header .other a::after,
.hum_nav .other a::after {
    background: url(../imgs/sq_brown.png) center / contain no-repeat;
}

footer .other a::after {
    background: url(../imgs/sq_white.png) center / contain no-repeat;
}

.other a span {
    font-size: 0.94em;
    display: contents;
}

.hum_nav .other {
    flex-wrap: wrap;
    margin: auto;
    justify-content: center;
}

.hum_nav .other a {
    font-size: 0.88rem;
}

header p,
.hum_nav p {
    color: #fff;
    background-color: var(--green);
    width: fit-content;
    font-weight: bolder;
    font-size: 0.72rem;
    line-height: 30px;
    padding: 0 20px;
    height: 30px;
    font-family: 'Times New Roman', Times, serif;
}

.hum_nav p {
    margin: auto;
}

.hum_nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 0 30px 30px;
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s, visibility .5s;
    background-color: #fff;
    z-index: 110;
    border-top: 16px var(--dark-brown) solid;
    display: flex;
    align-items: center;
}

.hum_nav .h_inner {
    margin: auto;
}

.hum_nav .nav {
    max-width: 400px;
    width: 100%;
    margin: 10px auto;
    font-size: 1.2rem;
}

.hum_nav .nav li {
    text-align: center;
    width: 100%;
    border-top: 1px solid var(--light-brown);
}

.hum_nav .nav li:last-of-type {
    border-bottom: 1px solid var(--light-brown);
}

.hum_nav .nav a {
    height: 100%;
    display: block;
    padding: 20px 0 14px;
    position: relative;
}

.hum_nav .nav a::after {
    content: "";
    position: absolute;
    background: url(../imgs/sq_brown.png) center / contain no-repeat;
    width: 10px;
    height: 20px;
    right: 30px;
    top: 26px;
    font-size: 0.8em;
    color: var(--brown);
}

.hum_nav.show {
    opacity: 1;
    visibility: visible;
}


.hum_btn {
    display: none;
    position: fixed;
    width: 1.75rem;
    height: 1.5rem;
    right: 20px;
    top: 30px;
    z-index: 120;

}

.hum_btn i {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--darker-brown);
    position: absolute;
    transition: transform .5s, opacity .5s;
}

.hum_btn i:nth-child(1) {
    top: 0;
}

.hum_btn i:nth-child(2) {
    top: 0;
    bottom: 0;
    margin: auto;
}

.hum_btn i:nth-child(3) {
    bottom: 0;
}

.hum_btn.show i:nth-child(1) {
    transform: translateY(10px) rotate(-45deg);
}

.hum_btn.show i:nth-child(2) {
    opacity: 0;
}

.hum_btn.show i:nth-child(3) {
    transform: translateY(-12px) rotate(45deg);
}



/* .hum_header ul {} */

/* アサイド */
aside {
    width: 86px;
    background: url(../imgs/bg_side.png) center / contain repeat var(--dark-brown);
    position: absolute;
    z-index: 50;
    display: block;
    top: 0;
    bottom: 0;
}

.hum_nav .sns_wp {
    background: url(../imgs/bg_side.png) center / contain repeat var(--dark-brown);
    display: flex;
    height: 56px;
    margin-top: 10px;
}

aside div {
    height: calc(100vh - 40px);
    display: flex;
    justify-content: flex-end;
    flex-direction: column;
    bottom: 0;
    margin-top: 40px;
    background: url(../imgs/bg_side.png) center / contain repeat var(--dark-brown);
}

aside .sns,
aside .totop {
    height: 65px;
    border-top: #c7b299 1px solid;
    width: 86px;
    padding: 0;
}

.hum_nav .sns {
    background: none;
    width: 100%;
    height: 100%;
    border: 1px solid var(--brown);
    line-height: normal;
}

aside a {
    height: 100%;
    text-align: center;
    display: block;
    width: 100%;
}

aside .sns img {
    margin-top: 20px;
    height: 26px;
}

.hum_nav .sns img {
    margin-top: 14px;
    height: 26px;
}

aside .totop {
    height: 75px;
}

aside .totop img {
    height: 40px;
    margin-top: 18px;
}

.h2_wp {
    width: 400px;
    margin: auto;
    position: relative;
}

.h2_wp .gray {
    width: 100%;
    background: var(--gray);
    height: 14px;
    position: absolute;
    z-index: 1;
    top: calc(2.9rem - 20px);
}

h2 {
    font-size: 2.6rem;
    background: #fff;
    margin: auto;
    width: fit-content;
    padding: 0 8px;
    line-height: 1;
    position: relative;
    z-index: 10;
    text-align: center;
    padding-bottom: 50px;
}

h2 span {
    color: #998675;
    display: block;
    font-size: 0.5em;
    letter-spacing: 0;
    font-weight: normal;
}

span[property="name"] {
    color: #534741;
    text-decoration: #534741;
}

/* フッター */

footer {
    background: url(../imgs/bg_footer.png) center / contain repeat var(--darker-brown);
    color: #fff;
    padding-bottom: 12px;
}

footer .logo img {
    width: 150px;
}

footer>.flex {
    padding: 40px 40px 20px 120px;
}

footer .other a {
    color: #fff;
}

footer .other li {
    border: 1px solid #fff;
}

footer .other {
    width: 460px;
    margin-left: auto;
}

footer .copyright {
    background: var(--dark-brown);
    text-align: right;
    padding: 0 40px;
}

footer .area {
    background: var(--dark-brown);
    border: 1px solid #ffffff8f;
    width: fit-content;
    padding: 2px 10px;
    margin-left: -10px;
    margin-bottom: 6px;
    margin-top: 20px;
}

footer figcaption {
    font-family: 'Times New Roman', Times, serif;
    font-size: 0.9rem;
    line-height: 1.4;
    text-align: end;
    margin-top: 10px;
}

@media screen and (max-width: 1000px) {

    header .other {
        position: absolute;
        top: 76px;
    }

    header p {
        position: absolute;
    }

    nav {
        width: 100%;
        height: 70px;
        background: #fff;
    }

    nav li {
        width: 100%;
    }

    nav li:last-of-type {
        border-right: none;
    }

    nav ul {
        background: none;
    }

    header .right>.flex {
        flex-wrap: wrap;
        justify-content: flex-end;
        background: none;
    }

    header .other a {
        background: #ffffffd8;
    }

    footer figcaption {
        text-align: left;
    }

    footer>.flex {
        padding: 40px 20px 20px;
        flex-wrap: wrap;
    }

    footer .flex>.flex {
        margin: auto;
    }

    footer .other {
        margin: 20px auto;
    }

    footer .area {
        margin-left: 0;
    }

    footer .right {
        margin: auto;
    }
}


@media screen and (max-width: 790px) {

    .hum_btn {
        display: block;
    }

    nav {
        display: none;
    }

    header .other {
        top: 66px;
        max-width: calc(100% - 140px);
        flex-wrap: wrap;
        justify-content: flex-end;
    }

    .other li {
        margin: 6px 8px 0 0;
    }

    aside {
        display: none;
    }

    footer .right {
        max-width: 100%;
    }

    footer .other {
        max-width: 100%;
        flex-wrap: wrap;
        justify-content: left;
    }

}

@media screen and (max-width: 520px) {

    body,
    dl,
    .hum_nav .other a,
    footer .other a,
    footer figcaption {
        font-size: 13px;
    }

    .h2_wp {
        width: 100%;
    }

    h2 {
        font-size: 2.0rem;
        padding-bottom: 30px;
    }

    h3 {
        font-size: 1.4rem;
    }
}

@media screen and (max-width: 500px) {

    header .logo img {
        width: calc(var(--header-logo-size) * 0.84);
    }

    footer .logo img {
        width: calc(var(--header-logo-size) * 0.94);
    }

    header .right {
        width: calc(100% - var(--header-logo-size) * 0.84);
    }

    header .other {
        display: none;
    }
}

/* トップ */


/* メインビジュアル */

/* ビジュアル */

.visual_wp {
    width: calc(100% - 90px);
    height: 100vh;
    margin-left: 86px;
    display: flex;
    overflow-x: hidden;
    position: relative;
}

.visual_wp .grad {
    /* margin-left: 86px; */
    width: calc(100% - 86px);
    position: absolute;
    height: 160px;
    bottom: 0;
    background: linear-gradient(#ffffff00, #534741d5);
}

.visual {
    position: relative;
}

.visual1 {
    background: url(../imgs/visual01.jpg) center / cover no-repeat;
    width: 800px;
    height: 100%;
}

.visual2 {
    background: url(../imgs/visual02.jpg) center / cover no-repeat;
    width: 800px;
    height: 100%;
}

.visual3 {
    background: url(../imgs/visual02.jpg) center / cover no-repeat;
    width: 800px;
    height: 100%;
}

.catch_wp {
    position: absolute;
    bottom: 50px;
    width: calc(100% - 86px);
    margin: auto;
}

.catch {
    width: 560px;
    margin: auto;
    position: relative;
}

.catch p {
    text-align: center;
    -webkit-text-stroke: 1px #FFF;
    text-stroke: 1px #FFF;
    font-family: "ヒラギノ角ゴ Std W8", sans-serif;
    font-size: 3.4rem;
    line-height: 1.3;
    position: relative;
    z-index: 10;
    color: #808036;
}

.catch .bg {
    background: #ffffff86;
    height: 70px;
    width: 100%;
    top: 50%;
    transform: translateY(-50%);
    position: absolute;
    z-index: 1;
    outline-offset: -14px;
    outline: var(--green) 1px solid;
}

.home .switch {
    position: absolute;
    bottom: 40px;
    width: 100px;
    right: 50px;
}

.home .switch li {
    height: 18px;
    width: 18px;
    background-color: #eeeeee;
}

/* ニュース */

main.main section {
    padding: 90px 0;
}

main.main {
    padding: 80px 0 0;
}

main.main p {
    text-align: center;
    line-height: 1.6;
}

main.main a,
main.main p {
    color: var(--dark-brown);
}

.main #news dl {
    width: 100%;
    border-top: 1px var(--light-brown) solid;
    height: 80px;
    margin: auto;
    line-height: 1.6;
}

.main #news dt {
    width: 320px;
    float: left;
    height: 100%;
    line-height: 80px;
    padding: 0 0 0 50px;
}

.main #news dd {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.main #news ul {
    display: inline-block;
}

.post-categories {
    display: inline-block;
}

.post-categories a {
    text-decoration: none;
}

.main #news dl:last-of-type {
    border-bottom: 1px var(--light-brown) solid;
}

.main #news dd a {
    text-decoration: underline;
}

.main #news dl span {
    background-color: #e0f4f8;
    padding: 10px 20px;
    margin: 0 20px;
}

/* ボタン記述 */

.main .button {
    background: var(--dark-brown);
    width: fit-content;
    margin: 10px auto 0;
}

.main .button a {
    color: #fff;
    height: 100%;
    display: block;
    padding: 10px 30px;
    border: var(--dark-brown) 1px solid;
}


.main .button a:hover {
    background-color: #fff;
    color: var(--dark-brown);
    border: var(--dark-brown) 1px solid;
}


/* COMPANY */
.main #company figure {
    width: fit-content;
    margin: auto;
}

.main #company figure img {
    width: 600px;
    padding-right: 8px;
}

.main .contents {
    margin: 40px 0;
}

.main #company p {
    margin: 10px auto;
}

/* PRODUCTS */
.main h3 {
    font-size: 2rem;
    line-height: 1.5;
    text-align: center;
    position: relative;
    z-index: 10;
}

.main .h3_wp {
    position: relative;
}

.main .h3_wp .gray {
    width: 80%;
    height: 50px;
    background: #f2f2f2;
    position: absolute;
    z-index: 1;
    top: 50%;
    transform: translateY(-50%);
}

.main #products .flex {
    width: 860px;
    margin: auto;
    z-index: 10;
    position: relative;
}

.main #products .box_wp {
    position: relative;
    margin: 0 0 50px;
    padding: 30px 0 0;
}

.main #products .box_wp .gray {
    background: #f2f2f2;
    width: 100%;
    height: 280px;
    position: absolute;
    z-index: 1;
    width: 88%;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

.main #products figure {
    border: 1px solid var(--light-brown);
    width: 30%;
    margin: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.main #products figcaption {
    background: #fff;
    padding: 20px;
    line-height: 1.3em;
    font-size: 1rem;
    font-weight: bolder;
    display: flex;
    align-items: center;
    height: 100%;
}

.main #products img {
    width: 100%;
}

.main .buttons {
    width: 100%;
    margin-top: 50px;
}

.main #products .buttons {
    max-width: 500px;
}

@media screen and (max-width: 1000px) {


    .main section.inner {
        width: auto;
        padding: 150px 30px 150px 120px;
    }

    .main #products .box_wp {
        padding: 0 30px 0 120px;
        width: auto;
    }

    .main #products .inner_p {
        padding: 0 30px 0 120px;
    }

    .main #products .flex {
        flex-wrap: wrap;
        width: auto;
        justify-content: space-around;
    }

    .main #products>.flex {
        width: 500px;
    }

    .main #products figure {
        margin: 30px 0;
    }

    .main #products .box_wp .gray {
        width: 100%;
    }

    .main .contents {
        margin: 40px 30px;
    }
}

@media screen and (max-width: 790px) {

    .visual_wp {
        padding-top: 0;
        margin-left: 0;
        width: 100%;
    }

    .visual_wp .grad,
    .catch_wp {
        width: 100%;
    }

    .main #products figure {
        width: 30%;
        min-width: 260px;
    }

    .main section.inner {
        padding: 90px 30px;
    }


    .main #products .box_wp {
        padding: 0 30px;
    }

    .main #products .inner_p {
        padding: 0 30px;
    }
}

@media screen and (max-width: 700px) {
    .main #news dt {
        width: 230px;
        padding: 0 0 0 10px;
    }

    .main #news dl span {
        margin: 0 10px;
    }

    .main #company figure img {
        width: 100%;
    }

    .catch p {
        font-size: 8vw;
    }

    .catch {
        width: 90%;
        margin-bottom: 30px;
    }

    .catch .bg {
        height: 50%;
        outline-offset: -8px;
    }

    .main #products>.flex {
        width: 100%;
        flex-wrap: wrap;
    }

}

@media screen and (max-width: 520px) {
    .main h3 {
        font-size: 1.4rem;
    }

    .main .button a {
        font-size: 13px;
    }

    .main .contents {
        margin: 40px 0;
    }
}


main.single {
    padding-top: 76px;

}

.single .inner {
    padding: 0 60px 0 150px;
    max-width: 1000px;
    width: 100%;
}

.single .pankuzu_wp {
    background: #f2f2f2;
}

.single .pankuzu {
    margin: 54px 0 100px;
    background-color: #fff;
    width: fit-content;
    padding: 0 8px;
    margin-right: 10%;
    line-height: 1;
    margin-left: auto;
    font-size: 0.8rem;
}

.wp-pagenavi {
    width: 240px;
    margin: 60px auto;
    font-size: 1rem;
    display: flex;
}

.wp-pagenavi a,
.wp-pagenavi span {
    text-decoration: none;
    border: none;
    padding: 10px;
    margin: 2px;
}

@media screen and (max-width: 1000px) {
    .single .pankuzu {
        margin-top: 74px;
    }
}


@media screen and (max-width: 890px) {
    .single .inner {
        max-width: 100%;
    }
}

@media screen and (max-width: 790px) {
    .single .inner {
        padding: 0 20px;
        width: 100%;
    }

    .single .pankuzu {
        margin-left: 10px;
        margin-right: 0;
    }
}

@media screen and (max-width: 500px) {
    .single .pankuzu {
        margin: 0 30px 57px;
        margin-left: auto;
    }
}

/* news */

.news .inner {
    margin: auto;
    max-width: 1100px;
}

/* productsとほぼ共通 */

.news .genre {
    margin-bottom: 120px;
    width: 400px;
    margin: auto;
}

.news .genre li {
    background: var(--dark-brown);
}

.news .genre li a {
    color: #fff;
    font-size: 0.9rem;
    height: 100%;
    padding: 4px 36px;
}

/* topとほぼ共通  */

.news a {
    color: var(--dark-brown);
}

.news .tables {
    margin-top: 40px;
}

.news .news_wp {
    width: 700px;
    margin-left: 50px;
    margin-bottom: 40px;
}

.news .news_wp dl {
    width: 100%;
    border-top: 1px var(--light-brown) solid;
    height: 80px;
    margin: auto;
    line-height: 1.6;
}

.news .news_wp dt {
    width: 320px;
    float: left;
    height: 100%;
    line-height: 80px;
    padding: 0 0 0 50px;
}


.news .news_wp dd {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;

}

.news .news_wp dl:last-of-type {
    border-bottom: 1px var(--light-brown) solid;
}

.news .news_wp dd a {
    text-decoration: underline;
}

.news .news_wp dl span {
    background-color: #e0f4f8;
    padding: 10px 20px;
    margin: 0 20px;
}

.news .year_aside {
    min-width: 130px;
    max-width: 160px;
    margin-right: 30px;
}

.news .year_aside h3 {
    font-size: 1rem;
    padding: 10px;
    border-left: 3px solid var(--brown);
    border-top: 1px solid var(--light-brown);
    border-right: 1px solid var(--light-brown);
    color: #fff;
    background: var(--brown);
    text-align: center;
}

.news .year_aside li {
    border-left: 3px solid var(--brown);
    border-top: 1px solid var(--light-brown);
    border-right: 1px solid var(--light-brown);
    font-size: 0.9em;
    width: 100%;
}

.news .year_aside a {
    height: 100%;
    padding: 10px;
    display: block;
    text-align: center;
}

.side_list {
    margin-bottom: 30px;
}

.news .year_aside p:first-of-type a {
    color: #fff;
}

.news .year_aside li:last-of-type {
    border-bottom: 1px solid var(--light-brown);
}

.news h4 {
    text-align: center;
    font-size: 1.5rem;
    font-family: serif;
    margin-bottom: 30px;
}

.news h4::before {
    content: "";
    height: 30px;
    width: 30px;
    background: var(--gray);
    display: inline-block;
}

.type-post span {
    background-color: #e0f4f8;
    padding: 10px 20px;
    margin-right: 20px;
}

.type-post h3 {
    margin: 60px auto 40px;
    font-size: 1.8rem;
    width: fit-content;
    line-height: 1.5;
}

.type-post .content {
    margin: 20px auto 50px;
    font-size: 1.06rem;
}

.postLinks {
    width: 100%;
    display: flex;
    justify-content: space-between;
    border-top: 1px solid var(--light-brown);
    padding: 30px 0;
    font-size: 0.9rem;
}

.postLink {
    width: fit-content;
    max-width: 48%;
    display: flex;
    align-items: center;
}

.postLink-prev a::before {
    content: '<<';
    margin-right: 10px;
    font-weight: bold;
}

.postLink-next a::after {
    content: '>>';
    margin-left: 10px;
    font-weight: bold;
}

@media screen and (max-width: 1120px) {

    .news .inner {
        width: 100%;
        min-width: auto;
    }

    .news .news_wp dt,
    .main #news dt {
        width: 260px;
        padding-left: 30px;
    }

    .news .news_wp dd,
    .main #news dd {
        margin-left: 260px;
    }

    .news .news_wp dl span,
    .main #news dl span {
        margin: 0 10px;
    }
}

@media screen and (max-width: 950px) {

    .news .news_wp {
        margin-left: 0;
    }

    .news .news_wp dt,
    .main #news dt {
        float: none;
        line-height: 40px;
        padding: 0 10px;
    }

    .news .news_wp dl,
    .main #news dl {
        height: auto;
        padding: 12px 0;
    }

    .news .news_wp dd,
    .main #news dd {
        margin-left: 0;
        padding: 0 10px;
        margin: 10px 0 0;
        width: fit-content;
    }

    .news .news_wp dd a,
    .main #news dd a {
        width: fit-content;

    }
}

@media screen and (max-width: 650px) {
    .news .tables {
        flex-direction: column-reverse;
    }

    .news .news_wp {
        width: 100%;
    }

    .news .year_aside {
        min-width: auto;
        max-width: 100%;
        margin-right: 0;
    }

    .news .side_list li {
        border: 1px solid var(--light-brown);
        margin-top: -1px;
    }

    .news .side_list.archi,
    .news .side_list.cate {
        display: flex;
        flex-wrap: wrap;
    }

    .news .side_list.archi li,
    .news .side_list.cate li {
        width: 50%;
    }

    /* 
    .news .side_list.archi li,
    .news .side_list.cate li {
        width: 50%;
        border-left: 1px solid var(--light-brown);
    }

    .news .side_list.archi li:nth-child(2n),
    .news .side_list.cate li:nth-child(2n) {
        border-bottom: 1px solid var(--light-brown);
        border-left: none;
    } */
}

@media screen and (max-width: 520px) {
    .news .year_aside {
        min-width: 80px;
        margin-right: 0;
    }

    .news .year_aside li {
        font-size: 0.84rem;
    }

    .news .news_wp dl {
        padding: 10px 0;
    }

    .news .news_wp dl span {
        padding: 6px 12px;
    }

    .news .tables {
        margin-top: 50px;
    }

    .news .genre {
        width: 100%;
        justify-content: space-between;
    }

    .news .genre li {
        margin: 0;
        width: 48%;
        text-align: center;
    }

    .news .genre li a {
        padding: 6px 12px;
        font-size: 0.82rem;
    }

    .news .post h3 {
        font-size: 1.2rem;
        margin: 40px auto 26px;
    }

    .news .post .content {
        margin: 20px auto 40px;
        font-size: 0.9rem;
    }

    .postLinks {
        font-size: 0.82rem;
        padding: 20px 0;
    }
}

/* 会社概要 */

.page-company .inner {
    margin: auto;
}

.page-company .prof dt {
    float: left;
    width: 160px;
}

.page-company .prof dd {
    margin-left: 160px;
}

.page-company .prof dt,
.page-company .prof dd {
    padding: 15px 20px;
}

.page-company .prof dl {
    border-top: 1px solid var(--light-brown);
}

.page-company .prof dl:last-of-type {
    border-bottom: 1px solid var(--light-brown);
}

.page-company .office dt {
    float: left;
    width: 60px;
}

.page-company .office dd {
    margin-left: 60px;
}

.page-company .office dt,
.page-company .office dd {
    padding: 5px 10px;
}

.page-company .office .flex {
    flex-wrap: wrap;
}

.page-company main {
    padding-bottom: 90px;
}

.page-company .office {
    margin-top: 50px;
}

.page-company .map {
    width: 45%;
}

.page-company .map iframe {
    width: 100%;
    height: 200px;
}

.page-company h3 {
    font-size: 1.6rem;
    margin: 30px 10px;
    display: flex;
}

.page-company h3::before {
    content: "";
    width: 22px;
    height: 22px;
    display: block;
    background-color: var(--gray);
    margin-right: 10px;
    margin-top: 3px;
}

@media screen and (max-width: 1000px) {
    .page-company .map {
        width: 100%;
    }
}

@media screen and (max-width: 500px) {
    .page-company h3 {
        font-size: 1.3rem;
    }

    .page-company h3::before {
        content: "";
        width: 22px;
        height: 22px;
        display: block;
        background-color: var(--gray);
        margin-right: 10px;
        margin-top: 0;
    }
}

@media screen and (max-width: 520px) {
    .page-company .prof dt {
        width: 100px;
        padding: 15px 10px;
    }

    .page-company .prof dd {
        margin-left: 100px;
        padding: 15px 10px;
    }
}

/* 制作実績 */

.products .inner,
.product .inner {
    width: 100%;
    max-width: 1100px;
}

.product>.flex {
    flex-wrap: wrap;
}

.products .genre,
.product .genre {
    flex-wrap: wrap;
    justify-content: center;
    margin: auto;
    margin-bottom: 80px;
}

.products .genre li,
.product .genre li {
    background: var(--dark-brown);
    margin-right: 6px;
    margin-top: 10px;
}

.products .genre li a,
.product .genre li a {
    color: #fff;
    font-size: 0.9rem;
    height: 100%;
    padding: 4px 34px;
}

/* box */
.products .box_wp {
    flex-wrap: wrap;
    justify-content: left;
}

.products .box {
    position: relative;
    border: 1px solid var(--light-brown);
    width: 216px;
    line-height: 1.4;
    font-size: 1.2rem;
    margin-bottom: 70px;
    display: flex;
    flex-direction: column;
    margin-right: 6px;
}

.products .box figure img {
    width: 100%;
}

.products .box .new {
    position: absolute;
}

.products .box h4 {
    padding: 0 14px;
    font-weight: bolder;
    font-size: 1.1rem;
}

.products .box .tag_area,
.product .tag_area {
    display: flex;
    flex-wrap: wrap;
    padding: 6px 14px;
    margin-bottom: 76px;
}

.product .tag_area {
    margin-bottom: 30px;
    padding: 0;
}

.tag_area li,
.product .tag_area li {
    background-color: var(--darker-brown);
    color: #fff;
    width: fit-content;
    margin: 2px 3px 2px 0;
    padding: 4px 6px 4px 3px;
    font-size: 0.86rem;
    height: 28px;
}

.product .tag_area li {
    padding: 5px 12px;
    height: 38px;
    margin: 6px 6px 0 0;
    font-size: 0.92rem;
}

.tag_area p,
.product .tag_area p {
    position: relative;
    margin-left: 22px;
}

.tag_area p::before,
.product .tag_area p::before {
    content: "";
    display: inline-block;
    height: 18px;
    width: 18px;
    position: absolute;
    margin-left: -22px;
}

.product .tag_area p::before {
    height: 28px;
    width: 28px;
    margin-left: -30px;
}

.tag_area .pro_price p::before {
    background: url(../imgs/icon_p_en.png) left / contain no-repeat;
}

.tag_area .pro_kind p::before {
    background: url(../imgs/icon_p_kind.png) left / contain no-repeat;
}

.tag_area .pro_color p::before {
    background: url(../imgs/icon_p_color.png) left / contain no-repeat;
}

.tag_area .pro_wood p::before {
    background: url(../imgs/icon_p_wood.png) left / contain no-repeat;
}

.products .box>.flex {
    padding: 0 14px 14px 14px;
    position: absolute;
    bottom: 0;
    width: 100%;
}

.products .box .button:first-of-type,
.product .button:first-of-type {
    border: 1px solid var(--green);
    width: fit-content;
    margin-right: 6px;
}

.products .box .button:nth-of-type(2),
.product .button:nth-of-type(2) {
    background: var(--green);
    width: fit-content;

}

.products .box .button:nth-of-type(2) a,
.product .button:nth-of-type(2) a {
    color: #fff;
}

.products .box .button a,
.product .button a {
    color: var(--green);
    height: 100%;
    display: block;
    padding: 10px 14px;
    font-size: 0.8rem;
}

.product .button a {
    padding: 10px 30px;
    font-size: 1rem;
}

.products .box .new,
.product .new {
    background: var(--light-brown);
    color: #fff;
    padding: 3px 12px;
    margin: 10px;
    box-shadow: var(--dark-brown) 4px 4px 0;
    font-weight: bold;
    font-size: 0.98rem;
    width: fit-content;
}

.product article>.flex {
    flex-wrap: wrap;
}

.product figure {
    height: fit-content;
    width: 30%;
    min-width: 300px;
    border: 1px solid var(--light-brown);
    margin-left: 30px;
}

.product .left {
    width: calc(100% - 330px);
    min-width: 300px;
}

/* .product .left {
    min-width: 300px;
} */

.product figure img {
    width: 100%;
}

.product .h4_wp {
    position: relative;
}

.product h4 {
    font-size: 1.6rem;
    line-height: 1.5;
    margin: 30px 0;
    z-index: 10;
    position: relative;
}

.product .h4_wp .gray {
    background-color: #f2f2f2;
    width: calc(70% + (100vw - 1100px) /2 + 150px);
    height: calc(100% - 36px);
    position: absolute;
    left: calc((-100vw + 1100px) /2 - 150px);
    top: 50%;
    transform: translateY(-50%);
}

.product .buttons {
    width: 380px;
    margin: 40px auto;
}

.product .new {
    margin: 0;
}

@media screen and (max-width: 1200px) {

    .products .box,
    .product .box {
        width: 32%;
    }
}

@media screen and (max-width: 890px) {

    .products .inner,
    .product .inner {
        padding: 0 20px 0 110px;
    }
}

@media screen and (max-width: 790px) {

    .products .inner,
    .product .inner {
        padding: 0 20px 0 20px;
    }

    .products .box {
        width: 32%;
    }

    .products .genre li a,
    .product .genre li a {
        padding: 10px 20px;
    }
}

@media screen and (max-width: 740px) {

    .products .inner,
    .product .inner {
        padding: 0 20px;
    }

    .products .box {
        width: 48.6%;
    }
}

@media screen and (max-width: 670px) {
    .product .left {
        width: 100%;
    }

    .product figure {
        margin: 20px auto;
    }
}


@media screen and (max-width: 500px) {

    .products .box {
        width: 100%;
    }
}

/* 
.product article>.flex {
    flex-wrap: wrap;
}

.product figure {
    height: fit-content;
    width: 30%;
    min-width: 300px;
    border: 1px solid var(--light-brown);
    margin-left: 30px;
}

.product .left {
    width: calc(100% - 330px);
    min-width: 300px;
} */

/* .product .left {
    min-width: 300px;
} */
/* 
.product figure img {
    width: 100%;
}

.product .h4_wp {
    position: relative;
}

.product h4 {
    font-size: 1.6rem;
    line-height: 1.5;
    margin: 30px 0;
    z-index: 10;
    position: relative;
}

.product .h4_wp .gray {
    background-color: #f2f2f2;
    width: calc(70% + (100vw - 1100px) /2 + 150px);
    height: calc(100% - 36px);
    position: absolute;
    left: calc((-100vw + 1100px) /2 - 150px);
    top: 50%;
    transform: translateY(-50%);
}

.product .buttons {
    width: 380px;
    margin: 40px auto;
}

.product .new {
    margin: 0;
} */

/* 問い合わせ */

.page-contact .inner {
    margin: auto;
}

.page-contact .inner>p {
    text-align: center;
}

.page-contact .guide {
    margin-top: 60px;
    height: 100px;
}

.page-contact .guide li {
    width: 50%;
    border: var(--light-brown) 1px solid;
    text-align: center;
    line-height: 1.3;
}

.page-contact .guide a {
    color: var(--dark-brown);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.page-contact .guide p {
    font-family: "ヒラギノ角ゴ Std W8", sans-serif;
    font-size: 1.4rem;
}

.page-contact .guide span {
    font-size: 0.82rem;
}

.page-contact #form_yoyaku {
    background-color: #fdfdfd;
    border: 1px solid var(--brown);
    margin: 60px 0;
}

.page-contact .switch li {
    width: 50%;
    background: var(--brown);
    text-align: center;
    height: 70px;
}

.page-contact .switch li a {
    color: #fff;
    height: 100%;
    line-height: 70px;
}

.page-contact .switch li.open {
    background: #fdfdfd;
}

.page-contact .switch li.open a {
    color: var(--brown);
}

.page-contact .consent {
    height: 200px;
}

.page-contact form {
    padding: 50px 100px;
    font-size: 0.9rem;
}

.page-contact form dt span {
    color: rgb(138, 48, 48);
    font-size: 0.9em;
    margin: 20px;
    padding: 5px 10px;
    border: rgb(138, 48, 48) 1px solid;
    background: #fcf3f3;
}

.page-contact form dl {
    padding: 6px 0;
    line-height: 50px;
}

.page-contact form dt {
    min-width: 240px;
    float: left;
}

.page-contact form dl:last-of-type {
    line-height: 2;
}

.page-contact form dl:last-of-type dt {
    float: none;
    width: 100%;
}

.page-contact form dd {
    width: 100%;
    height: 50px;
}

.page-contact form dd.naiyo {
    height: auto;
}

.page-contact input[type="text"],
.page-contact input[type="email"],
.page-contact input[type="tel"] {
    line-height: 46px;
    width: calc(100% - 240px);
    font-size: 0.9rem;
}

.page-contact select {
    height: 38px;
    width: calc(100% - 240px);
}

.page-contact textarea {
    resize: none;
    width: calc(100% - 240px);
    height: 150px;
    font-size: 0.9rem;
}

.page-contact .consent {
    height: 180px;
    margin: 70px 100px 0;
    border: var(--light-brown) 1px solid;
    overflow-y: scroll;
    padding: 10px;
    background: #fff;
}

.page-contact .consent h3 {
    font-size: 1.4rem;
    font-weight: normal;
}

.page-contact .consent p {
    margin-top: 10px;
    font-size: 0.8rem;
    line-height: normal;
}

.page-contact form .flex {
    width: 400px;
    margin: 50px auto 0;
    justify-content: space-around;
}

.page-contact form input[type="button"],
.page-contact form input[type="reset"],
.page-contact form input[type="submit"] {
    padding: 14px 28px;
    font-size: 0.9rem;
}

.page-contact form input[type="reset"],
.page-contact form input[type="button"] {
    background-color: #fff;
    border: 1px solid var(--green);
    color: var(--green);
}

.page-contact .button {
    padding: 14px 28px;
    font-size: 0.9rem;
    border: 1px solid var(--green);
    width: fit-content;
    margin: 50px auto 60px;
}

.page-contact .button a {
    color: var(--green);
}

.page-contact form input[type="submit"] {
    background-color: var(--green);
    border: 1px solid var(--green);
    color: #fff;
}

.page-contact form input[type="submit"]:hover {
    cursor: pointer;
}

.page-contact #form_other {
    display: none;
}

.page-contact form dd span.error {
    color: rgb(220, 23, 23);
}


@media screen and (max-width: 900px) {
    .page-contact form dt {
        float: none;
    }

    .page-contact select {
        width: 100%;
    }

    .page-contact input[type="text"],
    .page-contact input[type="email"],
    .page-contact input[type="tel"] {
        width: 100%;
    }

    .page-contact textarea {
        width: 100%;
    }

    .page-contact .consent {
        margin: 70px 10% 0;
    }

    .page-contact form {
        padding: 40px 10%;
    }

    .page-contact .guide {
        flex-wrap: wrap;
        height: fit-content;
    }

    .page-contact .guide li {
        width: 100%;
        padding: 16px;
    }
}

@media screen and (max-width: 580px) {
    .page-contact form .flex {
        width: 100%;
        flex-wrap: wrap;
    }

    .page-contact .guide {
        padding: 0 20px;
    }

    .page-contact form .flex input {
        width: 100%;
        margin: 10px 0;
    }

    .page-contact form {
        padding: 40px 20px;
    }

    .page-contact .consent {
        margin: 50px 20px 0;
    }

    .page-contact .inner {
        padding: 0;
    }

    .page-contact .inner>p {
        padding: 0 20px;
    }
}

@media screen and (max-width: 1000px) {
    .page-contact .pankuzu {
        margin-top: 74px;
    }
}