@media screen and (max-width:480px) {
  /*　画面サイズが480px以下の場合ここの記述が適用される スマホ用　*/
   body{
      width:300%;
     } 
     #nav{
      width:100%;
     }
     .main-image{
     position: sticky;
     }
     .main-image{
      text-align:center;
      width: 650px;
      height: 150px;
      margin: auto;
      scale: 170%;
      padding-top: 30px;
     }
     .hh{
      font-size: 50pt;
      padding-top: 0px;
     }
     .h6box{
      padding-bottom: 70px;
     }
     .h6tx{
      font-size: 360%;
      line-height: 0.9em;
     }
     ul.blogList li{
     width: 48%; /* サービスリストの２分割の指定*/
     }
     ul.blogList li time {
     font-size: 4em;　/* サービスリストの項目のフォントサイズ指定*/
     }
     .tv_programmes_bg{
     height: 400px; 
     }
     .tv_programmes_parents{
     position: relative;
     padding-top: 100px;
     }
     .tv_programmes{
     scale: 200%;
     }
     .FUN{
     padding: 10px;
     margin-bottom: 10px;
     border: 0px solid #b0e0e6;
     background-color: #48d1cc;
     text-align:center;
     font-size: 3.5em;
     }
   }
body {
    margin:0px;
    padding:0px;
    background-color: #f5f5f5;
}
.mainbox{
  max-width: 99%;
  padding-left: 2%;
  padding-right: 2%;
}
h1{
  color:#696969;
  font-family: "Noto Serif JP", serif;
  font-size: 30pt;
  text-align: center;
}
.hh{
  padding-top: 10px;
}
.main-image img{
  width: 100%;
  height: 100px;
  object-fit: cover;
}
img {
   width: 100%;  /* 横幅に合わせて自動で拡大縮小する */
   height: 400px;
   object-fit: cover;　/* 横幅に合わせて自動で拡大縮小する */
}
.h6box{
  width: 98%;
  height: 100px;
  position: relative;
}
h6{
  padding-bottom:10px;
  width: 100%;
  position: absolute;
  text-align: center;
  color:#696969;
  font-family: 'Alegreya Sans SC', sans-serif;
  font-size: 26pt;
  font-weight: normal;
}
.slider_parent{
  position: relative;
  width: 500;
  height: 300;
}
.slider_parent{
  text-align: center;
}
.slider_parent_text{
  position: absolute;
  z-index: 2;
  top: 35%;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  font-family: 'Alegreya Sans SC', sans-serif;
  font-weight: bolder;
  font-size: 26pt !important;
  color: white;
  -webkit-text-stroke: px #B45F04;
  text-shadow: 0 0 5px #FFBF00    ;
}
.service {
  background-color:#faebd7;
  height: 400px; 
}
               @media screen and (max-width:480px) {
               .service{
                height: 200%;
                }
               }
.service_p {
  padding-top: 15px;
  font-family: 'Alegreya Sans SC', sans-serif;
  text-align: center;
  font-size: 30pt;
  font-weight: bolder;
  color: #a0522d;
}

*{
  margin: 0;
  padding: 0;
  font-size: inherit;
  line-height: inherit;
  font-family: 'Alegreya Sans SC', sans-serif;
}

.container{
  width: 100%;
  max-width: 1200px;
  margin: 0px auto;
}
.blogList {
    display: flex;
    flex-wrap: wrap;
    gap: 60px 1.4%;
}
.blogList li {
    width: 23.95%;
}
.blogList li figure {
    position: relative; 
    overflow: hidden;
    padding-top: 56.25%;
}
.blogList li figure img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.blogList li time {
    font-size: 30px;
    letter-spacing: 0.075em;
    text-align: center;
    color: #a0522d;
}
.blogList li h2 {
    font-size: 3px;
    letter-spacing: 0.075em;
}
.blogList{
  text-align: center;
}
.service_h{
  padding-top: 30px;
  font-family: 'Alegreya Sans SC', sans-serif;
  text-align: center;
  font-size: 20pt;
  font-weight: bolder;
  color: #696969;
}
        @media screen and (max-width:480px) {
         .service_p{
          font-size: 5em;
        }
         .service_h{
          font-size: 2.5em;
         .JPsmall{
          font-size: 0.7em;
        }
      }
}
.JPsmall{
  font-size: 14pt;
}
.bigexclamation{
  font-size: 20pt;
}

.creations{
  background-color:#faebd7;
  height: 400px; 
  margin-top: 2%;
}

.creations_p {
  padding-top: 15px;
  font-family: 'Alegreya Sans SC', sans-serif;
  text-align: center;
  font-size: 30pt;
  font-weight: bolder;
  color: #a0522d;
}

ol, ul {
    list-style: none;
}
a {
  color: #000;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
.container2{
  width: 100%;
  max-width: 1200px;
  margin: 0px auto;
}
.blogList2 {
    display: flex;
    flex-wrap: wrap;
    gap: 60px 1.4%;
}
.blogList2 li {
    width: 23.95%;
}
.blogList2 li figure {
    position: relative;
    overflow: hidden;
    padding-top: 56.25%;
    border: solid 3px #f5f5f5;
    box-shadow: 0 0 5px 0 #a9a9a9;
}
.blogList2 li figure img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blogList2 li time {
    font-size: 30px;
    letter-spacing: 0.075em;
    text-align: center;
    color: #a0522d;
}
      @media screen and (max-width:480px) {
        .creations_p{
          font-size: 5em;
        }
        .creations{
          height: 65em;
        }
        .blogList2 li {
          width: 48%;
        }
        .blogList2 li time{
          font-size: 4em;
        }
      }

.blogList2{
  text-align: center;
}
.title{
  text-align: center;
  font-family: 'Alegreya Sans SC', sans-serif;
  font-size: 20px;
  font-weight: bold;
  color: #696969;
  line-height: 24px;
}
       @media screen and (max-width:480px) {
        .title{
         font-size: 3.0em;
         line-height: 100%;
        }
        .bigexclamation{
          font-size: 1.3em;
        }
       }

html { scroll-behavior: smooth;}　/*ページ内リンク先にスクロール*/

.parent {
  width: 100%;
  display: flex;
  flex-direction: ;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.parent > div::before {
  padding-top: 0%;
  content: "";
  display: block;
}

.parent > div {
  border: solid 3px #f5f5f5;
  box-shadow: 0 0 5px 0 #a9a9a9;
  width: 23%;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin:  0.5%;
}

h2{
  font-family: 'Alegreya Sans SC', sans-serif;
  font-weight: Bold;
  font-size: 26pt;
  color: #ffffff;
}
      @media screen and (max-width:480px) {
        h2{
          font-size: 3.5em;
        }
      }

.tv_programmes_bg{
  width: 100%;
  margin: 0 auto;
}
.tv_programmes_parents{
  text-align: center;
}
.tv_programmes {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: ;
  font-style: normal;
  text-align: left;
  display: inline-block;
} 

.tv_programmes li {
  width: 100%; /* 横幅に合わせて自動で拡大縮小する */
  height: 50px;
  line-height: 50px;
}

.tv_programmes li a {
  text-decoration: none;
  color: #696969;
  font-size: 17pt;
  font-weight: ;
}

h3{
  font-family: 'Alegreya Sans SC', sans-serif;
  font-weight: Bold;
  font-size: 26pt;
  color: #ffffff;
}
      @media screen and (max-width:480px) {
        h3{
          font-size: 3.5em;
        }
      }
.youtube {
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.youtube > div::before {
  padding-top: 50%;
  content: "";
  display: block;
}

.youtube > div {
  border: solid 2px #f5f5f5;
  box-shadow: 0 0 5px 0 #a9a9a9;
  width: 480px;
  height: auto;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin:  0.5%;
}

h4{
  font-family: 'Alegreya Sans SC', sans-serif;
  font-weight:Light ;
  font-size: 26pt;
  color: #ffffff;
}
.FUN{
  padding: 10px; 
  margin-bottom: 10px; 
  border: 0px solid #b0e0e6; 
  background-color: #a0522d; 
  text-align:center;
}

.parent {
  width: 100%;
  display: flex;
  flex-direction: ;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.parent > div::before {
  padding-top: 0%;
  content: "";
  display: block;
}
.parent > div {
  border: solid 3px #f5f5f5;
  box-shadow: 0 0 5px 0 #a9a9a9;
  width: 23%;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin:  0.5%;
}
.video_titles {
 text-align: center;
}
.sample01 {
  width: 100%;
  display: flex;
  flex-direction: ;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}
.sample01 > div::before {
  padding-top: 0%;
  content: "";
  display: block;
}

.video_titles > div {
  border: solid 3px #f5f5f5;
  box-shadow: 0 0 5px 0 #a9a9a9;
  width: 97%;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin: 2%;
}
	
.sample01 a {
  color:#a0522d;
  font-family: 'Alegreya Sans SC', sans-serif;
  font-size: 15pt;
  font-weight: ;
}
video {
  width: 100%;/* はみ出ないように */
  max-width: 490px
}
.Inquiry{
  margin-top: 2%;
  padding-top: 1%;
  background-color:#D8D8D8;
  height: 450px;
  font-weight: bold;
  font-size: 25px;
}
/* レイアウト */
form {
  width: 80%;
  margin: 0 auto;
}
.form-row {
  display: flex;
  align-items: center;
  padding: 10px;
  border-bottom: 1px solid #f2f4f5;
}
.form-row:last-child {
  border-bottom: none;
  justify-content: center;
}
.form-label {
  display: flex;
  align-items: center;
  width: 250px;
}
.form-label label {
  font-weight: bold;
}
.form-label span {
  margin-left: 10px;
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 12px;
  font-weight: bold;
  color: #fff;
  background-color: #FFBF00;
}

/* フォームパーツのデザイン */
input, textarea {
  background-color: #f2f4f5;
  border: none;
  border-radius: 3px;
  padding: 15px 20px;
  font-size: 16px;
  color: #333;
  flex-grow: 1;
}
input::placeholder,
textarea::placeholder {
  color: #999;
  font-size: 14px;
}
select {
  background-color: #f2f4f5;
  border: none;
  border-radius: 3px;
  padding: 15px 20px;
  font-size: 16px;
  color: #333;
}
button {
  cursor: pointer;
  margin-top: 5px;
  padding: 15px 45px;
  border: none;
  border-radius: 3px;
  color: #fff;
  font-weight: bold;
  background-color: #FFBF00;
}
.formsecurity{
  text-align: center;
  font-size: 0.8em;
}
.Who{
  background-color:#f5fffa;
  height: 400px;
  margin-top: 2%;
}
.Who_title {
  padding-top: 15px;
  font-family: 'Alegreya Sans SC', sans-serif;
  text-align: center;
  font-size: 30pt;
  font-weight: bolder;
  color: #a0522d;
}
.Who_container{
  padding-top: 2%;
  display:flex;
  gap:0 43px;
  width:1000px;
  margin:0 auto;
}
.Who_item{
  width: 33.3%;
}
.Who_item > img {
  width: 70%;
  height: 70%;
  object-fit: contain;
}
.Who_item{
  color:#696969;
  font-family: 'Alegreya Sans SC', sans-serif;
  font-size:25px;
  text-align: center;
}
.Who_item span {
  font-size: 20px;
}

