@charset "utf-8";

body{
  margin: 0;
  padding: 0;
  background-color: #fff;
  color: #333333;
  font-size: 15px;
  line-height: 2;
}

h1,h2,h3,h4,h5,h6{
  margin-top: 10px;
  white-space: nowrap;
  font-size: 50px;
  line-height: 1;
  color: #333333;
  font-family: "Sawarabi Mincho"; 
  margin-bottom: 25px;
  border: none;
}

p {
  font-size: 25px;
  color: #333333;
  font-family: "Sawarabi Mincho";
}

img{
  vertical-align: bottom;
}

ul{
  margin: 0;
  padding: 0;
}

a{
  text-decoration: none;
}

a:visited{
  color: rgb(125, 82, 4);
}

a:hover{
  text-decoration: underline;
}

#fixed-header {
  top: -120px;
  height: 120px;
  width: 100%;
  margin: 0px 0px 150px;
  padding: 150px auto;
  background: #FFF;
  position: fixed;
  z-index: 100;
  transition: .5s;
}

#fixed-header.is-show {
  top: 0;
}

.logolist{
  margin: 10px 10px;
  height: 100px;
  width: 100px;
  display: flex;
  list-style: none;
  margin: 0 20px 15px 0;
}

.logolist li img {
  width: auto;
  height: 100px;
  margin: 10px;
}

.logolist2 {
  height: 100px;
  width: auto;
  display: flex;
  list-style: none;
  justify-content: center;
}

.logolist2 li {
  align-items: center;
  justify-content: center;
}

.logolist2 li img {
  width: auto;
  height: 100px;
  margin: 10px;
}

#global-nav{
  float: right;
  margin-top: 60px;
}

#global-nav li{
  float: left;
  margin: 0 20px;
  font-size: 20px;
  list-style: none;
  font-family: 'Bitter', serif;
}

#global-nav li a{
  color: #969292;
}

#global-nav li a:hover {
  border-bottom: 2px solid #969292;
  padding-bottom: 3px;
  text-decoration: none;
}

 a .anchor {
  display: block;
  padding-top: 70px;
  margin-top: -70px;
}

#wrap{
  clear: both;
  background-color: #fff;
  margin-top: 220px;
  padding: 35px 0;
}

.content {
  max-width: 1000px;
  margin: auto;
}

footer {
  height: 120px;
  width: auto;
  margin: 0px 0px;
  background: #FFF;
  position: relative;
}

footer small {
  display: block;
  font-size: 12px;
  text-align: center;
  margin-top: 20px;
  padding: 10px;
  white-space: nowrap;
  background-color: #FFF;
  color: gray;
}

.wf-hannari {
   font-family: "Hannari"; 
  }

#index .content{
  margin-top: 15px;
  padding-left: 10px;
  text-align: center;
  margin-bottom: 30px;
}

.menuButton {
  display: block;
  margin: 10px 10px;
  height: 100px;
  width: 100px;
  background: #ffffff;
  position: fixed;
  top: 0;
  right: 0;
}

.menuButton div {
  height: 1px;
  width: 60%;
  background: #333333;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  transition: 0.3s;
}

.menuButton div:nth-of-type(1) {
  transform: translate(-50%,-10px);
}

.menuButton div:nth-of-type(3) {
  transform: translate(-50%,10px);
}

.menuButton.active div:nth-of-type(1) {
 transform: rotate(45deg) translate(-50%,0);
 transform-origin: 0% 50%;
}

.menuButton.active div:nth-of-type(2) {
  opacity: 0;
}

.menuButton.active div:nth-of-type(3) {
  transform: rotate(-45deg) translate(-50%,0);
  transform-origin: 0% 50%;
 }

 nav {
   opacity: 0;
   visibility: hidden;
   transform: 1s;
 }

 nav.active {
   opacity: 1;
   visibility: visible;
   position: fixed;
   top: 60px;
   right: 0;
   background-color: #ffffff;
   width: 200px;
   height: 400px;
   max-height: 100vh;
   overflow: auto;
 }

 nav ul {
   display: flex;
   flex-direction: column;
   align-items: center;
   justify-content: center;
   height: 100%;
 }

img {
  width: 100%;
}

li {
  list-style: none;
}

.changeBack1 {
  background-color: #ffffff;
  color: #ffffff;
  width: auto;
  height: auto;
}

.changeBack2 {
  background: radial-gradient(ellipse at center, rgb(196, 196, 196) 0%,rgba(196,196,196,1) 28%,rgba(196,196,196,1) 18%,rgb(255, 255, 255) 70%);
  color: #fff;
  width: auto;
  height: auto;
  padding: 10px 20px 10px;
  text-align: center;
}

.changeBack3, .changeBack4 {
  text-align: center;
  padding: 30px 0px;
}

#index .pc {
  width: 100%;
  height: auto;
  margin: 0px auto 10px;
  text-align: center;
  justify-items: center;
  display: block !important;
}

#index .sp {
  display: none !important;
}

.toppage {
  position: relative;
  margin: 100px auto;
}

.toppage p {
  display: flex;
  text-align: left;
  align-items: flex-end;
  flex-direction: column;
  top: 15%;
  right: 0;
  position: absolute;
  margin-top: 15px;
}

.toppic {
  width: auto;
  height: 500px;
  text-align: right;
  position: relative;
  border-radius: 10px;
  right: 25%;
  background: radial-gradient(transparent,#000);
}

.swiper {
  width: 100%;
  height: 100%;
}

.swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}

.swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.work {
  margin: 50px auto;
}

.workList {
  max-width: 980px;
  width: 100%;
  margin: 0px auto 30px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px 3.5%;
  opacity: 0;
  transition: 1s;
  transform: translateY(50px);
}

.workList.show {
  opacity: 1;
  transform: none;
}

.workList li {
  width: 31%;
  height: 300px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  cursor: pointer;
}

.workList li:hover {
  opacity: 0.7;
  transform: scale(1.05);
}

.workBox {
  margin-bottom: 100px;
}

.workText {
  padding-bottom: 30px;
}

.price {
  margin: 50px auto;
}

th {
  width: 240px;
  color: #FFF;
  background-color: #c1c0c0;
  padding: 12px 0;
  border: 1px solid #cccccc;
  text-align: center;
  font-family: "Sawarabi Mincho"; 
  font-size: 30px;
}

td {
  width: 660px;
  padding: 12px 0 12px 10px;
  border: 1px solid #cccccc;
  text-align: left;
  font-family: "Sawarabi Mincho"; 
  font-size: 30px;
}

table {
  border-spacing: 0;
  border-collapse: collapse;
}

iframe {
  width: 80%;
  height: 600px;
  box-shadow: #000;
}

.news-list{
  list-style: none outside;
  margin: 0;
  padding: 0;
}
.news-list .item a{
  display: flex;
  flex-wrap: wrap;
  flex-wrap: nowrap;
  text-decoration: none;
  color: #333;
  border-bottom: 1px solid #CCC;
  padding: 20px 20px;
}
.news-list .item:first-child a{
  border-top: 1px solid #CCC;
}
.news-list .item .date{
  margin: 0;
  min-width: 140px;
  font-size: 16px;
  color: #999;
  padding: 0 20px 0 0;
}
.news-list .item .category{
  margin: 0;
  min-width: 140px;
  padding: 0 20px 0 0;
}
.news-list .item .category span{
  background: skyblue;
  color: #FFF;
  text-align: center;
  display: inline-block;
  padding: 5px 20px;
  font-size: 12px;
  line-height: 1;
}
.news-list .item .title{
  margin: 0;
  width: 100%;
}
.news-list .item a:hover .title{
  color: rgb(135, 206, 235);
}

.content {
  opacity: 0;
  transition: 1s;
  transform: translateY(50px);
}

.content.show {
  opacity: 1;
  transform: none;
}

.content li.show {
  opacity: 1;
  transform: none;
}

img.show {
  opacity: 1;
  transform: none;
}


.btn {
  align-items: center;
  justify-content: center;
  width: 200px;
  height: 60px;
  background-color: rgba(20, 20, 20, 0.8);
  color: white;
  font-size: 10px;
  border-radius: 5px;
  text-decoration: none;
  margin: 20px auto 0;  
  padding: 10px 20px;
  cursor: pointer;
}

.btn:hover {
  background-color: #ffffff;
  color: black;
  cursor: pointer;
  text-decoration: none;
}

.contact {
  margin: 50px auto;
}

.form dl dt {
  width: 165px;
  padding: 10px 0;
  clear: both;
  text-align: center;
}

form dt {
  font-size: 30px;
  text-align: center;
}

form dl dd {
  padding: 10px 0;
}

form .name {
  width: 660px;
  height: 30px;
}

form .email {
  width: 660px;
  height: 30px;
}

form .tel {
  width: 660px;
  height: 30px;
}

form .type {
  width: 660px;
  height: 30px;
}

form .message {
  width: 660px;
  height: 300px;
}

input {
  width: 660px;
  height: 30px;
  border-radius: 5px;
}

textarea {
  width: 660px;
  height: 300px;
  border-radius: 5px;
}

form #submit_button {
  background-color: skyblue;
  color: #ffffff;
  font-size: 15px;
  width: 120px;
  display: block;
  text-align: center;
  line-height: 15px;
  border-radius: 5px;
  border: 3px solid skyblue;
  margin: auto;
}

form #submit_button:hover {
  background-color: #ffffff;
  color: skyblue;
  cursor: pointer;
}

form .required:after {
  content: "*";
  color: #ff0000;
}

form .attention {
  margin: 20px 0 0 165px;
}

#mail {
  background-color: #FFF;
}

.g-recaptcha {
  margin: 20px auto;
  text-align: center;
  width:300px;
}

#philisophy {
  margin-top: 200px;
}

.philisophy-list {
  margin: 30px 10px;
  display: flex;
  justify-content: flex-start;
}

.philisophypic {
  width: 300px;
  height: auto;
  margin: 20px 20px 30px;
  border-radius: 5px;
  cursor: pointer;
}

.philisophypic:hover {
  opacity: 0.5;
}

.philisophy-box {
  opacity: 0;
  transition: 1s;
  transform: translateY(50px);
}

.philisophy-box.show {
  opacity: 1;
  transform: none;
}

.seoPage {
  position: relative;
}

.seoPage p {
  display: flex;
  text-align: left;
  align-items: flex-start;
  flex-direction: column;
  top: 15%;
  left: 0;
  position: absolute;
  margin: 30px 10px;
}

.seoPic {
  width: auto;
  height: 500px;
  text-align: right;
  position: relative;
  border-radius: 10px;
  left: 55%;
  opacity: 0.5;
  margin: 30px 10px;
}

#employee {
  margin-top: 200px;
}

.employeeList{
  margin: 30px 10px;
  padding: 30px 0px;
  width: 100px;
  display: flex;
  list-style: none;
  align-items: flex-start;
}

.employeeList li img {
  width: auto;
  height: 300px;
  margin: 10px;
}


@media screen and (max-width : 768px) {
  /* 画面サイズが600px以下の場合に適用 */
  
  body {
    font-size: 3.5vw;
  }
  
  h1,h2,h3,h4,h5,h6 {
    font-size: 7.2vw;
  }

  p {
    font-size: 3.2vw;
  }

  header {
    width: 100%;
    height: 50px;
  }

  #fixed-header {
    height: 50px;
    width: 100%;
  }
  

  .logolist{
    margin: 0px 5px 0px;
    height: 30px;
    width: 30px;
    display: flex;
    list-style: none;
  }
  
  .logolist li img {
    width: auto;
    height: 40px;
    margin: 5px;
  }

  .logolist2{
    margin: 0px 5px 0px;
    height: 30px;
    width: auto;
    display: flex;
    list-style: none;
  }
  
  .logolist2 li img {
    width: auto;
    height: 50px;
    margin: 5px;
  }

  .menuButton {
    display: block;
    margin: 5px 10px;
    height: 30px;
    width: 30px;
    position: fixed;
    top: 0;
    right: 0;
  }

  .menuButton div {
    height: 0.5px;
  }

  #global-nav {
    margin-top: 30px;
  }

  #wrap {
    margin-top: 120px;
    padding: 35px 0 0;
    height: 200vh;
  }

  .changeBack1 {
    width: 100%;
  }

  .changeBack1 p {
    padding: 5px;
    font-size: 2.8vw;
  }

  #index .pc {
    display: none !important;
  }  

  #index .sp {
    display: inline-block !important;
    width: 100%;
    height: auto;
    margin-top: 100px;
    padding-top: 50px;
  }
  
  .content {
    width: auto;
    padding-top: 20px;
  }

  .toppic {
    width: auto;
    height: 260px;
  }

  th,td {
    font-size: 3.2vw;
    padding: auto;
  }

  th {
    width: 300px;
  }

  .workList {
    max-width: 330px;
  }
  
  .workList li {
    width: 31%;
    height: 90px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    cursor: pointer;
    box-shadow: 0px 5px 15px 0px rgba(0, 0, 0, 0.35);
  }

  .news-list .item a{
    flex-wrap: wrap;
  }
  .news-list .item .date{
    min-width: 100px;
  }
  .news-list .item .title{
    margin-top: 10px;
  }
  
  #contact {
    margin-top: 30px;
    padding-top: 30px;
  }

  .btn {
    width: 60px;
    height: 20px;
    font-size: 1vw;
    padding: 3px 10px;
    margin-top: 30px;
  }
  
  input {
    width: 320px;
    height: 30px;
    border-radius: 5px;
  }

  form dt {
    font-size: 4vw;
  }
  
  textarea {
    width: 320px;
    height: 100px;
    border-radius: 5px;
  }
  
  form #submit_button {
    font-size: 3vw;
    width: 70px;
  }

  #mail img {
    width: 100%;
    height: auto;
    margin-top: 100px;
  }
  
}

