@charset "UTF-8";

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
}

body {
    font-size: 1.6rem;
    letter-spacing: .2rem;
    line-height: 2.2;
    background-color: #f7f7f7;
    font-family: "Yu Gothic", "游ゴシック", YuGothic, "游ゴシック体", "ヒラギノ角ゴ Pro W3", "メイリオ", sans-serif;
    font-feature-settings: "palt";
    color: #333;
    background-image: url("img/bg_left.png");
  background-repeat: no-repeat;
  background-size: auto;
  background-position: top left;
}

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

a {
    text-decoration: none;
}

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

footer {
    margin-top: auto;
}

main {
    animation-name: fadeIn;
    -webkit-animation-name: fadeIn;
    animation-duration: 2s;
    -webkit-animation-duration: 2s;
}

iframe {
    width: 100%;
    height: 80vh;
    background-color: pink;
}


.container970 {
    height: 100vh;
    text-align: center;
    flex-flow: column;
     display: flex; /* 要素をflexboxに対応させる */
  align-items: center; /* 縦方向の中央揃え */
  justify-content: center; /* 横方向の中央揃え */
}

h2 {
    font-family: 'Open Sans', sans-serif;
    font-size: 34px;
    margin-bottom: 40px;
}

h2 span{
    display: block;
    font-size: 16px;
    font-family: "Yu Gothic", "游ゴシック", YuGothic, "游ゴシック体", "ヒラギノ角ゴ Pro W3", "メイリオ", sans-serif;
}

.margin30{
    margin-bottom: 30px;

}

div .copyright{
    margin-top: 100px;
    font-size: 12px;
    color: #999;
}

.link p{
    font-weight: 700;
    margin-bottom: 10px;
    font-weight: 14px;
}

.linkButton {
    width: 13.8%;
    min-width: 200px;
    margin: 0 auto 0 auto;
    overflow: hidden;
}

.linkButton a {
    background-color: #de3202;
    display: block;
    color: #fff;
    text-align: center;
    padding: 1.5rem;
    border-radius: .3rem;
    border: 1px solid #de3202;
    transition: .4s
}

.linkButton a:hover {
    background-color: transparent;
    color: #de3202;
    border: 1px solid #de3202;
}


.allContentWrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

input[type="submit"] {
    -webkit-appearance: none;
    border-radius: 0;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@-webkit-keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}


@-webkit-keyframes fadeInUp {
    from {
        opacity: 0;
        -webkit-transform: translate3d(0, 30%, 0);
        transform: translate3d(0, 30%, 0);
    }

    to {
        opacity: 1;
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        -webkit-transform: translate3d(0, 30%, 0);
        transform: translate3d(0, 30%, 0);
    }

    to {
        opacity: 1;
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
}

.animate__fadeInUp {
    -webkit-animation-name: fadeInUp;
    animation-name: fadeInUp;
}


h1 {
    display: none;
}


h1 a {
    display: block;
    color: #111;
    font-size: 2.4rem;
    font-family: 'Open Sans', sans-serif;
}

h1 a:hover {
    transition: .4s;
    opacity: .5;
}

h1 a p {
    display: flex;
    align-items: center;
}

h1 a p span:first-child {
    line-height: 1;
}

h1 a p span:last-child {
    font-size: 1.6rem;
    font-weight: normal;
    margin-left: 2.7rem;
}


@media screen and (max-width:960px) {
    body {
        font-size: 1.4rem;
    }
    .container970 {
        padding: 0 30px;
    }
}

@media screen and (max-width:560px) {
    body {
        font-size: 1.3rem;
        line-height: 1.9;
    }

    body:not(#indexPage) main {
        padding-top: 40px;
    }
    .container970 {
        padding: 0 20px;
    }
}

@media screen and (max-width:528px) {
    .tabs li a {
        font-size: 1.2rem;
    }
}

@media screen and (max-width:438px) {
    .tabs li a {
        font-size: 1.1rem;
        letter-spacing: 0;
        padding: .6rem 2.2rem;
    }
}

@media screen and (max-width:374px) {
    .tabs li a {
        font-size: 1rem;
        padding: .6rem 1rem;
    }
}