/* --------------------
   main
-------------------- */
#main {

  font-family: "Zen Maru Gothic", serif;
  position: relative;
  background-color: #E79236;
  min-height: 900px;
  height: 100vh;
  max-height: 1000px;
}
#main .flex{
  height: 100%;
  position: relative;
  display: flex;
  flex-wrap: wrap;
}
#main .photo {
  overflow: hidden;
  width: 50%;
  z-index: 1;
  max-width: 80vw;
  top: 0;
  box-sizing: border-box;
  right: 0;}
#main .photo .main-img{
  position: relative;
  height: 100%;
}
#main .photo .main-img:before{
  content: "";
  display: block;
  position: absolute;
  width: calc(100% - 80px);
  height: calc(100% - 80px);
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  border-radius: 20px;
  background-color: #fff;
}
#main .photo .main-img img{
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
#main .textbox {
  color: #fff;
  position: relative;
  z-index: 2;
  padding: 5vw;
  width: 50%;}
#main .textbox .inner{
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
#main .textbox h1 { padding: 240px 0 40px;}
#main .textbox h2 {
  font-weight: 1.75em;
  font-weight: 600; }
#main .textbox p {
  font-size: 1.25em;
  padding: 24px 0 0; font-weight: 600; }

#main .contact-box{
  background-color: #fff;
  border-radius: 0 20px 0 0;
  padding: 30px 40px 0;
  width: 420px;
  position: absolute;
  bottom: 0;
  left: 0;
}
#main .contact-box h2{
  font-weight: 600;
}
#main .contact-box p{
  font-weight: 500;
  padding-top: 0;
}
#main .contact-box p.txs-54{
  font-weight: 600;
  line-height: 0.9;
}
#main .contact-box p.txs-14{
  margin-top: 0.75em;
}
@media screen and (max-width: 1280px){}
@media screen and (max-width: 768px){
  #main {
    height: auto;
    background-color: #E79236;
    min-height: auto;
  }
  #main .photo {
    overflow: hidden;
    margin-top: -30px;
    width: 100%;
    z-index: 1;
    top: 0;
    box-sizing: border-box;
    max-width: 100%;
    right: 0;}
  #main .photo .main-img img{
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  #main .photo .main-img:before{
    width:92vw;
    height: 92vw;
    border-radius: 50%;
  }
  #main .textbox {
    width: 100%;
    padding: 4vw 4vw 0;
  }
  #main .textbox h1 {
    padding-top: 32vw;
    text-align: center;
    padding-bottom: 5vw;}
  #main .textbox h1 img{
    margin: auto;
    width: 78vw;
  }
  #main .textbox h2 { font-size: 1.25em; }
  #main .textbox p { font-size: 1em;
    padding: 0.5em 0 0; }
  #main .contact-box{
    display: none;
  }
}
@media screen and (max-width: 480px){
}


/* --------------------
   news
-------------------- */
#news{
  padding-top: 110px;
  padding-bottom: 100px;
}
#news .contents{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
#news .titlebox{
  width: 240px;
}
#news h1{
  line-height: 1;
  font-weight: 600;
  margin-bottom: .75em;
}
#news h1 span{
  display: block;
}
#news h1 .txs-28{
  margin-top: 0.5em;
}
#news .area{
  width: 730px;
}
#news .item{
  display: flex;
  position: relative;
  flex-wrap: wrap;
  position: relative;
  align-items: flex-start;
  padding: 1.625em 3em 1.625em 0;
  z-index: 1;
}
#news .list a .item:before{
  content: "";
  top: 0;
  left: 0;
  bottom: 0;
  margin: auto;
  display: block;
  position: absolute;
  opacity: 0;
  z-index: -1;
  width: 100%;
  height: calc(100% - 2px);
  background-color: #F8F5F1;
  transition: .2s;
}
#news a:hover .item .txs-20{
  color: #E79236;
}
#news .list a:hover .item:before{ opacity: 1; }
#news .list a:nth-child(n+2) .item{
  border-top: solid 1px;
}
#news .item .arow{
  top: 0;
  bottom: 0;
  margin: auto;
  display: flex;
  align-items: center;
  position: absolute;
  right: 1.25em;
  width: 1em; }
#news .item .arow img{
  transition: .2s;
  width: 100%; }

#news .item .txs-20:first-child{ width: 6em; }
#news .item .icon{
  margin-right: 0.625em;
  width: 3.125em;
  text-align: center;
  margin-top: 0.25em;
  border-radius: 5em;
  font-weight: 600;
}
#news .item .icon.new{
  color: #fff;
  background-color: #E79236;
}

#news .item .arow img.on{
  opacity: 0;
  position: absolute; }
#news .list a:hover .item .arow img.on{ opacity: 1; }
#news .list a:hover .item .arow img.off{ opacity: 0; }
@media screen and (max-width: 1280px){
  #news .titlebox a{
    display: none;
  }
  #news .area .button01{
    margin-top: 2em;
  }
}
@media screen and (min-width: 1281px){
  #news .area .button01{
    display: none;
  }
}
@media screen and (max-width: 768px){
  #news{
    padding-bottom: 60px;
    padding-top: 60px;
  }
  #news .item{
    padding: 1em 1.25em 1em 0;
  }
  #news .item .main-tx{ width: 100%; }
  #news .item .arow{
    right: 0;
    width: 0.75em;
  }
}
/* --------------------
   individual
-------------------- */
#individual{
  padding-top: 140px;
  padding-bottom: 170px;
  background-color: #F7F3EE;
}
#individual h1{
  text-align: center;
  font-weight: 600;
  border-bottom: dotted 4px #E79236;
  padding-bottom: 0.77em;
  margin-bottom: 40px;
}
#individual .read p{
  color: #E79236;
  line-height: 1.5;
  font-weight: 600;
  text-align: center;
  position: relative;
  z-index: 1;
}
#individual .read .illust{
  position: absolute;
  z-index: 0;
}
#individual .button02{
  margin-top: 1.5em;
}
#individual .bana{
  border-radius: 100vw;
  background-color: #fff;
  border: solid 2px #272525;
  display: block;
  margin-top: 60px;
}

@media screen and (max-width: 1280px){
  #individual .read .illust{
    width: 20vw;
  }
  #individual .read p{
    font-size: 1.5em;
  }
  #individual .button02{
    font-size: 1rem;
    padding: 0.75em 2em;
  }
  #individual .button02 .arow{
    width: 0.75em;
  }
}
@media screen and (min-width: 1281px){}
@media screen and (max-width: 768px){
  #individual{
    padding-top: 80px;
    padding-bottom: 60px;
  }
  #individual h1{
    margin-bottom: 20px;
  }
  #individual .read .illust{
    display: none;
    left: -8vw;
    width: 30vw;
  }
  #individual .read p{
    font-size: 1.25em;
  }
}
@media screen and (max-width: 480px){
  #individual .read p{
    font-size: 1em;
  }
  #individual .read .illust{
    left: -12vw;
    width: 35vw;
  }
}
/* --------------------
   corporation
-------------------- */
#corporation{
  padding-top: 90px;
  padding-bottom: 100px;
  text-align: center;
}
#corporation h1,
#corporation h2{
  font-weight: 600;
}
#corporation h2{
  margin-bottom: 40px;
  padding-bottom: 1.25em;
  margin-top: 0.25em;
  border-bottom: dotted 4px #6EB43B;
}
#corporation .read{
  position: relative;
  padding: 25px;
  background-color: #F7F3EE;
}
#corporation .read p{
  color: #6EB43B;
  line-height: 1.5;
  margin-bottom: 0.75em;
  font-weight: 600;
  text-align: center;
  position: relative;
  z-index: 1;
}
#corporation .read .illust{
  position: absolute;
  bottom: 0;
  z-index: 0;
}
#corporation .read a{
  color: #fff;
  background-color: #6EB43B;
}
#corporation .read a .check{
  left: 1em;
  display: flex;
  position: absolute;
  top: 0;
  bottom: 0;
  align-items: center;
  margin: auto;
  width: 1.2em;
}
#corporation .read a .check img{ width: 100%; }
@media screen and (max-width: 1280px){

  #corporation .button02{
    font-size: 1rem;
    padding: 0.75em 2em;
    max-width: 90%;
  }
  #corporation .button02 .check{
    width: 0.75em;
  }
}
@media screen and (min-width: 1281px){}
@media screen and (max-width: 768px){
  #corporation .read a{
    max-width: none;
  }
  #corporation{
    padding-top: 60px;
    padding-bottom: 60px;
  }
  #corporation h2{
    margin-bottom: 20px;
  }
  #corporation .read .illust{
    display: none;
    left: -12vw;
    width: 30vw;
    top: 0;
    bottom: 0;
    margin: auto;
  }
  #corporation .read p{
    font-size: 1.25em;
  }
}
@media screen and (max-width: 480px){
  #corporation .read p{
    font-size: 1em;
  }
  #corporation .read .illust{
    left: -17vw;
    width: 35vw;
  }
}

/* --------------------
   handling
-------------------- */
@keyframes scrollSlider {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
#handling{
  overflow: hidden;
  padding-top: 80px;
  padding-bottom: 100px;
  background-color: #F7F3EE;
  position: relative;
}
#handling .inner{
  text-align: center;
  margin: auto;
  max-width: 700px;
  background: linear-gradient(
    to right,
    rgba(247,243,238,0) 10%,
    rgba(247,243,238,1) 14%,
    rgba(247,243,238,1) 86%,
    rgba(247,243,238,0) 90%
  );
}
#handling h1{
  font-weight: 600;
  margin-bottom: 0.75em;
}
#handling ul{
  margin-bottom: 72px;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6em;
  justify-content: center;
}
#handling ul li{
  padding: 0.125em 0.7em;
  color: #fff;
  border-radius: 1.5em;
  background-color: #6EB43B;
}
#handling a{
  color: #fff;
  background-color: #6EB43B;
}
#handling figure{
  top: 0;
  bottom: 0;
  margin: auto;
  align-items: center;
  position: absolute;
  display: flex;
  flex-wrap: nowrap;
  animation: scrollSlider 40s linear infinite;
  width: calc(200%); /* 画像を繰り返すために倍の幅 */
}
@media screen and (max-width: 1280px){}
@media screen and (min-width: 1281px){}
@media screen and (max-width: 768px){
  #handling{
    padding-top: 60px;
    padding-bottom: 60px;
  }
  #handling ul{
    margin-bottom: 30px;
  }
  #handling figure{
  }
  #handling figure img{
    height: 60px;
    width: auto;
    max-width: none;
  }
}
@media screen and (max-width: 480px){}