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

* {
    box-sizing: border-box;
}

html {
    height: 100%;
    overflow: auto;
}

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

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

a {
    display: block;
    color: inherit;
    text-decoration: unset;
}

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

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

li {
    text-align: left;
}

img {
    display: block;
    width: 100%;
}
/*画像をオリジナルサイズで*/
img.original {
    width: inherit;
}

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

/*ローディング有はbodyに.show初期なし、ローディング無は.show初期あり*/

body {
    height: 100vh;
    overflow: hidden;
}

body.show {
    overflow: visible;
    overflow-x: hidden;
    height: auto;
    background: none;
}

/*リストのパターン集*/

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

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

.bold {
    font-weight: bold;
}

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

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

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

.paragraph {
     padding: 30px 0 30px;
    border-bottom: 1px solid #ccc;
 }

.paragraph:first-of-type {
    padding-top: 0;
}

.paragraph:last-of-type {
    border-top: none;
}

.paragraph li {
    padding-bottom: 1em;
}

.paragraph p a{
    display: inline;
    color: #0099E0;
    text-decoration: underline;
}

.alignEqual {
    flex-wrap: wrap;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    display: -webkit-flex;
    -webkit-flex-direction: column;
    -webkit-justify-content: space-between;
}

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

/*子要素を真ん中ぞろえ*/
.myCenter {
    display: flex !important;
    justify-content: center;
    align-items: center;
}

/*子要素を並べる*/
.myEqual {
    display: flex !important;
    justify-content: space-between;
}

.inner {
    position: relative;
    padding: 0 15px;
    width: 100%;
}

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

/*タップさせない*/
.myNoSelect {
    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,
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 350;
}

/*ポップアップメニュー*/
.myGlobalNav {
    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);
}

.myGlobalNav.show,
.myGlobalNav.true {
  display: inherit;
  opacity: 1;
}

.myButton {
    width: 100%;
    text-align: center;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: unset;
    border: none;
}

.myButton a {
    display: flex;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
}

/*ページネーション*/
.myPage {
    margin: 50px auto;
}

.previous, .next {
    width: 30px;
}

.previous {
    margin: 0 1em 0 0;
}

.next {
    margin: 0 0 0 1em;
}

/*注意書き*/
.myCaution {
    border: 1px solid #2037B0;
    padding: 1rem;
}

/*GoogleMap*/
.myGoogleMap 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;
}

/*レスポンシブの表示非表示*/
.pc,.tb {
    display: none !important;
}

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

    .tbpc {
        display: inherit !important;
    }
}

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

    .pc {
        display: inherit !important;
    }
}

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

.tCenter {
    text-align: center;
}

.tRight {
    text-align: right;
}

.tLeft {
    text-align: left;
}

.tCenter_m {
    text-align: center;
}

.tRight_m {
    text-align: right;
}

.tLeft_m {
    text-align: left;
}

.noUnder,
.noUnder a{
    text-decoration: none !important;
}

@media screen and (min-width: 768px) {
    .tCenter_m,.tRight_m,.tLeft_m {
        text-align: inherit;
    }
}

/*************影の調整*************/

.shadow--0 {
    transition: 0.5s;
    -webkit-box-shadow: 0 2px 10px -1px rgba(0,0,0,0.0);
    box-shadow: 0 2px 10px -1px rgba(0,0,0,0.0);
}

.shadow--1 {
    transition: 0.5s;
    -webkit-box-shadow: 0 2px 10px -1px rgba(0,0,0,0.1);
    box-shadow: 0 2px 10px -1px rgba(0,0,0,0.1);
}

.shadow--2 {
    transition: 0.5s;
    -webkit-box-shadow: 0 2px 10px -1px rgba(0,0,0,0.2);
    box-shadow: 0 2px 10px -1px rgba(0,0,0,0.2);
}

.shadow--3 {
    transition: 0.5s;
    -webkit-box-shadow: 0 2px 10px -1px rgba(0,0,0,0.3);
    box-shadow: 0 2px 10px -1px rgba(0,0,0,0.3);
}

.shadow--4 {
    transition: 0.5s;
    -webkit-box-shadow: 0 2px 10px -1px rgba(0,0,0,0.4);
    box-shadow: 0 2px 10px -1px rgba(0,0,0,0.4);
}

.shadow--1.hover:hover {
    transition: 0.5s;
    -webkit-box-shadow: 0 2px 10px -1px rgba(0,0,0,0.2);
    box-shadow: 0 2px 10px -1px rgba(0,0,0,0.2);
}

.shadow--2.hover:hover {
    transition: 0.5s;
    -webkit-box-shadow: 0 2px 10px -1px rgba(0,0,0,0.3);
    box-shadow: 0 2px 10px -1px rgba(0,0,0,0.3);
}

.shadow--3.hover:hover {
    transition: 0.5s;
    -webkit-box-shadow: 0 2px 10px -1px rgba(0,0,0,0.4);
    box-shadow: 0 2px 10px -1px rgba(0,0,0,0.4);
}

.shadow--4.hover:hover {
    transition: 0.5s;
    -webkit-box-shadow: 0 2px 10px -1px rgba(0,0,0,0.5);
    box-shadow: 0 2px 10px -1px rgba(0,0,0,0.5);
}


.shadow--1.hover_m:hover {
    transition: 0.5s;
    -webkit-box-shadow: 0 2px 10px -1px rgba(0,0,0,0.2);
    box-shadow: 0 2px 10px -1px rgba(0,0,0,0.2);
}

.shadow--2.hover_m:hover {
    transition: 0.5s;
    -webkit-box-shadow: 0 2px 10px -1px rgba(0,0,0,0.3);
    box-shadow: 0 2px 10px -1px rgba(0,0,0,0.3);
}

.shadow--3.hover_m:hover {
    transition: 0.5s;
    -webkit-box-shadow: 0 2px 10px -1px rgba(0,0,0,0.4);
    box-shadow: 0 2px 10px -1px rgba(0,0,0,0.4);
}

.shadow--4.hover_m:hover {
    transition: 0.5s;
    -webkit-box-shadow: 0 2px 10px -1px rgba(0,0,0,0.5);
    box-shadow: 0 2px 10px -1px rgba(0,0,0,0.5);
}

@media screen and (min-width: 768px) {
    .shadow--1.hover_p:hover {
        transition: 0.5s;
        -webkit-box-shadow: 0 2px 10px -1px rgba(0,0,0,0.2);
        box-shadow: 0 2px 10px -1px rgba(0,0,0,0.2);
    }

    .shadow--2.hover_p:hover {
        transition: 0.5s;
        -webkit-box-shadow: 0 2px 10px -1px rgba(0,0,0,0.3);
        box-shadow: 0 2px 10px -1px rgba(0,0,0,0.3);
    }

    .shadow--3.hover_p:hover {
        transition: 0.5s;
        -webkit-box-shadow: 0 2px 10px -1px rgba(0,0,0,0.4);
        box-shadow: 0 2px 10px -1px rgba(0,0,0,0.4);
    }

    .shadow--4.hover_p:hover {
        transition: 0.5s;
        -webkit-box-shadow: 0 2px 10px -1px rgba(0,0,0,0.5);
        box-shadow: 0 2px 10px -1px rgba(0,0,0,0.5);
    }
}

.shadowtxt--0 {
    text-shadow: 0 5px 25px rgba(0,0,0,0);
    transition: 0.2s;
}

.shadowtxt--1 {
    transition: 0.5s;
    text-shadow: 0 5px 25px rgba(0,0,0,0.1);
}

.shadowtxt--2 {
    transition: 0.5s;
    text-shadow: 0 5px 25px rgba(0,0,0,0.2);
}

.shadowtxt--3 {
    transition: 0.5s;
    text-shadow: 0 5px 25px rgba(0,0,0,0.3);
}

.shadowtxt--4 {
    transition: 0.5s;
    text-shadow: 0 5px 25px rgba(0,0,0,0.4);
}

.shadowtxt--0.hover_m:hover {
    text-shadow: 0 5px 25px rgba(0,0,0,0.1);
    transition: 0.2s;
}

.shadowtxt--1.hover_m:hover {
    transition: 0.5s;
    text-shadow: 0 5px 25px rgba(0,0,0,0.2);
}

.shadowtxt--2.hover_m:hover {
    transition: 0.5s;
    text-shadow: 0 5px 25px rgba(0,0,0,0.3);
}

.shadowtxt--3.hover_m:hover {
    transition: 0.5s;
    text-shadow: 0 5px 25px rgba(0,0,0,0.4);
}

.shadowtxt--4.hover_m:hover {
    transition: 0.5s;
    text-shadow: 0 5px 25px rgba(0,0,0,0.5);
}

@media screen and (min-width: 768px) {
    .shadowtxt--0.hover_p:hover {
        text-shadow: 0 5px 25px rgba(0,0,0,0.1);
        transition: 0.2s;
    }

    .shadowtxt--1.hover_p:hover {
        transition: 0.5s;
        text-shadow: 0 5px 25px rgba(0,0,0,0.2);
    }

    .shadowtxt--2.hover_p:hover {
        transition: 0.5s;
        text-shadow: 0 5px 25px rgba(0,0,0,0.3);
    }

    .shadowtxt--3.hover_p:hover {
        transition: 0.5s;
        text-shadow: 0 5px 25px rgba(0,0,0,0.4);
    }

    .shadowtxt--4.hover_p:hover {
        transition: 0.5s;
        text-shadow: 0 5px 25px rgba(0,0,0,0.5);
    }
}
