@charset "UTF-8";

/*
GENERAL STYLING
================================================ */
html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}
body {
  background-color: #008bbb;
	font-family:'Kiwi Maru', serif;
  line-height: 1.7;
  color: #fff;
}
a{
  text-decoration: none;
}
p {
    font-family: 'Dancing Script', cursive;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}
img{
  max-width: 100%;
}
table,th,td{font-size: 2rem;
  margin-top: 2rem;

}
/*フォーム*/

#contact{
  background-image: url(../img/bread3.jpg);
  background-size: cover;
  min-height: 100vh;
}
.second{
  font-size: 4rem;
  text-transform: uppercase;
  padding-top: 5rem;
  font-weight: normal;
}
.second-header {
   display: flex;
   justify-content: space-between;
   background-color: rgba(255, 255, 255, 0.5);
}
.logo {
    width: 21rem;
    margin-top: 1.4rem;
}
.main-nav {
    display: flex;
    font-size: 2rem;
    text-transform: uppercase;
    margin-top: 3.4rem;
    list-style: none;
}
.main-nav li {
    margin-left: 3.6rem;
}
.main-nav a {
    color: #333;
}
.main-nav a:hover {
    color: #0bd;
}
.wrapper{
  max-width: 100%;
  margin: 0 auto;
  padding: 0 4%;
}
/*大きな背景画像*/
.big-bg{
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}
.sirokuma img {
  position:absolute;
  top:30rem;
  left: 80rem;
  height: 50rem;
  width: 50rem;
}
form div {
    margin-bottom: 1.4rem;
}
label {
    font-size: 3rem;
    margin-bottom: 0.1rem;
    display: block;
}
input[type="text"],
input[type="email"],
textarea {
    background: rgba(255,255,255,.5);
    border: 1px #fffff0 solid;
    border-radius: 0.5rem;
    padding: 1rem;
    font-size: 1rem;
}
input[type="text"],
input[type="email"] {
    width: 100%;
    max-width: 24rem;
}
textarea {
    width: 100%;
    max-width: 48rem;
    height: 6rem;
}
input[type="submit"] {
    border: none;
    cursor: pointer;
    line-height: 1;
}
/* 練習場所・地図*/
#location {
    padding: 4% 0;
}
#location .wrapper {
    display: flex;
    justify-content: space-between;
}
.location-info {
    width: 30%;
}
.awase{
  font-family:'Kiwi Maru', serif;
  font-size: 3rem;
}
.btn {
    background: #008bbb;
    font-size: 3rem;
    color: #fffff0;
    padding: 1rem 3rem;
    border-radius: 0.6rem;
    display: inline-block;
    margin: 2rem 0 2rem;
}
.location-info p {
    padding: 1.2rem 1rem;
    font-family:'Kiwi Maru', serif;
}
.location-map {
    width: 64%;
}
iframe{
  width:100%;
}

/* フッター
------------------------------- */
footer {
    background: #fffff0;
    text-align: center;
    padding: 2rem 0;
}
footer p {
    color: #008bbb;
    font-family:'Kiwi Maru', serif;
    font-size: 2rem;
}

/*====================
PCを基本設計にする
 - 1280px〜：大型PC
 - 960px〜1279px：小型PC
 - 600px〜959px：タブレット
 - 480px〜599px：スマートフォン横
 - 〜479px：スマートフォン縦
====================*/



/* 1280px〜：大型PC
------------------------------ */

ここに基本CSSを書きます。
PCファーストでは、PCサイズからモバイルの大きさに向けて、以降のCSSを書いていきます。


/* 960px〜1279px：小型PC
------------------------------ */
@media screen and (min-width:960px) and (max-width:1200px) {

}

/* 750px〜959px：タブレット
------------------------------ */
@media screen and (min-width:750px) and (max-width:959px) {

}


/* 480px〜749px：SP横
------------------------------ */
@media screen and (min-width:480px) and (max-width:749px) {

/*問い合わせふぉーむ*/
#contact.second{
  font-size: 3rem;
}
.sirokuma img {
  size:50%;
  position: absolute;
  top:100rem;
}
#location .wrapper {
    flex-direction: column;
}
.location-info,
.location-map{
  width: 100%;
}
}


/* 〜479px：スマートフォン縦
------------------------------ */
@media screen and (max-width:479px) {

/*問い合わせふぉーむ*/
#contact{
  background-image: url(../img/toy.jpg);
}
.second-header{
  flex-direction: column;
  align-items: center;
}
.second{
  font-size: 2rem;
  color:#fffff0;
}
.logo {
      width: 15rem;
      margin-top: 0.5rem;
  }
  .main-nav {
      font-size: 1.2rem;
      margin-top: 1rem;
  }
  .main-nav li {
      margin:0.2rem;
  }
.menu {
  background-size: 200%;
}
p {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}
.sirokuma img {
  display: none;
}
label {
    font-size: 1.5rem;
  color:#fffff0;
}
input[type="text"],
input[type="email"] {
    width: 50%;
    max-width: 15rem;
}
textarea {
    width: 50%;
    max-width: 20rem;
    height: 6rem;
}


#location .wrapper {
    flex-direction: column;
}
.location-info,
.location-map{
  width: 100%;
}
}
