
body{

margin:0;

background:#fffaf8;

font-family:
"Yu Gothic",
sans-serif;

color:#7d6666;
background-image: url(images/background/background_main.jpg);
background-repeat: no-repeat;
background-size: cover;
background-position: center top;
}

/* メニュー */

nav{

background:#f7dfe3;

padding:12px;

text-align:center;

}

nav ul{

margin:0;

padding:0;

list-style:none;

}

nav li{

display:inline-block;

margin:0 15px;

}

nav a{

text-decoration:none;

color:#9c6f77;

font-weight:bold;

}

/* 本文 */

main{

max-width:1200px;

margin:auto;

padding:20px;

}

.welcome{

text-align:center;

margin:40px 0;

}

h1{

color:#b48792;

}

h2{

text-align:center;

color:#b48792;

margin-bottom:30px;

}

/* 作品一覧 */

.card-area{

display:grid;

grid-template-columns:
repeat(auto-fit,minmax(250px,1fr));

gap:25px;

}

.card{

background:white;

padding:15px;

border-radius:24px;

box-shadow:
0 3px 12px
rgba(0,0,0,.1);

}

.card img{

width:100%;

border-radius:15px;

}

.card h3{

text-align:center;

font-size:15px;

}

/* フッター */

footer{

margin-top:50px;

padding:20px;

text-align:center;

background:#f7dfe3;

}


.works-page{
    text-align:center;
}

.works-page h1{
    color:#b98595;
    font-size:34px;
    margin-bottom:10px;
}

.page-lead{
    color:#8d6f75;
    margin-bottom:35px;
}

.works-gallery{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
    gap:30px;
}

.work-frame{
    background:#fffdfc;
    padding:18px;
    border:2px solid #efd0d8;
    border-radius:24px;
    box-shadow:0 6px 18px rgba(160,120,130,0.18);
    position:relative;
}

.work-frame::before{
    content:"❦";
    position:absolute;
    top:8px;
    left:14px;
    color:#d9a2b0;
    font-size:22px;
}

.work-frame::after{
    content:"❦";
    position:absolute;
    bottom:8px;
    right:14px;
    color:#d9a2b0;
    font-size:22px;
}

.work-frame img{
    width:100%;
    aspect-ratio:1 / 1;
    object-fit:cover;
    border-radius:18px;
    border:1px solid #f4dce3;
}

.work-frame h2{
    font-size:17px;
    color:#a97382;
    margin:12px 0 4px;
}

.work-frame p{
    font-size:13px;
    color:#9b7b80;
}


.works-page{
    text-align:center;
}

.works-page h1{
    color:#b98595;
    font-size:34px;
    margin-bottom:10px;
}

.page-lead{
    color:#8d6f75;
    margin-bottom:35px;
}

.works-gallery{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
    gap:30px;
}

.work-frame{
    background:#fffdfc;
    padding:18px;
    border:2px solid #efd0d8;
    border-radius:24px;
    box-shadow:0 6px 18px rgba(160,120,130,0.18);
    position:relative;
}

.work-frame
{
    position:absolute;
    top:8px;
    left:14px;
    color:#d9a2b0;
    font-size:22px;
}

.work-frame
{
    position:absolute;
    bottom:8px;
    right:14px;
    color:#d9a2b0;
    font-size:22px;
}

.work-frame img{
    width:100%;
    aspect-ratio:1 / 1;
    object-fit:cover;
    border-radius:18px;
    border:1px solid #f4dce3;
}

.work-frame h2{
    font-size:17px;
    color:#a97382;
    margin:12px 0 4px;
}

.work-frame p{
    font-size:13px;
    color:#9b7b80;
}





.work-photo{
  width:100%;
  display:block;
  border-radius:8px;
}




.page-text{
  text-align:center;
  color:#8d6f75;
  margin-bottom:35px;
}











/* Past Works ギャラリー */

.photo-gallery{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:30px;
    max-width:1200px;
    margin:40px auto;
    padding:20px;
}

.photo-card{
    text-align:center;
}

.lace-frame{
    background:yellow;
    padding:35px;
}
.lace-frame img{
    width:100%;
    display:block;
}

.photo-card h2{
    font-size:18px;
    color:#a97a8a;
    margin-top:12px;
}

.photo-card p{
    font-size:13px;
    color:#9b7b80;
}


/* 水色点線の作品枠 */
table.subc {
    width:100%;
    border:2px #66cccc dotted;
    border-spacing:10px 5px;
    clear:both;
    height:auto;
    box-sizing:border-box;
 }
}

/* 中の画像 */
table.subc img {
    max-width:100%;
    height:auto;
   
}
/* スマホ対応 */
@media screen and (max-width:768px){

  .works-gallery{
      grid-template-columns:1fr;
      gap:20px;
  }

  .work-frame{
      padding:12px;
      border-radius:16px;
  }

  .work-frame h2{
      font-size:16px;
  }

  .work-frame p{
      font-size:14px;
      line-height:1.6;
  }

  .work-frame img{
      width:100%;
      height:auto;
      aspect-ratio:auto;
  }

  table.subc{
      width:100%;
      height:auto;
  }

}
/* レースフレーム*/
.frame {
  background-image: url("images/frame/lace_frame.PNG");
}

/* works.html用*/
.works-category {
  margin: 50px 0;
}

.works-category h2 {
    text-align: center;
    color: #9b6b7d;
    font-size: 30px;
    margin: 60px 0 25px;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
justify-items: center;
}
/* works.html用の額縁＊/
.gallery img {
    width: 250px;
    padding: 15px;

    background: white;

    border: 12px solid #f8e8ef;

    border-radius: 20px;

    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
/* works.html用のスマホ対応*/

@media screen and (max-width: 600px) {
  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

.profile-box {
  max-width: 850px;
  margin: 40px auto;
  padding: 35px;
  line-height: 2;
background: transparent !important;
}

.profile-box p {
  margin-bottom: 2em;
}

.profile-sign {
  text-align: right;
  margin-top: 25px;
}


header img {
    max-width: 550px;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}
header .hero {
    width: 350px !important;
    max-width: 90% !important;
    height: auto !important;
    display: block !important;
    margin: 30px auto 10px !important;
}

.gallery img {
    width: 250px !important;
    height: auto !important;
margin-bottom: 15px;

}


/* リンクボタン */
nav ul {
    display:flex;
    justify-content:center;
    align-items:center;
    gap:8px;
    list-style:none;
    padding:0;
    margin:10px auto;
    flex-wrap:nowrap;
    max-width:none;
}

nav li {
    list-style:none;
}

nav img.menu-btn {
    width:120px !important;
    height:auto !important;
    display:block;
}
/* ホーム画面 作品カード（英語＋日本語2段表示） */
.work-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  text-decoration: none;
  color: #6f5555;
}

.work-card .en {
  font-size: 22px;
  font-weight: bold;
  letter-spacing: 1px;
}

.work-card .jp {
  font-size: 14px;
  margin-top: 6px;
}
/* 作品カード内リンクを縦並び表示 */.card a {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-decoration: none !important;
}
/* ホーム画面 作品カード内リンクを縦2段にする */
.works .card a.work-card {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    color: #6f5555 !important;
}

.works .card a.work-card span {
    display: block !important;
}


.works .card a.work-card .en {
    font-size: 20px;
    font-weight: bold;
}

.works .card a.work-card .jp {
    font-size: 14px;
    margin-top: 5px;
}
/* worksページ 画像サイズ調整 */
.gallery img {
    width: 250px !important;
    height: auto !important;
    margin-bottom: 15px;
}

/* worksページ ギャラリー画像サイズ */
.works-category .gallery img {
    width: 250px !important;
    height: auto !important;
    margin-bottom: 15px;
}
/* worksページ 背景画像 */
body.works-page {
background-image: url("images/background/background_main.jpg");
    background-size: cover !important;
    background-repeat: repeat !important;
    background-attachment: fixed !important;
}

body.works-page main {
    background-color: transparent !important;
}
body.works-page section {
    background-color: transparent !important;
}

.hero {
    max-width: 550px;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

header .hero {
    width: 350px !important;
    max-width: 90% !important;
    height: auto !important;
    display: block !important;
    margin: 0 auto !important;
}


/* Profileページ 背景画像 */
body.profile-page {
    background-image: url("images/background/background_main.jpg");
    background-repeat: no-repeat;
    background-size: cover;
}

/* Free Download タイトル画像 */
header .page-title{
    display: block !important;
    width: 500px !important;
    max-width: 90% !important;
    height: auto !important;
    margin: cover; 
background-position: center top;
}

.download-card{

    width:80%;

    max-width:600px;
0
    margin:40px auto;

    padding:30px;

    border:2px solid #f0d7dd;

    border-radius:20px;

    background:#fffafc;

}

.download-card h3{

    color:#8d6b73;

}

.download-card a{

    display:inline-block;

    margin-top:20px;

    padding:10px 25px;

    background:#e9b9c4;

    color:white;

    text-decoration:none;

    border-radius:30px;

}
.download-item{
    width:300px;
    margin:30px auto;
    text-align:center;
    border:1px solid pink;
}
.download-btn{
    display:inline-block;
    margin-top:10px;
    padding:10px 25px;
    background:#d98aa6;
    color:#fff;
    text-decoration:none;
    border-radius:30px;
}

.download-btn:hover{
    background:#c97595;
}

.profile-page{
    background-image: url("images/background/background_main.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center top;
    background-attachment: fixed;
}

.download-item{
    text-align:center;
    margin:0;
    max-width:380px;
    padding:30px;
    background:#fffafc;
    border:1px solid #f3dce6;
    border-radius:24px;
}

.download-item img {
    width: 100%;
    display: block;
    margin-bottom: 12px;
    border-radius: 18px;
}
.download-btn{
    display:inline-block;
    margin-top:20px;
    padding:10px 25px;
    background:#d99cb6;
    color:white;
    text-decoration:none;
    border-radius:30px;
}

.download-btn:hover{
    background:#c983a1;
}

.site-header {
  text-align: center;
  padding: 80px 0 10px;
}

.title-logo {
  width: 90%;
  max-width: 900px;
  height: auto;
  display: block;
  margin: 0 auto;
}

.welcome {
  max-width: 900px;
  margin: 40px auto;
  padding: 40px 20px;
  text-align: center;
}

.menu-btn {
  width: 120px;
  height: auto;
  display: block;
}
img {
  max-width: 100%;
  height: auto;
}
main img {
  max-width: 900px;
  width: 90%;
  height: auto;
  display: block;
  margin: 0 auto;
}
nav ul {
  display: flex;
  justify-content: center;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0;
}

nav li {
  margin: 0;
}

.card img {
  width: 100%;
  max-width: 260px;
  height: auto;
  display: block;
  margin: 0 auto 10px;
}

.card-area {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.card {
  width: 280px;
  text-align: center;
}


/* =====================================
   ページ右下にロップイヤーちゃんが固定
   ===================================== */
.page-bunny {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 85px;
  z-index: 999;
}

/* =====================================
   ページ右下にロップイヤーちゃんが固定(スマホ対応）
   ===================================== */
@media (max-width: 600px) {
  .page-bunny {
    width: 80px;
    right: 10px;
    bottom: 10px;
  }
}
/* =====================================
  無料配布タイトル画像
   ===================================== */
.page-title{
    width:500px;
    max-width:90%;
    height:auto;
    display:block;
    margin:30px auto;
}

.download-item img{
    width:220px;
    height:auto;
    margin-bottom:12px;
}

.free-intro {
    text-align: center;
    margin: 40px auto;
    padding: 20px;
}
/* =====================================
試作フリーダウンロードページ
   ===================================== */
.free-welcome-image {
    width: 700px;
    max-width: 95%;
    height: auto;
    display: block;
    margin: 0 auto 12x;
}

.welcome-text {
    color: #6f5148;
    font-size: 18px;
    line-height: 2;
    margin-bottom: 25px;
}

.free-notes {
    color: #6f5148;
    font-size: 15px;
    line-height: 1.8;
}

/* =====================================
   HOME・Profile紹介コーナー
   ===================================== */

.home-profile {
  max-width: 900px;
  margin: 45px auto 30px;
  padding: 10px;
}

.home-profile-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 45px;

  padding: 38px 42px;

  background: rgba(255, 250, 248, 0.88);
  border: 1px solid #ead2d7;
  border-radius: 28px;

  box-shadow: 0 5px 18px rgba(150, 110, 120, 0.12);
}

.home-profile-image {
  width: 42%;
  text-align: center;
}

.home-profile-image img {
  width: 100% !important;
  max-width: 330px !important;
  height: auto !important;
  display: block;
  margin: 0 auto !important;
}

.home-profile-text {
  width: 52%;
  text-align: center;
  color: #765e5e;
}

.home-profile-label {
  margin: 0 0 7px;
  color: #b17e8c;
  font-size: 16px;
  letter-spacing: 3px;
}
/* HOMEページ用のタイトル */
.home-profile-text h2 {
  margin: 0 0 20px;
  color: #9d707b;
  font-size: 25px;
  font-weight: normal;
}

.home-profile-text p {
  font-size: 15px;
  line-height: 2;
}

.home-craft-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 24px 0;
}

.home-craft-links a {
  color: #9a6d78;
  font-size: 14px;
  text-decoration: none;
  border-bottom: 1px dotted #c998a5;
  padding: 3px 5px;
}

.home-craft-links a:hover {
  color: #c07f94;
}

.home-profile-button {
  display: inline-block;
  margin-top: 4px;
  padding: 10px 28px;

  color: #7d5d65;
  background: #f5e1e6;

  border: 1px solid #dfbdc7;
  border-radius: 25px;

  text-decoration: none;
  font-size: 14px;
}

.home-profile-button:hover {
  background: #edced7;
}

/* HOME・Profile紹介コーナー スマホ対応 */

@media screen and (max-width: 700px) {

  .home-profile {
    margin: 30px auto 20px;
    padding: 5px;
  }

  .home-profile-inner {
    flex-direction: column;
    gap: 20px;
    padding: 28px 18px;
  }

  .home-profile-image,
  .home-profile-text {
    width: 100%;
  }

  .home-profile-image img {
    max-width: 280px !important;
  }

  .home-profile-text h2 {
    font-size: 21px;
  }

  .home-profile-text p {
    font-size: 14px;
  }
}

/* ========================================
   HOME Profileカード 完成デザイン
======================================== */

.home-profile-inner {
  position: relative;

  /* やさしいクリーム色 */
  background: #fffaf0;

  /* 外側の枠 */
  border: 2px solid #d9b8ad;

  /* 角の丸み */
  border-radius: 24px;

  /* カード内の余白 */
  padding: 36px 42px;

  /* ふんわりした立体感 */
  box-shadow:
    0 10px 24px rgba(142, 103, 91, 0.16),
    inset 0 0 0 5px #fffdf8,
    inset 0 0 0 7px #ead7ce;
}

/* 内側の細い二重枠 */
.home-profile-inner::before {
  content: "";
  position: absolute;
  top: 12px;
  right: 12px;
  bottom: 12px;
  left: 12px;

  border: 1px solid #d9b8ad;
  border-radius: 16px;

  pointer-events: none;
}
/* ぷろふぃーるのゆきちゃんとここあ */

.profile-main{
    display:block;
    width:380px;
    max-width:90%;
    margin:0 auto 40px;
}




.lace-box{
background:transparent!important;
}

.profile-box h3{
    margin-top: 100px;
    margin-bottom: 20px;
    max-width: 700px;
}


.profile-frame{
    background-image: url(images/profile/profile_frame.png);
    background-repeat: no-repeat;
    background-position: top center;
}

body.works-page {
  background-image: url("images/background/background_main.jpg");
  background-repeat: no-repeat !important;
  background-size: cover !important;
  background-position: center top !important;
  background-attachment: fixed !important;
}

/* ==========================
   Worksページ
   写真デザイン
========================== */

/* 写真を角丸にして、やさしい影をつける */
.gallery img {
  width: 250px !important;
  height: auto !important;
  border-radius: 20px;
box-shadow: 0 3px 8px rgba(0,0,0,0.08);
}
/* ==========================
   Worksページ
   説明文
========================== */

/* Worksタイトル下の紹介文 */.works-message{
    text-align: center;
    color: #93857d;
    font-size: 18px;
    line-height: 1.8;
    margin: 20px 0 50px;
    font-weight: 600;
    letter-spacing: 0.08em;
    margin-bottom: 20px;
    line-height: 2;
}

/* ==========================
   Worksページ 二段タイトル
========================== */

.works-title{
    text-align: center;
    margin: 20px auto 25px;
}

.works-title h2{
    margin: 0 0 6px;
    font-size: 28px;
    color: #9b6b7d;
}

.works-title h1{
    margin: 0;
    font-size: 36px;
    color: #9b6b7d;
}
/* ==========================
準備したZen Maru Gothicを使います
========================== */
.works-title h1 {
    color: #9b6b7d;
    font-size: 36px;
}


.profile-frame{
    position: relative;
}

.profile-text{
    position: absolute;
    top: 8%;
    left: 17%;
    width: 66%;
    line-height:1.8;
   color: #6f5b58;
}
  /* プロフィールページのタイトル */
.profile-text h2{
   margin: 15px 0 20px;
  text-align: center;
  color: #9d707b;
  font-size: 40px;
  font-wight: normal;
}
  /* 無料配布ページのタイトル */
.free-intro{
    position: relative;
}
.free-welcome-image{
    width: 700px;
    max-width: 95%;
    height: auto;
    display: block;
}
.free-welcome-box{
    position: relative;
    display: inline-block;
}
.free-title{
    position: absolute;
    top: 38%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #9d707b;
    font-size: 34px;
    font-weight: bold;
}

/* 無料配布ページ・タイトル位置の最終調整 */
.free-welcome-box{
    position: relative;
    display: block;
    width: 700px;
    max-width: 95%;
    margin: 0 auto 12px;
}

.free-welcome-box .free-welcome-image{
    width: 100%;
    max-width: none;
    height: auto;
    display: block;
}

.free-welcome-box .free-title{
    position: absolute;
    top: 57%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
    color: #9d707b;
    font-size: 34px;
    font-weight: bold;
    white-space: nowrap;
}

.free-title-en{
    display: block;
    color: #8f6c68;
    font-size: 32px;
    font-family: Georgia, "Times New Roman", serif;
    font-weight: normal;
    letter-spacing: 1px;
    margin-bottom: 4px;
}
.free-title-ja{
    display: block;
    margin-top: 6px;
    color: #9d707b;
    font-size: 34px;
    font-weight: bold;
}
/* 無料配布ページ・罫線 */

.ribbon-line {
    display: block;
    width: 240px;
    margin: 20px auto 30px;
}
.download-item h3 {
  margin-top: 10px;
}
.download-list {
  display: grid;
  grid-template-columns: repeat(2, 380px);
  justify-content: center;
  column-gap: 70px;   /* 左右の間隔 */
  row-gap: 45px;      /* 上下の間隔 */
}

.download-item {
  display: flex;
  flex-direction: column;
}

.download-item h3 {
  min-height: 52px;
}

.download-btn {
  margin-top: auto;
}
/* =========================
   カードのふんわり演出
========================= */

.download-item {
    transition: transform 0.25s ease,
                box-shadow 0.25s ease;
}

.download-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 25px rgba(120, 90, 100, 0.12);
}
/* ダウンロードボタンのふんわり演出 */
.download-btn {
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    filter 0.2s ease;
}

.download-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 7px 14px rgba(130, 90, 105, 0.15);
  filter: brightness(1.04);
}
.download-item img {
    width: 100%;
    border-radius: 18px;
    display: block;
}
/* Profileページ スマホ用 */
@media screen and (max-width: 700px) {
.profile-text {
    line-height: 1.25;
    font-size: 14px;
    top: -1%;
    width: 74%;
}
.profile-text p {
    margin: 0 0 6px;
}
.profile-ending-up {
   transform: translateY(-20px);
}
.profile-last {
    transform: translateY(-15px);
}
.profile-photo {
    height: 115%;
}
@media (max-width: 600px) {
 .page-bunny {
   width: 45px;
}
}