@charset "utf-8";

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

ul,
ol {
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

body {
  font-family: 'Noto Serif JP', serif;
  /*後で*/
  font-size: 16px;
  color: #3c3228;
  background-color: #fff;
}

img {
  max-width: 100%;
}

.header {
  position: sticky;
  top: 0;
  left: 0;
  background-color: #fff;
  z-index: 10;
}

.header-inner {
  max-width: 85%;
  width: 1000px;
  height: 120px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  flex-direction: row-reverse;
}

.box-1 {
  padding: 0.5em 1em;
  margin: 2em 0 2em 2em;
  color: #fff;
  background-color: #ae6e71;
  border-top: solid 3px #8b6b4e;
  border-bottom: solid 3px #8b6b4e;
}

.box-1:hover {
  background-color: #8b6b4e;
}

.box-1 p {
  margin: 0;
  padding: 0;
}

.header-inner ul {
  display: flex;
  justify-content: center;
}

.header-inner li {
  margin-top: 70px;
  margin-left: 15px;
  margin-right: 15px;
}
.header-inner ul li:hover {
  color: #8b6b4e;
}

.first-view {
  height: calc(100vh - 120px);
  background-image: url(../images/first-view.jpg);
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
  display: flex;
  align-items: center;
}

.first-view-text {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  color: #fff;
  font-weight: bold;
  text-shadow: 2px 2px 10px #4b2c14;
}

.first-view-text h1 {
  font-size: 60px;
}

.h1small {
  font-size: 30px;
}

.first-view-text p {
  font-size: 30px;
}

.lead {
  max-width: 1200px;
  margin: 60px auto;
}

.lead p {
  text-align: center;
  line-height: 2;
}

/*悩み*/
.problem {
  /* max-width: 1200px; */
  margin: 30px auto 20px auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #fff6ed;
  padding-top: 45px;
  padding-bottom: 45px;
}

.problem h2 {
  font-size: 30px;
  margin-bottom: 20px;
}

.response {
  display: none;
}

.problem ul {
  align-items: center;
}

.problem li {
  position: relative;
  padding-left: 15px;
}

.problem li::before {
  content: "";
  position: absolute;
  top: .1em;
  left: 0;
  -webkit-transform: rotate(50deg);
  -ms-transform: rotate(50deg);
  transform: rotate(50deg);
  width: 7px;
  height: 15px;
  border-right: 3px solid #8b6b4e;
  border-bottom: 3px solid #8b6b4e;
}

.problem p {
  font-weight: bold;
  font-size: 20px;
  margin-top: 20px;
  text-align: center;
}

/*講座の内容*/
.contents-main {
  padding-top: 120px;
  margin-top: -120px;
}

.contents {
  width: 1000px;
  max-width: 85%;
  display: flex;
  justify-content: space-between;
  margin: 75px auto 45px auto;
  align-items: flex-start;
}

.contents img {
  width: 360px;
}

.contents-text {
  max-width: 550px;
}

.reverse {
  flex-direction: row-reverse;
}

.contents-text h3 {
  font-size: 26px;
  margin-bottom: 20px;
}

.contents-text p {
  line-height: 28px;
  text-indent: 1em;
}

.contents-text ul {
  list-style: disc;
  margin-left: 25px;
  line-height: 28px;
}

.link-button-area {
  text-align: center;
  margin-top: 20px;
  margin-bottom: 10px;
}
.link-button-area .last {
  margin-bottom: 45px;
}

.link-button {
  background-color: #ccb8a3;
  display: inline-block;
  min-width: 120px;
  line-height: 40px;
  border-radius: 15px;
  color: #fff;
  font-weight: bold;
}

.link-button:hover {
  background-color: #8b6b4e;
}

.title-border {
  font-size: 30px;
  font-weight: bold;
  display: flex;
  align-items: center;
  margin-top: 100px;
}

.title-border:before,
.title-border:after {
  content: "";
  height: 2px;
  flex-grow: 1;
  background-color: #ccb8a3;
}

.title-border:before {
  margin-right: 2rem;
}

.title-border:after {
  margin-left: 2rem;
}

/*講師紹介*/
.aboutme-contain {
  padding-top: 120px;
  margin-top: -120px;
}

.aboutme {
  width: 1000px;
  max-width: 85%;
  display: flex;
  justify-content: space-between;
  margin-left: auto;
  margin-right: auto;
  margin-top: 50px;
  align-items: flex-start;
}

.aboutme img {
  height: 230px;
  margin-left: 200px;
}

.description {
  max-width: 550px;
}

.description .title {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 15px;
}

.aboutme ul {
  list-style: disc;
  margin-left: 1em;
}

/*講座の詳細*/
.detail {
  padding-top: 120px;
  margin-top: -120px;
}

.table-detail {
  margin: 50px auto 0 auto;
  border-collapse: collapse;
  width: 100%;
  max-width: 700px;
}

.table-detail th,
.table-detail td {
  border-bottom: 2px solid #c1c7c6;
  padding: 1em;
}

.table-detail th {
  border-bottom: 2px solid #8b6b4e;
  ;
  font-weight: bold;
  text-align: center;
  width: 25%;
  min-width: 4em;
}

/*お問い合わせ*/
.contact {
  padding-top: 120px;
  margin-top: -120px;
}

/*
.contact-description {
  text-align: center;
  margin-top: 40px;
}

.Form {
  margin-top: 80px;
  margin-left: auto;
  margin-right: auto;
  max-width: 720px;
}

@media screen and (max-width: 480px) {
  .Form {
    margin-top: 40px;
  }
}

.Form-Item {
  border-top: 1px solid #ddd;
  padding-top: 24px;
  padding-bottom: 24px;
  width: 100%;
  display: flex;
  align-items: center;
}

@media screen and (max-width: 480px) {
  .Form-Item {
    padding-left: 14px;
    padding-right: 14px;
    padding-top: 16px;
    padding-bottom: 16px;
    flex-wrap: wrap;
  }
}

.Form-Item:nth-child(5) {
  border-bottom: 1px solid #ddd;
}

.Form-Item-Label {
  width: 100%;
  max-width: 248px;
  letter-spacing: 0.05em;
  font-weight: bold;
  font-size: 18px;
}

@media screen and (max-width: 480px) {
  .Form-Item-Label {
    max-width: inherit;
    display: flex;
    align-items: center;
    font-size: 15px;
  }
}

.Form-Item-Label.isMsg {
  margin-top: 8px;
  margin-bottom: auto;
}

@media screen and (max-width: 480px) {
  .Form-Item-Label.isMsg {
    margin-top: 0;
  }
}

.Form-Item-Label-Required {
  border-radius: 6px;
  margin-right: 8px;
  padding-top: 8px;
  padding-bottom: 8px;
  width: 48px;
  display: inline-block;
  text-align: center;
  background: #ccb8a3;
  color: #fff;
  font-size: 14px;
}

@media screen and (max-width: 480px) {
  .Form-Item-Label-Required {
    border-radius: 4px;
    padding-top: 4px;
    padding-bottom: 4px;
    width: 32px;
    font-size: 10px;
  }
}

.Form-Item-Input {
  border: 1px solid #ddd;
  border-radius: 6px;
  margin-left: 40px;
  padding-left: 1em;
  padding-right: 1em;
  height: 48px;
  flex: 1;
  width: 100%;
  max-width: 410px;
  background: #eaedf2;
  font-size: 18px;
}

@media screen and (max-width: 480px) {
  .Form-Item-Input {
    margin-left: 0;
    margin-top: 18px;
    height: 40px;
    flex: inherit;
    font-size: 15px;
  }
}

.Form-Item-Textarea {
  border: 1px solid #ddd;
  border-radius: 6px;
  margin-left: 40px;
  padding-left: 1em;
  padding-right: 1em;
  height: 216px;
  flex: 1;
  width: 100%;
  max-width: 410px;
  background: #eaedf2;
  font-size: 18px;
}

@media screen and (max-width: 480px) {
  .Form-Item-Textarea {
    margin-top: 18px;
    margin-left: 0;
    height: 200px;
    flex: inherit;
    font-size: 15px;
  }
}

.Form-Btn {
  border-radius: 6px;
  margin-top: 32px;
  margin-bottom: 15px;
  margin-left: auto;
  margin-right: auto;
  padding-top: 20px;
  padding-bottom: 20px;
  width: 280px;
  display: block;
  letter-spacing: 0.05em;
  background: #ccb8a3;
  color: #fff;
  font-weight: bold;
  font-size: 20px;
}

@media screen and (max-width: 480px) {
  .Form-Btn {
    margin-top: 24px;
    padding-top: 8px;
    padding-bottom: 8px;
    width: 160px;
    font-size: 16px;
  }
}
.Form p:last-child {
  text-align: center;
  margin-bottom: 30px;
}
*/

.privacy-policy {
  max-width: 720px;
  height: 270px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 30px;
  padding: 2em;
  border: 2px solid #111;
  overflow-y: scroll;
}
.footer {
  color: #fff;
  background-color: #ccb8a3;
  padding: 30px 0 30px 0;
  text-align: center;
}

@media screen and (max-width: 900px) {
  .header-inner {
    width: 320px;
    max-width: 90%;
  }

  .box-1 {
    margin: 8px 0 0 0;
  }
  .header-inner ul {
    margin-left: auto;
    margin-right: auto;
  }

  .header-inner li {
    margin-top: 0;
    margin-left: 10px;
    margin-right: 10px;  
    font-size: 12px;
    font-weight: bold;
  }

  .first-view {
    height: 300px;
  }

  .first-view-text {
    margin-left: 10px;
    margin-top: 70px;
  }

  .first-view-text h1 {
    font-size: 30px;
  }

.h1small {
    font-size: 15px;
  }

  .first-view-text p {
    font-size: 15px;
  }
  .lead {
    max-width: 85%;
  }
  .response {
    display: block;
  }
  .problem ul {
    max-width: 85%;
  }

  .title-border {
    margin-top: 50px;
    font-size: 25px;
  }
  .contents {
    display: block;
    margin-left: auto;
    margin-right: auto;
  }
  .contents-text h3 {
    font-size: 22px;
  }
  
  .contents img {
    width: 100%;
    margin-top: 10px;
  }
  .aboutme {
    display: block;
    width: 600px;
  }
  
  .aboutme img {
    height: 350px;
    margin-left: 35px;
    margin-bottom: 10px;
  }
  
  .description {
    max-width: 900px;
  }
  
  .description .title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
  }
  
  .aboutme ul {
    list-style: disc;
    margin-left: 1em;
  }
  .contact-description {
    margin-left: 10px;
    margin-right: 10px;
  }
  .Form {
    margin-left: 10px;
    margin-right: 10px;
  }
  .privacy-policy {
    max-width: 90%;
    height: 200px;
  }

}