@charset "UTF-8";

html {
  font-size: 100%;
}

img {
  max-width: 100%;
  vertical-align: bottom;
  }

  a {
    color: #fff;
    text-decoration: none;
    font-size: 1.075rem;
  }

li {
  list-style: none;
}

.text p {
line-height: 2;
}

.warpper {
  max-width: 1024px;
  width: 100%;
  margin: 0 auto;
  /* padding: 0 20px; */
}

body {
  background-color: #e6e2d7;
  color: #000;
  font-family: 'Noto Serif JP', serif;
  }

  p {
    line-height: 1.5;
  }

.come {
color: darkolivegreen;
}

.come a {
  color: darkolivegreen;
  font-weight: bold;
}

#header {
  width: 100%;
  background-image: url(p/mainvisual-pc.jpg) ;
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
  height: 100vh;
  position: relative;
  margin-bottom: 200px;
  /* padding: 60px 80px; */

  writing-mode: vertical-rl;

  -webkit-writing-mode: vertical-rl;  /* Chrome、Safari用 */
  -moz-writing-mode: vertical-rl;     /* Firefox用 */
  -ms-writing-mode: tb-rl;            /* IE用 */
}


#header .site-title img {
    width: 120px;
    position: absolute;
    bottom: 60px;
    right: 60px;
  }

  #nav {
    padding: 60px 60px 0 0;
    line-height: 3;
  }

  #nav li a {
    text-decoration: none;
  }

  .btn a {
    display: block;
    border: solid #fff 1px;
    padding: 30px 18px;
  }

  .btn {
    background-color:rgba(255,255,255,0.2);
    position: absolute;
    bottom: 30px;
    left: 40px;
    padding: 8px;
  }


  #news {
    display: flex;
    margin-bottom: 180px;
    flex-direction: row-reverse;
  }

  #news .site-title {
    margin-left: 15px;
    font-weight: normal;
    line-height: 1;
    writing-mode: vertical-rl;
    -webkit-writing-mode: vertical-rl;  /* Chrome、Safari用 */
    -moz-writing-mode: vertical-rl;     /* Firefox用 */
    -ms-writing-mode: tb-rl;            /* IE用 */
  }

  #news .site-title .ja {
    display: block;
    font-size: 2.3rem;
    letter-spacing: 0.1em;
    padding: 0 15px 0 0;
  }

  #news .site-title .en {
    display: block;
    font-size: .8rem;
  }


#news .list {
  padding: 80px 100px 0 0;
  width: 40px;
  line-height: 3;
  writing-mode: vertical-rl;
  -webkit-writing-mode: vertical-rl;  /* Chrome、Safari用 */
  -moz-writing-mode: vertical-rl;     /* Firefox用 */
  -ms-writing-mode: tb-rl;            /* IE用 */
  
}

  #news dt {
    line-height: 2;
    font-size: .65rem;
    padding: 15px 30px 15px 0 ;
  }

  #news dd {
    line-height: 1.5;
    border-left: #000 solid 1px;
    padding: 15px 0 15px 30px;
  }

  #news dt:first-child {
    border-right: #000 solid 1px;
  }

  .products {
    display: flex;
    margin-bottom: 180px;
  }

  .products .site-title {
    font-weight: normal;
    line-height: 1;
  }

  .products .site-title .ja {
    font-size: 2.3rem;
    letter-spacing: 0.1em;
    margin-bottom: 18px;
  }

  .products .site-title .en {
    font-size: .8rem;
  }

  .products h2 {
    color: #496e0a;
    font-weight: normal;
    margin-bottom: 10px;
  }

  .products .img {
    width: 70%;
    position: relative;
    margin-top: 100px;
  }


/* 変更前
  .products .text {
    width: 100%;
    color: #000;
    padding: 50px 0;
    bottom: -20px;
  } */


/* 変更後 */
.products .text {
  width: 100%;
  color: #000;
  padding: 50px 0;
  bottom: -20px;
  overflow: hidden;
}

/* enki写真 */
.enki-img {
  float: right;
  width: 150px;
  height: 180px;
  max-width: 200px;
  object-fit: cover;
  object-position: center;
  margin-left: 20px;
  margin-bottom: 10px;
}

.enki-figure {
  float: right;
  width: 150px;
  max-width: 200px;
  margin-left: 20px;
  margin-bottom: 5px;
}



.enki-figure figcaption {
  text-align: center;
  font-size: 0.8rem;
  color: #666;
  margin-top: 5px;
}



.products table {
  width: 100%;
  border-collapse: collapse;
  color: #333;
}

.products tr {
  border-bottom: 1px solid rgba(73, 110, 10, 0.3);
}

.products tr:first-child {
  border-top: 1px solid rgba(73, 110, 10, 0.3);
}

.products th {
  width: 30%;
  padding: 12px 16px;
  color: #496e0a;
  font-weight: normal;
  text-align: left;
  background: rgba(73, 110, 10, 0.05);
}

.products td {
  padding: 12px 16px;
  text-align: left;
}

/* 
  .products table {
    color: #fff;
    width: 100%;
  }

  .products tr {
    width: 100%;
    background-color: #496e0a;
    text-align: center;
  }

  .products th {
    width: 30%;
  }*/

  
  #products1 {
    flex-direction: row-reverse;   
  } 

  #products1 .site-title {
    margin-left: 20px;
    writing-mode: vertical-lr;
    -webkit-writing-mode: vertical-lr;  /* Chrome、Safari用 */
    -moz-writing-mode: vertical-lr;     /* Firefox用 */
  }

  #products2 .site-title {
    margin-right: 20px;
    writing-mode: vertical-rl;
    -webkit-writing-mode: vertical-rl;
    -moz-writing-mode: vertical-rl;
    -ms-writing-mode: tb-rl;
  }

  #products2 .img {
    position: relative;
  }

  #products3 {
    flex-direction: row-reverse;   
  }

  #products3 .site-title {
    margin-left: 20px;
    writing-mode: vertical-lr;
    -webkit-writing-mode: vertical-lr;  /* Chrome、Safari用 */
    -moz-writing-mode: vertical-lr;     /* Firefox用 */
  }

  #products3 .icon {
    width: 20%;
    margin: 0 auto;
  }

  #products3 .info {
  border: 1px solid rgba(73, 110, 10, 0.3);
  border-radius: 2px;
  color: #333;
  width: 100%;
  display: block;
  padding: 10px;
  margin-bottom: 30px;
  text-align: center;
  background: rgba(73, 110, 10, 0.05);
}

  /* #products3 .info {
    background: #496e0a ;
    color: #fff;
    width: 100%;
    display: block;
    padding: 10px;
    margin-bottom: 30px;
    text-align: center;
  } */
 
  #products3 .info a {
  color: #496e0a;
}

.access iframe {
  vertical-align: bottom;
  width: 100%;
}

.access .site-title {
  margin-left: 20px;
}

.access .site-title .ja {
  font-size: 2.3rem;
  letter-spacing: 0.1em;
  margin-bottom: 18px;
}


#footer {
  background: #496e0a;
  padding: 80px 80px 30px 30px;
}

.inner {
  display: flex;
  width: 100%;
  justify-content: space-between;
  margin-bottom: 10px;
}

.inner .left {
  writing-mode: vertical-rl;
  -webkit-writing-mode: vertical-rl;
  -moz-writing-mode: vertical-rl;
  -ms-writing-mode: tb-rl;
}

#nav2 {
  padding: 0px 60px 0 0;
  line-height: 3;
}

.os {
margin-top: 10px;
border-bottom: #fff solid 1px;
padding: 0 0 10px 0;
font-size: .88rem;
  }

.cus {
margin-bottom: 40px;
font-size: .88rem;
      }

.add {
color: #fff;
font-size: .9rem;
}

.inner .right {
  writing-mode: vertical-rl;
  -webkit-writing-mode: vertical-rl;
  -moz-writing-mode: vertical-rl;
  -ms-writing-mode: tb-rl;
}


#footer .sousaku {
  color: #fff;
  text-align: center;
  font-size: .7rem;
}

#footer .right h2 {
  color: #fff;font-weight: normal;
  margin-left: 10px;
}


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

.text p {
  line-height: 1.7;
  }

#header {
  background-image: url(p/mainvisual-sp.jpg) ;
  padding: 20px;
  margin-bottom: 80px;
  position: relative;
}

#header .site-title img {
  width: 80px;
  position: absolute;
  top: 30px;
  right: 20px;
}

#nav {
  padding: 0 100px 0 0;
  line-height: 2.2;
  position: absolute;
  top: 30px;
}

.btn {
  background-color:rgba(255,255,255,0.2);
  position: absolute;
  bottom: 20px;
  left: 20px;
  padding: 8px;
}

#news .site-title .ja {
  display: block;
  font-size: 1.7rem;
  letter-spacing: 0.1em;
  padding: 0 10px 0 0;
}

#news .list {
  padding: 10px 20px 0 0;
  width: 40px;
  line-height: 3;
}

  #news dt {
    line-height: 2;
    font-size: .65rem;
    padding: 15px 15px 15px 0 ;
  }

  #news dd {
    line-height: 1.5;
    border-left: #000 solid 1px;
    padding: 15px 0 15px 15px;
  }

  #news .list dt:nth-of-type(n + 4){
  display: none;
}

#news .list dd:nth-of-type(n + 4){
  display: none;
}

.site-title .en {
  display: none;
}

.products {
  display: flex;
  margin-bottom: 100px;
}

.products .site-title .ja {
  font-size: 1.7rem;
  letter-spacing: 0.1em;
  padding: 10px;
}

.products .img {
  width: 100%;
  position: relative;
  margin-top: 10px;
}

.products .text {
  width: 100%;
  color: #000;
  padding: 20px;
  bottom: -20px;
}

#products1 {
  display: block;   
}

#products1 .site-title {
  writing-mode: inherit;
  -webkit-writing-mode:inherit;  /* Chrome、Safari用 */
  -moz-writing-mode: inherit;     /* Firefox用 */
}

#products2 {
  display: block;   
}

#products2 .site-title {
  writing-mode: inherit;
  -webkit-writing-mode:inherit;  /* Chrome、Safari用 */
  -moz-writing-mode: inherit;     /* Firefox用 */
}

#products3 {
  display: block;   
}

#products3 .site-title {
  writing-mode: inherit;
  -webkit-writing-mode:inherit;  /* Chrome、Safari用 */
  -moz-writing-mode: inherit;     /* Firefox用 */
}

#products3 .icon {
  width: 40%;
  margin: 0 auto;
}

#footer {
  background: #496e0a;
  padding: 30px 30px  30px 15px;
}

/* #nav2 {
  padding: 0px 30px 0 0;
  line-height: 2;
}

#nav2 a{
  padding: 0px 30px 0 0;
  line-height: 2;
  font-size: 14px;
} */

@media (max-width: 768px) {
  #nav2 {
    padding: 0px 15px 0 0;
    line-height: 1.5;  /* 2 → 1.5 に */
  }

  #nav2 ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  #nav2 a {
    padding: 0;
    line-height: 1.5;
    font-size: 14px;
  }
}

.inner .left {
  align-items: start;
}

.os {
  margin: 0;
}

}
