@charset "utf-8";
/* CSS Document */

html {
    font-size: 16px;
    line-height: 1;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

body {
    font-size: .875rem;
    line-height: 1.7;
    text-align: center;
    color:#444;
    background:#f7f7f7;
}

img {
    max-width:100%;
    height: auto;
    vertical-align: bottom;
}

h1, h2, h3, h4, h5 {
    color: #222;
    line-height: 1.4;
    font-family: 'M PLUS 1p', sans-serif;
    
}

.descript ul {
    list-style:circle;
    margin: 15px 0;
}

.descript ol {
    list-style: decimal;
    margin: 15px 0;
}

.descript li {
    margin-left: 1.5em;
}

#backtotop {
    position: fixed;
    right:5vw;
    bottom:5vw;
}

#backtotop a {
    display: block;
    width:40px;
    height: 40px;
}



@media screen and (max-width: 768px) {
    .pc {
        display: none;
    }

    img {
        width:100%;
        height: auto;
    }

    .innerList ul {
        letter-spacing: -1em;
        text-align: left;
        border-top:1px solid #ccc;
        margin-bottom: 12vw;
    }

    .innerList li {
        border-bottom:1px solid #ccc;
        text-align: left;
        width:50%;
        display: inline-block;
        letter-spacing: 1px;
        position: relative;
        font-size: .875rem;
    }

    .innerList li:nth-child(even) {
        border-left: 1px solid #ccc;
        box-sizing: border-box;
    }

    .innerList li:last-child {
        border-bottom:1px solid #ccc;
    }

    .innerList li a {
        padding:2vw 4vw;
        box-sizing: border-box;
        display: block;
        color:#222;
        text-decoration: none;
    }

    .innerList li:after {
        position: absolute;
        top:3vw;
        right:10px;
        content:"";
        background:url(images/arrow-right-s.png) right center no-repeat;
        width:5px;
        height: 9px;
        background-size: contain;
    }

    .cont {
        padding:12vw 4vw;
        box-sizing: border-box;
        border-bottom:1px solid #ccc;
        font-size: .875rem;
        text-align: left;
    }

    .cont p {
        margin-bottom: 3vw;
    }

    .cont .sublead {
        text-align: center;
    }

    .cont .wrap, .cont .descript {
        margin:5vw 0;
    }

    .cont h3, .cont h4 {
        margin:8vw 0 2vw;
        font-weight: 700;
        font-size: 1rem;
    }

    .cont:nth-child(even) {
        background:rgba(0,0,0,.02);
    }

    .cont h2 {
        font-size: 2.5rem;
        font-family: YuMincho, "Yu Mincho", "Hiragino Mincho ProN", "serif";
        font-weight: 700;
        text-align: center;
    }

    .cont .sublead {
        margin-bottom: 6vw;
        font-size: .725rem;
        color:#888;
    }
    
    .cont .sublead span {
        border-bottom:4px solid #d4f0f8;
    }

    .photoes ul {
        letter-spacing: -1em;
    }

    .photoes li {
        width:48%;
        margin-right: 4%;
        margin-bottom: 4vw;
        display: inline-block;
        letter-spacing: normal;
    }

    .photoes li:nth-child(even) {
        margin-right: 0;
    }

    #globalHeader {
        background:#fff;
        border-bottom:3px double #ddd;
        padding: 3vw 6vw;
        box-sizing: border-box;
        margin-bottom: 6vw;
    }

    #globalHeader #jaa-logo {
        text-indent:-9999px;
        width:50%;
        margin:0;
        background: url(https://jaa-aroma.or.jp/wp-content/themes/jaaTheme-2018/common/images/jaa-logo-g_b.png) 0 0 no-repeat;
        height: 5vw;
        background-size: contain;
    }

    #globalHeader #jaa-logo a {
        display: block;
    }

    #globalHeader #links {
        display: none;
    }

    #localHeader {
        text-align: center;
    }

    #localHeader .sub {
        font-size: .625rem;
        margin-bottom: 3vw;
    }

    #localHeader .siteName {
        color: #0d5684;
        font-size: 1.725rem;
        letter-spacing: 2px;
    }

    .content header .lead img {
        width: 100%;
        height: 30vh;
        object-fit: cover;
        margin-top: 6vw;
    }

    aside {
        display: none;
    }

    #localFooter {
        background:#0d5684;
        color:#fff;
        text-align: center;
        padding:6vw 0;
        font-size: .725rem;
    }
}


@media screen and (min-width: 769px) {
    .sp {
        display: none;
    }
    
    .ibp {
    width:100%;
    font-size: 0;
    letter-spacing: -1em;
    }

    .ib {
        display: inline-block;
        vertical-align: top;
        letter-spacing: 1px;
        font-size: .875rem;
    }
    
    main {
        width:960px;
        margin:auto;
    }
    
    article {
        width:700px;
        margin-right: 30px;
    }
    
    aside {
        width:230px;
    }
    
    #globalHeader {
        border-bottom:1px solid #ddd;
        padding: 10px 20px;
        box-sizing: border-box;
        background:#fff;
    }
    
    #globalHeader #jaa-logo {
        text-indent:-9999px;
        width:30%;
        vertical-align: middle;
    }
    
    #globalHeader #jaa-logo a {
        background:url(https://jaa-aroma.or.jp/wp-content/themes/jaaTheme-2018/common/images/jaa-logo-g_b.png) 0 0 no-repeat;
        width:100%;
        height: 1.6rem;
        background-size: contain;
        display: block;
    }
    
    #globalHeader #links {
        width:70%;
        vertical-align: middle;
    }
    
    #globalHeader #links ul {
        text-align: right;
    }
    
    #globalHeader li {
        font-size: .725rem;
        vertical-align: middle;
        margin-left: 15px;
        padding-left: 15px;
        border-left:1px solid #aaa;
        line-height: 1;
    }
    
    #globalHeader li:first-child {
        margin-left: 0;
        padding-left: 0;
        border: none;
    }
    
    #globalHeader li a {
        color:#444;
        text-decoration: none;
    }
    
    #globalHeader li a:hover {
        text-decoration: underline;
    }
    
    #localHeader {
        width:100%;
        margin-bottom: 30px;
        text-align: center;
        padding: 30px 0;    
    }
    
    #localHeader .sub {
        font-weight: 300;
        font-size: .725rem;
    }
    
    #localHeader .siteName {
        color:#0d5684;
        font-size: 2.5rem;
        letter-spacing: 2px;
    }
    
    .innerList {
        margin:40px auto 50px;
    }

    .innerList ul {
        text-align: left;
        line-height: 2.5;
    }
    
    .innerList li {
        margin-right: 20px;
    }
    
    .innerList li a {
        color:#333;
        text-decoration: none;
    }
    
    .innerList li a:hover {
        text-decoration: underline;
    }
    
    .innerList li:before {
        content:"";
        background:url("images/arrow-right-s.png") 0 0 no-repeat;
        width:5px;
        height: 9px;
        display: inline-block;
        vertical-align: middle;
        margin-right: 7px;
        font-size: 10px;
        transform: scale(.9);
    }
    
    .cont {
        padding-top: 50px;
        border-top:1px solid #ccc;
        margin-bottom: 50px;
        /*background:url("images/flag-line.png") 0 0 repeat-x;*/
    }
    
    .cont .wrap {
        margin-top: 40px;
        margin-bottom: 40px;
        padding: 20px;
        box-sizing: border-box;
        border-top:1px solid #ddd;
        border-bottom:1px solid #ddd;
    }
    
    .cont h2 {
        text-align: left;
        font-size: 2.5rem;
        font-family: YuMincho, "Yu Mincho", "Hiragino Mincho ProN", "serif";
        font-weight: 700;
        text-align: center;
    }
    
    .cont .sublead {
        text-align: center;
        margin: 15px 0;
        font-size: 1rem;
        font-weight: 300;
    }
    
    .cont .sublead span {
        border-bottom:4px solid #d4f0f8;
    }
    
    .cont .theme {
        margin: 20px auto;
    }
    
    /* thumbs */
    .photoes {
        margin: 40px auto;
    }

    .photoes ul {
        text-align: left;
    }
    
    .photoes li {
        width:220px;
        margin-right: 20px;
        margin-bottom: 20px;
        text-align: center;
    }

    .photoes li img {
        filter: brightness(110%);
    }
    
    .photoes li:nth-child(3n) {
        margin-right: 0;
    }
    
    .photoes li img {
        vertical-align: bottom;
    }
    
    /* descript */
    .descript {
        margin-top: 40px;
        text-align: left;
        margin-bottom: 40px;
    }
    
    .descript h3 {
        font-size:1.525rem;
        font-weight:800;
        margin-top: 30px;
        margin-bottom: 20px;
    }
    
    .descript p {
        margin-bottom: 30px;
    }
    
    .descript h4 {
        border-left:3px solid #333;
        padding-left: 17px;
        box-sizing: border-box;
        margin-bottom: 15px;
        font-size: 1.125rem;
        font-weight: 800;
        background:#f0f0f0;
        line-height: 2.4;
    }
    
    .descript li span {
        font-weight: 800;
    }
    
    /* sidebar */
    #sidebar h2 {
        font-size: 1.5rem;
        text-align: left;
        letter-spacing: 1px;
        padding-left: 10px;
        box-sizing: border-box;
        border-bottom:1px solid #ccc;
        margin-bottom: 20px;
        color:#0d5684;
    }
    
    #sidebar .place li {
        margin-bottom: 10px;
    }
    
    #sidebar .place li a {
        display: block;
        background:#fff;
        border-radius: 4px;
        color:#444;
        text-decoration: none;
        line-height: 3;
        border:1px solid #ccc;
        box-sizing: border-box;
        transition: .3s;
    }
    
    #sidebar .place li a:hover {
        background:#0d5684;
        color:#fff;
        text-decoration: none;
    }

    #copy {
        text-align: center;
        padding:15px 0;
        color:#fff;
        background: #0d5684;
    }
}
