@charset "UTF-8";
/* 
Theme Name: yadoya
 */


/* ----------------------------
共通
----------------------------- */

:root {
  --color1: #333;
  --color2: #fcfcfc;
  --color3: #233A48;
  --color4: #E5E3CE;
  --color5: #426E66;
  --color6: #6C9585;
  --color7: #BED0A6;
  --color8: #eee;
  --color9: #FF0000;
  --color10: #820d0d;
}

html {
  font-size: 100%;
  font-family: 'Inter', sans-serif;
}

body {
  margin: 0;
  color: var(--color1);
}

table {
  border-color: inherit;
  border-collapse: collapse;
}

caption {
  text-align: left;
}

td,
th {
  vertical-align: top;
  padding: 0;
}

th {
  text-align: left;
  font-weight: bold;
}

a {
  color: var(--color1);
  text-decoration: none;
  cursor: pointer;
}

img {
  max-width: 100%;
  vertical-align: bottom;
}

ul {
  padding-inline-start: 0;
}

li {
  list-style: none;
}

section {
  padding: 60px 0;
}

.wrapper {
  max-width: 1000px;
  padding: 0;
  margin: 0 auto;
}

.text {
  color: var(--color5);
  font-size: 2.0rem;
  font-weight: bolder;
  text-align: center !important;
}


.page-title {
  color: var(--color5);
  font-size: 1.7rem;
  font-weight: bolder;
  padding: 10px 30px;
}

.section-title {
  color: var(--color5);
  font-size: 1.5rem;
  font-weight: bolder;
  padding: 30px 0 20px 0;
}

.section-flex {
  display: flex;
  justify-content: space-between;
}

.flex-left, .flex-right {
  width: 50%;
  margin: 0 40px 50px 40px;
  text-align: center;
  font-weight: bolder;
}

.section-item {
  width: 45%;
}

.section-item img {
  width: 100%;
  height: 40vh;
  object-fit: cover;
  padding-bottom: 30px;
}

.section-item p {
  font-size: 0.95rem;
  font-weight: bolder;
  line-height: 20px;
}

.section-text {
  width: 55%;
  margin: 10px 10px 50px 30px;
}

.section-text dt {
  margin: 10px 0 20px 0;
}

.section-text dd {
  font-size: 0.95rem;
  font-weight: bolder;
  position: relative;
  padding-left: 25px;
}

.section-text dd:last-of-type {
  margin-bottom: 100px;
}

.section-text dd::before {
  content: "・";
  width: 7px;
  height: 7px;
  position: absolute;
  top: 0;
  left: 5px;
}

.news-tag {
  width: 100%;
  padding: 2px 5px;
  background-color: var(--color6);
  color: var(--color2);
  font-size: 0.8rem;
}

.detail-btn {
  text-align: center;
  margin: 30px 0 50px 0;
}

.detail-btn a {
  color: var(--color2);
  font-weight: bolder;
  background: var(--color10);
  border: var(--color10) 3px solid;
  border-radius: 5px;
  padding: 20px 8%;
  margin: 15px;
  transition: .3s;
}

.detail-btn a:hover {
  color: var(--color10);
  background: var(--color2);
}

.bronze {
  background-color: var(--color4);
}

/* ----------------------------
header
----------------------------- */

#header {
  width: 100%;
  height: 10vh;
  position: fixed;
  display: flex;
  background-color: var(--color3);
  z-index: 9999;
  align-items: center;
  justify-content: space-between;
  font-weight: bold;
  box-shadow: 0px 5px 5px rgba(100, 100, 100, 0.8);
}

#header a {
  display: flex;
  color: var(--color2);
}

#header .site-title {
  width: 20%;
}

#header .site-title img {
  width: 250px;
  margin-left: 30px;
}

#header .nav {
  width: 80%;
}

#header .list {
  display: flex;
  color: var(--color2);
}

#header .list li {
  width: 25%;
  text-align: center;
}

#header .hamburger, #header .nav img {
  display: none;
}

/* ----------------------------
Mainvisual
----------------------------- */

#main-visual {
  padding-top: 10vh;
}

#main-visual .item>img {
  width: 100%;
  height: 80vh;
  object-fit: cover;
}

/* スライド設定 */

@keyframes infinity-scroll-left {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-100%);
  }
}

#main-visual .slide_wrap {
  display: flex;
  overflow: hidden;
}

#main-visual .slide_list {
  display: flex;
  height: 90vh;
}

#main-visual .slide_list_left {
  animation: infinity-scroll-left 95s infinite linear 0.5s both;
}

#main-visual .slide_item {
  width: 960px;
  padding: 0 5px;
}

#main-visual .slide_item>img {
  width: 100%;
  height: 90vh;
  object-fit: cover;
}

/* ----------------------------
NewsRelease
----------------------------- */

#news-release .news-release-title {
  border-bottom: 2px solid var(--color6);
}

#news-release .news-list {
  display: flex;
  padding: 10px 30px;
  border-bottom: 1px dotted var(--color7);
}

#news-release .news-list:last-of-type {
  margin-bottom: 30px;
}

#news-release h3 {
  width: 15%;
}

#news-release .news-date {
  width: 20%;
}

#news-release .news_list p {
  width: 50%;
}

#news-release .text {
  border-top: 2px solid var(--color6);
  padding-top: 50px;
}

/* ----------------------------
News
----------------------------- */

#news .news-title {
  border-bottom: 2px solid var(--color6);
  padding: 50px 0 30px 0;
}

#news .news-text {
  width: 100%;
  padding: 10px;
  margin-bottom: 5vh;
}

#news .news-text h3 {
  margin: 3vh 10vw 3vh 0;
}

#news .news-text p {
  margin: 0 10vw 3vh 0;
}

#news .news-list {
  border-top: 1px dotted var(--color7);
}

#news .news-list:first-of-type {
  border-top: none;
}

/* ページネーション */

.pagination {
  text-align: center;
}

/* 現在開いている以外のページのボタン */
#news .page-numbers {
  display: inline-block;
  padding: 0;
  width: 35px;
  height: 35px;
  text-align: center;
  line-height: 35px;
  border-radius: 50%;
  color: var(--color6);
  border: 1px solid var(--color6);
  background: var(--color2);
  font-weight: bold;
  font-size: 12px;
}

/* マウスが乗った時の、ボタンの背景の色と文字の色 */
#news a.page-numbers:hover {
  color: var(--color2);
  background-color: var(--color6);
  border-color: var(--color6);
}


/* 現在のページのボタン */
#news .current {
  padding: 0;
  background: var(--color6);
  color: var(--color2);
  font-size: 12px;
}

/* 前へ、次へ */
#news .prev,
#news .next {
  border: 1px solid var(--color6);
  color: var(--color6);
  position: relative;
  font-size: 12px;
}

#news a.next.page-numbers {
  margin-right: 0;
}

/* 数字の間のドット */
#news .dots {
  background: transparent;
  border: none;
}


/* ----------------------------
Sourcing
----------------------------- */

#sourcing .section-flex {
  flex-direction: row-reverse;
}

/* ----------------------------
Introduction
----------------------------- */

#introduction img {
  width: 33vw;
  height: 22vw;
}

/* ----------------------------
Heading
----------------------------- */
#heading .text {
  margin-bottom: 10px;
}

/* ----------------------------
Option
----------------------------- */

#option .table {
  width: 80%;
  margin: 0 auto;
}

#option .table th, td {
  border: 1px solid var(--color1);
  padding: 20px;
}

#option .table th {
  font-weight: normal;
  vertical-align: middle;
  justify-content: center;
}

/* ----------------------------
FlowImage 
----------------------------- */

#flow-image .flow_design {
  display: flex;
  justify-content: center;
  align-items: center;
}

#flow-image .flow {
  width: 50%;
}

#flow-image .flow li {
  height: auto;
  list-style-type: none;
  background-color: var(--color2);
  border: 1px solid var(--color1);
  padding: 20px;
  border-radius: 40px;
  font-size: 0.8rem;
}

#flow-image .flow li:not(:last-child) {
  margin-bottom: 40px;
  position: relative;
}

#flow-image .flow li:not(:last-child)::after {
  content: '';
  position: absolute;
  border: 20px solid transparent;
  width: 0;
  height: 0;
  bottom: -53px;
  left: 50%;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  border-top-color: var(--color1);
}

#flow-image .flow dt {
  font-size: 1.3em;
  font-weight: bold;
  text-align: center;
}

#flow-image .flow dd {
  font-size: 0.95rem;
}

#flow-image .flow span {
  font-size: 0.8rem;
  font-weight: normal;
}

/* ----------------------------
Diversion 
----------------------------- */

#diversion .section-text {
  width: 90%;
  text-align: center;
}

#diversion img {
  width: 33vw;
  height: 22vw;
}

#diversion .before-item img,
#diversion .after-item img {
  object-fit: cover;
  object-position: 0 35%;
}

/* ----------------------------
Contact
----------------------------- */

#contact,
#confirm,
#complete {
  width: 960px;
  margin: 0 auto;
  padding: 10vh 0;
}

#contact .contact-text,
#confirm .contact-text,
#complete .contact-text {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 40px;
}

#contact .ast,
#confirm .ast {
  color: var(--color9);
}

#contact .contact-table,
#confirm .contact-table {
  width: 100%;
  margin-bottom: 40px;
  border: 1px solid var(--color1);
}

#contact .contact-table th,
#confirm .contact-table th {
  width: 30%
}

#contact .contact-table td,
#confirm .contact-table td {
  width: 70%;
}

#contact .contact-item,
#contact .contact-body,
#confirm .contact-item,
#confirm .contact-body {
  padding: 20px;
  border: 1px solid var(--color1);
}

#contact .contact-item,
#confirm .contact-item {
  text-align: left;
  width: 30%;
  background-color: var(--color8);
}

#contact .contact-body,
#confirm .contact-body {
  width: 70%;
}

#contact .form-text,
#confirm .form-text {
  width: 100%;
  padding: 10px;
  border-radius: 5px;
  border: 1px solid var(--color1);
  max-width: 400px;
}

#contact .contact-categorize,
#contact .contact-inquiry,
#confirm .contact-categorize,
#confirm .contact-inquiry {
  margin-left: 10px;
}

#contact .form-select,
#confirm .form-select {
  width: 180px;
  height: 40px;
  padding: 5px;
  border: 1px solid var(--color1);
  border-radius: 5px;
}

#contact .form-textarea,
#confirm .form-textarea {
  width: 95%;
  padding: 10px;
  height: 200px;
  border-radius: 5px;
  border: 1px solid var(--color1);
  resize: none;
}

#confirm .button-flex {
  display: flex;
  width: 100%;
  justify-content: space-evenly;
}

#contact .button,
#confirm .button,
#complete .button {
  width: 100px;
  background-color: var(--color1);
  color: var(--color2);
  font-weight: bold;
  margin: 0 50%;
  font-size: 1rem;
  padding: 10px;
  border-radius: 15px;
}

#contact .button:hover,
#confirm .button:hover,
#complete .button:hover {
  background-color: var(--color8);
  color: var(--color1);
}

#confirm .button-r {
  width: 100px;
  background-color: var(--color8);
  color: var(--color1);
  font-weight: bold;
  margin: 0 50%;
  font-size: 1rem;
  padding: 10px;
  border-radius: 15px;
}

#confirm .button-r:hover {
  background-color: var(--color1);
  color: var(--color2);
}

#contact .notes {
  font-size: 0.9rem;
  width: 100%;
  margin: 30px 0;
}

/* ----------------------------
Footer
----------------------------- */
#footer {
  background-color: var(--color3);
  color: var(--color2);
  line-height: 25px;
  padding: 80px 5%;
}

#footer a {
  color: var(--color2);
}

#footer .footer-flex {
  display: flex;
  justify-content: space-around;
}

#footer .footer-clm1, .footer-clm2, .footer-clm3 {
  width: 33%;
}

#footer .section-title {
  color: var(--color2);
  padding: 0;
  margin-bottom: 30px;
}

#footer .site-title img {
  width: 40%;
  margin-bottom: 30px;
}

#footer .footer-clm1 p {
  margin-left: 30px;
}

#footer .footer-clm2 li {
  margin: 0 0 15px 30px;
}

#footer .footer-clm3 p {
  margin-left: 30px;
}

#footer .footer-info {
  color: var(--color2);
  font-size: 1.3rem;
  margin-top: 20px;
}


/* ----------------------------
レシポンシブ共通
---------------------------- */

@media screen and (max-width: 1000px) {

  .wrapper {
    padding: 0;
    margin: 0;
  }

  .section-title {
    text-align: center;
    padding: 0;
    margin-bottom: 20px;
  }

  .section-flex {
    display: block;
  }

  .flex-left, .flex-right {
    width: 100%;
    margin: 0;
    padding-bottom: 10px;
  }

  .flex-left li, .flex-right li {
    margin-bottom: 20px;
  }

  .section-item {
    width: 100%;
  }

  .section-item img {
    width: 100%;
    height: 35vh;
    object-fit: cover;
    padding: 0;
  }

  .section-text {
    width: 100%;
    margin: 0;
    padding: 0 2vw;
  }

  .section-text dt {
    margin: 3vh 1vw;
  }

  .section-text dd {
    padding-left: 0;
  }

  .section-text dd:last-of-type {
    margin-bottom: 50px;
  }

  .section-text dd::before {
    content: "・";
    width: 7px;
    height: 7px;
    position: absolute;
    top: 0;
    left: 20px;
  }

  .text {
    font-size: 1.8rem;
  }


  .detail-btn {
    margin-bottom: 30px;
  }


  /* ----------------------------
レシポンシブ header
---------------------------- */

  #header {
    width: 100%;
    height: 7vh;
  }

  #header .site-title {
    width: unset;
  }

  #header .site-title img {
    width: 200px;
    margin-left: 30px;
  }

  /*  ハンバーガーリスト*/

  #header .nav {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 30;
    transform: translateY(-300%);
    transition: 2s;
    visibility: hidden;
  }


  #header .nav.active {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    background: var(--color3);
    transform: translateY(0);
    transition: 0.75s;
    visibility: visible;
  }

  #header .nav img {
    display: block !important;
    margin: 100px auto 30px auto;
  }

  #header .list {
    width: 100%;
    display: block !important;
    color: var(--color2);
    letter-spacing: 2px;
    font-weight: bold;
    line-height: 60px;
    text-align: center;
    padding: 0;
  }

  #header .list li {
    width: 100%;
    margin: 0;
  }

  #header .list a {
    display: flex;
    justify-content: center;
  }

  #header .hamburger {
    display: block !important;
    background-color: transparent;
    border-color: transparent;
    z-index: 9999;
    height: 20px;
    width: 20px;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 2vh;
    right: 3vh;
  }

  #header .hamburger span,
  #header .hamburger span:before,
  #header .hamburger span:after {
    content: "";
    display: block;
    height: 3px;
    width: 30px;
    border-radius: 3px;
    background: var(--color2);
    position: absolute;
    transition: 0.5s;
  }

  #header .hamburger span:before {
    bottom: 12px;
  }

  #header .hamburger span:after {
    top: 12px;
  }

  #header .hamburger.active span {
    background: rgba(255, 255, 255, 0);
  }

  #header .hamburger.active span::before {
    bottom: 0;
    transform: rotate(45deg);
  }

  #header .hamburger.active span::after {
    top: 0;
    transform: rotate(-45deg);
  }

  /* ----------------------------
レシポンシブMainvisual
----------------------------- */

  #main-visual {
    padding-top: 7vh;
  }

  /* スライド設定 */

  #main-visual .slide_item>img {
    width: 100%;
    height: 93vh;
  }

  #main-visual .slide_list_left {
    animation: infinity-scroll-left 50s;
  }

  /* ----------------------------
レシポンシブNewsRelease
----------------------------- */

  #news-release .news-list {
    flex-direction: column;
    font-size: 80%;
  }

  #news-release h3 {
    width: 100%;
  }

  #news-release .news-date {
    width: 100%;
  }

  #news-release .news_list p {
    width: 100%;
  }

  #news .news-text p {
    margin: 0 0 3vh 0;
  }


  /* ----------------------------
レシポンシブManagement 
----------------------------- */

  #management .section-flex {
    flex-direction: row-reverse;
  }



  /* ----------------------------
レシポンシブIntroduction 
----------------------------- */

  #introduction .flex-left,
  #introduction .flex-right,
  #online .flex-left,
  #online .flex-right {
    width: 100%;
    margin: 0 0 50px 0;
  }

  #introduction .section-item img,
  #online .section-item img {
    width: 100%;
    height: 50vh;
    padding-bottom: 20px;
  }


  /* ----------------------------
レシポンシブFlowImage 
----------------------------- */

  #flow-image .flow dt {
    font-size: 1.1em;
  }


  /* ----------------------------
レシポンシブDiversion
----------------------------- */

  #diversion img {
    width: 100%;
    height: 320px;
  }

  /* ----------------------------
レシポンシブContact
----------------------------- */

  #contact {
    width: 95%;
  }

  #contact .contact-body, #confirm .contact-item, #confirm .contact-body {
    padding: 30px;
  }

  .contact-text {
    font-size: 1rem;
    text-align: center;
  }


  /* ----------------------------
レシポンシブfooter
----------------------------- */

  #footer {
    line-height: 25px;
  }

  #footer .footer-flex {
    display: block;
  }

  #footer .footer-clm1, .footer-clm2, .footer-clm3 {
    width: 100%;
  }

  #footer .site-title img {
    width: 40%;
    margin-bottom: 20px;
  }

  #footer .section-title {
    text-align: left;
    margin-bottom: 20px;
  }


  #footer .footer-clm1 p {
    margin: 0 0 40px 10px;
  }

  #footer .footer-clm2 li {
    margin: 0 0 15px 20px;
  }

  #footer .footer-clm2 li:last-child {
    margin-bottom: 40px;
  }

  #footer .footer-clm3 p {
    margin-left: 20px;
  }

}