@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;
}

/* --- 見出し --- */
h1 {
    font-family: "dnp-shuei-4go-std", sans-serif; /* カンマ忘れ修正 */
    color: #444;
    font-weight: 700;
    margin-top: 70px;
    font-size: 70px;
    text-align: center; /* 中央寄せ */
}

h2 {
    font-family: "dnp-shuei-4go-std", sans-serif;
    font-weight: 700;
    font-size: 40px;
    margin: 40px 0 20px 0; 
    text-align: center;    /* 45%のズレを中央寄せに修正 */
}

/* --- カードレイアウト --- */
.work-card {
    width: 70%;
    height: auto;           /* 自動調整 */
    padding-bottom: 30px;   /* 説明文の下の余白 */
    margin: 20px auto;      /* カード同士の間隔 */
    background-color: #ffffff; 
    /*border: 1px solid #ccc;*/
    border-radius: 15px;  
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    opacity: 0;
    animation: pop-up 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}


.image-box {
    width: 100%;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 20px;
	padding-rght:5px;
}

.image-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* 説明文（Pタグ）のスタイルを追加 */
.work-card p {
    padding: 0 30px;
    line-height: 1.8;
    font-size: 16px;
    color: #444;
}

/* ---deco--- */
.deco, .deco2 {
    background-color: #f4efed;
    height: 123px;
    width: 100%;
}
.deco { background-image: url(../images/wave-over.png); }
.deco2 { background-image: url(../images/wave-under.png); }

.sub-container {
    background-color: #c291ce;
    padding: 50px 0; /* 上下の余白 */
}
/* フッター全体のスタイル */
.footer {
  width: 100%;
  padding: 60px 0 30px; /* 上にゆとりを持たせています */
  background-color: #f4efed; /* サイトに合わせて白に設定 */
  text-align: center;
  border-top: 1px solid #f0f0f0; /* 境界線を薄く入れて区切りを明確に */
  /*margin-top: 80px;*/
}

/* ロゴ部分 */
.footer-logo {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 18px;
  font-weight: bold;
  letter-spacing: 0.1em;
  color: #333;
  margin-bottom: 15px;
}

/* コピーライト */
.copyright {
  font-size: 12px;
  color: #999;
  letter-spacing: 0.05em;
}
@keyframes pop-up {
    0% { transform: scale(0.5); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

/* 遅延設定 */
.work-card:nth-child(1) { animation-delay: 0.1s; }
.work-card:nth-child(2) { animation-delay: 0.3s; }
.work-card:nth-child(3) { animation-delay: 0.5s; }

