@charset "utf-8";

/* ---------- リセットCSSここから ---------- */

/* Box sizing rules */
*,
*::before,
*::after {
  box-sizing: border-box;
  font-family: "メイリオ",Meiryo,"ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro","ヒラギノ角ゴシック","Hiragino Sans","ＭＳ Ｐゴシック",sans-serif;
}

/* Remove default padding */
ul[class],
ol[class] {
  padding: 0;
}

/* Remove default margin */
body,
h1,
h2,
h3,
h4,
p,
ul[class],
ol[class],
figure,
blockquote,
dl,
dd {
  margin: 0;
}

/* Set core root defaults */
html {
  scroll-behavior: smooth;
}

/* Set core body defaults */
body {
  background-color: #F8F8F8;
  min-height: 100vh;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
  display: flex;
  flex-direction: column;
}

/* Remove list styles on ul, ol elements with a class attribute */
ul[class],
ol[class] {
  list-style: none;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
  text-decoration-skip-ink: auto;
}

/* Make images easier to work with */
img {
  max-width: 100%;
  display: block;
}

/* Natural flow and rhythm in articles by default */
article > * + * {
  margin-top: 1em;
}

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
  font: inherit;
}

/* Blur images when they have no alt attribute */
/* img:not([alt]) { */
/*  filter: blur(10px); */
/* } */

/* Remove all animations and transitions for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- リセットCSSここまで ---------- */

p, li {
    line-height: 1.8;
}

a {
    color: #1e90ff;
    cursor: pointer;
}

header {
    background-color: #fff;
    border-top: 4px solid #FFD700;
    padding: 15px 0 15px 15px;
    width: 100%;
}

#header__wrap {
    align-items: center;
    display: flex;
    flex-direction: row;
    margin: 0 auto;
}

#header__wrap img {
    margin: 0 15px 0 0;
    width: 150px;
}

#header__title {
    font-size: 14px;
}

#main__image {
    background-color: #FFFFE0;
    width: 100%;
}

#main__image img {
    margin: 0 auto;
    padding: 30px 0;
    width: 900px;
}


#main__explain {
    background-color: #F8F8F8;
    padding: 60px 0 40px;
    width: 100%;
}

#main__explain ul {
    list-style-type: none;
    margin: 0 auto;
    padding-left: 0;    
    width: 900px;
}

#main__explain li {
    font-size: 16px;
    margin: 0 0 20px;
    padding-left: 1.5em;
    text-indent: -1.5em;
}

#main__explain .alert {
    color: #DC143C;
}

#main__explain .icon {
    color: #FFD700;
}

footer {
    margin-top: auto;/*重要*/
}

#footer__copyright {
    background-color: #FFD700;
    font-size: 14px;
    padding: 16px 0;
    text-align: center;
}

a {
    text-decoration: none;
}

li a {
    text-decoration: underline;
}

@media screen and (max-width: 940px) {

    #main__image img {
        width: 90%;
    }

    #main__explain ul {
        width: 85%;
    }

}

@media screen and (max-width: 600px) {

    header {
        padding: 10px 0 10px 10px;
    }    

    #header__wrap img {
        margin: 0 8px 0 0;
        width: 80px;
    }
    
    #header__title {
        font-size: 12px;
    }
    
    #main__explain li {
        font-size: 14px;
    }

    .left {
        margin: 0;
    }

    .right {
        margin: 10px 0 0;
    }

    .underline {
        border-bottom: 6px solid #FFD700;
    }

    .smp {
        margin: 30px 0 0;
        display: block;
    }

    #main__explain {
        padding: 40px 0 20px;
    }    

    #footer__copyright {
        font-size: 12px;
    }

}