/*
Theme Name: marco
Theme URI: http://www.www.www/
Description: Rui Ishiguro
Author: rui ishiguro
*/

#header a:link { text-decoration: none; color:#9FA0A0; }
#header a:visited { text-decoration: none; color:#9FA0A0; }
#header a:hover { text-decoration: none; color:#0066CC; }
#header a:active { text-decoration: none; color:#0066CC; }

.index a:link { text-decoration: none; color:#000000; }
.index a:visited { text-decoration: none; color:#000000; }
.index a:hover { text-decoration: none; color:#0066CC;}
.index a:hover img{ opacity:0.7;}
.index a img:hover { opacity:0.7; }

a:link { text-decoration: none; color: #9FA0A0; }
a:visited { text-decoration: none; color: #9FA0A0; }
a:hover { text-decoration: none; color:#0066CC; }
a:active { text-decoration: none; color:#0066CC; }

body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td {  margin:0;   padding:0;}table {  border-collapse:collapse;   border-spacing:0;}fieldset,img {    border:0;}address,caption,cite,code,dfn,strong,th,var { font-style:normal;  font-weight:normal;}ol,ul { list-style:none;
}caption,th {   text-align:left;}h1,h2,h3,h4,h5,h6 {    font-size:100%; font-weight:normal;}q:before,q:after {  content:'';
}abbr,acronym {  border:0;}

html, body {
    height: 100%;
    width: 100%;
}

body {
  -webkit-text-size-adjust: 100%;
}

ul li{
    list-style: none;
}

img {
    border:0;
}

div.index article .thumbnail img:hover,
a.smp_link img:hover,
a img:hover{
    opacity:0.7;
}

a.smp_link{
    display: block;
    overflow: hidden;
}

.nondisplay {
    display:none;
}
.index_info{
    width: 364px;
}

.smp_only {
    display: none;
}
.pc_only {
    display: block;
}

h1,h2{
    font-family: 'Salsa', cursive;
    font-family: 'Tauri', sans-serif;
    font-size: 25px;
    text-align: center;
    color: #0a9867;
    margin: 0 auto 48px;
}
body.home h1{
    background: url(/images/marco.png);
    display: block;
    width: 261px;
    height: 87px;
    margin: 32px auto 21px auto;
}
h1 span{
    display: none;
}
body.category-news h1 a:link,
body.category-news h1 a:visited,
body.single-post h1 a:link,
body.single-post h1 a:visited{
    background: url(/images/marco_s.png);
    display: block;
    width: 144px;
    height: 48px;
    margin: 0 0 -3px 0;
}

h2 span{
    border-bottom:3px solid;
}

h3{
   font-size: 18px;
    text-align: left;
    margin: 0 0 12px;
    font-weight: bolder;
    line-height: 36px;
    letter-spacing: 0.1em;
    color: #0a9867;
}

#news h3 a:link,
#news h3 a:visited{
    color: #000000;
}
#news h3 a:hover{
    color: #000000;
    border-bottom: 2px solid;
}

#news h3{
   font-size: 18px;
   line-height: 110%;
   margin-bottom: 21px;
   margin-top: 28px;
   color: #000000;
}

p{
    margin-bottom: 18px;
    line-height: 24px;
    font-size: 13px;
    color:#727171;
    letter-spacing: 0.1em;
    text-align: justify;
}

.frame{
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px;
    height: 0;
    overflow: hidden;
    margin-top: 46px;
    margin-bottom: 46px;
}

.frame iframe{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


#home {
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
}
#home_inner{
    width: 400px;
    background-image: url("/images/marco.png");
    background-size: 400px 376px;
    height: 376px !important;
    opacity: 0.9;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    position: absolute;
}
@media screen and (-webkit-min-device-pixel-ratio:2),
                  (min-resolution: 2dppx){
  #home_inner{
    background-image: url("/images/marco@2x.png");
  }
}
    #home_inner p{
        text-align: center;
        color: #FFFFFF;
        margin: 0px;
        clear: both;
        font-size: 11px;
        font-weight: lighter;
        line-height: 180%;
    }
.home_inner_inside{
    padding: 2px;
    border: 3px solid #000000;
}
.home_inner_inside_offset{
    padding: 12px;
    border: 1px solid #000000;
}

    .nav{
        overflow: hidden;
        margin: 12px 0 0px;
    }
    .home_inner_inside_offset .nav{
        margin: 0px 0 15px 0px;
        clear: both;
    }
    #menu .nav{
        margin: -7px 0 0px;
    }
    #about .nav{
        margin: 20px 0 0px 0px;
    }
    #news .nav{
        margin: 0px 0 0px 0px;
    }
    #info .nav{
        margin: 22px 0 0px 0px;
    }
    ul.gb{
        float: left;
        left: 50%;
        position: relative;
        margin-top: 20px;
        font-size: 14px;
        margin-bottom: 20px;
        font-family: 'Tauri', sans-serif;
    }
    #home_inner ul.gb{
        float: left;
        left: 50%;
        position: relative;
        margin-top: 260px;
        font-size: 14px;
        margin-bottom: 10px;
        font-family: 'Tauri', sans-serif;
    }
    ul.gb li{
        float: left;
        left: -50%;
        margin: 0 9px;
        position: relative;
        color: #C8C8C8;
    }
    ul.gb li a:link,
    ul.gb li a:visited{
        color: #0A9867;
    }
        #home_inner ul.gb li a:link,
        #home_inner ul.gb li a:visited{
            color: #FFFFFF;
        }
    ul.gb li a:hover{
        color: #0A9867;
        border-bottom: 2px solid #0A9867;
    }
        #home_inner ul.gb li a:hover{
            color: #FFFFFF;
            border-bottom: 0px;
        }

#about {
    background: none repeat scroll 0 0 #fedeb7;
    position: relative;
    z-index: 6;
}
#news {
    background: none repeat scroll 0 0 #d0dde3;
    position: relative;
    z-index: 6;
}
#menu {
    background: none repeat scroll 0 0 #E9E6E0;
    position: relative;
    z-index: 6;
}
    .menu-list{
        overflow: hidden;
    }
    .menu-list .menu-left{
        float: left;
        width: 417px;
    }
        .menu-list .menu-left p,
        .menu-list .menu-right p{
            text-align: left;
        }
    .menu-list .menu-right{
        float: right;
        width: 399px;
    }
    .parallel{
        float: left;
        width: 399px;
        margin-bottom: 28px;
    }
#info {
    background: none repeat scroll 0 0 #E8E8E8;
    position: relative;
    z-index: 6;
}
    #info ul li{
    }
        #info .read{
            float: left;
            width: 399px;
        }
        #info .map{
            float: right;
            width: 399px;
        }

#info_smp{
    display: none;
}

.section {
    height: auto !important;
    overflow-x: hidden;
    position: relative;
    width: 100%;
}
.section_home{
    height: auto !important;
    min-height: 100%;
    overflow-x: hidden;
    position: relative;
    width: 100%;
}

.section .inner{
    width: 944px;
    margin: 72px auto;
    padding: 3px;
    border: 3px solid #000000;
}

.section .inner_inline{
    width: auto;
    padding: 48px 48px 48px;
    border: 1px solid #000000;
}

    #info .inner_inline{
        width: auto;
        padding: 48px 48px 29px;
        border: 1px solid #000000;
    }

.section_images {
    display: flex;
    flex-wrap: wrap;
    margin-left: -48px;
}
.section_images_sh {
    display: flex;
    flex-wrap: wrap;
    margin-left: -48px;
}
    .section_images li{
        display: inline-block;
        width: calc(50% - 48px);
        margin-left: 48px;
        margin-bottom: 40px;
    }
    .section_images li img{
        width: auto;
        height: auto;
        max-width: 100%;
    }
.text{
    overflow: hidden;
}
.text_parallel{
    overflow: hidden;
}
    .text_center p{
        text-align: center;
    }
.switchDetail {
    display: none;
}

body{
    font-family: 'Lora','ヒラギノ明朝 Pro W3','Hiragino Mincho Pro','Hiragino Mincho ProN','ＭＳ Ｐ明朝','MS PMincho',serif;
    font-family: 'ヒラギノ角ゴ Pro W3','Hiragino Kaku Gothic Pro','メイリオ','Meiryo','ＭＳ Ｐゴシック',sans-serif;
    border: solid 0px #FFFFFF;
    background: #FFFFFF;
    font-size: 13px;
}


article{
    overflow:hidden;
}

    .switchOn{
        color: #FFFFFF;
        background-color:#0A9867;
        padding: 7px 8px 6px 8px;
        line-height: 130%;
        border-radius:3px;
        -moz-border-radius:3px;
        -webkit-border-radius:3px;
        font-size: 11px;
        margin-top: 6px;
        letter-spacing: 0.1em;
        text-align: center;
        width: 120px;
        margin: 0 auto 45px;
    }
        .switchOn:hover{
            background-color:#C8C8C8;;
        }

            .switchOn:after{
                content: "more images";
            }
            .nowOpen:after{
                content: "close";
            }

/* news
------------------------------------------------------------------------- */
#news .text ul li{
    background-color: transparent;
    overflow: hidden;
    margin-bottom: 42px;
}
#news .text ul li:last-child{
    margin-bottom: 40px;
}
    #news .text .thumbnail{
        width: 354px;
        float: left;
    }
        #news .text .thumbnail img{
            max-width: 354px;
            height: auto;
            margin-bottom: 18px;
        }
        #news .text .thumbnail img:last-child{
            margin-bottom: 0px;
        }
        #news .text .newslist .thumbnail img{
            max-width: 354px;
            height: auto;
            margin-bottom: 0px;
        }
        #news .text .thumbnail ul li{
            margin-bottom: 0px;
        }
        #news .text .thumbnail ul.newsimg li{
            margin-bottom: 20px;
        }
    #news .text .read{
        width: 443px;
        float: right;
    }
    #news .text .read p:last-child{
        margin-bottom: 0px;
    }
    #news .text .read p a.more-link:link,
    #news .text .read p a.more-link:visited{
        display: inline-block;
        border: 2px solid #000000;
        color: #000000;
        background-color: #FFFFFF;
        padding: 4px 6px;
        line-height: 100%;
        font-size: 13px;
        margin-top: 5px;
    }
    #news .text .read p a.more-link:hover{
        border: 2px solid #000000;
        color: #FFFFFF;
        background-color: #000000;
    }

/* info
------------------------------------------------------------------------- */
#infobox{
    height: auto !important;
}

/* news
------------------------------------------------------------------------- */
#main{
    height: 537px !important;
}
#wrapper-bg{
    width: 100%;
    background-color: #FFFFFF;
    height: 96px;
    position: fixed;
    z-index: 10000;
}
#wrapper{
    width: 956px;
    margin: 0 auto;
}

body.category-news{
}

#header{
    overflow: hidden;
    width: 956px;
    height: auto;
    background-color: #FFFFFF;
    z-index: 10000;
}
#header .inner {
    border: none;
    margin: 36px auto 12px auto;
    padding: 0px;
    width: 956px;
    position: relative;
    height: 48px;
}

#header h1{
    display: inline-block;
    float: left;
    margin: 0px;
}
#header .nav {
    clear: both;
    margin: 0;
    position: absolute;
    bottom: 0;
    right:0px;
}
    #header .nav ul.gb{
        float: none;
        font-family: 'Tauri',sans-serif;
        left: auto;
        margin:0px;
        overflow: hidden;
        position: relative;
        height: 30px;
    }
    #header .nav ul.gb li{
        float: left;
        margin-left: 24px;
        margin-right: 0px;
        font-size: 18px;
        left: auto;
    }
    #header .nav ul.gb li a:link,
    #header .nav ul.gb li a:visited{
        color: #0a9867;
    }
    #header .nav ul.gb li a:hover{
        color: #0a9867;
        border-bottom: 2px solid;
    }

body.category-news .section .inner {
    border: 3px solid #000000;
    margin: 124px auto 24px auto;
    padding: 3px;
    width: 944px;
}
body.single-post .section .inner {
    border: 3px solid #000000;
    margin: 124px auto 24px auto;
    padding: 3px;
    width: 944px;
}

body.single-post .section {
    height: auto !important;
    min-height: auto;
}
body.category-news #news .text ul li:last-child {
    margin-bottom: 0px;
}

.pagenavigation a{
    font-size: 13px;
    font-family: 'Tauri',sans-serif;
}
    .pagenavigation a:link,
    .pagenavigation a:visited{
        color: #0a9867;
    }
    .pagenavigation a:hover{
        border-bottom: 2px solid;
    }

.map-frame {
    width: 100%;
    padding-top: 100%;
    position: relative;
}

.map-frame iframe{
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
}

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

#footer{
    height:36px;
    width:100%;
    clear:both;
    font-size: 11px;
    padding:18px 0 0px 0;
    text-align: center;
    color: #FFFFFF;
    background-color: #324A6F;
}


.next_post{
    float:left;
}

.previous_post{
    float:left;
}

.pagenavigation{
    height: 24px;
    overflow: hidden;
    position: relative;
}

.index{
    text-align: center;
}

.next{
    position: absolute;
    right: 344px;
    top: 0;
}

.previous{
    position: absolute;
    left: 344px;
    top: 0;
}

#smpnav {
    display: none;
}



/*===============================================
breakpoint:768
===============================================*/
@media screen and (max-width: 980px){
    * {
      -webkit-box-sizing: border-box;
      -moz-box-sizing: border-box;
      -o-box-sizing: border-box;
      -ms-box-sizing: border-box;
      box-sizing: border-box;
    }
    * {
      padding: 0;
      margin: 0;
    }
    .section_home {
        height: auto !important;
        min-height: 100%;
        overflow-x: visible;
        position: relative;
        width: 100%;
    }
    #home_inner {
        width: 350px;
        background-image: url(/images/marco.png);
        background-size: 350px 329px;
        height: 329px !important;
        opacity: 0.9;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        position: absolute;
    }
    #home_inner ul.gb {
        display: none;
    }
    #home_inner p {
        position: absolute;
        width: 100%;
        display: block;
        bottom: 20px;
        left: 0;
    }
    .section {
        height: auto !important;
        overflow-x: visible;
        position: relative;
        width: 100%;
        padding: 24px 12px;
    }
    .section .inner {
        width: 100%;
        margin: 0px auto;
        padding: 3px;
        border: 3px solid #000000;
    }
    .section .inner_inline {
        width: auto;
        padding: 36px 12px 24px;
    }
    #info .inner_inline {
        padding: 36px 12px 24px;
    }
    .section_images_sh {
        display: flex;
        flex-wrap: wrap;
        margin-left: 0px;
    }
    .section_images li {
        display: inline-block;
        width: calc(100%);
        margin-left: 0px;
        margin-bottom: 12px;
    }
    p {
        margin-bottom: 30px;
        line-height: 150%;
        font-size: 15px;
        color: #727171;
        letter-spacing: 0.1em;
        text-align: justify;
    }
    .nav {
        display: none;
    }
    .menu-list .menu-left {
        float: none;
        width: 100%;
    }
    .parallel {
        float: none;
        width: 100%;
        margin-bottom: 28px;
    }
    .menu-list {
        overflow-x: visible;
    }
    .menu-list .menu-right {
        float: none;
        width: 100%;
    }
    #about .text_center p {
        text-align: left;
    }
    #news .text ul li {
        background-color: transparent;
        overflow: visible;
        margin-bottom: 48px;
        padding-bottom: 48px;
        border-bottom: 1px solid #adb5bd;
    }
     #news .text ul li:last-child {
        margin-bottom: 0px;
        padding-bottom: 0px;
        border-bottom: 0px solid #adb5bd;
    }
    #news .text .thumbnail {
        width: 100%;
        float: none;
    }
    #news .text .thumbnail img {
        width: auto;
        height: auto;
        max-width: 100%;
        max-height: 300px;
        display: block;
        margin: 0 auto;
    }
    #news .text .read {
        width: 100%;
        float: none;
    }

    #info .read {
        float: none;
        width: 100%;
    }
    #info .map {
        float: none;
        width: 100%
    }
    #info .map img{
        display: block;
        width: auto;
        height: auto;
        max-width: 100%;
    }
    #footer {
        height: auto;
        padding: 18px 0 83px;
    }

    #smpnav {
        display: block;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background-color: rgb(10, 152, 103, 0.8);
        z-index: 999;
    }
    #smpnav a {
        color: #FFFFFF !important;
    }
}






