@charset "UTF-8";

/* ============================================
   Reset & Base
   ============================================ */
* {
    margin: 0;
    padding: 0;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

:root {
    --color-bg: #FFECFF;
    --color-main: #695353;
    --color-white: #fffbfb;
    --color-footer: #ff9ded;
    --color-nav: #f33248;
    --color-nav-h: #ffade8;
    --color-a: #ff3fa2;
    --color-a-h: #ffc3f2;
}

html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

body {
    background-color: var(--color-bg);
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    color: var(--color-main);
    line-height: 1.6;
      margin: 0;
  position: relative;
  z-index: 0;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("../img/rose-p.webp");
  background-repeat: repeat;
  opacity: 0.1; /* ← 透明度 */
  z-index: -1;
}

#container {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--color-white);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: var(--color-a);
}

a:hover {
    color: var(--color-a-h);
}

.dot-list {
  list-style: none;
  padding-left: 0;
}

.dot-list li {
  position: relative;
  padding-left: 1.2em;
}

.dot-list li::before {
  content: "・";
  position: absolute;
  left: 0;
}

.greet{font-size:clamp(18px, 1.6vw, 24px);}

/* ============================================
   Navigation (Gnav)
   ============================================ */
#gnav ul {
    display: flex;
    flex-wrap: wrap;

    list-style: none;
}

#gnav li {
    flex: 1;
    min-width: 120px;

}

#gnav li a {
    display: block;
    padding: 12px 5px;

    text-decoration: none;
    text-align: center;
    font-size: 14px;
    color: var(--color-white);
    background-color: var(--color-nav);
    border-right: 1px solid var(--color-white);
}

#gnav li a:hover {
    background-color: var(--color-nav-h);
}

/* ============================================
  header,footer
   ============================================ */

#header {
    padding: 10px;
}

#header h1 {
    font-size: 2vw;
}

#footer {
    padding: 10px;
    background-color: var(--color-footer);
    color: var(--color-white);
    text-align: center;
    font-size: 12px;
}

.main-visual {
    margin: 0 -10px;
}

/* ============================================
   Original infoArea
   ============================================ */
#contents h2 {
    text-align: center;
    font-size: 210%;
    font-family: 'Hiragino Mincho ProN', serif;
    margin-bottom: 30px;
}

#contents h2 small {
    font-size: 70%;
}

.cntBox {
    background-color: var(--color-white);
    padding: 20px;
}
.cntBox>h3,.cntBox>h4{margin:10px 0px;}

.list-page .i-list {
    display: flex;
    align-items: flex-start;
    gap: 0;
}

.list-page .i-num {
    flex: 0 0 2.4em;
}

.list-page .i-title {
    flex: 1;
    min-width: 0;
}

.phtBox{display:flex;gap:10px;flex-wrap:nowrap;}
.phtInbox{}
.phtBox img{width:100%;height:auto;}

.infoArea {
    overflow-y: scroll;
    overflow-x: hidden;
    height: 500px;
    background-color: var(--color-white);
    padding-left: 10px;
    border: 1px solid #EEE;
    /* 枠線を追加して視認性向上 */
}

.infoArea h4 {
    background-color: var(--color-white);
    font-weight: bold;
    margin-top: 10px;
    margin-bottom: 20px;
    font-size: 115%;
    text-align: left;
}

.infoArea dt,
.infoArea dd {
    background-color: var(--color-white);
    line-height: 1.6;
    font-size: 115%;
}

.infoArea dd {
    padding-bottom: 10px;
}

.infoArea dl {
    border-bottom: 1px solid var(--color-main);
    padding-bottom: 10px;
    margin-bottom: 10px;
    text-align: left;
}

/* ============================================
   Other Sections (Profile, Schedule, etc.)
   ============================================ */
/* Flexboxを使用してfloatを廃止 */
.conBox {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 20px;
}

.conImgL {
    flex: 0 0 297px;
    /* 固定幅ではなくベース幅として指定 */
    max-width: 100%;
}

.conTxtL {
    flex: 1;
    min-width: 300px;
}
.conTxt>p{margin-bottom:20px;}

/* Table (Contact) */
.tableA {
    width: 100%;
    border-collapse: collapse;
    border-top: 1px solid #999;
    border-right: 1px solid #999;
}

.tableA th,
.tableA td {
    border-left: 1px solid #999;
    border-bottom: 1px solid #999;
    padding: 10px;
    font-size: 14px;
}

.tableA th {
    background: #f5f4f2;
    width: 200px;
}

input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    /* 固定幅350pxから100%へ */
    max-width: 350px;
    padding: 5px;
}

textarea {
    resize: vertical;
}

.form-note {
    margin-top: 16px;
    font-size: 14px;
    text-align: center;
}

.form-actions {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.form-actions input[type="submit"],
.form-actions input[type="reset"],
.form-actions .btn-back {
    display: inline-block;
    min-width: 140px;
    padding: 12px 28px;
    background-color: #ef6799;
    color: #ffffff;
    text-decoration: none;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-actions input[type="reset"],
.form-actions .btn-back {
    background-color: #8b2f3d;
}

.form-actions input[type="submit"]:hover,
.form-actions input[type="reset"]:hover,
.form-actions .btn-back:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0,0,0,0.15);
}

.contact-status {
    max-width: 760px;
    margin: 0 auto;
}

.contact-status-title {
    margin-bottom: 20px;
    font-size: 24px;
    text-align: center;
    font-family: 'Hiragino Mincho ProN', serif;
}

.contact-status-lead {
    margin-bottom: 20px;
    text-align: center;
}

.contact-errors {
    margin: 0 0 20px 1.5em;
}

.contact-errors li {
    margin-bottom: 8px;
}

.confirm-message {
    white-space: pre-wrap;
}

/* ============================================
   Backtop
   ============================================ */
.bctBox {
    text-align: right;
}



/* ============================================
   list page
   ============================================ */

   .bookBox {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin: 20px 0px;
    border-bottom: 1px dashed var(--color-main);}

   .bookImgL {
    flex: 0 0 200px;
    /* 固定幅ではなくベース幅として指定 */
    max-width: 100%;
}

.bookTxtL {
    flex: 1;
    min-width: 300px;
}

.bookTxt>p {margin-left:40px;}

hr {
  border: none;
  border-top: 1px dashed var(--color-main);
  margin:20px 0px;
}

.bookTxtL>p{margin-left:40px;}

/* ============================================
   Button
   ============================================ */

.btn-purchase {
  display: inline-block;
  padding: 12px 28px;
  background-color: #ef6799;
  color: #ffffff;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  transition: all 0.3s ease;
}

.btn-purchase:hover {
  background-color: #ef6799;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.15);
}

.btn-listen {
  display: inline-block;
  padding: 12px 28px;
  background-color: #8b2f3d;
  color: #ffffff;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  transition: all 0.3s ease;
  margin-bottom:10px;
}

.btn-listen:hover {
  background-color: #6f2430;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.15);
}

/* ============================================
   Responsive (Smartphone)
   ============================================ */
@media screen and (max-width: 600px) {
    #gnav li {
        flex: 1 1 50%;
        border-bottom: 1px solid var(--color-white);
    }

    /* スマホではスクロールさせず全表示（ユーザビリティ向上） */
    .infoArea {
        height: auto;
        overflow: visible;
        padding-left: 0;
    }

    .infoArea h4,
    .infoArea dt,
    .infoArea dd {
        font-size: 105%;
        /* 少し小さく調整 */
    }

    /* カラムを縦並びに */
    .conBox {
        flex-direction: column;
    }

    .conImgL {
        margin: 0 auto;
    }

    /* 著作リスト */

       .bookBox {
    gap: 20px;
}


    .tableA th,
    .tableA td {
        display: block;
        width: 100%;
    }

    .tableA th {
        border-bottom: none;
    }

    input[type="text"],
    input[type="email"],
    textarea {
        max-width: 100%;
    }
}
