@charset "utf-8";
/* CSS Document */
/*===== 基本設定 =====*/
:root {
  --color-primary: #555555;
  --color-secondary: #8B6D5E;
  --color-accent: #DCC4B8;
  --color-frame: #CCCCCC;	
  --color-text: #444444;
  --color-light: #F5F5F5;
  --color-white: #ffffff;
  --color-black: #000000;
  --color-sand: #B4A27B;	
  --color-pink: #D8A7A7;
  --color-mint: #A8C3A3;
  --color-blue: #A7C6D8;
  --color-green: #A8C3A3;
  --color-attn: #D59B09;
  --color-sale: #C30002;
  --color-line: #3D863D;	
  --color-rakuten: #BF0000;
  --color-yahoo: #FF0033;
  --transition: all 0.4s ease;
}

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Helvetica Neue', Arial, sans-serif;
            color: var(--color-text);
            line-height: 1.7;
            overflow-x: hidden;
            /*background-color: var(--color-light);*/
        }

        main {
            padding: 0 20px;
        }

        article {
            display: block;
            max-width: 720px;
            margin: 0 auto;
        }

        section {
            position: relative;
            overflow: hidden;
        }

        img {
            max-width: 100%;
            height: auto;
            vertical-align: bottom;
            transition: var(--transition);
        }

a {
    color: inherit; /* 親要素から色を継承 */
    text-decoration: none; /* 下線を消したい場合 */
    transition: var(--transition);
}

a:link {
    color: inherit; /* 未訪問リンクも親要素の色を継承 */
}

a:visited {
    color: inherit; /* 訪問済みリンクも親要素の色を継承 */
}

a[href^="mailto:"] {
    color: inherit !important; /* mailtoリンクに強制的に親の色を適用 */
}

a:hover {
    /* ホバー時のスタイルがあれば追加 */
    /* 例: color: var(--color-accent); */
}

/* テキスト上のリンクはアンダーラインあり */
p a {
  text-decoration: underline;
}

/* ボタンリンクのスタイル上書き */
a.btn, a.btn:link, a.btn:visited {
    color: var(--color-white);
}

/* トップに戻るボタン */
.back-to-top {
  position: fixed;
  bottom: 4%;
  right: 4%;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: rgba(200, 200, 200, 0.8);
  border: none;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s ease, background-color 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  outline: none;
}

.back-to-top:hover {
  background-color: rgba(150, 150, 150, 0.9);
}

.button-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #333;
  font-weight: bold;
}

.arrow {
  font-size: 20px;
  line-height: 1;
  transform: translateY(2px);
}

.text {
  font-size: 12px;
  line-height: 1;
}

/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
  .back-to-top {
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
  }
  
  .arrow {
    font-size: 18px;
  }
  
  .text {
    font-size: 10px;
  }
}

@media screen and (max-width: 480px) {
  .back-to-top {
    width: 45px;
    height: 45px;
    bottom: 15px;
    right: 15px;
  }
}

/* 既存のボタンスタイルはそのまま */
.btn {
    display: inline-block;
    padding: 15px 40px;
    background-color: var(--color-secondary);
    color: var(--color-white);
    text-decoration: none;
    border: none;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    letter-spacing: 0.1em;
    border-radius: 10px;
}

.btn:hover {
    background-color: var(--color-primary);
    transform: translateY(-3px);
}

        /* ===== タイポグラフィ ===== */
	h1, h2, h3, h4, h5 {
    font-family: 'Noto Serif JP', Georgia, 'Times New Roman', '游明朝', 'Yu Mincho', '游明朝体', 'YuMincho', 'ヒラギノ明朝 Pro W3', 'Hiragino Mincho Pro', 'HGS明朝E', 'MS P明朝', serif;
    line-height: 1.4;
	}

        h1 {
            font-size: clamp(1.8rem, 5vw, 3rem);
            margin-bottom: 2rem;
            letter-spacing: 0.05em;
            font-weight: 500;
        }

        h2 {
            font-size: clamp(1.6rem, 4vw, 2.5rem);
            margin-bottom: 1.75rem;
            letter-spacing: 0.05em;
            font-weight: 500;
        }

        h3 {
            font-size: clamp(1.4rem, 3.5vw, 2rem);
            margin-bottom: 1.5rem;
            letter-spacing: 0.05em;
            font-weight: 500;
        }

        h4 {
            font-size: clamp(1.2rem, 3vw, 1.5rem);
            margin-bottom: 1.25rem;
            font-weight: 400;
        }

        h5 {
            font-size: clamp(0.8rem, 2.5vw, 1.25rem);
            margin-bottom: 0.9rem;
            font-weight: 300;
        }

        p {
            font-size: 1rem;
            margin-bottom: 20px;
        }
		
		.u_bar {
            padding-bottom: 15px;
            border-bottom: 1.75px solid var(--color-accent);
		}


        /* ===== レイアウトクラス ===== */
        .container {
            width: 100%;
            padding: 0 15px;
        }

        .flex-container {
            display: flex;
            flex-wrap: wrap;
        }

        /* ===== 余白クラス ===== */
        .mt-10 { margin-top: 10px; }
        .mt-20 { margin-top: 20px; }
        .mt-30 { margin-top: 30px; }
        .mt-40 { margin-top: 40px; }
        .mt-50 { margin-top: 50px; }
        .mt-75 { margin-top: 75px; }
        .mt-100 { margin-top: 100px; }
        .mt-125 { margin-top: 125px; }
        .mt-150 { margin-top: 150px; }
        .mt-200 { margin-top: 200px; }

        .mb-10 { margin-bottom: 10px; }
        .mb-20 { margin-bottom: 20px; }
        .mb-30 { margin-bottom: 30px; }
        .mb-40 { margin-bottom: 40px; }
        .mb-50 { margin-bottom: 50px; }
        .mb-75 { margin-bottom: 75px; }
        .mb-100 { margin-bottom: 100px; }
        .mb-125 { margin-bottom: 125px; }
        .mb-150 { margin-bottom: 150px; }
        .mb-200 { margin-bottom: 200px; }

        .py-50 { padding: 50px 0; }
        .py-100 { padding: 100px 0; }

        /* ===== ヘッダー ===== */
        header {
            padding: 20px 0;
            text-align: center;
            border-bottom: 1px solid rgba(0,0,0,0.1);
        }

        .header-logo {
            width: 180px;
            height: auto;
			margin-bottom: 1rem;
        }

        /* ===== トップ画像 ===== */
        .top-image {
            width: 100%;
			max-width: 720px;
			margin: 0 auto;
            /*height: 70vh;
            min-height: 900px;
            object-fit: cover;
            object-position: center;
            display: block;*/
        }

        /* ===== 画像セクション共通 ===== */
        .image-section {
			width: 90%;
			max-width: 720px;
			margin: 0 auto;
            opacity: 0;
            transform: translateY(30px);
            transition: var(--transition);
        }

        .image-section.visible {
            opacity: 1;
            transform: translateY(0);
        }

        .product-info {
            text-align: center;
            padding: 15px 0;
        }

        .product-name {
            font-size: 0.8rem;
            margin-bottom: 5px;
        }

        .product-price {
            font-family: 'Playfair Display', serif;
            color: var(--color-secondary);
            font-size: 1.2rem;
        }

        /* 1カラム画像 */
        .single-column {
            width: 100%;
        }

/* ===== レイアウトクラス ===== */

/* 2カラム画像を横並び＆レスポンシブに */
.flex-container {
  width: 80%;
  max-width: 300px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* 中央寄せ */
  gap: 1rem; /* 画像間の余白 */
}

/* 各画像ボックスのサイズ調整 */
.double-column {
  flex: 1 1 clamp(50px, 50%, 100px);
  box-sizing: border-box;
}

/* 念のため画像にも100%指定 */
.double-column img {
  width: 100%;
  height: auto;
  display: block;
}

/* 3カラム画像 */
.triple-column {
    width: calc(33.333% - 20px);
    margin-right: 30px;
    margin-bottom: 30px; /* すべてのデバイスでマージンを追加 */
}

.triple-column:nth-child(3n) {
    margin-right: 0;
}

/* 3カラムボタン */
.button-wrapper {
  max-width: 500px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem auto;
}

.triple-button {
  /* flex: 1 1 calc(33.333% - 1rem); 3等分、余白除いて */
  margin: 0 auto;
  min-width: 180px;
  max-width: 300px;
  background-color: var(--color-secondary);
  padding: 1rem 0;
  border-radius: 10px;
  font-family: 'Helvetica Neue', Arial, sans-serif !important; /* ゴシック系に強制 */
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.4;
  writing-mode: horizontal-tb !important;
  white-space: nowrap;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
  transition: var(--transition), transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.triple-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 200%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0.4) 50%,
    rgba(255, 255, 255, 0.1) 100%
  );
  transform: skewX(-20deg);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

/* クリック時：沈む */
.triple-button:active {
  transform: translateY(1px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

a.triple-button {
  display: block;
  color: var(--color-white);
  
}

a.triple-button[href^="mailto:"] {
  color: var(--color-white) !important;
}

a.triple-button.other-btn[href^="mailto:shop@reginarisurre.com?subject=その他│公式店：レジーナ【神戸ワンピース専門店】"] {
  color: var(--color-secondary) !important;
}

#change-qr a.triple-button.other-btn[href^="mailto:"] {
  color: var(--color-secondary) !important;
}

/* スマホ用に中央寄せ */
@media screen and (max-width: 600px) {
  .button-wrapper {
    justify-content: center;
  }
    
  .triple-button {
    flex: 0 1 30%;
    min-width: 80px;
    white-space: normal; /* スマホでは2行OK */
  }
}

/* ボタンカラー */
a.rakuten-btn {
  background-color: var(--color-rakuten);
}

a.yahoo-btn {
  background-color: var(--color-attn);
}

a.other-btn {
  background-color: var(--color-white);
  color: var(--color-secondary);
  border: 2px solid var(--color-secondary); /* 枠線を追加 */  
}

a.other2-btn {
  background-color: var(--color-white);
  color: var(--color-sale);
  border: 2px solid var(--color-sale); /* 枠線を追加 */  
}

/* ボタンテキスト */
.button-attn {
    font-size: 0.7rem;
}

.arrow-down {
  width: 0;
  height: 0;
  margin: 0 auto;
  text-align: center;
  border-left: 50px solid transparent;    /* 左側：透明 */
  border-right: 50px solid transparent;   /* 右側：透明 */
  border-top: 30px solid var(--color-primary);  /* 下向きの矢印色と高さ */
}

        /* 画像+テキストレイアウト */
        .image-text-container {
            display: flex;
            align-items: center;
            flex-wrap: wrap;
        }

        .image-left {
            width: 60%;
            padding-right: 30px;
        }

        .p-left {
			margin: 0 auto;
			text-align: left;
        }

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

        .text-right {
            width: 40%;
        }

        .text-left {
            width: 50%;
            padding-right: 30px;
        }

        .image-right {
            width: 50%;
        }

        .center-text {
            text-align: center;
            max-width: 800px;
            margin: 0 auto;
        }

        .left-text {
            text-align: left;
            max-width: 800px;
            margin: 0 auto;
        }

/* 箱テキスト-a */
 .box-a {
    color: #665B3D;
	background-color: var(--color-white);
	margin-bottom: 3rem;
}
.box-a_title {
	text-align: center;
	width: 100%;
	padding: 0.5rem;
	background-color: var(--color-secondary);
	font-size: 1.2rem;
	font-weight: 700;
	color: var(--color-white);
}
 .box-a .box-a_text {
	 padding: 1rem;
	 border-bottom: 1px solid var(--color-secondary);
}

.box-a img {
	 width: 100%;
}

/* 箱テキスト-b */
.box-b {
    width: 100%;
    margin: 0 auto 3rem auto;
    background-color: var(--color-white);
    border: 1px solid var(--color-accent);
    border-radius: 5px; /* 角丸（任意） */
}
.box-b_title {
	text-align: center;
    padding: 0.3rem;
	background-color: var(--color-accent);
	font-size: 1.2rem;
	font-weight: 700;
	color: var(--color-white);
}
 .box-b .box-b_text {
	 padding: 1rem;
     font-size: 1rem;
     text-align: left;
}
.box-b_text ul {
  padding-left: 0;
  list-style: none;
  margin: 0;
}

.box-b_text li {
  margin-bottom: 0.5rem;
  color: var(--color-primary);
  font-size: 1rem;
  line-height: 1.5;
}
.box-b_text li:last-child {
  margin-bottom: 0;
}
.box-b img {
	 width: 100%;
}

    /* ===== ボタン ===== */
    .btn {
    display: inline-block;
    padding: 15px 40px;
    background-color: var(--color-secondary);
    color: var(--color-white);
    text-decoration: none;
    border: none;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    letter-spacing: 0.1em;
    border-radius: 10px;
        }

        .btn:hover {
            background-color: var(--color-primary);
            transform: translateY(-3px);
        }

        .line {
    background-color: var(--color-line);
        }

        .newsletter-btn {
            background-color: var(--color-accent);
        }

        .shop-btn {
    background-color: var(--color-accent);
    display: inline-flex;  /* 中のコンテンツの整列に便利 */
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / 1;  /* またはこれで比率を固定 */
}

        /* ===== フッター ===== */
        footer {
            background-color: var(--color-primary);
            color: var(--color-white);
            padding: 50px 0;
            text-align: center;
        }

        footer {
            background-color: var(--color-primary);
            color: var(--color-white);
            padding: 10px;
            text-align: center;
        }

        .footer-info h2,
        .footer-info h3,
        .footer-info h4,
        .footer-info h5 {
			color: var(--color-white);
        }


		.footer-logo {
 		   width: 180px;
  		  margin: 30px;
		}

        .footer-info {
            margin-bottom: 20px;
        }

        .footer-info p {
            margin-bottom: 5px;
        }
.box-2 {
    width: 90%;
    max-width: 500px;
    padding: 1.5rem;
    margin: 0 auto;
    background: var(--color-accent);
    
}
