/* 共通 */
#Header,#ctl00_BodyHeaderMain_upUpdatePanel{
    display:none;
}
html{
  font-size: 16px;
}
body {
  margin: 0;
  background: #dad9ce;
  font-family: "游明朝", "Yu Mincho", serif;
  color: #333;
  line-height: 1.6;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}






/*----------------- 一文字アニメーション----------------------- */
#subscription span,#service span {
  display: inline-block;
  opacity: 0;
  transform: translateY(10px);
  animation: fadeInUp 0.6s forwards;
}
#subscription span:nth-child(1),#service span:nth-child(1) { animation-delay: 0s; }
#subscription span:nth-child(2),#service span:nth-child(2) { animation-delay: 0.1s; }
#subscription span:nth-child(3),#service span:nth-child(3) { animation-delay: 0.2s; }
#subscription span:nth-child(4),#service span:nth-child(4) { animation-delay: 0.3s; }
#subscription span:nth-child(5),#service span:nth-child(5) { animation-delay: 0.4s; }
#subscription span:nth-child(6),#service span:nth-child(6) { animation-delay: 0.5s; }
#subscription span:nth-child(7),#service span:nth-child(7) { animation-delay: 0.6s; }
#subscription span:nth-child(8){ animation-delay: 0.7s; }
#subscription span:nth-child(9){ animation-delay: 0.8s; }
#subscription span:nth-child(10){ animation-delay: 0.9s; }
#subscription span:nth-child(11) { animation-delay: 1.0s; }
#subscription span:nth-child(12) { animation-delay: 1.0s; }

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/*--------------------------------------------------------- */





  .pc-hero {
    display: none;
  }
   .sp-hero {
    position: relative;
    display: block;
     opacity: 0;
  transition: opacity 1.2s ease-out, transform 1.2s ease-out;
  }

.sp-hero.is-visible {
  opacity: 1;
}


  .hero-text {
    text-align: center;
    font-size: 1rem;
    margin: 2rem 1rem;
  }
  
 
   .sp-hero::after{
     margin: 0 auto;
     max-width: 550px;
     max-height: 140px;
    content: '';
    background: url(https://biz.aromicstyle.com/img/lp/aromict/footer.svg) no-repeat;
    background-size: cover;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 25vw;
    opacity: 0.1;
    z-index: -1;
    top:50%;                    
    transform:translateY(-50%); 
}
  .nav {
    display: none;
  }
  .hamburger {
    position: relative;
    text-align: right;
    font-weight: 400;
    padding: 1rem;
    font-size: 2rem;
    cursor: pointer;
  }
  .hamburger::before {
    padding: 1rem;
    content: url('https://biz.aromicstyle.com/img/top/logosp.svg');
    position: absolute;
    left: 1rem;
    top: 1rem;
    width: 200px;
    height: auto;
  }
  .drawer-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #252631;
    z-index: 100;
    padding: 5rem 2rem 3rem;
  }
  .drawer-menu a {
    display: block;
    color: #fff;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
  }
  .drawer-menu .close {
    color: #fff;
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2rem;
    cursor: pointer;
  }
  









h2 {
  font-size: 1.4rem;
  margin: 2rem 0 1rem;
  text-align: center;
  letter-spacing: 0.1rem;
}
h2.top {
  position: relative;
  font-size: 2rem;
  margin: 3rem 0 2rem;
  text-align: left;
  letter-spacing: 0.1rem;
  color: #b0aca2;
  display: inline-block;
}
h2.top::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 300%;
  height: .2rem;
  background-color: #c5c3b8;
  z-index: -1;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
}


@media (min-width: 900px) {
  /*header*/
  .sp-hero, .hamburger, .drawer-menu {
    display: none;
  }


  .pc-hero {
     display: block;
    position: relative;
    text-align: center;
    width: 100%;
    max-width: none;
    opacity: 0;
  transition: opacity 1.2s ease-out, transform 1.2s ease-out;
  }
  .pc-hero.is-visible {
  opacity: 1;
  transform: translateY(0);
}
  .pc-hero img {
    width: 100vw;
    height: 30vw;
    display: block;
    object-fit: cover;
    object-position: center 58%; 
    filter: brightness(80%);
  }
  
  .pc-hero .hero-text {
    position: absolute;
    display: block;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 1.6rem;
    letter-spacing: 0.1rem;
  }
  .nav::before {
content: url('https://biz.aromicstyle.com/img/top/logosp.svg');
    position: absolute;
    left: 3%;
    top: 50%;                 /* 上から50%の位置に置く */
    transform: translateY(-50%); /* 自身の高さの半分だけ上に戻す＝縦中央 */
    width: 200px;
    height: auto;
  }

  .nav {
    position: relative;
    padding: 1.4rem;
    z-index: 2;
    display: flex;
    gap: 1.5rem;
    justify-content: flex-end;
  }
  .nav a {
    position: relative;
    color: #595757;
display: inline-block;     
    overflow: visible;      
  }
  .nav a::after {
content:'';
    position:absolute;
    left:0;
    bottom:0;              
    width:100%;
    height:1px;            
    background:#595757;
    transform:scaleX(0);
    transform-origin:right;
    transition: transform .45s cubic-bezier(.645,.045,.355,1);
  }
  .nav a:hover::after,
  .nav a:focus-visible::after {
    transform: scaleX(1);
    transform-origin: left;
  }
   /* 見出し */
h2 {
  font-size: 1.4rem;
  margin: 2rem 0 1rem;
  text-align: center;
  letter-spacing: 0.1rem;
}
h2.top {
  position: relative;
  font-size: 4rem;
  margin: 5rem 0 2rem;
  text-align: center;
  letter-spacing: 0.1rem;
  color: #b0aca2;
  display: inline-block;
}
h2.top::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 0 1rem;
  width: 110%;
  height: 1rem;
  background-color: #c5c3b8;
  z-index: -1;
}
  
  
}

@media (min-width: 1000px) {
  .nav a {
    font-size: 1rem;
      }
  .pc-hero::before {
    width: 280px;

  }
}

.service-item{
    border-radius: 0;
  }
  
/* グリッド */
.service-grid{
  display: grid;
  gap: 5rem;
}
.order-grid {
  display: grid;
}
/* アイテム */
.service-item {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  text-align: center;
  /* 初期の影 */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  /* フェードイン用 */
  opacity: 0;
  transform: translateY(20px);
  transition: 
    opacity 0.6s ease,
    transform 0.6s ease,
    box-shadow 0.3s ease;
}

 .text-wrapper {
    position: absolute;
    top: 1rem;
    right: 1rem;
  }
.order-grid a {
  overflow: hidden;
  display: flex;
  flex-direction: column;

}




.order-item picture img {
  width: 100%;
  height: auto;
  display: block;
}

/* テキストブロック */
.order-item .text {
  padding: 2rem 1.5rem;
  text-align: left;
}
.order-item .text p{
  text-align:left;
}
/* タイトルにメリハリ */
.order-item .title {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 1rem;
  color: #444;
}
.service-grid{
 display: flex;
}
/* 本文 */
.order-item p {
  font-size: 1rem;
  line-height: 1.8;
  color: #444;
}
.service-item.is-visible{
  opacity: 1;
  transform: translateY(0);
}
.service-grid a:hover {
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
  transform: translateY(-5px);
}
.service-item .text, .order-item .text {
  padding: 1rem;
}
.order-item .text {
  padding: 1.2rem;
}

.service-ttl img{
  width:28vw;
}


/* SP: 1カラム */
@media (max-width: 899px) {
    .service-grid{
    display:block ;
  }
  .service-item {
  max-width: 300px;
    max-height: 300px;}
.order-item{
    max-width: 300px;
  max-height: 300px;
}
  /* --- カード全体 --- */
  .service-grid .service-item{
    position:relative !important;
    display:block !important;
    width:70vw;
    height:70vw;           /* 正方形〜やや縦長。必要なら調整 */
    margin:0 auto 2.2rem;
    border-radius:12px;
    overflow:hidden;
    box-shadow:0 6px 14px rgba(0,0,0,.12);
  }

  /* 背景画像 */
  .service-grid .service-item picture,
  .service-grid .service-item img{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
  }

  /* 網掛けグラデーション */
  .service-grid .service-item::after{
    content:'';
    position:absolute;
    inset:0;
    background:linear-gradient(
        to bottom,
        rgba(255,255,255,.45) 0%,
        rgba(255,255,255,.15) 40%);
    pointer-events:none;
  }

  /* --- 中央にロゴ（service-ttl）を配置 --- */
  .service-grid .service-item .text-wrapper{
    position:absolute;
    top:1.2rem; left:1.2rem;
    width:90%;
    text-align:center;
    z-index:2;
  }

  .service-grid .service-item .service-ttl img{
    width:70%;          /* ロゴの見え方に応じて調整 */
    height:auto;
  }

  /* --- カード全体 --- */
  .order-grid .order-item{
    position:relative !important;
    display:block !important;      /* 横並び→縦長に戻す */
    width:70vw;
    height: 70vw;                   /* 画面幅に応じた縦長 (調整可) */
    margin:0 auto 2.2rem;
    border-radius:12px;
    overflow:hidden;
    box-shadow:0 6px 14px rgba(0,0,0,.12);
  }

  /* 背景画像を全面にフィット */
  .order-grid .order-item picture,
  .order-grid .order-item img{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
  }

  /* 白っぽい網掛け (フェード) */
  .order-grid .order-item::after{
    content:'';
    position:absolute;
    inset:0;
    background:linear-gradient(
        to bottom,
        rgba(255,255,255,.45) 0%,
        rgba(255,255,255,.15) 40%);
    pointer-events:none;
  }

  /* --- テキストブロック --- */
  .order-grid .order-item .text{
    position:absolute;
    top:55%; left:50%;
    transform:translate(-50%,-50%);
    width:82%;
    text-align:center;
    display:flex;
    flex-direction:column;
    gap:3rem;
    z-index:2;
  }

  /* キャッチコピー (<p class="sp">…) */
  .order-grid .order-item p.sp{
    margin:0 auto;
    font-size:1.1rem;
    font-weight:500;
    line-height:1.45;
    color:#FFFFFF;
    letter-spacing:.05em;
  }

  /* PC 向け長文コピーは非表示 */
  .order-grid .order-item p.pc{display:none;}

  /* タイトルを半透明ボタン化 */
  .order-grid .order-item .title{
    display:inline-block;
    background:#ffffffd0; /* 透明度 0.82 */
    color:#333;
    font-size:1rem;
    font-weight:600;
    padding:.65rem 1rem;
    border-radius:6px;
    line-height:1.2;
  }
  .service-grid{
    grid-template-columns: 1fr;
    gap: 0;
  }
  

.order-grid  .order-item img{
  filter:brightness(.8);   /* 0.6–0.8 あたりで調整 */
}
  
}



@media (min-width: 700px)and (max-width: 899px)  {
  .service-grid {
    margin: 0 auto;
    max-width: 640px;
    display: flex;
    justify-content: space-between;
  }
}
/* PC: 2-3カラム */
@media (min-width: 900px) {
  .order-grid .order-item p.sp{display:none;}
  .order-grid a:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
  
.service-grid, .order-grid {
  padding: 1rem 5rem; /* 外側の余白 */
}
 
  .service-grid {
    max-width: 1000px;
        margin: auto;
    grid-template-columns: repeat(2, 1fr);
  }
  .order-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .service-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
  }
  .service-ttl img{
  width:230px
}
  .order-grid {
  gap:3rem;
}
  .order-grid a {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column; /* 縦に積む */
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
  .text-wrapper {
    top: 3rem;
    left: 3rem;
  }
  
  #news{
    margin: 6rem 0 8rem;
  }
  
}





@media (min-width: 1100px) {
  .nav a {
    font-size: 1rem;
      }
 
}
#news dd.window{
    background-color: #fff;
    
  }
button#page-top{
  border:none;
  background-color: transparent;
}

#Foot{
  border-top: none;
}
#index-footer .nav-link {
  background: none;
}



