
@charset "UTF-8";

html {
  font-size: 100%;
}
* {
  margin:0;
  padding: 0
}
body {
  font-family: "游明朝体",serif;
  color: #4b4747;
}
header {
   
  position: relative;
  padding-top: 100px; /* ← .topの高さ分 */
    padding-top: clamp(16px,4vw,100px);
}
h1 {
    font-size: clamp(4px,2vw,24px);
    margin-left: clamp(10px,4vw,30px);
    width: clamp(100px,50vw,500px);
    font-weight: 600;
}
.aikon {
   
    list-style: none;
    display: flex;
    padding-top: 8px;
    box-sizing: border-box;
    gap: 20px;
   height:  clamp(10px,2vw,20px);
     margin-right: clamp(10px,4vw,30px);
    
}
.aikon li {
    height:  clamp(10px,2vw,20px);
}
.top {
    
    display: flex;
   position: fixed;
   top: 10px;
   width: 100%;
    justify-content:space-between
    
    
}
.nav {
   
    display: flex;
    justify-content: right;
    gap: 30px;
    list-style: none;
    width: 100%;
    box-sizing: border-box;
    padding-right: clamp(10px,4vw,30px);
    padding-top: clamp(30px,10vh,110px);

    
   

}

.nav a{
   
    font-size: 16px;
    text-decoration: none;
   
   
}
.nav a {
  position: relative;
  text-decoration: none;
  color: #333;
  padding: 5px 0;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: #333;
  transition: width 0.3s ease;
}

.nav a:hover::after {
  width: 100%;
}
/* チェックボックス非表示 */
#menu-btn{
  display:none;
}

/* =====================
   ▼ PC表示
===================== */

.hamburger{
  display:none;
  font-size:28px;
  cursor:pointer;
}

.menu{
  display:block;
}

.nav{
  display:flex;
  list-style:none;
  gap:30px;
}

.nav a{
  text-decoration:none;
  color:#000;
}

/* =====================
   ▼ スマホ表示
===================== */
@media (max-width:768px){

  /* ハンバーガー */
  .hamburger{
    display:block;
    position:absolute;   /* ← fixedをやめた */
    top:30px;
    right:14px;          /* 右側に配置 */
    z-index:1000;
  }

  /* ☰ → × 切り替え */
  .hamburger::before{
    content:"☰";
  }

  #menu-btn:checked + .hamburger::before{
    content:"✕";
  }

  /* メニュー初期状態（閉じる） */
  .menu{
    position:absolute;
    top:60px;
    right:20px;
    background:#fff;
    width:200px;
    max-height:0;
    overflow:hidden;
    transition:.3s;
    box-shadow:0 5px 10px rgba(0,0,0,0.1);
    z-index:999;
  }

  .nav{
    flex-direction:column;
    padding:20px;
    gap:20px;
  }

  /* 開いたら表示 */
  #menu-btn:checked ~ .menu{
    max-height:500px;
  }
}

.main {
  background-image: url(images/main_03.jpg);
  width: 100%;
  height: 60vh;
  background-size: contain;
  background-repeat: no-repeat;
  margin-top: 20px;

  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1.6s ease forwards;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
h2 {
    font-size: clamp(18px,4vw,50px);
    font-weight: 400;
    font-style: italic;
    
    text-align: center;
    padding-top: 300px;
    padding-bottom: 300px;
    width: 100%
}
@media (max-width:768px){
  .main {
    background-image: url(images/スマホメイン_03.jpg);
    height: 45vh;
   margin-top: 110px;
   
  }
  h2 {
    padding-top: 30px;
    padding-bottom: 50px;
  }
}

.pulofu {
    display: flex;
    width: 40%;
    margin: auto;
   gap: 30px;
    margin-bottom: 25px;
     font-style: italic;
   
     
}
.name {
 
    font-size: 36px;
    font-weight: 600;
    
}
.chisaku {
  font-size: 28px;
}
.tanjyoubi {
    font-size: 24px;
    padding-top: 13px;

}
.taipu {
     font-size: clamp(4px,3vw,21px);
     width: 70%;
     margin: auto;
     text-align: center;
      font-style: italic;
      margin-bottom: 50px;
      font-weight: 500;
}
@media (max-width:768px){
  .pulofu {
    width: 80%;
    
  }
  .tanjyoubi {
    font-size: 12px;
    padding-top: 6px;
  }
  .name {
    font-size: 18px;
  }
  .chisaku {
  font-size: 12px;
}
  .taipu {
    font-size: 8px;
    width: 90%;
  }

}
.pulofubun {
    font-size:20px;
    width: 50%;
     margin: auto;
     text-align: center;
     line-height: 2.5;
     letter-spacing: 0.05em;
     margin-bottom: 50px;
}
.konseputo {
    font-size: 21px;
    width: 50%;
     margin: auto;
     text-align: center;
     line-height: 2.5;
     letter-spacing: 0.05em;
}
@media (max-width:768px){
  .pulofubun {
    font-size: 10px;
    width: 80%;
    }
    .konseputo {
      font-size: 11px;
      width: 100%;
    }
}

.seisaku {
    display: flex;
    flex-wrap: wrap;
    width: 1075px;
    margin: auto;
    gap: 25px;
    margin-bottom: 200px;
}

@media (max-width:768px){
  .seisaku {
   width: 50%;
    display: block;
    text-align: center;

  }
  #Works {
    margin-top: 130px;
  }
  .seisaku img {
    width: 150px;
    padding-top: 20px;
  }

  .seisaku img {
    opacity: 0;
    transform: translateY(40px);

    animation: fadeUp 1s ease forwards;
    animation-timeline: view();
    animation-range: entry 0% cover 30%;
  }

  /* 順番に表示 */
  .seisaku img:nth-child(1) { animation-delay: 0s; }
  .seisaku img:nth-child(2) { animation-delay: 0.4s; }
  .seisaku img:nth-child(3) { animation-delay: 0.6s; }
  .seisaku img:nth-child(4) { animation-delay: 0.8s; }

}




.seisaku img {
  transition: transform 0.3s ease;
}

.seisaku img:hover {
  transform: scale(1.05);
}
.flow ol {
    list-style: none;
    list-style-position: inside;
   
   
}


.flow h3 {
    padding-top: 50px;
    font-size: 24px;
   
}
.flow p {
    width: 300px;
    font-size: 16px;
    padding-top: 90px;
   
}
.bun {
  text-align: left;
}
.flowue {
    display: flex;
    justify-content: space-between;
    width: 1075px;
    margin: auto;
    text-align: center;
    gap: 25px;
  
}
.flowshita {
    display: flex;
    justify-content: space-between;
    width: 700px;
    margin: auto;
    text-align: center;
    padding-top: 200px;
    margin-bottom: 50px;
}
@media (max-width:768px){
 .flow{
  width: 80%;
  margin: auto;
  margin-bottom: 150px;
 
 }
 .flow ol {
  list-style: none;
 }
 
 .flow h3 {
  font-size: 16px;
  padding-top: 60px;
 
 }
 
 .mizuiro {
   background-color: #f0f8fa;
    padding: 2px 10px;
  border-radius: 4px;
 }
 .flow p {
  width: 250px;
  margin: auto;
   
    font-size: 12px;
    padding-top: 30px;
    
   
}
.flowue {
  display: block;
  width: 100%;
  
  
}
.flowshita {
  display: block;
  width: 100%;
  padding-top: 27px;
}
.flowue img {
  width: 30px;
}
.flowshita img {
  width: 25px;
  
}
}

.plan {
    width: 1060px;
    margin: auto;
    margin-bottom: 100px;
    
}
.koumoku {
    display: flex;
    height: 310px;
    
    list-style: none;
   height: 350px;
   padding: 20px;
   justify-content: space-between;
  

}
.plan li {
    list-style: none;
}
.Printdesign {
    
    width: 330px;
    border: solid 1px gray;

}
.Webdesign {
   
    width: 330px;
     border: solid 1px gray;
}
.Management {
    
    width: 330px;
     border: solid 1px gray;
}
.koumoku h3 {
    font-size: 36px;
    padding: 20px;
    font-weight: 600;
}
.naiyou {
    font-size: 18px;
    padding: 20px;
   
    line-height: 3;
}
.hosoku {
   text-align: right;
}
@media (max-width:768px){
  .plan {
    width: 80%;
    margin: auto;
   display: block;
   
   height: 630px;
   
  
    
}
.koumoku {
    display: block;
    height: 250px;
    list-style: none;
   padding: 20px;
   
  
}
.Printdesign {
    
    width: 70%;
    margin: auto;
   
    margin-top: 30px;

}
.Webdesign {

    width: 70%;
    margin: auto;
    
      margin-top: 30px;
}
.Management {
 
    width: 70%;
    margin: auto;
      margin-top: 30px;
    
}
.line {
background: linear-gradient(transparent 60%, #f0f8fa 60%);
padding: 0 6px;   /* ← 左右に広げる */
  margin: 0 -6px;   /* ← レイアウトを崩さないよう戻す */
}
.koumoku h3 {
    font-size: 18px;
    padding: 20px;
    font-weight: 600;
}
.naiyou {
    font-size: 10px;
    margin-left: 10px;
    padding: 15px;
   width: 80%;
    line-height: 2;
}
.hosoku {
 font-size: 10px;
 display: block;
 margin-top: 320px;
 
}
}


.blog {
    display: flex;
    flex-wrap: wrap;
    width: 1075px;
    margin: auto;
    gap: 25px;
    margin-bottom: 200px;
    text-align: center;
    
    }
.blog01 a {
    text-decoration: none;
    color: #4b4747;
    }
.blog img {
  transition: transform 0.3s ease;
}

.blog img:hover {
  transform: scale(1.05);
}
@media (max-width:768px){
  .blog {
   width: 50%;
    display: block;
    text-align: center;


  }
  #blog {
    margin-top: 150px;
  }
  .blog img {
    width: 150px;
    padding-top: 35px;
  }
  .blog01 a {
    font-size: 10px;
  }
}

.cta {
    text-align: center;
    margin-top: 0px;
    margin-bottom: 200px;
}
.cta img {
  transition: transform 0.3s ease;
}

.cta img:hover {
  transform: scale(1.05);
}
@media (max-width:768px){
    .cta img {
      width: 50px;
    }
}
footer small {
    display: block;
    padding-top: 30px;
    text-align: right;
}


.back-to-top:hover {
  background: #555;
}
.back-to-top {
  position: fixed;
  left: 20px;
  bottom: 30px;
  background:gray;
  color: #fff;
  padding: 12px 16px;
  border-radius: 50px;
  text-decoration: none;
  transition: 0.3s;
}
@media screen and (max-width: 768px) {
  .back-to-top {
    left: 10px;
    bottom: 15px;
    padding: 8px 10px;
    font-size: 12px;
  }
}
