/*************CSSの初期設定*************/

* {
    box-sizing: border-box;
}

html {
    /* height: 100%; */
    /* overflow: auto; */
    font-size: 3.125vw;
}

@media screen and (min-width: 768px) {
    html {
        font-size: 10px;
    }

}

html,
body {
    max-width: 100vw;
}

/*ローディング有無設定*/
body {
    /* overflow: scroll; */
    /* -webkit-overflow-scrolling: touch; */
    /* overflow-scrolling: touch; */
    /* overflow-x: hidden; */
    /* height: 100%; */
}

body.ah-with-loading {
    height: 100vh;
    overflow: hidden;
}

body.ah-with-loading.ah-show {
    overflow: visible;
    overflow-x: hidden;
    height: 100%;
}

.initial {
    transform: unset !important;
    transition: none !important;
}

a {
    color: inherit;
    text-decoration: unset;
    width: 100%;
    height: 100%;
}

p,
ul,
li,
h1,
h2,
h3,
h4 {
    margin: 0;
}

ul {
    list-style: none;
    padding: 0;
}

li {
    text-align: left;
}

dl,
dt,
dd {
    margin: 0;
    padding: 0;
}

button {
    padding: 0;
    margin: 0;
    border: inherit;
    box-shadow: inherit;
}

img {
    display: block;
    width: 100%;
}


/*画像をオリジナルサイズで*/
img.original {
    width: initial;
}

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

/*リストのパターン集*/
ul.list {
    list-style: disc;
    padding-left: 1em;
}

ul.num {
    list-style: decimal;
    padding-left: 1em;
}

.ah-bold {
    font-weight: bold;
}

/*************よく使うもの*************/

/*レイアウト関係*/
.wrapper {
    position: relative;
}

.inner {
    position: relative;
    width: 100%;
}

@media screen and (min-width: 768px) {
    .inner {
        padding: 0 7%;
    }
}

.ah-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.ah-vh,
.ah-section.ah-vh {
    padding-top: 100vh;
    position: relative;
    height: 0 !important;
    overflow: hidden;
}

.ah-vh-inner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

@media screen and (min-width: 768px) {

    .ah-vh,
    .ah-section.ah-vh {
        padding-top: 57%;
    }
}

/* 文章を非表示 */
.ah-clear-text {
	text-indent:100%;
	white-space:nowrap;
	overflow:hidden;
}

/*absoluteで真ん中に止めるやつ*/
.ah-abcen {
    position: absolute;
    transform: translate(-50%, -50%);
    top: 50%;
    left: 50%;
}

/*タップさせない*/
.ah-no-select .ah-no-select * {
    user-select: none !important;
    -webkit-user-select: none !important;
    -ms-user-select: none !important;
    -moz-user-select: none !important;
    -khtml-user-select: none !important;
    -webkit-user-drag: none !important;
    -khtml-user-drag: none !important;
    pointer-events: none !important;
}

/*************パーツ類*************/
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 350;
}

/*ポップアップメニュー*/
.ah-popup-nav {
    text-align: center;
    position: fixed;
    z-index: 300;
    min-height: 100vh;
    width: 100vw;
    top: 0;
    left: 0;
    opacity: 0;
    display: none;
    transition: 0.5s;
    height: 100vh;
    overflow-y: scroll;
    transform: translateZ(0);
}

.ah-popup-nav.ah-show,
.ah-popup-nav.ah-true {
    display: inherit;
    opacity: 1;
}

.ah-img {
    position: relative;
    overflow: hidden;
}

.ah-img img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}


/*GoogleMap*/
.ah-google-map iframe {
    width: 100%;
    margin: 0;
    height: 100%;
}

/*フォーム関連*/

label,
input {
    display: block;
    width: 100%;
}

label,
input,
textarea {
    display: block;
    width: 100%;
}

label {
    font-weight: bold;
    margin: 0 0 10px;
}

textarea {
    height: 15em;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
select,
textarea {
    border: 1px solid #eee;
    box-shadow: unset;
    background: none;
    font-weight: inherit;
    margin: 0 0 20px;
    padding: 1em;
}

input[type="checkbox"],
input[type="radio"] {
    box-sizing: border-box;
    padding: 0;
    display: inline-block;
    width: 10px;
}

label {
    font-weight: bold;
    margin: 0 15px 10px 0px;
    display: inline-block;
    width: auto;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
    font-size: 1.5rem;
    font-size: var(--p-font-size);
}

/*レスポンシブの表示非表示*/
@media screen and (max-width: 767px) {
    .tb {
        display: none !important;
    }

    .tbpc {
        display: none !important;
    }

    .pc {
        display: none !important;
    }
}

@media screen and (min-width: 768px) and (max-width: 1365px) {
    .mb {
        display: none !important;
    }

    .pc {
        display: none !important;
    }
}

@media screen and (min-width: 1366px) {
    .mb {
        display: none !important;
    }

    .mbtb {
        display: none !important;
    }

    .tb {
        display: none !important;
    }
}

/*************フォント系*************/

.ah-t-center {
    text-align: center;
}

.ah-t-right {
    text-align: right;
}

.ah-t-left {
    text-align: left;
}

.ah-t-center-m {
    text-align: center;
}

.ah-t-right-m {
    text-align: right;
}

.ah-t-left-m {
    text-align: left;
}

.ah-t-no-under,
.ah-t-no-under a {
    text-decoration: none !important;
}

@media screen and (min-width: 768px) {

    .ah-t-center-m,
    .ah-t-right-m,
    .ah-t-left-m {
        text-align: inherit;
    }

    .ah-t-center-tbpc {
        text-align: center;
    }

    .ah-t-left-tbpc {
        text-align: left;
    }

    .ah-t-right-tbpc {
        text-align: right;
    }
}
.ah-inner-list{
    display:flex;
    height:auto;
    justify-content: space-between;
    margin-bottom:350px;
}
.ah-inner-list .ah-img{
    width:490px;
    height:320px;
    padding-top:0;
}

.ah-alt-pop{
    display:flex;
    justify-content: space-between;
    margin:0 auto 330px;
    align-items: center;
}
.ah-alt-pop.ah-inner{
    padding:0;
}

.ah-alt-pop img{
    vertical-align: bottom;
}
@media screen and (max-width:768px){
    .ah-alt-pop.ah-inner{
        padding:0 var(--inner-1);
    }
    .ah-inner-list .ah-img{
        width:150px;
        height:100px;
        padding-top:0;
    }
    .ah-alt-pop{
        flex-direction: column;
        width:auto;
        max-width:100%;
        align-items: flex-start;
        margin-bottom:80px;
    }
    .ah-inner-list{
        margin-bottom:140px;
    }
}
/* .product_under_link img{
    width:10px;
    display:block;
    margin:0 auto;
}
.product_under_link .product_under_text{
    font-size:90%;
    text-align:center;
    margin-bottom:30px;
} */
