body {
    background: #f3f3f3;
    color: #666;
}

h1 {
    display: block;
    font-weight: bold;
    font-size: 2rem;
}

h2 {
    font-size: 1.4rem;
    font-weight: bold;
    position: relative;
    overflow: hidden;
    padding: 1rem 1rem 1rem 65px;
    /*    border: 3px dashed #F3EADA;*/
    background: #F3EADA;
    border-radius: 100vh;
    color: #666;
}

h2 span {
    text-align: center;
    font-size: 2rem;
    font-weight: bold;
    line-height: 45px;
    position: absolute;
    top: calc(50% - 22px);
    left: 10px;
    display: block;
    width: 45px;
    height: 45px;
    color: #fff;
    border-radius: 50%;
    background: #FFA17A;
}

h3 {
    margin-top: 35px;
    margin-bottom: 15px;
    font-weight: bold;
    font-size: 1.2rem;
    color: #666;
    position: relative;
    padding: .8rem;
    border: 3px solid #d8d8d8;
    border-radius: 100vh;
    background: #f9f9f9;
}

h3:before {
    position: absolute;
    bottom: -14px;
    left: 2em;
    width: 0;
    height: 0;
    content: '';
    border-width: 14px 12px 0 12px;
    border-style: solid;
    border-color: #d8d8d8 transparent transparent transparent;
}

h3:after {
    position: absolute;
    bottom: -10px;
    left: 2em;
    width: 0;
    height: 0;
    content: '';
    border-width: 14px 12px 0 12px;
    border-style: solid;
    border-color: #f9f9f9 transparent transparent transparent;
}

h4 {
    margin-top: 35px;
    font-weight: bold;
    font-size: 1rem;
    border-left: 10px solid #00A18F;

    padding-left: 8px;
}

h5 {
    margin-top: 35px;
    font-weight: bold;
    font-size: 1rem;
    border-bottom: 4px solid #F3EADA;
}

p {
    font-size: .9rem;
    color: #666;
    padding: 10px;
}

.marker {
    text-decoration: underline wavy #FFA17A;
    font-weight: bold;
}

a {
    color: #666;
}

a:hover {
    text-decoration: underline;
    color: #666;
}

.center {
    text-align: center;
}





/******************************
　バナー
********************************/
.side-banner img {
    display: block;
    margin: 15px auto;
    /*max-width: 180px;*/
    /*width: 100%;*/
}

.side-banner-sp {
    display: none;
}

.header-banner img {
    display: block;
    width: 100%;
    max-width: 300px;
    margin: 15px auto;
}

.main-banner img {
    display: block;
    width: 100%;
    max-width: 728px;
    margin: 15px auto;
}

.main-banner-scroll {
    display: flex;
    overflow: scroll;
    justify-content: center;
}

.main-banner-scroll img {
    display: block;
    max-width: 120px;
    margin: 1px;

}



/******************************
　ヘッダー
********************************/
#header-container {
    background: #fff;
    padding-bottom: 3px;
}

#header-container .catch {
    /*    background-color: #416A87;*/
    background: #00A18F;
    color: #fff;
    font-size: 12px;
    width: 100%;
    padding-left: 20px;
}

.logo img {
    width: 350px;
}


/******************************
メイン
********************************/
#main-container {
    padding: 10px;
    background: #fff;
}

.ticket-wide {
    background-color: #fff;
    background-image: url(images/stamp.png);
    background-size: 25%;
    background-repeat: no-repeat;
    background-position: bottom -30px right -20px;
    padding: 0.3rem;
    box-shadow: 1px 1px 4px rgba(10, 5, 0, 0.5);
    color: #433;
    width: 90%;
    margin: 10px auto;
    border: 1px solid rgba(30, 5, 0, 0.12);
    font-size: .9rem;
}

.ticket-wide .ticket-inner {
    align-items: center;
    border: 2px solid #00A18F;
    border-radius: 2px;
    border-left: 10px solid #00A18F;
}

.ticket-wide .ticket-left {
    width: 35%;
    border-right: 1px dashed #00A18F;
    padding: .5rem;
    min-height: 120px;
    display: grid;
    place-items: center;
}

.ticket-wide .ticket-left img {
    width: 100%;

}

.ticket-wide .ticket-right {
    width: 65%;
    padding: .5rem;
}

.ticket-square {
    background-color: #fff;
    background-image: url(images/stamp.png);
    background-size: 50%;
    background-repeat: no-repeat;
    background-position: bottom -30px right -20px;
    padding: 0.3rem;
    box-shadow: 1px 1px 4px rgba(10, 5, 0, 0.5);
    width: 100%;
    margin: 10px auto;
    border: 1px solid rgba(30, 5, 0, 0.12);
}

.ticket-square .ticket-inner {
    border: 2px solid #00A18F;
    border-radius: 2px;
    border-top: 10px solid #00A18F;
}

.ticket-square .ticket-upper {
    border-bottom: 1px dashed #00A18F;
    padding: .5rem;
}

.ticket-square .ticket-lower {
    padding: .5rem .5rem 2rem .5rem;
}

.ticket-wide img,
.ticket-square img {
    width: 100%;
}

.ticket-name {
    font-weight: bold;
}

.ticket-expire {
color: #666;
}

.ticket-detail .ticket-img {
    margin: 20px;
    width: 250px;
}

.ticket-detail .ticket-name {
    font-size: 1rem;
}

.ticket-detail table {
    font-size: .8rem;
    margin: 10px 10px 50px 10px;
}

.ticket-detail table th {
    background: #F3EADA;
    border: 2px solid #fff;
    padding: 5px 10px;
}

.ticket-detail table td {
    background: #f9f9f9;
    border: 2px solid #fff;
    padding: 5px 10px;
}

.ticket-detail table td a {}

.ticket-detail table td a:hover {
    color: #333;
}

.more {
    width: 100%;
    text-align: center;
    margin: 20px auto;
}

.more-btn {
    display: inline-block;
    padding: 5px 50px;
    color: #fff;
    font-weight: bold;
    background: #FFA17A;
    border-radius: 20px;
    box-shadow: 1px 1px 4px rgba(10, 5, 0, 0.5);
}

.more-btn:hover {
    color: #fff;
}


.insert-img img {
    width: 100%;
    padding: 1rem 10rem;
}

.app-item {
    position: relative;
    border: 3px solid #00A18F;
    border-radius: 10px;
    margin: 20px 20px 30px 20px;
    padding: 20px 10px;
}

.app-item .rank {
    position: absolute;
    top: -48px;
    background: #fff;
    border: none;
    padding: 0 15px;
    font-size: 1.2rem;
    color: #00A18F;
}

.app-item-img {
    padding: 10px;
}

.app-item-img img {
    width: 100%;
}

.app-item-brand {
    font-size: .8rem;
    color: #aaa;
}

.app-item-title {
    font-size: 1.5rem;
    font-weight: bold;
}

.app-item-text {
    padding: 10px;
}

.app-item-btns {
    width: 100%;
    margin-top: 10px;
}

.app-item-btns a {
    display: block;
    background: #FFA17A;
    border-radius: 20px;
    color: #fff;
    padding: 5px;
    line-height: 30px;
    box-shadow: 1px 1px 4px rgba(10, 5, 0, 0.5);
    text-align: center;
    width: 100%;
    margin-top: 10px;
}

.apple-icon,
.google-icon {
    display: inline;
    width: 18px;
    margin: 0 3px 5px auto;
}

.app-item-spec table {
    width: 100%;
    font-size: .8rem;
}

.app-item-spec table tr {}

.app-item-spec table th {
    width: 25%;
    border: 1px solid #d8d8d8;
    padding-left: 5px;
}

.app-item-spec table td {
    width: 25%;
    border: 1px solid #d8d8d8;
    padding-left: 5px;
}

.tab-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding-left: 0;
}

.tab {
    flex-grow: 1;
    padding: 5px;
    list-style: none;
    border: solid 2px #F3EADA;
    border: solid 1px #FFA17A;
    color: #FFA17A;
    text-align: center;
    cursor: pointer;
    border-radius: 25px;
    font-size: .9rem;
    width: 8rem;
    margin: 2px 5px;
}

.tab.is-active {
    background: #FFA17A;
    color: #fff;
    transition: all 0.2s ease-out;
}

.is-hide {
    display: none;
}

#main-container .pagination li a {
    background: #aaa;
    color: #fff;
    border: solid 3px #fff;
}

.active{
    background: #000;
    color: #fff;
    border: solid 3px #fff;
    padding: .25rem .5rem;
    font-size: .875rem;
    line-height: 1.5;
    position: relative;
    display: block;
}

/******************************
サイド
********************************/
#side-container {}

#side-container h2 {
    background: none;
    border-radius: 0;
    padding: 5px;
    font-size: 1.2rem;
    border-bottom: solid 1px #aaa;
}

#menu-container {
    padding: 5px;
    background: #fff;
}

#menu-container h2 {
    border: none;
    color: #666;
}

#menu-container ul {
    list-style: none;
    padding: 0;
    font-size: .9rem;
}

#menu-container ul li {
    margin-top: 10px;
    padding: 5px;
    background: #FFA17A;
    text-align: center;
    color: #fff;
    border: 3px solid #FFA17A;

}

#menu-container ul li a {
    color: #fff;

}



/******************************
フッター
********************************/
#footer-container {
    background: #aaa;
    height: 70px;
    color: #fff;
    text-align: center;
    font-size: .8rem;
    padding-top: 20px;
}


/******************************
メディアクエリ
********************************/
@media screen and (max-width: 480px) {
    .app-item {
        margin: 30px 5px;
        padding: 20px 10px;
    }

    .app-item p {
        padding: 10px 0;
    }

    .insert-img img {
        width: 100%;
        padding: 2rem;
    }

    .ticket-wide {
        background-size: 35%;
        background-position: bottom -10px right -10px;
        margin: 0;
        width: 100%;
    }

    .ticket-detail .ticket-img {
        margin: 10px auto;
        width: 60%;
    }

    .ticket-detail .ticket-name {
        padding: 0 5px;
    }

    .app-item-btns {
        margin: 0;
    }

    #side-container {
        margin: 15px;
    }

    h2 {
        font-size: 1.1rem;
    }

    .main-banner-scroll {
        display: flex;
        overflow: scroll;
        justify-content: flex-start;
    }

    .side-banner {
        display: none;
    }

    .side-banner-sp {
        display: block;
    }

    .side-banner-sp img {
        display: block;
        margin: 15px auto;
        max-width: 320px;
        width: 100%;
    }

    .logo img {
        width: 100%;
    }

    .ticket-detail th,
    .ticket-detail td {
        display: block;
    }

    .app-item-spec table th,
    .app-item-spec table td {
        display: block;
        width: 100%;
        border: none;
    }

    .app-item-spec table td {
        padding-left: 20px;
    }

}
