/*----reset----*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  list-style: none;
  text-decoration: none;
}

body {
  background-color: #f2f2f2;
  line-height: 150%;
  letter-spacing: 5px;
  width: 80%;
  margin: 0 auto;
  font-family: sans-serif;
}



/*------header------*/

.header_bg {
  background: #f2f2f2;
  width: 80%;
  height: auto;
  position: fixed;
  top: 0;
  z-index: 10;
}

.header_contents {
  width: 100%;
  max-width: 1024px;
  height: 100%;
  margin: 24px auto 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header_contents h1 {
  font-size: 24px;
  font-weight: bold;
  margin: 0 0 0 40px;
  color: #2CA9E1;
}

.header_contents h1 span {
  font-size: 36px;
}

.header_nav {
  width: 60%;
  line-height: 80px;
  border-radius: 50px;
  background-color: #f4f4f4;
  box-shadow: 10px 10px 20px #bfbfbf, -10px -10px 20px #ffffff;
}

.header_nav_lists {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  justify-content: center;
}

.header_nav_lists li {
  margin: 0 32px 0 0;
}

.nav_link {
  font-size: 16px;
  color: #000;
}

/* Responsive menu button */
.responsive_btn {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin: 0 40px 0 0;
  cursor: pointer;
  position: relative;
  z-index: 10;
}

.menu_line {
  background: #2CA9E1;
  border-radius: 5px;
  width: 100%;
  height: 5px;
  margin: 4px 0;
}

/* Responsive style */
@media screen and (max-width: 768px) {
  .header_bg {
    width: 100%;
  }
  .header_contents h1 {
    font-size: 16px;
  }
  .header_contents h1 span {
    font-size: 24px;
  }
  .responsive_btn {
    display: flex;
  }
  .header_bg {
    position: relative;
  }
  .header_nav {
    background: #CEF0FF;
    width: 100%;
    height: 100vh;
    padding: 80px 0 0 0;
    position: fixed;
    top: 0;
    right: -100%;
    transition: .5s;
  }
  .header_nav_lists {
    display: block;
    text-align: center;
  }
  .header_nav_lists li {
    margin: 0 0 40px;
    text-align: center;
  }
  .nav_link {
    font-size: 20px;
  }
}

/* js function "menuToggle" starting only */
.menu_active {
  right: 0;
}




/*--------main----------*/
main {
  margin: 0;
  padding: 0;
  margin-top: 130px;
}



/*-------first--------*/

.first {
  margin: 0 auto;
  width: 80%;
  background-image: url('img/firstview.png'); /* 背景画像のパスを指定 */
  background-size: cover; /* 画像を要素全体に広げる */
  background-position: center; /* 画像を中央に配置 */
  background-repeat: no-repeat;
  height: 100vh;
  border-radius: 50px;
  position: relative;
}

.first .big-theme {
  text-align: center;
  padding-top: 10%;
  font-size: 48px;
  font-weight: bold;
  color: #2CA9E1;
  -webkit-text-stroke: 1px #FFF;
  text-stroke: 1px #FFF;
  text-shadow: 10px 10px 4px rgba(0, 0, 0, 0.5); /* 影の設定 */
  letter-spacing: 25px;
}

.first .big-theme .theme-bottom {
  padding-top: 5%;
}

.first .theme-p-pc {
  background-color: #f2f2f2;
  width: 310px;
  height: 310px;
  position: absolute;
  bottom: 8%;
  left: 10%;
  padding: 25px;
  border-radius: 50px;
  color:#2CA9E1;
}

.theme-p-sp {
  display: none;
}

/* Responsive style */
@media screen and (max-width: 768px) {
  main {
    margin-top: 0;
  }

  .first {
    height: 45vh;
    background-size: contain;
    width: 100%;
    background-position: top;
    border-radius: 0px;
  }

  .first .big-theme {
    font-size: 32px;
    letter-spacing: 10px;
  }

  .first .theme-p-pc {
    display: none;
  }

  .theme-p-sp {
    display: block;
    color: #2CA9E1;
    margin-top: 40px;
  }
}




/*-----------first fin-----------*/

.container {
  margin-top: 80px;

}

/*----------philosophy------------*/
.philosophy {
  text-align: center
}

.dent {
  border-radius: 50px;
  background: #f4f4f4;
  box-shadow: inset 5px 5px 13px #ababab,inset -5px -5px 20px #ffffff;
  max-width: 350px;
  height: 120px;
  margin: 0 auto;
}

.dent h2 {
  font-size: 32px;
  font-weight: bold;
  text-align: center;
  line-height: 120px;
  color: #2CA9E1;
}

.philosophy h3 {
  margin-top: 32px;
}

.philosophy p {
  width: 60%;
  margin: 32px auto 0;
  text-align: left;
}

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



/*----------philosophy fin------------*/


/*------------Various-------------*/
.various {
  margin: 80px 0 160px;
}

.various .flex {
  display: flex;
  justify-content: space-between;
}

.various .flex .item {
  border-radius: 50px;
  background: #f4f4f4;
  box-shadow:  5px 5px 20px #ababab, -5px -5px 20px #ffffff;
  width: 350px;
  height: 120px;
  text-align: center;
}

.various .flex .item h2 {
  font-size: 32px;
  font-weight: bold;
  line-height: 120px;
  color: #2CA9E1;
}

.various .flex .item h2::after {
  content: '';/*何も入れない*/
  display: inline-block;
  width: 32px;/*画像の幅*/
  height: 32px;/*画像の高さ*/
  background-image: url(img/shell.png);
  background-size: contain;
  vertical-align: middle;
  margin-left: 20px;
}

@media screen and (max-width: 768px) {
  .various .flex {
    flex-wrap: wrap;
    justify-content: center;
  }

  .various .flex .item {
    margin-top: 40px;
  }
}



/*------------Various fin-------------*/

/*------------company.html-------------*/

.content {
  margin-bottom: 80px;
}

.company-flex {
  display: flex;
  margin-top: 80px;
}

.dent-s {
  border-radius: 50px;
  background: #f4f4f4;
  box-shadow: inset 5px 5px 13px #ababab,inset -5px -5px 20px #ffffff;
  width: 350px;
  height: 60px;
  margin: 0 auto;
}

.dent-s h3 {
  font-size: 24px;
  font-weight: bold;
  text-align: center;
  line-height: 60px;
  color: #2CA9E1;
}

.overview {
  width: 60%;
}

.overview dl {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  border-bottom: 1px solid #333;
}

.overview dt {
  width: 25%;
  padding: 24px;
  font-weight: bold;
  border-top: 1px solid #333;
}

.overview dd {
  width: 75%;
  padding: 24px;
  border-top: 1px solid #333;
}

.history {
  width: 60%;
  background: #f4f4f4;
  box-shadow: inset 5px 5px 13px #ababab,inset -5px -5px 20px #ffffff;
  height: 300px;
  margin: 0 auto;
}

.history dl {
  width: 80%;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
}

.history dt {
  width: 40%;
  font-weight: bold;
  padding-top: 24px;
}

.history dd {
  width: 60%;
  margin-top: 24px;
}

@media screen and (max-width: 768px) {
  .company-flex {
    display: block;
  }
  
  .dent-s {
    max-width: 350px;
    width: 300px;
  }

  .overview {
    width: 100%;
    margin-top: 40px;
  }
  
  .overview dl {
    display: block;
  }
  
  .overview dt {
    width: 100%;
    padding-left: 0px;
  }
  
  .overview dd {
    width: 100%;
    border-top: none;
    padding-left: 0px;
    padding-top: 0px;
  }

  .history {
    width: 100%;
    height: 540px;
    margin-top: 40px;
  }
  
  .history dl {
    display: block;
  }
  
  .history dt {
    width: 100%;
  }
  
  .history dd {
    width: 100%;
    margin-top: 24px;
  }
}



/*--------suppliers.html fin----------*/

/*--------suppliers.html----------*/


.suppliers-flex {
  margin: 80px auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.suppliers-flex ul {
  padding-left: 60px;
  margin-top: 40px;
}

.suppliers-flex ul li {
  position: relative;
  margin-top: 24px;
}

.suppliers-flex ul li::before {
  position: absolute;
  content: '';
  width: 30px;
  height: 3px;
  display: inline-block;
  background-color: #000;
  top: 10px;
  left: -60px
}

.suppliers-flex p {
  margin-top: 40px;
}

@media screen and (max-width: 768px) {
  .suppliers-flex {
    display: block;
  }
  
  .suppliers-flex p {
    margin-bottom: 40px;
  }
}



/*--------suppliers.html fin----------*/

/*--------contact.html----------*/


.formdent {
  background: #f4f4f4;
  box-shadow:  5px 5px 20px #ababab, -5px -5px 20px #ffffff;
  width: 80%;
  margin: 80px auto;
}

.c-form {
  padding-top: 40px;
  padding-bottom: 40px;
  margin-top: 80px;
  margin-left: auto;
  margin-right: auto;
  max-width: 720px;
}

.Form-Item {
  padding-top: 8px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.Form-Item-Label {
  color: #fff;
  width: 100%;
  max-width: 248px;
  letter-spacing: 0.05em;
  font-weight: bold;
  font-size: 18px;
  text-align: center;
  background: #2CA9E1;
  height: 80px;
  line-height: 80px;
}

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

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

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

.Form-Btn {
  margin-top: 40px;
  margin-left: auto;
  margin-right: auto;
  padding-top: 20px;
  padding-bottom: 20px;
  width: 260px;
  display: block;
  letter-spacing: 0.05em;
  background: #CEF0FF;
  color: #000;
  font-weight: bold;
  font-size: 20px;
}

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

  .Form {
    margin-top: 40px;
  }

  .Form-Item {
    padding-left: 14px;
    padding-right: 14px;
    padding-top: 16px;
    padding-bottom: 16px;
    flex-wrap: wrap;
  }

  .Form-Item-Label {
    max-width: inherit;
    font-size: 15px;
    margin-bottom: 24px;
  }

  .Form-Item-Label.isMsg {
    margin-top: 0;
    margin-bottom: 24px;
  }

  .Form-Item-Input {
    margin-left: 0;
    margin-top: 18px;
    height: 40px;
    flex: inherit;
    font-size: 15px;
  }

  .Form-Item-Textarea {
    margin-top: 18px;
    margin-left: 0;
    height: 200px;
    flex: inherit;
    font-size: 15px;
  }

  .Form-Btn {
    margin-top: 24px;
    padding-top: 8px;
    padding-bottom: 8px;
    width: 160px;
    font-size: 16px;
  }
}

.c-form__label,
.c-form__input {
	padding: 10px;
}

.c-form__input {
	width: 55%;
	font-size: 16px;
	border: solid 1px #333;
	border-radius: 4px;
  margin-left: 40px;
}

@media screen and (max-width: 768px) {
  .c-form__input {
    width: 100%;
    margin-left: 0;
  }
}






.thanks {
  max-width: 600px;
  margin: 100px auto;
  padding: 20px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.thanks h1 {
  color: #333;
}
.thanks p {
  font-size: 18px;
  color: #666;
}





/*--------contact.htmlfin----------*/


/*------footer--------*/

footer {
  color: #000;
  background: #CEF0FF;
  padding: 32px;
  margin: 0 calc(50% - 50vw);
  font-size: 16px;
}

footer a {
  color: #000;
  font-weight: bold;
}

footer .wrap {
  width: 900px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

footer .box li {
  margin-top: 24px;
}

footer .sp {
  display: none;
}

@media screen and (max-width: 768px) {
  footer .wrap {
    width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
  }

  footer .pc {
    display: none;
  }

  footer .sp {
    display: block;
  }

  footer .sp {
    display: block;
  }

  footer .sp-box {
    margin-top: 40px;
  }
}



