@charset "UTF-8";

/* Base */
*, *:before, *:after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: Helvetica, "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", "游ゴシック", YuGothic, Meiryo, メイリオ, Arial, sans-serif;
  font-size: 62.5%;
  height: 100%;
  color: #333333;
}

ul {
  padding: 0;
  margin: 0;
}

li {
  list-style-type: none;
  list-style-position: outside;
  padding: 0;
}

h1, h2, h3, h4, figure, dl, dt, dd, ul, li {
  margin: 0;
}

a {
  text-decoration: none;
}

img {
  vertical-align: bottom;
}

body {
  font-size: 16px;
  font-size: 1.6rem;
  line-height: 1.6;
  height: 100%;
}

@media only screen and (max-width: 768px) {
  body {
    min-width: 0;
    font-size: 14px;
    font-size: 1.4rem;
    padding-top: 48px;
  }
}

@media only screen and (min-width: 768px) and (max-width: 1024px) {
  body {
    min-width: 980px;
  }
}

/* Inner */
@media only screen and (min-width: 769px) {
  .inner {
    margin: 0px auto;
    width: 980px;
  }
}

@media only screen and (max-width: 768px) {
  .inner {
    width: 100%;
  }
}

/* Header */
header {
  width: 100%;
  background-color: #fff;
  text-align: left;
  z-index: 100;
}

@media only screen and (min-width: 769px) {
  header {
    height: 96px;
    padding: 20px 0;
  }
}

@media only screen and (max-width: 768px) {
  header {
    position: fixed;
    height: 48px;
    top: 0;
    left: 0;
    opacity: 0.95;
  }
}

header .logo {
  line-height: 1;
}

@media only screen and (min-width: 769px) {
  header .logo {
    display: table-cell;
    vertical-align: middle;
    height: 56px;
    width: 165px;
  }
  header .logo img {
    width: 100%;
  }
}

@media only screen and (max-width: 768px) {
  header .logo {
    height: 28px;
    width: 82.5px;
  }
  header .logo img {
    width: 100%;
  }
}

header .logo a {
  display: inline-block;
  line-height: 0 !important;
  position: relative;
}

header .logo a span {
  font-size: 10px;
  position: absolute;
  right: 0;
  bottom: 4px;
  color: #753c15;
  font-weight: bold;
  letter-spacing: 0.05em;
}

@media only screen and (max-width: 768px) {
  header .logo a span {
    white-space: nowrap;
    right: -25px;
    bottom: 0;
  }
}

header .inner {
  display: table;
  background-color: #fff;
}

@media only screen and (max-width: 768px) {
  header .inner {
    padding: 10px;
    border-bottom: 1px solid #956134;
  }
}

header .inner > * {
  display: table-cell;
}

header .left {
  vertical-align: middle;
}

/* Section h2 heading with yellow underline */
.home > article > section h2 {
  font-size: 32px;
  font-size: 3.2rem;
  color: #753c15;
  text-align: center;
  padding: 0 0 28px;
  margin: 0 0 30px;
  line-height: 1;
  position: relative;
}

@media only screen and (max-width: 768px) {
  .home > article > section h2 {
    font-size: 18px;
    font-size: 1.8rem;
    line-height: 1.6;
    padding: 0 0 20px;
  }
}

.home > article > section h2::after {
  position: absolute;
  bottom: 0;
  left: 50%;
  content: "";
  display: block;
  width: 304px;
  height: 6px;
  margin-left: -152px;
  background: #fee14d;
}

@media only screen and (max-width: 768px) {
  .home > article > section h2::after {
    border-width: 4px;
    width: 152px;
    margin-left: -76px;
  }
}

/* kidsly-end section */
.kidsly-end {
  padding: 80px 20px;
  text-align: center;
}

.kidsly-end .inner {
  max-width: 700px;
  margin: 0 auto;
}

.kidsly-end__title {
  font-size: 28px;
  margin-bottom: 30px;
  font-weight: bold;
}

.kidsly-end__text {
  font-size: 14px;
  line-height: 2;
  margin-bottom: 15px;
  color: #333;
}

.kidsly-end__buttons {
  margin-top: 40px;
}

.kidsly-end__buttons .radius-button {
  margin: 10px;
}

.kidsly-end__note {
  margin-top: 30px;
  font-size: 12px;
  color: #777;
}

/* Radius Button */
.radius-button {
  position: relative;
  display: inline-block;
  color: #753c15;
  background: #fff;
  border: 2px solid #9a6135;
  font-size: 16px;
  font-size: 1.6rem;
  border-radius: 100px;
  font-weight: bold;
  line-height: 1em;
  text-align: center;
  padding: 20px 60px 20px 40px;
  letter-spacing: 0.075em;
  transition: all 0.3s ease-in-out 0;
}

@media only screen and (min-width: 769px) {
  .radius-button {
    min-width: 360px;
  }
}

@media only screen and (max-width: 768px) {
  .radius-button {
    width: 100%;
    font-size: 12px;
    font-size: 1.2rem;
    padding: 12px 24px 12px 12px;
  }
}

.radius-button::after {
  vertical-align: middle;
  margin-top: 0px;
  font-family: "FontAwesome";
  content: "\f054";
  font-size: 14px;
  font-size: 1.4rem;
  color: #cdb4a3;
  transition: all 0.3s ease-in-out 0;
}

@media only screen and (min-width: 769px) {
  .radius-button::after {
    position: absolute;
    right: 30px;
  }
}

@media only screen and (max-width: 768px) {
  .radius-button::after {
    position: absolute;
    font-size: 10px;
    font-size: 1rem;
    top: 50%;
    right: 10px;
    margin-top: -0.5em;
  }
}

@media only screen and (min-width: 769px) {
  .radius-button:hover {
    color: #fff;
    background: #996039;
  }
}

.radius-button--red {
  background: #f85a5a;
  color: #fff;
  border: 2px solid #f85a5a;
  transition: all 0s ease-in-out 0;
}

.radius-button--red::after {
  color: #fff;
}

.radius-button--red:hover {
  background: #f85a5a;
  color: #fff;
  opacity: 0.6;
}