@font-face {
  font-family: 'ZenMaruGothic';
  src: url(./font/ZenMaruGothic-Medium.ttf) format('truetype');
}

@font-face {
  font-family: 'NotoSansJP';
  src: url(./font/NotoSansJP-Regular.ttf) format('truetype');
}

html {
  scroll-behavior: smooth; 
  scroll-padding-top: 60px;
}

body {
  /* 基本中央揃え */
  text-align: center;
  color: #444;
  margin: 0;
  font-family: 'NotoSansJP';
}

img {
  width: 100%;
  vertical-align: bottom;
}

a {
  text-decoration: none;
}

/* ヘッダー */
.header {
  width: 100%;
  z-index: 10000;
  position: fixed;
}

.header-scrolled {
  background-color: rgba(255,255,255,0.7);
}

.header-contents {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 70%;
  margin: 0 auto;
  height: 40px;
  padding: 15px 0;
}

.header-logo {
  width: 120px;
}

.header-navigation {
  display: flex;
  justify-content: space-around;
  align-items: center;
  width: 65%;
}

.header-navigation-item {
  cursor: pointer;
  font-size: 14px;
}

.header-navigation-item a:link,
.header-navigation-item a:visited,
.header-navigation-item a:active {
  color: #000;
}

.header-navigation-button-container a:link,
.header-navigation-button-container a:visited,
.header-navigation-button-container a:active {
  color: #fff;
}

.header-navigation-button {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #f36385;
  color: #fff;
  padding: 10px 30px;
  border-radius: 25px;
  cursor: pointer;
  font-size: 14px;
}

.header-navigation-button-text {
  margin-right: 3px;
}

.header-navigation-button img {
  height: 14px;
  width: auto;
}

/* トップビュー */
.topview-container {
  background:
    /* url(./images/background-topview.png), */
    linear-gradient(180deg, #f8e8e7, #fff);
  background-size: 100% auto;
  padding-top: 80px;
}

.topview-message-container {
  display: flex;
  justify-content: end;
  width: 80%;
  margin: 0 0 30px auto;
  text-align: start;
}

.topview-message-content {
  width: 33%;
}

.topview-gallery {
  width: 67%;
}

.topview-message {
  font-family: 'ZenMaruGothic';
  font-size: 24px;
  font-weight: bold;
  margin: 40px 0 30px;
}

.topview-text {
  font-size: 12px;
  margin-bottom: 20px;
}

.topview-aboutus-container {
  width: 1000px;
  margin: 0 auto;
  padding-top: 20px;
  display: flex;
  justify-content: center;
}

.topview-aboutus-media {
  width: 400px;
}

.topview-ehon-movie-container {
  margin: 0 auto 30px;
  width: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.topview-ehon-movie video {
  width: 100%;
}

.topview-aboutus-image-container {
  display: flex;
  align-items: end;
}

.topview-aboutus-content {
  background-color: #fff;
  padding: 40px 30px;
  margin-left: 10px;
  text-align: start;
}

.topview-aboutus-title {
  font-size: 12px;
  margin-bottom: 10px;
}

.topview-aboutus-message {
  font-family: 'ZenMaruGothic';
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
}

.topview-aboutus-text {
  font-size: 14px;
}

/* 企業のストーリー */
.story-container {
  padding: 50px 0;
  background-color: #ffffd3;
}

.story-text {
  font-family: 'ZenMaruGothic';
  font-size: 24px;
  margin-bottom: 30px;
}

.story-contents-list {
  display: flex;
  justify-content: center;
  width: 1000px;
  margin: 0 auto 30px;
}

.story-content {
  width: 300px;
}

.story-content-title {
  font-family: 'ZenMaruGothic';
  width: 240px;
  height: 160px;
  margin: 0 auto 10px;
  background-image: url(./images/background-book.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  padding-bottom: 5px;
}

.story-content-text {
  font-size: 14px;
}


/* 絵本だから得られる効果 */
.effect-container {
  padding: 30px 0 50px;
  background-color: #f8e8e7;
}

.effect-title {
  font-family: 'ZenMaruGothic';
  color: #fff;
  font-size: 24px;
  font-weight: bold;
  width: 400px;
  height: 100px;
  margin: 0 auto 10px;
  padding-bottom: 15px;
  text-align: center;
  background-image: url(./images/background-effect-title.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.effect-contents-container {
  width: 800px;
  margin: 0 auto 30px;
}

.effect-contents-list {
  display: flex;
  justify-content: space-around;
  margin: 0 auto;
}

.effect-content {
  background-color: #fff;
  padding: 30px 20px;
  margin: 20px;
  width: 360px;
  text-align: start;
  border-radius: 15px;
  position: relative;
}

.effect-content-text {
  font-family: 'ZenMaruGothic';
  color: #f77b0e;
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 20px;
}

.effect-content-message {
  font-size: 12px;
}

.effect-content-image {
  position: absolute;
  top: -10px;
  right: -30px;
  width: 200px;
}

.effect-service-text {
  font-family: 'ZenMaruGothic';
  color: #f77b0e;
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 30px;
}

.effect-service-list {
  display: flex;
  justify-content: space-around;
  width: 1000px;
  margin: 0 auto;
}

.effect-service-content {
  width: 280px;
  margin: 0 20px;
}

.effect-service-content-image {
  width: 80%;
  margin: 0 auto 20px;
}

.effect-service-content-title {
  font-weight: bold;
  margin-bottom: 10px;
}

.effect-service-content-text {
  text-align: start;
  font-size: 11px;
  padding: 0 0 0 50px;
}

/* 企業導入実績 */
.achivement-container {
  padding: 50px 0;
}

.achivement-title {
  font-family: 'ZenMaruGothic';
  font-size: 24px;
  margin-bottom: 30px;
}

/* スライダーアニメーション */
@keyframes horizontal-animation {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

.achivement-slider-container {
  display: flex;
  overflow: hidden;
  background-color: #ffffd3;
  padding: 50px 0;
}

.achivement-slider {
  display: flex;
  animation: horizontal-animation 30s linear infinite;
}

.achivement-slide {
  margin-right: 30px;
  padding: 20px;
  border-radius: 15px;
  width: 200px;
  background-color: #fff;
  box-shadow: 0px 5px 10px -2px #777777;
}

.achivement-slide-title {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 10px;
}

/* SDGsや国際問題の絵本も多数制作 */
.sdgs-container {
  padding: 50px 0;
  margin: 0 auto;
  width: 800px;
}

.sdgs-title {
  font-family: 'ZenMaruGothic';
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
}

.sdgs-text {
  font-size: 12px;
}

.sdgs-image {
  width: 80%;
  margin: 0 auto;
}

/* おもいでえほん */
.omoide-container {
  padding: 50px 0;
  background-color: #ffffd3;
}

.omoide-message {
  color: #f77b0e;
  font-size: 14px;
  font-weight: bold;
  border: solid 1px #f77b0e;
  width: 300px;
  margin: 0 auto;
  padding: 5px;
}

.omoide-title-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px 30px;
}

.omoide-title {
  font-family: 'ZenMaruGothic';
  font-size: 30px;
  font-weight: bold;
}

.omoide-title-image img {
  height: 40px;
  width: auto;
}

.omoide-text {
  font-size: 14px;
  margin-bottom: 20px;
}

.omoide-ehon {
  color: #f36385;
}

.omoide-company-container {
  display: flex;
  justify-content: center;
  font-size: 12px;
  width: 700px;
  margin: 0 auto 20px;
}

.omoide-company-head {
  color: #fff;
  background-color: #f36385;
  padding: 10px 15px;
  width: 160px;
}

.omoide-company-body {
  background-color: #fff;
  padding: 10px 15px;
  width: 540px;
}

.omoide-example-container {
  display: flex;
  justify-content: center;
  width: 700px;
  margin: 0 auto;
}

.omoide-example-text-container {
  width: 400px;
  text-align: start;
  font-size: 14px;
  margin-bottom: 40px;
}

.omoide-example-text {
  font-weight: bold;
}

.omoide-example-flow-content {
  display: flex;
  margin: 10px 0;
}

.omoide-example-flow-head {
  width: 40px;
  height: 40px;
  color: #fff;
  background-color: #f77b0e;
  border-radius: 50%;
  font-size: 16px;
  text-align: center;
  line-height: 1.0;
  margin-right: 10px;
}

.omoide-flow-step {
  font-size: 9px;
}

.omoide-flow-arrow {
  text-align: center;
  width: 80%;
}

.omoide-example-image {
  width: 300px;
  padding: 20px 0;
}

.omoide-example-image img {
  width: 80%;
}

.contact-text {
  font-family: 'ZenMaruGothic';
  color: #f77b0e;
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 30px;
}

.contact-button {
  font-family: 'ZenMaruGothic';
  background-color: #f77b0e;
  color: #fff;
  font-weight: bold;

  width: 400px;
  margin: 0 auto;
  padding: 10px;
  border-radius: 25px;
  margin-bottom: 50px;
}

.contact-button a:link,
.contact-button a:visited,
.contact-button a:active {
  color: #fff;
}

/* ご利用の流れ */
.flow-container {
  padding: 50px 0;
}

.flow-title {
  font-family: 'ZenMaruGothic';
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
}

.flow-text {
  font-size: 14px;
  margin-bottom: 40px;
}

.flow-content-list {
  display: flex;
  justify-content: space-evenly;
  width: 1000px;
  margin: 0 auto;
}

.flow-content {
  width: 200px;
}

.flow-content-title {
  font-family: 'ZenMaruGothic';
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 10px;
}

.flow-content-image {
  width: 60%;
  margin: 0 auto 20px;
}

.flow-content-text {
  text-align: start;
  font-size: 12px;
  margin-bottom: 20px;
  padding-left: 40px;
}

.flow-button {
  font-size: 12px;
  font-weight: bold;
  color: #fff;
  background-color: #f36385;
  width: 120px;
  margin: 0 auto;
  padding: 5px;
  border-radius: 20px;
  cursor: pointer;
}

.flow-button a:link,
.flow-button a:visited,
.flow-button a:active {
  color: #fff;
}

.flow-arrow {
  width: 50px;
  font-size: 24px;
  padding: 80px 0;
  color: #ccc;
}

/* よくあるご質問 */
.faq-container {
  padding: 50px 0;
  background-color: #f8e8e7; 
}

.faq-title {
  font-family: 'ZenMaruGothic';
  color: #f36385;
  font-size: 20px;
}

.faq-subtitle {
  color: #f36385;
  font-size: 12px;
}

.faq-content {
  width: 800px;
  margin: 30px auto;
  border: solid 1px #f36385;
  text-align: start;
  font-size: 14px;
}

.faq-question {
  padding: 10px;
  color: #fff;
  font-weight: bold;
  background-color: #f36385;
}

.faq-answer {
  padding: 10px;
  background-color: #fff;
}

/* フッター */
.footer {
  padding: 50px 0;
}

.footer-logo {
  width: 50%;
  margin: 0 auto;
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.footer-logo-image {
  width: 25%;
}

.footer-logo-image img {
  width: 60%;
}

.footer-copyright {
  font-size: 10px;
}

/* SP対応（400px以下） */
@media screen and (max-width: 400px) {

  html {
    scroll-padding-top: 40px;
  }
  

  /* ヘッダー */
  .header-contents {
    width: 90%;
    height: 20px;
  }

  .header-logo {
    width: 60px;
  }

  .header-navigation {
    font-size: 8px;
    width: 80%;
  }

  .header-navigation-button {
    padding: 2px 6px;
    border-radius: 5px;
  }

  .header-navigation-button img {
    height: 5px;
  }

  /* トップビュー */
  .topview-container {
    padding-top: 60px;
  }

  .topview-message-container {
    width: 90%;
    margin: 0 0 10px auto;
  }

  .topview-message {
    font-size: 8px;
    margin: 5px 0;
  }

  .topview-text {
    font-size: 4px;
    margin-bottom: 5px;
  }

  .topview-aboutus-container {
    width: 300px;
    padding-top: 5px;
  }

  .topview-aboutus-media {
    width: 100px;
  }

  .topview-ehon-movie-container {
    width: 100px;
  }

  .topview-aboutus-content {
    width: 180px;
    padding: 20px 10px;
  }

  .topview-aboutus-title {
    font-size: 6px;
    margin-bottom: 3px;
  }

  .topview-aboutus-message {
    font-size: 10px;
  }

  .topview-aboutus-text {
    font-size: 6px;
    margin-bottom: 5px;
  }

  /* 企業のストーリー */
  .story-text {
    font-size: 12px;
    margin-bottom: 20px;
  }

  .story-contents-list {
    width: 300px;
  }

  .story-content {
    width: 90px;
  }

  .story-content-title {
    width: 81px;
    height: 54px;
    font-size: 10px;
  }

  .story-content-text {
    font-size: 5px;
  }

  .effect-title {
    width: 150px;
  }

  /* 絵本だから得られる効果 */
  .effect-title {
    width: 300px;
    font-size: 16px;
  }

  .effect-contents-container {
    width: 350px;
  }

  .effect-content {
    width: 150px;
  }

  .effect-content-text {
    font-size: 10px;
    margin-bottom: 10px;
  }

  .effect-content-message {
    font-size: 6px;
  }

  .effect-content-image {
    width: 60px;
    top: -5px;
    right: -20px;
  }

  .effect-service-text {
    font-size: 12px;
  }

  .effect-service-list {
    width: 350px;
  }

  .effect-service-content {
    width: 110px;
  }

  .effect-service-content-title {
    font-size: 6px;
  }

  .effect-service-content-text {
    font-size: 4px;
    padding: 0;
  }

  /* 企業導入実績 */
  .achivement-title {
    font-size: 12px;
  }

  .achivement-slide {
    width: 100px;
    padding: 10px 20px;
  }

  .achivement-slide-title {
    font-size: 10px;
  }

  /* SDGsや国際問題の絵本も多数制作 */
  .sdgs-container {
    width: 300px;
  }

  .sdgs-title {
    font-size: 12px;
  }

  .sdgs-text {
    font-size: 8px;
  }

  /* おもいでえほん */
  .omoide-text {
    font-size: 8px;
  }

  .omoide-company-container {
    width: 300px;
    font-size: 8px;
  }

  .omoide-example-container {
    width: 300px;
  }

  .omoide-example-text-container {
    width: 150px;
    font-size: 8px;
  }

  .omoide-example-flow-head {
    width: 15px;
    height: 15px;
    font-size: 6px;
    margin-right: 4px;
  }

  .omoide-flow-step {
    font-size: 4px;
  }

  .omoide-example-flow-text {
    font-size: 6px;
  }

  .omoide-example-image {
    width: 120px;
  }

  .omoide-example-image img {
    width: 100%;
  }

  .contact-text {
    font-size: 15px;
    margin-bottom: 10px;
  }

  .contact-button {
    width: 300px;
  }

  /* ご利用の流れ */
  .flow-title {
    font-size: 15px;
  }

  .flow-text {
    font-size: 8px;
  }

  .flow-content-list {
    width: 350px;
  }

  .flow-content {
    width: 80px;
  }

  .flow-content-title {
    font-size: 8px;
  }

  .flow-content-text {
    font-size: 6px;
    padding-left: 0px;
    margin-bottom: 5px;
  }

  .flow-button {
    font-size: 8px;
    width: 60px;
    padding: 3px;
  }

  .flow-arrow {
    width: 10px;
    font-size: 6px;
  }

  /* よくあるご質問 */
  .faq-title {
    font-size: 12px;
  }

  .faq-subtitle {
    font-size: 8px;
  }

  .faq-content {
    width: 300px;
    margin: 10px auto;
    font-size: 8px;
  }

  /* フッター */
  .footer-logo {
    width: 80%;
  }
}