/* ベーススタイル */
.contentsR {
    font-family: 'Noto Serif JP', sans-serif;/* 日本語フォントを優先 */
    margin: 0;
    line-height: 1.6;
    color: #333;
}

/* ====================================
   hero-main (メインビジュアルエリア)
   ==================================== */
.hero-main {
    background-image: url(/special/images/kokoroyuri/mainvisual.jpg);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    height: 327px;
    width: 712px;
    position: relative;
    overflow: hidden;
}

/* hero-main内部のコンテナ */
.hero-main__inner {
    max-width: 1000px;/* デザインカンプに合わせて調整 */
    margin: 0 auto;/* 中央寄せ */
    padding: 0 15px;/* 左右の余白 */
    position: relative;/* NEWタグの位置決めの基準 */
    height: 100%;/* 親要素の高さに合わせる */
    flex-direction: row;/* PCでは横方向に並べる */
    justify-content: space-between;/* 両端寄せ */
    align-items: flex-start;/* 上寄せ */

    /* 後で消す */
    /* display: flex; Flexboxを使って内容を配置 */
    /* flex-direction: column; 縦方向に並べる */
    /* justify-content: space-between; 上下の要素を両端に寄せる */
    /* align-items: flex-start; 左寄せ */
}

/* キャッチコピー「心にそっと寄り添う、やさしい電報台紙」 */
.hero-main__catch {
    /* フォント調整 */
    font-size: 1.8em;
    color: #000033;
    margin-bottom: 10px;
    text-align: left;
    border: 1px #000033;/* 位置調整 */
    position: absolute;
    top: 30px;
    left: 20px;
    width: auto;
}

/* 弔電、心百合、価格、送料のグループ */
.hero-main__content {
    text-align: left;/* 左寄せ */
    width: 100%;/* 親要素の幅いっぱいに */
    position: absolute;
    bottom: 60px;
    right: 70px;
    width: auto;
    text-align: right;
}

/* 「弔電」タグ */
.hero-main__tag {
    display: inline-block;
    background-color: #595685;
    color: white;
    font-size: 1.5em;
    padding: 5px 10px;
    border-radius: 3px;

    position: absolute;
    top: 40px;
    left: -70px;
    margin-bottom: 0;
}

/* 商品名「心百合」 */
.hero-main__title {
    font-family: 'Noto Serif JP', serif;
    font-weight: bold;
    font-size: 6.5em;
    color: #333;/* デザインカンプの文字色 */
    line-height: 1.2;
}

/* ルビのスタイル調整 */
.hero-main__title ruby rt {
    font-size: 0.2em;/* 親のh2に対して小さく */
    font-weight: normal;
}

.hero-main__title ruby rp {
    display: none;/* モダンブラウザでは括弧を非表示 */
}

/* 価格「1,683円（税込）」 */
.hero-main__price {
    font-size: 3em;/* デザインカンプに合わせて調整 */
    font-weight: bold;
    color: #333;/* デザインカンプの文字色 */
    font-family: Noto Sans JP;
    letter-spacing: -0.01em;
}

/* 価格の「（税込）」の部分 */
.hero-main__price span {
    font-size: 0.6em;/* 親のpに対して小さく */
    vertical-align: middle;/* 縦位置調整 */
}

/* 送料「※メッセージ・送料込み」 */
.hero-main__shipping {
    font-size: 0.8em;
    color: #333;/* デザインカンプの文字色 */
    font-family: Noto Sans JP;
    letter-spacing: -0.01em;
    font-size: 1.1em;
    margin: 0 10px 0 0;
}

/* ====================================
   feature(商品の特徴エリア)
   ==================================== */
.feature-area {
    background-image: url(/special/images/kokoroyuri/feature-bg.jpg);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    height: 870px;
    width: 712px;
}

/* やわらかな色彩の台紙 */

.fature-design{
 margin:0px 20px 45px 20px;
}

.fature-design img{
    margin-top: 30px;
    margin-left: 5px;
}

.fature-design,
.fature-material{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.fature-design-text {
    width: 45%;
    text-align: left;
    margin-top: 40px;
    margin-right: -10px;
}

.fature-material-text h3,
.fature-design-text h3 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #000033;
}

.fature-material-text p,
.fature-use p,
.fature-design-text p {
    font-size: 14px;
    line-height: 1.8;
    color: #333;
}

.fature-use {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: space-between;
}

.fature-use img {
    width: 45%;
    margin-top: 0px;
    margin-right: 12px;
}

.future-title {
    text-align: left;

}

.fauture-use-title{
    margin-left: 20px;
    margin-top: 10px;
    width: 45%;
}

.fauture-use-title h3{
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #000033;
}

.fature-material-text{
    width: 45%;
    text-align: left;
    margin-top: 60px;
}

.fature-material img{
    margin-top: 60px;
    margin-left: 20px;
}

/* ====================================
   kk(商品の特徴エリア)
   ==================================== */
.kk-area{
    background-image: url(/special/images/kokoroyuri/kk-bg.jpg);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    height: 1096px;
    width: 712px;
    font-family: noto-sans;
}

.kk-title{
    color: #ceac50;
    font-size: 20px;
    padding: 36px;
    font-weight: bold;
}

.kk-text{
    padding: 0 40px;
    font-size: 14px;
    margin-top: 400px;
}

.kk-textbox{
    width: 40%;
    padding-left: 57%;
}

.kk-textbox h3{
    color: #ceac50;
    font-size: 20px;
    font-weight: bold;
    margin: 75px 0px 0px 0px;
}

.kk-textbox p{
    font-size: 14px;
    padding: 30px 0px;
}

.kk-textbox a{
    color: #ceac50;
    font-size: 14px;
    font-weight: bold;
    border-bottom: 1px solid #ceac50;
}

.fade-in-text {
  opacity: 0;
  transform: translateY(100px);
  transition: opacity 1s ease-out, transform 2s ease-out;
  transition-delay: calc(var(--delay) * 1.5s);
  font-size: 24px;
  font-weight: bold;
  text-align: center;
  padding-bottom:24px;
}

.fade-in-text.visible {
  opacity: 1;
  transform: translateY(0);
}
 