@charset "utf-8";
/* CSS Document */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&display=swap');
@import url(http://fonts.googleapis.com/earlyaccess/notosansjapanese.css);

/* http://meyerweb.com/eric/tools/css/reset/ 
v2.0 | 20110126
License: none (public domain)
*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
font: inherit;
vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
display: block;
}
body {
line-height: 1;
}
ol, ul {
list-style: none;
}
blockquote, q {
quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
content: '';
content: none;
}
table {
border-collapse: collapse;
border-spacing: 0;
}

/* ---------------------
  Animation
------------------------ */
  @keyframes shake {
    0% { transform: translate(0px, 0px) rotate(0deg); }
    20% { transform: translate(-2px, 0px) rotate(-2deg); }
    40% { transform: translate(2px, 0px) rotate(2deg); }
    60% { transform: translate(-2px, 0px) rotate(-2deg); }
    80% { transform: translate(2px, 0px) rotate(2deg); }
    100% { transform: translate(0px, 0px) rotate(0deg); }
  }

/* ---------------------
   Basic Layout
------------------------ */

body{  
  margin:0px;
  padding:0px;
  font-family: "Outfit", 'Noto Sans Japanese','ヒラギノ角ゴ ProN W3', Hiragino Kaku Gothic ProN, Arial, Meiryo,sans-serif;
  font-weight: 400;
  font-size: 110%;
  background-color: #FFFF3C;
  color: #111111;
}

a{ color: #111111; text-decoration: none; }
a:hover {}

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

#contents{
  width: 711px;
  position: relative;
}
#contents h1{
  margin-bottom: 1rem;
  width: 100%;
}
#contents h1 img{
  width: 100%;
}
#contents h2{
  font-size: 1.2rem;
  margin-bottom: 1.2rem;
  font-weight: 600;
}
#contents p{
  margin-bottom: 1rem;
  line-height: 1.6;
}
  #contents p a{
    font-weight: 600;
    font-size: 120%;
  }
    #contents p a:hover {
      color: #FF0000;
    }
  #contents p a img{
    height: 1em;
  }
#contents figure.dog-image{
  position: absolute;
  right: 0px;
  bottom: 0px;
  width: 16rem;
}
#contents figure img{
  width: 100%;
}
#contents figure.dog-image img {
  transition: transform 0.1s;
}
  #contents figure.dog-image img:hover {
    animation: shake 0.1s infinite;
  }
footer {
  font-weight: 500;
  letter-spacing: 0.1em;
}



/* -----------------------
  Option Style
-------------------------- */
.mb0 {margin-bottom: 0px;}
.mb100 {margin-bottom: 1rem;}
.mb150 {margin-bottom: 1.5rem;}
.mb200 {margin-bottom: 2rem;}

/* ウィンドウ幅が640px以下の場合に適用するCSS */
@media (max-width:640px){

  body {
    text-align: center;
  }
.sp-only{display: block;}

  #contents{
    width: 90%;
    position: relative;
  }
    #contents p{
      line-height: 1.3;
      margin-bottom: 1.3rem;
    }
  #contents figure.dog-image{
    position: relative;
    width: 5rem;
    margin: 0px auto;
  }

}