/*-----------------------
Common Style
update:2026/10/20
-------------------------*/
* {
  scroll-padding-top: 50px; 
}

html {
  width: 100%;
  font-size: 62.5%;
  background: #FFF !important;
}

body {
  overflow-y: scroll;
  font-family: "新ゴ R", "Shin Go Regular", "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN","Roboto", sans-serif !important;
  box-sizing: border-box;
  overflow-x: hidden;
  background: #FFF !important;
}

@media (prefers-color-scheme: dark) {
  body {
    background-color: #FFF !important;
    color: #1A1C1E !important;
  }

  .sidenav {
    background-color: #FFF !important;
    color: #1A1C1E !important;

    a {color: #1A1C1E !important;}
  }
}

img {
  max-width: 100%;
  height: auto;
}

.full-width {
  width: 100vw;
  margin-left: calc(50% - 50vw);
}

.container {
  margin: 0 auto;
}

header {
  padding: 15px 15px 0 15px ;
  text-align: left;
  border-bottom: 1px solid #00adff; 
  
  .nav a {
    color: #1A1C1E;
  }

  & img {
    max-height: 25px;
  }
}

.header_box {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logoArea {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo {
  width: 100px;
  & img {
    width: 100%;
    height: auto;
  }
}
.logo-copy {
  white-space: nowrap;
}

.nav {
  display: flex;
  height: 100%;

  ul {
    height: 100%;
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
    font-weight: 700;
  }

  a {
    display: block;
    padding: 0 30px;
    text-decoration: none;
  }
}
a.contact {
    background-color: #ffdb3d;
}

.sidenav li> a{
  border-radius: 0 !important;
  margin: 0 !important;
  padding-left: 12px !important;
}

.nav a:hover, .sidenav li> a:hover{
  background-color: #e5f9f7 !important;
}

.menu {
  color: #555;
  background-color: #ffdb3d;
  padding: 10px;
  font-size: 28px !important;
}

main {
  font-size: clamp(1.1rem, 1rem + 0.5vw, 1.25rem);
  line-height: 1.8;
}

footer{
  margin-top: 0px;
  padding: 30px 0 5px;
  line-height: 1.5rem;
  
  & span {
    font-size: 1.2rem;
    font-weight: 400;
    color: #1A1C1E;
    text-decoration: none;
  }
  & p {
    margin-top: 0px;
    margin-bottom: 5px;
  }
  & p.hq {
    margin: 15px 0;
  }
  p.note {
    font-size: 0.9rem;
    color: #F3435B;
  }
  .address {
    margin-bottom: 15px;
  }

}

footer a {
  color: inherit;
  text-decoration: underline;
}
footer a:hover {
  color: #0091BE !important;
}
a.logo_t {
  color: inherit;
  text-decoration: none !important;
}
a.logo_t:hover {
  color: inherit;
}

.footer-logo {
  max-height: 30px;
}

.catch {
  font-size: clamp(1.3rem, 1.2rem + 0.8vw, 1.6rem);
  font-weight: 700;
  & p {
    margin-bottom:0;
  }
}
.main-visual {
  display: block;
  margin: 0 auto;
}
.section_out {
  margin-top: 30px;
  padding: 10px 0 30px;
  background-color: #e5f7ff;
}
.top_out {
  margin-top: -150px;
  padding-top: 130px;
  & h2 {
    width: 80%;
    margin-right: auto;
    margin-left: auto;
  }
}

.feature01 {
  padding-top: 30px;
  padding-bottom: 30px;
  
  & img {
    width: 80%;
    display: block;
    margin: 0 auto;
    margin-bottom: 20px;
  }
  & h2>img {
    margin: 0 auto;
  }
}
.feature_bar img {
  margin: 30px auto;
}

.issues {
  margin-bottom: 20px;

  & img {
    display: block;
    position: relative;
    z-index: 5;
  }
}

.img-over img {
  margin-top: -85px;
  margin-bottom: 20px;
  z-index: 1;
}

.img-over2 img {
  margin-top: -30px;
  z-index: 1;
}

.teian img {
  width: 80%;
  display: block;
  margin: 30px auto;
}

.case {
  & h2 img {
    display: block;
    margin: 0 auto;
    width: 80%;
  }
  
  & h3 {
    margin-bottom: 0;
  }
  & h3>img {
    display: block;
    margin: 0 auto 20px auto;
    width: 85%;
  }
}

.case_box {
  margin-bottom: 30px;
  padding: 15px 20px;
  background-color: #e5f7ff;
  border-radius: 14px;
}
.case_box:last-child {
  margin-bottom: 0px;
}
img.case_image {
  width: 80%;
  display: block;
  margin: 30px auto 0 auto;
}

.peas_system {
  margin-top: 60px;
  
  & h5>img {
    width: 80%;
    display: block;
    margin: 20px auto;
  }
  & h5.peas_t>img {
    width: 100%;
  }
  .peas_sysBox {
    margin: 60px 0;
  }
  .peas_sysBox:last-child {
    margin-bottom: 20px;
  }
}

.flow {
  padding-bottom: 30px;

  & h2 img {
      max-width: 75%;
      margin: 0 auto 40px auto;
      display: block;  
  }
  .flow_image img {
    width: 75%;
    margin: 0 auto;
    display: block;
    
    &.flow_image:first-child img {
      width: 50%;
    }
  }
}

.peasflow {
  padding-bottom: 60px;
  & h2 img{
      max-width: 60%;
      margin: 0 auto 40px auto;
      display: block;  
  }
  .pflow_image img {
    width: 70%;
    margin: 0 auto;
    display: block;
  }
  
}

/* メインビジュアル フェードイン、その他画像スクロールに合わせてフェードイン表示 */
.main-visual, .fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}
.main-visual.show, .fade-in.show {
  opacity: 1;
  transform: translateY(0);
}

/*問い合わせボタン下部に固定表示*/
.cta-btn {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%) ;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.2s ease-out, box-shadow 0.2s ease;
}
.cta-btn:hover {
  transform: translateX(-50%) translateY(-2px);
  filter: drop-shadow(0 8px 20px rgba(0,0,0,0.2));
}
.cta-btn img {
  display: block;
  width: 55vw;
  max-width: 320px;
  min-width: 240px;
  height: auto;
  background: rgba(255, 255, 255, 0.85); 
  border-radius: 999px;
  filter: drop-shadow(0 8px 20px rgba(0,0,0,0.2));  
}



/*PC用*/
@media (min-width: 1025px) {
  /* PC用*/
  h1 {
    text-align: left;
  }
  h1 img {
    width: 80%;
    margin: 20px 0 0 0;
  }
  h2 img {
    max-height: 30px;
  }
  h5 img {
      max-height:25px;
      
  }
  .catch {
    position: relative;

    >p {
      font-size: clamp(1rem, 1rem + 0.5vw, 1.3rem);
      display: flex;
      z-index: 10;
    }
    h1 {
      margin-top: 15px;
    }
  }
  .top_out {
    margin-top:30px;
    padding-top: 30px;
    
    & h2 {
      max-width: 645px;
      margin-left: 0;
    }
    & h2 img {
      max-height: 100px;
      height: 100%;
      width: auto
    }
  }
  p.catch_pc {
    position: relative;
    z-index: 1;
    display: inline;
    text-shadow:
      1px 1px 2px rgba(255, 255, 255, 0.9),
     -1px -1px 2px rgba(255, 255, 255, 0.9),
      1px -1px 2px rgba(255, 255, 255, 0.9),
     -1px  1px 2px rgba(255, 255, 255, 0.9);
  }
  .main-visual {
    max-width: 43%;
    position: absolute;
    top: 128px;
    right: -100px;
    z-index: 0;
  }
  .feature01 h2 img {
    max-height: 50px;
  }
  .issuesBox {
    position:relative;
    margin-bottom: -80px;
  }
  img.issues_txt {
    position: relative;
    width: auto;
    margin: 0 auto;
    max-height: 150px;
  }
  .issue1 { left: 120px; max-height: 140px!important;}
  .issue2 { left: -120px; top:-30px}
  .issue3 { left: 140px; top: -100px;}
  
  .feature_bar img {
    max-height: 85px;
  }
  
  .case{
    h2 img{
      width: 75%;
      display: block;
      margin-left: auto;
      margin-right: auto;
    }
    h3 {
      width: 100%;
      display: block;
      margin: 30px auto 0 auto;
    }
    h4 {
      width: 100%;
      display: inline-block;
      margin-bottom: 0;
    }
    
    .icon img {
      max-width: 75%;
    }
    .case_flow {
      display: flex;
      align-items: center;
    }
    .kouka {
      width: 60%;
    }
  }
  .case_box {
    margin-top: 50px;
    padding: 20px 60px;
    position: relative;
    height: calc(100% - 77px) !important;
  }
  .case_inBox {
    max-width: 60%;
    margin: 0 auto;
    position: relative;
    margin-bottom: -80px;
    top: -77px;
  }
  .case02_img {
    max-width: 63%;
  }
  .p_group {
    width: 80%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
    grid-template-areas:
      "one two";
    row-gap: 0;
  }
  .g1 { grid-area: one; align-self: center;}
  .g2 { grid-area: two; }
  
  .psys_group {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
  }
  .flow{
    text-align: center;
    margin-bottom: 30px;
    & .flow_image img {
      width: auto;
    }
  }
  .flow_group {
    display: grid;
    grid-template-columns: 0.8fr 7fr 2.5fr;
    align-items: center;
    & img.item1 {
      padding-right: 10px;
    }
  }  
  .foot_group {
    display: grid;
    grid-template-columns: auto auto;
    align-items: center;
    gap: 10px;
  }
  .f_g1 {
    margin-right: 30px;
    text-align: right;
  }
  .footer p.hq {
    margin: 0;
    margin-bottom: 5px;
  } 
  .footer small {
    display: block;
    text-align: right;
  }

  /*問い合わせボタン*/
  .cta-btn {
    transform:none;
    left: auto;
    right: 20px;
  }
  .cta-btn:hover {
    transform: translateY(-2px);
    filter: drop-shadow(0 8px 20px rgba(0,0,0,0.2));
  }
  /*お悩み部分のフェードイン1つずつ*/
   .fade-in {
    transition-delay: calc(var(--i) * 0.4s);
  }
}
