@charset "utf-8";

/* Reset */
* {
  margin: 0;
  padding: 0;
}

body {
  font-family: sans-serif;
  line-height: 1;
}

img {
  max-width: 100%;
  vertical-align: bottom;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
  display: block;
}

/* 背景色 */
body {
  background: #ffc;
}

/* コンテンツ幅 */
.container {
  max-width: 960px;
  margin-inline: auto;
  padding-inline: 10px;
}

/* header */
header {
  background: #900;
  color: #fff;
}

header .container {
  background:
    url(../img/headerBg.jpg) no-repeat right top;
  height: 200px;
}

h1 {
  padding: 40px 0 20px;
}

h1 span {
  font-family: 'Dokdo', cursive;
  font-size: 50px;
}

/* Navigation */
.pcnav {
  background: #fc0;
  margin-bottom: 30px;
}

.pcnav ul {
  display: flex;
  /* justify-content: center; */
}

.pcnav li {
  text-align: center;
  width: 20%;
  line-height: 50px;
}

.pcnav a {
  text-decoration: none;
  color: #900;
  /* padding: 10px; */
}

.pcnav a:hover {
  color: #fff;
  background: #900;
}


.top{
border: 1px solid #900;
color: #900;
display: block;
width: 50px;
height: 50px;
text-align: center;
line-height: 50px;
border-radius: 10px;
background: #fff;
position: fixed;
bottom: 10px;
right:10px;
}





/* Sp parts */
.btn,.spnav {
  display: none;
}

/* キービジュアル */
.key_visiual {
  text-align: center;
  margin-bottom: 30px;
}

/* Main contents */
/* 3カラム */
main {
  text-align: left;
  margin-bottom: 30px;
  display: flex;
  justify-content: space-between;
  /* flex-wrap:wrap;  */
}

main section {
  width: 32%;
}

main a {
  color: #000;
  text-decoration: none;
}

main a:hover {
  background: #fd7;
}

/* h2見出し */
h2 {
  background: #900;
  color: #fff;
  padding: 5px;
  margin-bottom: 20px;
}

/* ペット説明文 */
.pet_text {
  /* border:3px solid #f00; */
  height: 8em;
  margin-top: 10px;
  line-height: 1.4;
}

/* 詳細を見る */
.more {
  color: #900;
  background: #fc0;
  border: 1px solid #900;
  padding: 10px;
  display: inline;
}

.more:hover {
  background: #f00;
  color: #fff;
}

/* Footer */
footer {
  background: #900;
  color: #fff;
  padding-block: 30px;
}

/* ================================================== 

Media Query                         

================================================== */

@media screen and (max-width:743px) {

.container {
  margin: 0 auto;
  display: block;
}

.wrap {
  display: block;
}

body {
  position: relative;
}



/* header */
header {
  background: #900;
  color: #fff;
}

header .container {
  background:
    url(../img/headerBg.jpg) no-repeat right top/contain;
  height: 150px;
  text-shadow: 2px 2px 2px #500;
}

h1 {
  padding-block: 20px 30px;
}

h1 span {
  font-family: 'Dokdo', cursive;
  font-size: 40px;
}

header p{
  font-size: 0.8em;
}

.pcnav{
  display: none;
}

.btn{
display: block;
width: 100%;
height: 50px;
color: #900;
text-align: center;
font-size: 50px;
position: absolute;
top: 150px;
line-height: 50px;
overflow: hidden;
}

.btn i {
  display: block;
}

.close i:first-child {
  display: none;
}

.spnav {
  display: block;
  width: 100%;
  top: 200px;
  position: absolute;
}

.spnav li {
  line-height: 50px;
  text-align: center;
  border-bottom: 1px solid #fff;
}

.spnav a {
  background-color: rgba(153, 0, 0, 0.7);
  color: #fff;
}


/* キービジュアル */
.key_visiual {
  text-align: center;
  margin-top: 60px;
}

/* Main contents */
/* 3カラム */
main {
  text-align: left;
  margin-bottom: 30px;
  display: block;
}

main section {
  width: 100%;
}

main img{
  width: 100%;
  margin-bottom: 10px;
}

main section+section{
  margin-bottom: 20px;
}

/* h2見出し */
h2 {
  background: #900;
  color: #fff;
  padding: 10px;
  margin-block: 20px 10px;
}


/* ペット説明文 */
.pet_text {
  height: 8em;
  line-height: 1.5;
}

/* 詳細を見る */
.more {
  padding: 20px;
  display: block;
  text-align: center;
}

.more:hover {
  background: #f00;
  color: #fff;
}

/* Footer */
footer {
  background: #900;
  color: #fff;
  padding-block: 30px;
}

}