@charset "utf-8";

* {
    font-family: "dnp-shuei-4gob-std", sans-serif;
    font-weight: 700;
    font-style: normal;
    color: #444;
   	max-width: 1980px;
    box-sizing: border-box;
}

header {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    background-color: #f4efed;
    height: 110px;
    width: 100%;
}

/* --- メニュー --- */
.menu-btn {
    display: block;
    background: #d07c8a url('../images/btn.png') no-repeat center top / 150px;
    position: fixed;    
    z-index: 100;
    width: 150px;
    height: 150px;
    cursor: pointer;
    top: 8px;
    left: 8px;
    background-color: #c291ce;
    border-radius: 58% 42% 61% 39% / 44% 55% 45% 56%;
    box-shadow: 2px 2px 0px 4px #e3cde8;
    transition: 0.2s;
}

.menu-btn:hover { opacity: 0.8; }
.menu-btn.active {
    background-color: #e3cde8; 
    background-position: center bottom;
    transform: scale(0.95);
}

.menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 15%; 
    height: 100vh;
    background: rgba(194, 145, 206, 0.95);
    z-index: 99;
    transition: 0.4s;
    padding-top: 180px;
    padding-left: 40px;
}
.menu.active { left: 0; }
.menu ul { list-style: none; padding: 0; margin: 0; }
/*.menu ul li {
    margin-bottom: 15px; 
    color: white; 
    font-size: 20px;
}*/



/* --- メニューの時間差出現 --- */
.menu ul li {
    color: white; 
     font-size: 20px;
    margin-bottom: 25px; 
    opacity: 0;
    transform: translateY(-15px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
 .menu ul li a {
    color: #fff;
    text-decoration: none;
    display: inline-block;
    transition: 0.2s;
}
.menu ul li a:hover {
    transform: translateX(5px); 
    opacity: 0.8;
}
.menu ul li.is-fadein {
    opacity: 1;
    transform: translateY(0);
}

/*トップメニュー*/
.menu-top{
    background-color: #c291ce;
}
.menu-top ul{
    display: flex;
    justify-content:center;
    list-style-type: none;
    height: 50px;
}
.menu-top ul li{
    color:#f4efed; 
    font-size: 20px;
    margin-left: 50px;
}




/* --- 見出し h1 --- */
h1 {
    font-family: "dnp-shuei-4go-std", sans-serif; 
    color: #444;
    font-weight: 500;
    font-size: 70px;
    text-align: center;
    margin-top: 60px;
    
    /* 以下、アニメーション用の追加 */
    animation: h1BurnIn 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}
@keyframes h1BurnIn {
    0% { opacity: 0; transform: scale(0.5); filter: blur(10px); }
    70% { 
        opacity: 1; 
        transform: scale(1.1); /* 一度大きく膨らませてから... */
        filter: blur(0px); 
    }
    100% { transform: scale(1); } /* 元のサイズに戻る */
}

h2 {
    font-family: "dnp-shuei-4go-std", sans-serif;
    font-weight: 400;
    font-size: 30px;
    color: #444;
    text-align: center;
    margin: 60px auto 0px 30px;
    border-bottom: #444 solid 1px;

    /* アニメーション前の状態 */
    opacity: 0;
    transform: scale(0.5); /* 半分の大きさに縮小 */
    filter: blur(10px);    /* ボカシ */
    transition: none;      /* transitionは使わずanimationで制御するため */
}

/* --- スクロールして is-active クラスがついた瞬間に実行 --- */
h2.is-active {
    animation: h2BurnIn 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}
/* --- h2アニメーション --- */
@keyframes h2BurnIn {
    0% {
        opacity: 0;
        transform: scale(0.5) translateY(20px);
        filter: blur(10px);
    }
    70% {
        opacity: 1;
        transform: scale(1.1); /* 一度だけ少し大きく膨らませる（衝撃演出） */
        filter: blur(0px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
        filter: blur(0px);
    }
}
.small-fram-outer-cat {
    width: 100%;       /* 横幅を画面いっぱいに広げる */
    display: flex;
    flex-direction: column; /* 中身（ピンクの箱と文字）を縦に並べる */
    align-items: center;    /* 💡中身をまるごと左右中央に寄せる！ */
}
.work-card {
    display: flex;
    text-align: center;
    align-items: center;
    width: 90%;
	margin:0 auto;
    gap: 40px;
    
}
.work-card-logo {
    display: flex;
    width: 100%;
	margin:0 auto;
    border-bottom: 2px solid #444;
}
.work-card-logo img{
    width:50%;
}
/* --- ロゴ詳細ページ用の画像表示バグ修正 --- */
.work-card-logo .image-box img {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
}

.work-card-lp {
    display: block;
}
.image-box-lp-long img{
    width:40%;
}
/*.gw-logo{
    display: flex;
}*/
.small-fram-inner-gw{
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    max-width: 1200px;
}
.work-card-gw{
    width: 50%;
    display: block;
}
.image-box-gw-logo {
    width:50%;
    height: auto;
    margin: 0 auto 10px;
   }
   .image-box-gw {
    width:90%;
    height: auto;
    margin: 0 auto 10px;
   }
/* 共通設定：すべての画像が入る箱 */
.image-box {
    width:80%;
    height: auto;
    margin: 0 auto;
    display: flex;
    flex: 0 0 45%;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 10px;
}

.sub-container .image-box a {
    display: flex;
    justify-content: center; 
    align-items: center;    
    width: 100%;             
}

/* LP */
.lp-box {
    height: 600px; 
}

/* バナー*/
.banner-img {
    width: 70%;
    max-width: 70%;  
    max-height: auto; 
}

/* --- 画像の初期状態（カードが is-show になる前） --- */
.image-box img {
    opacity: 0;
    /* 左からスライドしつつ、少し回転して現れる */
    transform: translateX(-50px) rotate(-5deg);
    transition: all 1s cubic-bezier(0.19, 1, 0.22, 1);
}
/* --- カードが登場した瞬間、画像も定位置へ集まる --- */
/* .work-card だけでなく .work-card-logo にも対応できるようにカンマで並べる */
.work-card.is-show .image-box img,
.work-card-logo.is-show .image-box img {
    opacity: 1;
    transform: translateX(0) rotate(0deg);
}

/* --- deco --- */
.deco, .deco2 {
    background-color: #f4efed;
    height: 123px;
    width: 100%;
}
.deco { background-image: url(../images/wave-over.png);
		background-repeat:no-repeat;
 }
.deco2 {
     background-image: url(../images/wave-under.png);
}
.image-box-cat{
    text-align: center;
}
.image-box-cat p{
        margin-bottom: 10px;
}
.image-box-flower img{
    width: 70%;
    opacity: 1;
    /* 左からスライドしつつ、少し回転して現れる */
    transform: translateX(-50px) rotate(-5deg);
    transition: all 1s cubic-bezier(0.19, 1, 0.22, 1);
   
}
p.cat{
    text-align: center;
}
.sub-container-cat {
    background-color: #c291ce;
    display: flex;
    flex-direction: column;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
    padding: 20px 20px;
    margin-bottom: -30px;
}
.sub-container {
    background-color: #c291ce;
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 20px 20px;
    margin-bottom: -30px;
}
.profile {
    text-align: center;
    font-size: 20px;
    background-color: #c291ce;
    padding-top: 40px;
    margin: 0 auto ;
}
.profile p {
    width: 800px;
    margin: 0 auto;
}

.footer {
  width: 100%;
  padding: 60px 0 30px; 
  background-color: #f4efed; 
  text-align: center;
  border-top: 1px solid #f0f0f0; 
}

.footer-logo {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 24px;
  font-weight: bold;
  letter-spacing: 0.1em;
  color: #333;
  margin-bottom: 15px;
}

.copyright {
  font-size: 12px;
  color: #999;
  letter-spacing: 0.05em;
}

/* --- ページトップへ戻るボタン --- */
.pagetop {
    position: fixed;
    right: 30px;
    bottom: 30px;
    width: 60px;
    height: 60px;
    background-color: #c291ce; 
    color: #fff;
    font-size: 24px;
    text-align: center;
    line-height: 56px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 90;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    border: 2px solid #e3cde8;
    
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.4s, transform 0.4s, background-color 0.2s;
    pointer-events: none; 
}

.pagetop.is-show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.pagetop:hover {
    background-color: #d07c8a; 
}
.banner-description {

    text-align: left; /* 文章は左揃えの方が見やすいです */
    width: 100%;
    padding-bottom: 10px;
}

.banner-description h2 {
    font-size: 20px;
    border-bottom: 2px solid #c291ce;
    color: #333;
    border-left: 5px solid #8c52ff;/*--左のパープルの線--*/
    margin: 30px 0 15px 0;
    text-align: left;
    /* 既存アニメーションの上書き */
    opacity: 1; transform: none; filter: none; animation: none;
}
.banner-description ul {
    list-style: none;
    padding: 0;
}
.sub-container .banner-description li {
    text-align: center;
    line-height: 1.6;
    background: transparent;
    padding: 0;
    border: none;
    box-shadow: none; /* 切れていた部分を補完（必要に応じて） */
}
.banner-description li::before {
  content: "・";
  margin-right: 5px;
}
.banner-description li:hover {
  border-left: 3px solid #8c52ff;
  transition: 0.3s;
}

.banner-description p {
  line-height: 1.6;
  color: #555;
  margin: 0;
}
/* シンプルな構成用のスタイル */
.work-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.banner-img {
    width: 100%;
    max-width: 600px;
    margin-bottom: 30px;
}
/* --- 説明文エリア全体の調整 --- */
.banner-description-client {
    text-align: left; /* 全体を左揃えにするベース設定 */
    width: 100%;
    padding-bottom: 10px;
}

/* --- タイトル（紫色の左線が入る見出し） --- */
.banner-description-client h2 {
    font-size: 20px;
    border-bottom: 2px solid #c291ce;
    color: #333;
    border-left: 5px solid #8c52ff; /* 左のパープルの線 */
    margin: 30px 0 15px 0;
    text-align: left;
    padding-left: 10px; /* 線と文字の間の余白 */
    opacity: 1; transform: none; filter: none; animation: none;
}

/* --見出しの中の「■」-- */
.banner-description-client h2 span {
    color: #444; 
    margin-right: 3px;
}

/* --- リスト全体の余白設定 --- */
.banner-description-client ul {
    list-style: none;
    padding: 0;
    margin: 0 0 5px 0;
}

/* --- 箇条書き（各項目）の調整 --- */
.sub-container .banner-description-client li {
    text-align: left; /* 中央揃えを解除して完全に左揃えにする */
    line-height: 1.8;
    background: transparent;
    padding: 6px 0 6px 15px; /* 左側にホバー線と「・」用の余白を固定 */
    border: none;
    box-shadow: none;
    border-left: 3px solid transparent; /* ガタつき防止用の透明な線 */
    position: relative;
}

/* --- 先頭の「・」の見た目と位置を綺麗に配置 --- */
.banner-description-client li::before {
    content: "・";
    position: absolute;
    left: 4px; /* テキストの左側に綺麗に並ぶ位置 */
    color: #444;
}

/* --- マウスホバーしたときに左側に紫の線を出す --- */
.sub-container .banner-description-client li:hover {
    border-left: 3px solid #8c52ff;
    transition: 0.2s;
}
.banner-description-client .description-text {
    line-height: 1.8;
    color: #444;
    margin: 0 0 20px 0;
    padding-left: 5px; /* 見出しの文字位置と縦のラインを揃える */
    text-align: left;
}

/* --- 最後のメッセージ--- */
.banner-description-client .footer-note {
    line-height: 1.8;
    color: #555;
    margin: 30px 0 20px 0;
    padding: 15px;
    background: rgba(255, 255, 255, 0.4); /* 文字が読みやすくなるよう薄い白背景を敷く */
    border-radius: 5px;
    text-align: left;
}


@media screen and (max-width: 768px) {
    
    /* 1. headerの配置をリセットして横いっぱいに広げる */
    body header {
        display: block;
        height: auto;
        padding: 20px 0;
    }

    /* 2. トップメニューを非表示にする */
    .menu-top {
        display: none;
    }

    /* 3. 見出しのサイズをスマホ用に小さくしてハミ出しを防ぐ */
    h1 {
        font-size: 32px;
        margin-top: 160px;
    }

    /* 4. 全体の右側の白い余白（横揺れ）を防止 */
    html, body {
        overflow-x: hidden;
    }

    .deco {
        margin-bottom: -3px;
    }

    .deco2 {
        margin-top: -30px;
    }
    /* 横並びのコンテナ（カードと紫のエリア）を縦並びに切り替え */
    .work-card,
    .sub-container {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    /* PC版の flex (横幅45%固定など) を解除し、横幅をいっぱいに広げる */
    .image-box,
    .image-box-lp,
    .banner-description {
        flex: none;
        width: 100%;
    }

    /* 画像がはみ出さないように最大幅を100%に */
    .image-box img,
    .banner-img,
    .image-box-flower img {
        width: 100%;
        max-width: 100%;
        height: auto;
    }
}
