@charset "utf-8";

/*
Theme Name: shioyama
Date: 2016.11
/*


/*共通*/

html {
    font-family: Avenir, "Open Sans", "Helvetica Neue", Helvetica, Arial, Verdana, Roboto, "游ゴシック", "Yu Gothic", "游ゴシック体", "YuGothic", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "Meiryo UI", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    /* 1 */
    -ms-text-size-adjust: 100%;
    /* 2 */
    -webkit-text-size-adjust: 100%;
    /* 2 */
}

body {
    font-size: 14px;
    line-height: 1.6;
    -webkit-text-size-adjust: 100%;
    position: relative;
    color: #333;
}

* {
    box-sizing: border-box;
}

a {
    text-decoration: none;
    color: #333;
    outline: none;
}

.flex {
    display: -webkit-box;
    /*--- Androidブラウザ用 ---*/
    display: -ms-flexbox;
    /*--- IE10 ---*/
    display: -webkit-flex;
    /*--- safari（PC）用 ---*/
    display: flex;
    -ms-flex-wrap: wrap;
    /*--- IE10用 ---*/
    -webkit-flex-wrap: wrap;
    /*--- safari（PC）用 ---*/
    flex-wrap: wrap;
}

.flex_nw {
    display: -webkit-box;
    /*--- Androidブラウザ用 ---*/
    display: -ms-flexbox;
    /*--- IE10 ---*/
    display: -webkit-flex;
    /*--- safari（PC）用 ---*/
    display: flex;
    flex-wrap: nowrap;
}

#item_box {
    width: 100%;
    max-width: 500px;
}

.cf:before,
.cf:after {
    content: ".";
    height: 0;
    display: block;
    clear: both;
    visibility: hidden;
}

p i.fa-chevron-right,
i.fa-chevron-left {
    background: #DD3F45;
    color: #fff;
    line-height: 2.4em;
    width: 24px;
    font-size: 10px;
    display: inline-block;
    border-radius: 25px;
    text-align: center;
    font-weight: normal;
    margin-right: 14px;
}

/* status */
.overflow {
    overflow: hidden;
}

.inlineblock {
    display: inline-block;
}

.opa:hover {
    opacity: .75;
}

.bold {
    font-weight: bold;
}

.right {
    text-align: right;
}

.center {
    text-align: center;
}

.left {
    text-align: left;
}

/*
 margin

*/

.m-0 {
    margin: 0;
}

.mt-0 {
    margin-top: 0;
}

.mb-0 {
    margin-bottom: 0px;
}

.mb-10 {
    margin-bottom: 10px;
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-30 {
    margin-bottom: 30px;
}

.mb-40 {
    margin-bottom: 40px;
}

.mb-50 {
    margin-bottom: 50px;
}

.mb-60 {
    margin-bottom: 60px;
}

.mb-70 {
    margin-bottom: 70px;
}

.mb-80 {
    margin-bottom: 80px;
}

.mb-90 {
    margin-bottom: 90px;
}

.mb-100 {
    margin-bottom: 100px;
}

.mb-1em {
    margin-bottom: 1em;
}

.mb-2em {
    margin-bottom: 2em;
}

.mb-sec {
    margin-bottom: 80px;
}

.mb-sec-inner {
    margin-bottom: 60px;
}

.bdr-50 {
    border-radius: 50%;
    -moz-border-radius: 50%;
    /* Firefox向け */
    -webkit-border-radius: 50%;
    /* Google Chrome、Safari向け */
    -o-border-radius: 50%;
    /* Opera向け */
    -ms-border-radius: 50%;
    /* Internet Explorer向け */
}

.br::before,
.br::after {
    content: "\A";
    white-space: pre;
    display: block;
    height: 0;
}




/* header */

header#heading .common_header {
    background-image: url(assets/images/header.jpg);
    width: 100%;
    height: 400px;
    background-size: 100% 100%;
    background-repeat: no-repeat;
}

header#heading .common_header h2 {
    text-align: center;
    line-height: 400px;
}

header#heading .common_header h2 img {
    width: 100%;
    max-width: 330px;
}


/* front */

/* section#header {
    background-image: url(assets/images/main_top.jpg);
    background-size: contain;
    height: 0;
    padding-bottom: calc(100%*920/1500);
    background-repeat: no-repeat;
} */

#header .header {
    justify-content: center;
    align-items: center;
    flex-flow: column nowrap;
    ;
}


.header {
    text-align: center;
    color: #fff;
    /* padding-top: 10%; */
}

.header img {
    width: 100%;
    max-width: 340px;
}

img.heading {
    max-width: 49%;
    /* padding-bottom: 30%; */
    padding-top: 15%;
    ;
}

.header p img {
    padding-bottom: 35px;
}

.header a {
    display: inline-block;
    /* background: #FFF; */
    vertical-align: middle;
    width: 50px;
    line-height: 50px;
    color: #fff;
}


/* nav */

nav#global-nav {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    background: #fff;
    box-shadow: 0px 4px 10px -2px rgba(0, 0, 0, 0.4);
    -webkit-box-shadow: 0px 4px 10px -2px rgba(0, 0, 0, 0.4);
    -moz-box-shadow: 0px 4px 10px -2px rgba(0, 0, 0, 0.4);
    color: #333;
    z-index: 1;
}

nav#global-nav span.sp {
    display: none;
}

nav#global-nav ul {
    display: flex;
    -webkit-justify-content: flex-end;
    justify-content: flex-end;
}

nav#global-nav li {
    line-height: 5em;
    text-align: center;
    letter-spacing: -0.06em;
}

nav#global-nav li:first-child {
    margin-right: auto;
    width: auto;
}

nav#global-nav li:nth-last-of-type(1) {
    padding-right: 16px;
}

nav#global-nav li:not(:first-child) {
    padding: 0 10px;
}

nav#global-nav li a {
    display: block;
    border-bottom: 2px solid rgba(255, 255, 255, 0);
}

nav#global-nav li a:hover {
    border-bottom: 2px solid #DD3F45;
}

/*nav#global-nav li h1 {
    position: absolute;
    left: 0;
}*/

nav#global-nav li h1 img {
    width: 238px;
    vertical-align: middle;
    margin-left: 16px;
}

nav ul.container {
    width: 100%;
    margin: 0 auto;
}


/* main */


/* section */

/* section {
    height: auto;
    padding-bottom: 85px;
} */

section h2 {
    font-size: 36px;
    font-family: "游明朝", "YuMincho", "游ゴシック", "Yu Gothic", "ヒラギノ明朝 ProN W6", "HiraMinProN-W6", "HG明朝E", "ＭＳ Ｐ明朝", "MS PMincho", "MS 明朝", "メイリオ", "Meiryo", serif;
}

section h3 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 1em;
}

section h3::before {
    content: "";
    position: relative;
    top: -5px;
}

section h3:before {
    background-color: #DD3F45;
    width: 20px;
    height: 3px;
    display: inline-block;
    margin-right: 10px;
}

section h4 {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 1em;
}

#content {
    max-width: 1120px;
    margin: 0 auto;
    width: 100%;
    padding-top: 60px;
}

/* mv */
.mv img {
    width: 100%;
    height: auto;
}

/* about */

.about_content {
    display: flex;
    justify-content: space-between;
    margin: 80px 0;
}

.about_content .about p {
    font-size: 16px;
    line-height: 1.9em;
    padding-top: 15px;
    letter-spacing: -0.07em;
}

.about_content .about {
    width: 100%;
    max-width: 650px;
    padding-top: 60px;
    /* position: absolute; */
    /* top: 80px; */
    /* margin-left: 40%; */
}

.about_content .about h2 {
    margin-bottom: 50px;
}


/* info */

section #info_box {
    justify-content: space-between;
    max-width: 1120px;
    margin: 45px auto 0 auto;
    padding-bottom: 60px;
}


section #info_box::after {
    content: "";
    width: 320px;
    display: block;

}

#info_box article {
    padding: 0;
    margin: 0 0 40px;
    width: 360px;
}

#info_box article .img_box {
    max-width: 360px;
    min-height: 210px;
}

#info_box article img {
    max-width: 100%;
    height: auto;
}

#info_box .textBox {
    width: 100%;
    padding-top: 1em;
}

#info_box .textBox>p {
    line-height: 1.89em;
    letter-spacing: -0.086em;
}

#info #item_box {
    max-width: 650px;
}

#info p>span {
    /* font-size: 16px; */
    font-weight: bold;
    display: inline-block;
    line-height: 3.6em;
    /* background: #ffffbf; 
    padding: 0 40px 0 40px;
    margin-bottom: 1.5em;*/
}

#info a {
    font-weight: bold;
}

#info #item_box a p {
    margin: 3em auto;
    display: inline-block;
}


/* profile */

#profile {
    background: #fef9f7;
    padding-bottom: 80px;
}

#profile #content>h2 {
    padding: 40px 0 45px 0;
}

.prof_box {
    position: relative;
}

#profile table {
    width: 100%;
    max-width: 500px;
}

#profile table:first-child {
    max-width: 50%;
}

#profile table:last-child {
    margin-left: 60px;
}

#profile table:last-child::before {
    content: "";
    display: block;
    height: 100%;
    position: absolute;
    top: 0;
    left: 50%;
    margin-left: -1px;
    border-left: 1px dotted #ccc;
}

#profile table th {
    padding-bottom: 40px;
    justify-content: flex-start;
}

#profile table th:first-child {
    width: 500px;
}

#profile .profname {
    text-align: left;
    padding-left: 2rem;
}

#profile table th p>.name {
    font-size: 20px;
    line-height: 3rem;
}

#profile table td {
    line-height: 2em;
    vertical-align: top;
    /* padding-bottom: 30px; */
    letter-spacing: -.06em;
}

#profile table td p:nth-child(even) {
    padding: .6em 0;
}

#profile table td:first-child {
    width: 20%;
    text-align: left;
    font-weight: bold;
}

#profile table td:last-child {
    padding-right: 60px;
}


/* column */

section#column {}

section#column h2 {
    padding: 85px 0 45px 0;
}

section#column .column ul {
    display: flex;
    flex-wrap: wrap;
}

section#column .column ul li {
    width: 50%;
    height: 180px;
    display: block;
}

section#column .column ul li a {
    text-align: left;
    border: none;
}

.column #col_date {
    display: block;
    width: 100px;
    text-align: left;
    float: left;
    margin-right: 30px;
    height: 180px;
}

.column #col_date datetime {
    line-height: .8em;
    display: block;
    font-size: 16px;
    font-weight: 500;
    margin-top: 8px;
}

.column #col_text {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    height: 180px;
}

#col_date span.cat {
    padding: 5px 15px;
    font-size: 12px;
    letter-spacing: -.04em;
}

#col_date span.news {
    background-color: #ffc926;
}

#col_date span.col {
    background-color: #c0ce1a;
}

#col_text h4.title {
    line-height: 1.8em;
    font-weight: normal;
    letter-spacing: -.08em;
}

#col_text span.text {
    vertical-align: top;
    line-height: 1.8em;
    color: #ccc;
    font-weight: normal;
    margin-top: -10px;
    display: block;
}

section#column a {
    display: block;
    border: 1px solid #ccc;
    width: 100%;
    text-align: center;
    line-height: 4.5em;
    font-weight: bold;
}

section#column #content a.kiji {
    background: #f4f4f4;
}

section#column #content a.kiji:hover {
    background: #E3E3E3;
}

/* access */

#access {
    background: #fbe8e0;
    padding-bottom: 80px;
}

#access h2 {
    padding: 40px 0 45px 0;
}

#access a {
    font-weight: bold;
}

#access p {
    line-height: 2em;
}

#access p:nth-child(2) {
    padding-top: 30px;
    padding-bottom: 40px;
}

.access_container {
    justify-content: space-between;
}

.access_container #item_box {
    width: 100%;
}

#google_map {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px;
    height: 0;
    overflow: hidden;
}

#google_map iframe,
#google_map object,
#google_map embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


/* contact */
input,
textarea,
select {
    padding: 2px 10px;
}

#contact {
    background-image: url(assets/images/back_02.jpg);
    width: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    padding-top: 2rem;
    padding-bottom: 80px;
}

.mask {
    display: block;
    background-color: rgba(255, 255, 255, 0.2);
    margin: 0 2rem 2rem;
}

#contact h2 {
    padding: 40px 0 45px 0;
}

#contact p {
    line-height: 2em;
    letter-spacing: -.04em;
}

#contact .contact_container {
    justify-content: space-between;
}

#contact #item_box p {
    padding-bottom: 30px;
}

#contact p>span {
    font-size: 32px;
    font-weight: 500;
    display: inline-block;
    line-height: 2.6em;
    /* background: #ffffbf; */
    background: #fff;
    /* border: 1px solid #333; */
    padding: 0 100px 0 100px;
    margin-bottom: -20px;
    width: 490px;
    text-align: center;
}

#contact #item_box:last-child {}

#contact #item_box form dd input,
textarea#text {
    border-radius: 3px;
    border: 1px solid #ccc;
    height: 30px;
    margin-top: 10px;
    margin-bottom: 20px;
}

form dl dt label {
    font-weight: bold;
}

form dt label span {
    font-weight: normal;
    display: inline-block;
    width: 40px;
    text-align: center;
    background-color: #ff8000;
    color: #fff;
    font-size: 12px;
    border-radius: 3px;
    line-height: 22px;
    margin-left: 1em;
}

#contact #item_box form input[type="text"]:focus,
textarea:focus {
    border: solid 1px rgb(255, 201, 38);
}

#contact #item_box form dd input#name,
input#tel {
    height: 30px;
}

#contact #item_box form dd input#mail {
    width: 100%;
}

section#contact #item_box form dd textarea#text {
    width: 100%;
    height: 140px;
    resize: none;
}

section#contact #item_box form input[type="submit"] {
    display: block;
    background: #848e43;
    color: #fff;
    font-weight: lighter;
    text-align: center;
    line-height: 30px;
    padding: 20px 30px;
    font-size: 18px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
}

section#contact #item_box form input[type="submit"]:hover {
    background: #6C7436;
}


/* footer */

footer .footer {
    width: 100%;
    max-width: 60%;
    height: 15vh;
    margin: 0 auto 0;
    display: block;
    padding: 3% 0;
}

footer .footer img {
    width: 15%;
    float: left;
    margin-right: 45px;
}

footer .footer address {
    line-height: 1.8em;
}

footer .footer address a {
    text-decoration: underline;
    padding-bottom: 0.4px;
}

footer .footer address a:hover {
    text-decoration: none;
}

footer p#copyright {
    width: auto;
    display: block;
    border-top: 1px solid #ccc;
    line-height: 2.5em;
    text-indent: .5em;
}

footer p.pull-right a {
    display: block;
    width: 50px;
    font-size: 40px;
    position: fixed;
    background: #333;
    bottom: 20px;
    right: 20px;
    color: #fff;
    line-height: 50px;
    text-align: center;
    border-radius: 3px;
}


/* page */

.container {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
}

.container .newsBlock.block {
    height: auto;
}

.container article .page_post {
    width: 90%;
    display: block;
    padding: 0 0px 120px 50px;
    border-left: 1px solid #ddd;
    margin: -30px 0px 100px;
    float: right;
}

.contents,
main.container,
.mainContents article h2.cat_title {
    font-size: 24px;
    font-family: Avenir, "Open Sans", "Helvetica Neue", Helvetica, Arial, Verdana, Roboto, "游ゴシック", "Yu Gothic", "游ゴシック体", "YuGothic", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "Meiryo UI", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    margin-bottom: 20px;
    padding-top: 20px;
}

.contents,
main.container,
.mainContents article p {
    font-size: 14px;
    line-height: 1.8em;
}

.contents,
main.container,
.mainContents article p:nth-child(even) {
    padding: .8em 0;
}

.contentsWrap:before,
.contentsWrap:after {
    display: table;
    content: "";
    line-height: 0;
}

.contentsWrap:after {
    clear: both;
}

.contentsWrap .mainContents.column article .entryInfo #col_date {
    display: block;
    width: 10%;
    text-align: left;
    float: left;
    margin: -15px auto auto;
    height: auto;
}

.contentsWrap .mainContents.column article .entryInfo #col_date .categories {
    margin: 14px auto 0;
}

.contentsWrap .mainContents #col_text {
    max-width: inherit;
    ;
    margin: 0 auto;
    height: auto;
    text-align: left;
}


/*page_foot*/

.entryPost {
    text-align: left;
    width: 100%;
    display: block;
    padding-left: 0%;
}

aside.page_foot {
    margin-bottom: 200px;
}

aside.page_foot a.kiji {
    background: #f4f4f4;
    display: block;
    width: 100%;
    text-align: center;
    line-height: 4.5em;
    font-weight: bold;
    margin-bottom: 50px;
}

aside.page_foot a.all_post {
    text-align: center;
}


/*Pagenation*/

.pagenation {
    margin: 1em 0;
    text-align: center;
}

.pagenation:after,
.pagenation ul:after {
    clear: both;
    content: ".";
    display: block;
    height: 0;
    visibility: hidden;
}

.pagenation ul {
    margin: 0;
    display: inline-block;
}

.pagenation li {
    float: left;
    list-style: none outside none;
    margin-left: 3px;
}

.pagenation li:first-child {
    margin-left: 0;
}

.pagenation li.active {
    background-color: #dae2ab;
    border-radius: 3px;
    color: #333;
    cursor: not-allowed;
    padding: 7.4px 0;
    width: 40px;
}

.pagenation li a {
    background: none repeat scroll 0 0 #f4f4f4;
    border-radius: 3px;
    color: #333;
    display: block;
    padding: 6.4px 0;
    padding-top: 6.4px;
    padding-right: 0px;
    padding-bottom: 6.4px;
    padding-left: 0px;
    text-decoration: none;
    border: 1px solid #ccc;
    width: 40px;
}

.pagenation li a:hover {
    background-color: #dae2ab;
    color: #333;
    opacity: 0.8;
    transition-duration: 500ms;
    transition-property: all;
    transition-timing-function: ease;
}

@media screen and (min-width:1280px) {
    .header img.heading {
        margin-bottom: 60px;
    }

    .header img {
        margin-bottom: 120px;
    }

    /* section .about {
        margin-left: 45%;
    } */
}


/* 1020px */

@media screen and (max-width: 1020px) {
    #content {
        max-width: 960px;
        padding: 0 2%;
    }

    .header img.heading {
        padding-top: 150px;
        padding-bottom: 20px;
    }

    .header img {
        padding-bottom: 20px;
    }

    /* #about {
        height: 920px;
        padding-bottom: 0;
    } */

    /* .about {
        width: 90%;
        position: relative;
        top: 130px;
        margin: 0 auto;
        display: block;
    } */

    #info_box {
        max-width: 80%;
    }

    #info .contact {
        flex-wrap: wrap;
    }

    #info .contact #item_box {
        max-width: 90%;
        margin: 0 auto;
    }

    #info #content img {
        width: 90%;
        display: block;
        margin: 0 auto;
    }

    #profile table:first-child {
        max-width: 45%;
        margin-left: 5%;
    }

    #profile table:last-child {
        margin-left: 5%;
    }

    #column .column ul li {
        width: 45%;
        margin-bottom: 5%;
        margin: 5% 1%;
    }

    #contact {
        height: 145vh;
    }

    #content #item_box {
        max-width: 50%;
    }

    #contact p span {
        font-size: 27px;
        width: 100%;
        padding: 0;
        line-height: 3.5em;
    }

    #contact #item_box:last-child {
        margin-left: 5%;
    }

    /* page */
    .container {
        width: 95%;
        margin: 10% auto 0;
    }

    main.container article .page_post {
        width: 90%;
    }
}


/* 768px */

@media screen and (max-width: 768px) {
    .mv {
        padding-top: 75px;
    }

    /* section#header {
        height: 620px;
        align-items: center;
        display: flex;
    } */

    #heading .common_header h2 img {
        max-width: 300px;
    }

    .header img.heading {
        padding: 0;
        max-width: 320px;
    }

    .header p>img {
        padding-bottom: 10px;
    }

    .header a {
        width: 40px;
        line-height: 40px;
    }

    #header #content {
        padding: 37px 15px 20px;
    }

    #item_box {
        float: none;
        margin: 0 auto;
        max-width: 90%;
    }

    section {
        height: auto;
    }

    /*#global-nav*/
    nav#global-nav {
        min-height: 78px;
        z-index: 100;
        background-image: url(assets/images/aqalogo.png);
        background-repeat: no-repeat;
        background-position: 5% 50%;
    }

    nav#global-nav ul {
        box-shadow: 0px 4px 10px -2px rgba(0, 0, 0, 0.4);
        -webkit-box-shadow: 0px 4px 10px -2px rgba(0, 0, 0, 0.4);
        -moz-box-shadow: 0px 4px 10px -2px rgba(0, 0, 0, 0.4);
        background-color: rgba(255, 255, 255, 1);
        display: none;
    }

    #global-nav ul li {
        display: block;
        line-height: 5rem;
    }

    #global-nav ul li>a {
        display: block;
        line-height: 5rem;
    }

    nav#global-nav li:not(:first-child) {
        padding-left: 0px;
    }

    #global-nav li:first-child a>img {
        display: none;
    }

    #global-nav ul li span {
        display: none;
    }

    #global-nav #menuBtn {
        position: absolute;
        padding-top: 30px;
        font-size: 10px;
        text-align: center;
        top: 10px;
        right: 15px;
        z-index: 1000;
        text-decoration: none;
        color: #333;
        background: rgba(255, 255, 255, 0);
        display: block;
        width: 50px;
        height: 50px;
    }

    #menuBtn::after,
    #menuBtn::before {
        content: '';
        position: absolute;
        display: block;
        top: 7px;
        left: 7px;
        height: 1px;
        width: 34px;
        background: #333;
        transition: .6s;
    }

    #menuBtn::after {
        top: 27px;
        box-shadow: 0 -10px 0 #333;
    }

    #menuBtn.close::before {
        transform: rotate(-45deg) translate(-7px, 7px);
    }

    #menuBtn.close::after {
        box-shadow: none;
        transform: rotate(45deg) translate(-5px, -7px);
    }

    .about_content {
        flex-wrap: wrap;
    }

    .about_content .about_img_box {
        width: 100%;
        text-align: center;
    }

    .about_content .about_img_box img {
        width: 90%;
    }

    /* 
    section#about {
        background-image: url(assets/images/back_01_sp.jpg);
        height: 830px;
        padding-bottom: 0;
    } */
    /* 
    .about {
        width: 100%;
        position: relative;
        top: 20px;
        margin: 0 auto;
        display: block;
    } */

    .about_content .about>h2 {
        margin-bottom: 1rem;
    }

    #info {
        margin-bottom: 80px;
        height: auto;
    }

    #info_box article {
        max-width: 90%;
        margin: 0 auto;
    }

    #info #item_box {
        max-width: 90%;
    }

    #info #content>img {
        width: 100%;
    }

    #info #content .carp_logo img {
        width: 65%;
        display: block;
        text-align: center;
        margin: 0 auto;
    }

    #profile {
        height: auto;
    }

    #profile table {
        max-width: 90%;
        margin: 0 auto;
    }

    .prof_box {
        position: relative;
        flex-wrap: wrap;
    }

    section#profile table:first-child {
        max-width: 100%;
        border-bottom: 1px dotted #ccc;
        margin: 0 0 45px 0;
        border-right: none;
    }

    section#profile table:last-child {
        /* margin-left: auto; */
        margin: 0;
    }

    section#profile table th {
        width: 90%;
        display: block;
        margin: 0 auto;
    }

    section#profile table td {
        display: block;
    }

    section#profile table td:first-child {
        width: 100%;
        /* text-align: center; */
        margin: 0 auto;
        padding-bottom: 1%;
    }

    section#profile table td:last-child {
        /* width: 90%; */
        padding-right: inherit;
        margin: 0 auto;
    }

    #profile table:last-child::before {
        content: none;
    }

    section#column a {
        margin-bottom: 60px;
    }

    section#column .column ul li {
        width: 90%;
        margin: 0 auto;
        margin-bottom: 30px;
        height: 120px;
    }

    .column #col_date {
        height: 120px;
    }

    .column #col_text {
        max-width: inherit;
        height: 120px;
    }

    section#access {
        height: auto;
    }

    #content #item_box {
        max-width: 90%;
    }

    section#access #content .access_container {
        display: block;
        flex: initial;
    }

    #google_map {
        margin-top: 10%;
        position: relative;
        padding-bottom: 56.25%;
        padding-top: 30px;
        height: 0;
        overflow: hidden;
    }

    #google_map iframe,
    #google_map object,
    #google_map embed {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

    section#contact {
        height: auto;
        padding-bottom: 60px;
    }

    section#contact .contact_container {
        display: block;
        flex: initial;
    }

    section#contact #item_box {
        margin-bottom: 6%;
        max-width: 90%;
    }

    section#contact #item_box:last-child {
        margin-left: auto;
    }

    section#contact p span {
        display: block;
        margin: 0 auto;
    }

    footer .footer {
        margin: 0 auto;
        height: auto;
    }

    footer .footer img {
        float: none;
        padding-bottom: 2%;
        margin: 0;
    }

    /* page */
    .container {
        width: 90%;
        margin: 0 auto;
    }

    .contentsWrap .mainContents.column article .entryInfo #col_date {
        width: 100%;
        float: none;
        margin: 15px auto auto;
    }

    .column #col_date datetime {
        padding-right: 10px;
    }

    main.container article .page_post {
        width: 100%;
        padding: 0;
        border-left: none;
        border-top: 1px solid #ddd;
        margin: 30px auto 100px;
        float: none;
    }

    .entryPost img {
        width: 100%;
        height: auto;
        margin: 5% 0;
    }
}


/* 640px */

@media screen and (max-width: 640px) {
    /* section {
        height: auto;
        padding: 10px 10px;
    } */

    /* section#header {
        padding-bottom: 0;
    } */

    section h2 {
        font-size: 32px;
    }

    /* 
    section#about {
        padding-bottom: 200px;
        height: 650px;
        background-size: contain;
    } */

    #info_box article {
        max-width: inherit;
        margin: 0 auto 30px;
        width: 100%;
    }

    #info_box .textBox {
        width: 90%;
        padding-top: 1em;
        display: block;
        margin: 0 auto;
    }

    #profile .prof_box th:first-child .flex>img {
        display: block;
        margin: 0 auto;
    }

    #profile .profname {
        padding-left: 0;
        margin: 12px auto;
        text-align: center;
    }

    #profile .profname>p {
        line-height: 3rem;
        padding-bottom: 1rem;
    }

    #profile table th {
        padding-bottom: inherit;
    }

    #profile table th:first-child {
        width: auto;
        padding: 0 0 40px 0;
    }

    #profile table th>img {
        float: inherit;
        margin: 0 auto;
        display: block;
    }

    #profile table th>p {
        display: inline-block;
        width: 100%;
        text-align: center;
        padding: 20px 0 0;
    }

    section#column .column ul li {
        margin-bottom: 10px;
        height: auto;
        width: 100%;
    }

    .column #col_date {
        height: auto;
        margin-right: inherit;
        float: none;
        width: 100%;
    }

    .column #col_date datetime {
        line-height: 25px;
        display: inline-block;
        font-size: 16px;
        font-weight: 500;
        margin-top: 0;
        vertical-align: middle;
    }

    #col_date span.cat {
        padding: 4px 15px;
        font-size: 12px;
        letter-spacing: -.04em;
        margin-left: 1em;
    }

    #col_text span.text {
        overflow: hidden;
    }

    section#contact p span {
        display: inline-block;
        width: 100%;
        font-size: 150%;
        padding: 0;
        margin: 0 auto -20px;
    }

    footer .footer img {
        width: 60%;
    }

    footer .footer {
        height: auto;
    }

    footer .footer address {
        line-height: 1.8em;
        white-space: pre-line;
    }
}


/* 420以下 */

@media screen and (max-width: 420px) {
    nav#global-nav {
        background-size: 70%;
    }

    .mask {
        margin: 0;
    }
}

/* 221228 */
#info .carp_logo img {
    display: block;
}