@charset "utf-8";

.title {
  width: 1200px;
  max-width: 90%;
  height: 300px;
  margin: 0 auto;
  align-items: center;
  text-align: center;
  color: #ffffff;
  background-color: #dad8d0;
  background-image: url(../sozai/intro_cut.png);
  background-repeat: no-repeat;
  background-position: center center;
  font-family: "Zen Maru Gothic", serif;
  border: solid 1px #251F1C;
  /* 内側の線になる一本線の枠線をひく*/
  outline: solid 5px #251F1C;
  /* 外側の線になる5pxの一本線の枠線をひく*/
  outline-offset: 1px;
  /* 内側の線になる一本線の枠線をひく*/
}

.title h1 {
  font-size: 26px;
  padding-top: 20px;
}

.title p {
  margin-top: 20px;
  line-height: 32px;
}

.intro {
  margin-top: 30px;
  text-align: center;
  font-size: 16px;
  line-height: 26px;
}

.attention {
  margin-top: 20px;
  font-size: 13px;
  line-height: 15px;
  color: #da6a29;
}

.aisatu {  
  margin-top: 20px;
  text-align: center;
  font-size: 14px;
  line-height: 26px;

}

.aisatu span {
  position: relative;
  font-weight: bold;
}

.aisatu span::after {
  content: '';
  background-size: 8px 8px;
  background-color: #e1eef5;
  background-image: repeating-linear-gradient(-45deg, #da6a29 0, #da6a29 3px, #fff 0, #fff 50%);
  width: 100%;
  height: 3px;
  position: absolute;
  bottom: -5px;
  left: 0;
}

.first-area {
  width: 800px;
  max-width: 85%;
  margin: 0 auto;
  margin-top: 50px;
  display: flex;
  align-items: flex-start;
}

.first-area h2 {
  font-family: "Zen Maru Gothic", serif;
  font-size: 20px;
  margin-left: 10px;
}

.first-area p {
  margin-top: 12px;
  margin-left: 10px;
  font-size: 16px;
  line-height: 26px;
}

.element-menu {
  width: 550px;
  margin: 0 auto;
  margin-top: 40px;
  margin-bottom: 40px;
  display: flex;
  justify-content: space-between;
}

.element-menu h4 {
  font-size: 18px;
  letter-spacing: 3px;
  font-family: "Zen Maru Gothic", serif;
}

h4 {
  padding: 20px;
  padding-left: 40px;
  padding-right: 40px;
  background-color: #da6a29;
  color: #fff;
  border-radius: 20px;
}


.element-title {
  width: 600px;
  margin: 0 auto;
  margin-top: 80px;
  text-align: center;
}

.element-title h2 {
  font-family: "Zen Maru Gothic", serif;
  font-size: 24px;
}


.story {
  width: 900px;
  max-width: 85%;
  margin: 0 auto;
  margin-top: 20px;
  padding: 40px;
  border-radius: 20px;
  background-image: url(../sozai/intro_story01.jpg);
  background-repeat: no-repeat;
  background-position: top;
  background-color: #dad8d0;
}

.sono2 {
  background-image: url(../sozai/intro_story02.jpg);
  background-repeat: no-repeat;
  background-position: top;

}

.story h2 {
  font-family: "Zen Maru Gothic", serif;
  margin-top: 80px;
  font-size: 24px;
}

.story span {
  font-size: 14px;
  margin-left: 30px;
}

.story p {
  margin-top: 20px;
  margin-left: 40px;
  margin-right: 40px;
  line-height: 22px;
}

details>summary {
  font-family: "Zen Maru Gothic", serif;
  margin-top: 90px;
  font-size: 24px;
  font-weight: bold;
}


.hr {
  border-width: 1px 0 0 0;
  border-style: dashed;
  border-color: #fff;
  margin-top: 25px;
  width: 65%;
}

.ps {
  font-size: 14px;
}


.class-title {
  width: 700px;
  margin: 0 auto;
  margin-top: 20px;
}

h3 {
  font-family: "Zen Maru Gothic", serif;
  font-size: 26px;
  position: relative;
  overflow: hidden;
  padding: 6px 10px 10px 110px;
  word-break: break-all;
  border-top: 3px solid #251F1C;
  border-radius: 12px 0 0 0;
}

h3 span {
  font-size: 22px;
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  padding: 3px 20px 10px;
  color: #fff;
  border-radius: 10px 0 20px 10px;
  background: #000;
}


.class-lead {
  display: flex;
  width: 700px;
  margin: 0 auto;
  ;
  margin-bottom: 60px;
  align-items: center;
  flex-direction: column;

}

.class-01{
  font-size: 20px;
  margin-top: 10px;
  margin-bottom: 16px; 
}


.class-01::first-letter {
  color: #da6a29;
  font-weight: bold;
}

.class-01::after{
  content: '';
  display: block;
  width: 220px;
  height: 3px;
  background-color: #dad8d0;
  margin-top: 10px;
  margin-left: auto;
  margin-right: auto;
}

.class-lead p {
  width: 600px;
  text-align: left;
  line-height: 24px;
  margin-left: 30px;
}


.word {
  width: 600px;
  margin: 0 auto;
  margin-bottom: 30px;
  padding: 20px;
  display: flex;
  justify-content: center;
  line-height: 30px;
}


.word-menu {
  text-align: right;
}

.word-text {
  padding-left: 20px;
  text-align: left;
}

/* スマホ用 */
@media (max-width: 800px) {

  .title {
    width: 100%;
    max-width: 100%;
    height: 450px;
    margin: 0 auto;
    align-items: center;
    text-align: center;
    color: #ffffff;
    background-color: #fffcf7;
    background-image: url(../sozai/intro_cut.png);
    background-repeat: no-repeat;
    background-position: center center;
    border: none;
    outline: none;
  }

  .title h1 {
    font-size: 18px;
    padding-top: 50px;
  }

  .title p {
    font-size: 15px;
    margin-top: 30px;
    line-height: 32px;
  }

  .intro {
    margin-top: 5px;
    font-size: 12px;
    line-height: 16px;
  }

  
  .attention {
    margin-top: 20px;
    font-size: 10px;
    line-height: 13px;
  }


  .aisatu {  
    margin-top: 20px;
    padding-left: 40px;
    padding-right: 40px;
    text-align: left;
    font-size: 10px;
    line-height: 15px;
  }

  
.aisatu span {
  font-weight: bold;
}



  h2:before {
    right: 0;
    bottom: 0;
    width: 50px;
    height: 50px;
    border-right: 2px solid #000;
    border-bottom: 2px solid #000;
  }

  .first-area {
    width: 300px;
    max-width: 85%;
    margin-top: 50px;
    display: block;
  }

  .first-area h2 {
    font-size: 16px;
    margin-left: 10px;
  }

  .first-area p {
    margin-top: 12px;
    margin-left: 10px;
    font-size: 12px;
    line-height: 20px;
  }

  .element-menu {
    width: 300px;
    margin-top: 40px;
    margin-bottom: 40px;
    display: block;
  }

  .element-menu h4 {
    font-size: 14px;
    letter-spacing: 3px;
    font-family: "Zen Maru Gothic", serif;
    text-align: center;
  }

  h4 {
    padding: 20px;
    padding-left: 40px;
    padding-right: 40px;
    margin-bottom: 10px;
    background-color: #da6a29;
    color: #fff;
    border-radius: 20px;
  }


  .element-title {
    width: 200px;
    margin: 0 auto;
    margin-top: 40px;
    text-align: center;
  }


  .element-title h2 {
    font-family: "Zen Maru Gothic", serif;
    font-size: 20px;
  }

  .story {
    width: 320px;
    margin: 0 auto;
    margin-top: 20px;
    padding: 10px;
    border-radius: 20px;
    background-image: url(../sozai/intro_story01.jpg);
    background-repeat: no-repeat;
    background-position: top;
    background-color: #e6ddcb;
  }

  .sono2 {
    background-image: url(../sozai/intro_story02.jpg);
    background-repeat: no-repeat;
    background-position: left top;
    margin-bottom: 80px;

  }

  .story h2 {
    margin-top: 100px;
    font-size: 16px;
    flex-direction: column;
    
  }

  .story span {
    font-size: 10px;
  }

  .story p {
    margin-top: 20px;
    margin-left: 20px;
    margin-right: 20px;
    line-height: 18px;
    font-size: 12px;
  }

  details>summary {
    margin-top: 100px;
    font-size: 16px;
  }


  .ps {
    font-size: 8px;
  }


  .class-title {
    width: 95%;
    margin: 0 auto;
    margin-top: 20px;
  }

  h3 {
    padding: 6px 10px 10px 90px;
    border-top: 3px solid #251F1C;
  }

  h3 span {
    font-size: 16px;
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    padding: 3px 20px;
    color: #fff;
    background: #000;
  }


  .class-01{
    font-size: 14px;
    margin-top: 10px;
    margin-bottom: 5px; 
  }

  .class-lead {
    width: 340px;

  }

  .class-lead img{
    width: 260px;
  }


  .class-lead p {
    width: 300px;
    text-align: left;
    line-height: 20px;
    margin-top: 10px;
    margin-left: 10px;
    font-size: 12px;

  }

  .word {
    width: 320px;
    line-height: 24px;
    font-size: 12px;
    margin-bottom: 0px;
  }

  .word-text {
    padding-left: 10px;
  }

}