/* リセットとベーススタイル */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  background-color: #ffffff;
  color: #333333;
  line-height: 1.6;
}

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

/* Bottom Menu */
.bottom-menu {
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.bottom-menu-link {
  font-family: 'Noto Serif JP', serif;
  font-weight: 400;
  font-size: 14px;
  color: #71664c;
  letter-spacing: 1.4px;
  text-decoration: underline;
  transition: opacity 0.2s;
}

.bottom-menu-link:hover {
  opacity: 0.8;
}

/* Header */
.header {
  background-color: #71664c;
  height: 60px;
  box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 100;
}

.header-content {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 10px 8px;
  height: 100%;
  justify-content: space-between;
}

.header-logo {
  width: 70px;
  object-fit: cover;
}

.header-brand {
  height: 18px;
  width: 135px;
  object-fit: cover;
}

.header-text {
  font-family: 'Shippori Mincho', serif;
  font-weight: 500;
  line-height: 1;
  text-align: center;
  color: white;
  letter-spacing: 1px;
  white-space: nowrap;
}

.header-text p{
  margin-bottom: 8px;
  font-size: 20px;
}

.header-subtext{
  font-size: 8px;
  font-family: 'Noto Sans JP sans-serif';
  display: flex;
  align-items: center;
  gap: 5px;
}

.header-divider{
  background-color: white;
  height: 1px;
  width: 10px;
}

.empty-contents{
  width: 45px;
}

/* メインコンテンツ */
.main-content {
  width: 100%;
}

/* タイトルエリア */
.article-title {
  background: linear-gradient(to bottom, #f4e6da, #faf9f5);
  width: 100%;
}

.article-title-inner {
  padding: 30px 20px 45px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* タイトルセクション */
.title-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* カテゴリーと日付 */
.article-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.category {
  background-color: #fffaf0;
  border: 1px solid #87703e;
  border-radius: 3px;
  padding: 0 10px;
  height: 24px;
  display: flex;
  align-items: center;
}

.category span {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: #87703e;
  letter-spacing: 2.2px;
}

.date {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.date-text {
  font-family: 'Shippori Mincho', serif;
  font-weight: 600;
  font-size: 16px;
  color: #b89b5e;
  letter-spacing: 2.2px;
  margin-bottom: 0;
}

.date-underline {
  width: 91px;
  height: 1px;
  background-color: #b89b5e;
  margin-top: 10px;
}

/* 記事タイトル */
.article-title-text {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 36px;
  color: #000000;
  line-height: 1.6;
}

/* サムネイル */
.thumbnail {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 監修者セクション */
.supervisor-section {
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding-top: 15px;
  align-items: center;
}

.supervisor-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.supervisor-label .line {
  width: 75px;
  height: 1px;
  background-color: #b89b5e;
}

.label-text {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: #71664c;
  letter-spacing: 0.396px;
  white-space: nowrap;
}

.supervisor-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.supervisor-photo {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
}

.supervisor-text {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.supervisor-subtitle {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: #333333;
  letter-spacing: 0.352px;
}

.supervisor-name {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 36px;
  color: #333333;
  letter-spacing: 1px;
}

/* 記事本文 */
.article-body {
  background-color: #faf9f5;
  padding: 0 20px 90px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.body-text {
  font-family: 'Shippori Mincho', serif;
  font-weight: 500;
  font-size: 20px;
  color: #000000;
  line-height: 2;
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
}

.body-text p {
  margin-bottom: 0;
}

.body-text p + p {
  margin-top: 0;
}

/* H3見出し */
.h3-heading {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 30px 0 10px;
  max-width: 440px;
  margin: 0 auto;
  width: 100%;
}

.h3-bar {
  width: 8px;
  height: 105px;
  background-color: #71664c;
  flex-shrink: 0;
}

.h3-heading h3 {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 24px;
  color: #000000;
  line-height: 1.4;
  letter-spacing: 1px;
  flex: 1;
}

/* H4見出し */
.h4-heading {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 20px 0 5px;
  max-width: 440px;
  margin: 0 auto;
  width: 100%;
}

.h4-heading h4 {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: #000000;
  line-height: 2;
  padding-left: 6px;
}

.h4-underline {
  width: 100%;
  max-width: 440px;
  height: 2px;
  background-color: #71664c;
}

/* 最新動画・コラム見出し */
.h4-heading-special h4 {
  font-family: 'Shippori Mincho', serif;
  font-weight: 600;
  font-size: 24px;
}

.h4-underline-thin {
  height: 1px;
}

/* 区切り線 */
.divider {
  width: 100%;
  max-width: 440px;
  height: 1px;
  margin: 0 auto;
}

.divider-gold {
  background-color: #b89b5e;
}

.divider-dark {
  background-color: #333333;
}

/* 図版画像 */
.figure-image {
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  padding: 0 15px;
}

.figure-image img {
  width: 100%;
  height: auto;
}

/* 引用セクション */
.source-section {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 440px;
  margin: 0 auto;
  width: 100%;
}

.source-text {
  font-family: 'Shippori Mincho', serif;
  font-weight: 500;
  font-size: 14px;
  color: #333333;
  line-height: 1.8;
}

.source-text p {
  margin-bottom: 0;
}

/* Card List */
.card-list {
    display: flex;
    margin: 0 15px;
    flex-direction: column;
    align-items: flex-end;
    gap: 24px;
    position: relative;
}

.movie-list{
  justify-content: center;
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
  padding: 0 10px;
}

.list-divider {
  width: 10%;
  height: 1px;
  background-color: #b89b5e;
}

/* Buttons */
.btn-primary,
.btn-secondary,
.btn-tertiary,
.btn-line {
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 6px 4px 20px;
  border-radius: 100px;
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.1);
  font-family: 'Shippori Mincho', serif;
  font-weight: 600;
  letter-spacing: 1px;
  transition: transform 0.2s;
}

.btn-primary:hover,
.btn-secondary:hover,
.btn-tertiary:hover,
.btn-line:hover {
  transform: translateY(-2px);
}

.btn-layout{
  margin: 0 auto;
}

.btn-primary {
  background: linear-gradient(179.204deg, #B89B5E 2.6478%, #6D582B 96.681%);
  color: white;
  font-size: 16px;
  height: 40px;
  width: 165px;
}

.btn-secondary {
  background: linear-gradient(177.457deg, #87703E 7.8411%, #5C481D 80.011%);
  color: white;
  font-size: 18px;
  height: 45px;
  width: 240px;
}

.btn-tertiary {
  background: linear-gradient(177.457deg, #87703E 7.8411%, #5C481D 80.011%);
  color: white;
  font-size: 18px;
  height: 48px;
  width: 225px;
}

.btn-line {
  background: linear-gradient(179.132deg, #11C654 4.4504%, #1E8C47 87.315%);
  color: white;
  font-size: 18px;
  height: 40px;
  width: 253px;
}

.btn-watch {
  gap: 14px;
}

.btn-small {
  gap: 4px;
}

.btn-space{
  margin-left: 40px;
}

.btn-space02{
  margin-left: 50px;
  margin-bottom: 2px;
}

.btn-space03{
  margin-left: 10px;
  margin-bottom: 2px;
}

.btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.btn-icon svg {
  display: block;
}

/* Card */
.card {
    width: 100%;
    background: white;
    border: 1px solid #f3f4f6;
    border-radius: 2px;
}

.card-content {
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.card-info{
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Date */
.date {
    position: relative;
    width: 80.22px;
    height: 21.5px;
    font-family: 'Shippori Mincho', serif;
    font-weight: 700;
    font-size: 11px;
    line-height: 16.5px;
    letter-spacing: 2.2px;
    text-transform: uppercase;
    color: #b89b5e;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #b89b5e;
    margin-bottom: 0;
}

/* Category */
.category{
  font-size: 14px;
  color: #87703e;
  height: 25px;
  background: #fdf9f2;
  border-radius: 3px;
  padding: 0 10px;
  border: 1px solid #87703e;
}

/* Card Body */
.card-body {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 0;
}

/* Image Placeholder */
.image-placeholder {
    width: 40%;
    flex-shrink: 0;
}

.image-placeholder img{
  width: 100%;
}

/* Text Content */
.text-content {
    width: 60%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

/* Title */
.title {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 1.4;
    text-align: left;
    color: #333;
    white-space: pre-wrap;
}

/* Primary Button */
.btn-primary {
    width: 140px;
    height: 30px;
    background: linear-gradient(177.955deg, rgb(135, 112, 62) 5.1852%, rgb(114, 93, 47) 82.434%);
    border-radius: 100px;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 4px 4px 4px 16px;
    text-decoration: none;
    cursor: pointer;
    border: none;
}

.btn-text {
    font-family: 'Shippori Mincho', serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 15px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: white;
    white-space: nowrap;
}

.btn-icon {
    width: 21px;
    height: 21px;
    flex-shrink: 0;
}

.btn-icon svg {
    display: block;
    width: 100%;
    height: 100%;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 80px;
}

.pagination-btn {
  width: 40px;
  height: 40px;
  border: 1px solid #e5e7eb;
  background: white;
  font-family: 'Noto Serif JP', serif;
  font-size: 14px;
  color: #333;
  cursor: pointer;
  transition: all 0.3s;
}

.pagination-btn.active {
  background: #b89b5e;
  color: white;
  font-weight: 700;
}

.pagination-btn:hover:not(.active) {
  background: #f3f4f6;
}

/* Floating Button */
.floating-btn {
  position: fixed;
  bottom: 90px;
  right: 3%;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #b89b5e;
  border: none;
  box-shadow: 0px 25px 50px -12px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 50;
  transition: transform 0.2s;
}

.floating-btn:hover {
  transform: scale(1.1);
}

.floating-btn svg {
  transform: rotate(-90deg);
}

/* Footer */
.footer {
  background-color: #e2d7ce;
  height: 180px;
  text-align: center;
  padding-top: 30px;
}

.footer-title {
  font-family: 'Noto Serif JP', serif;
  font-weight: 400;
  font-size: 20px;
  color: #71664c;
  letter-spacing: 4px;
  text-align: center;
  line-height: 28px;
  margin-bottom: 8px;
}

.footer-logo{
  width: 120px;
  display: inline-block;
  margin-bottom: 30px;
}

/* PC版レイアウト（769px以上） */
@media (min-width: 769px) {
  /* ヘッダー */
  .header {
    height: 80px;
  }

  /* タイトルエリア */
  .article-title-inner {
    max-width: 1000px;
    margin: 0 auto;
    padding: 50px 40px 60px;
    gap: 40px;
  }

  /* タイトルセクション */
  .title-section {
    gap: 15px;
  }

  /* 記事タイトル */
  .article-title-text {
    font-size: 48px;
  }

  /* サムネイル */
  .thumbnail {
    max-width: 800px;
    margin: 0 auto;
  }

  /* 監修者セクション */
  .supervisor-section {
    max-width: 800px;
    margin: 0 auto;
    padding-top: 20px;
  }

  .supervisor-info {
    justify-content: center;
    gap: 20px;
  }

  .supervisor-photo {
    width: 120px;
    height: 120px;
  }

  .supervisor-subtitle {
    font-size: 18px;
  }

  .supervisor-name {
    font-size: 42px;
  }

  /* 記事本文 */

  .body-text {
    font-size: 18px;
    max-width: 800px;
  }

  /* H3見出し */
  .h3-heading {
    max-width: 800px;
    padding: 40px 0 15px;
  }

  .h3-bar {
    height: 120px;
  }

  .h3-heading h3 {
    font-size: 28px;
  }

  /* H4見出し */
  .h4-heading {
    max-width: 800px;
    padding: 30px 0 10px;
  }

  .h4-heading h4 {
    font-size: 24px;
  }

  .h4-underline {
    max-width: 800px;
  }

  .h4-heading-special h4 {
    font-size: 28px;
  }

  /* 区切り線 */
  .divider {
    max-width: 800px;
  }

  /* 図版画像 */
  .figure-image {
    max-width: 800px;
    padding: 0;
  }

  /* 引用セクション */
  .source-section {
    max-width: 800px;
  }

  /* フッター */
  .footer {
    height: 300px;
  }
}

/* タブレット版（768px以下、481px以上） */
@media (max-width: 768px) and (min-width: 481px) {
  .article-title-inner {
    padding: 40px 30px 50px;
  }

  .article-body {
    padding: 40px 40px 120px;
  }

  .body-text {
    max-width: 500px;
  }

  .h3-heading,
  .h4-heading,
  .divider,
  .figure-image,
  .source-section {
    max-width: 500px;
  }
}

/* 小さなスマホ版（480px以下） */
@media (max-width: 480px) {
  .article-title-text {
    font-size: 28px;
  }

  .supervisor-name {
    font-size: 28px;
  }

  .supervisor-subtitle {
    font-size: 14px;
  }

  .body-text {
    font-size: 18px;
  }

  .h3-heading h3 {
    font-size: 20px;
  }

  .h3-bar {
    height: 90px;
  }

  .h4-heading h4 {
    font-size: 18px;
  }
}

@media (min-width: 769px) {
  body {
    width: 100%;
    max-width: 100%;
    padding-bottom: 0;
  }

  .header{
    height: 80px;
  }

  .profile-section{
    justify-content: center;
  }

  .intro-title{
    font-size: 24px;
  }

  .intro-divider{
    width: 300px;
  }

  .intro-subtitle {
    font-size: 20px;
  }

  .video-info{
    gap: 20px;
  }

  .movie-list {
  gap: 30px;
  margin-bottom: 0;
  }

  .list-divider {
  width: 3%;
  }

  .card-list{
    max-width: 100%;
    flex-direction: row;
    margin: 3% 10%;
    flex-wrap: wrap;
  }

  .card{
    width: calc(50% - 18px);
  }

  .btn-secondary{
    font-size: 18px;
    width: 240px;
  }

  .btn-tertiary{
    font-size: 18px;
    width: 240px;
  }

  .footer {
    height: 240px;
    padding-bottom: 60px;
}
}

@media (min-width: 1280px) {
  .pc-only{
    display: none;
  }

  .header-content {
    padding: 12px 60px 8px;
  }

  .header-logo {
    width: 100px;
}

  .header-text p {
    font-size: 25px;
  }

  .header-subtext {
    font-size: 11px;
  }

  .header-brand {
    height: 27px;
    width: 200px;
    object-fit: cover;
}

  .hero{
    display: flex;
    flex-direction:row-reverse;
    align-items: center;
    background: linear-gradient(to bottom, #f4e6da 0%, white 100%);
  }

  .introduction {
    margin-top: 30px;
  }

  .intro-description{
    text-align: left;
    margin: 8px 0 0;
  }

  .profile-section{
    justify-content: flex-start;
  }

  .profile-icon img {
    width: 90px;
    height: 90px;
  }

  .title-section{
    text-align: left;
    padding: 0 30px 0 5%;
    width: 100%;
  }

  .title-main{
    font-size: 24px;
  }

  .btn-primary, .btn-secondary, .btn-tertiary, .btn-line {
    justify-content: center;
  }

  .title {
    font-size: 24px;
  }

  .video-buttons{
    flex-direction: row;
    align-items: flex-start;
    width: 100%;
  }

  .btn-secondary{
    font-size: 18px;
  }

  .btn-tertiary{
    font-size: 18px;
    width: calc(50% - 5px);
  }

  .btn-space {
    margin-left: 0;
    margin-right: 10px;
  }

  .btn-space02 {
    margin-left: 0;
    margin-right: 10px;
  }
}

/* コンテナ */
.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 30px 0;
    background-color: #faf9f5;
}

.content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    width: 100%;
}

/* タイトル部分 */
.title-section {
    position: relative;
    display: inline-grid;
    place-items: center;
    width: 100%;
}

.highlight {
  background-image: linear-gradient(0deg, #EEBF7D80 0.7em, transparent 0.5em);
  background-repeat: no-repeat;
  background-position: 0 80%;
}

.title-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.title-line {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 17px;
    color: #333333;
    text-align: center;
    line-height: 1.8;
    margin: 0;
}

/* LINEボタン */
.line-button {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 332px;
    height: 50px;
    background: linear-gradient(to bottom, #11c654, #1e8c47);
    border-radius: 25px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

.line-button:hover {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    transform: scale(1.05);
}

.line-button:active {
    transform: scale(0.95);
}

.button-text {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 20px;
    color: #ffffff;
    letter-spacing: 0.44px;
    line-height: 1.6;
}

.button-circle {
    position: absolute;
    right: 7px;
    width: 36px;
    height: 36px;
    background-color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.arrow-icon {
    width: 18px;
    height: 18px;
}

/* タブレット・PC対応（769px以上） */
@media (min-width: 769px) {
    .container {
        padding: 40px;
    }
    
    .content {
        gap: 50px;
    }
    
    .decoration-lines {
        width: 400px;
        height: 56px;
    }
    
    .title-line {
        font-size: 32px;
        letter-spacing: 0.7px;
    }
    
    .line-button {
        width: 450px;
        height: 65px;
        border-radius: 32.5px;
    }
    
    .button-text {
        font-size: 26px;
        letter-spacing: 0.58px;
    }
    
    .button-circle {
        right: 10px;
        width: 45px;
        height: 45px;
    }
    
    .arrow-icon {
        width: 22px;
        height: 22px;
    }
}

/* 大画面対応（1024px以上） */
@media (min-width: 1024px) {
    .title-line {
        font-size: 30px;
    }
    
    .line-button {
        width: 500px;
        height: 70px;
        border-radius: 35px;
    }
    
    .button-text {
        font-size: 28px;
    }
    
    .button-circle {
        width: 50px;
        height: 50px;
    }
    
    .arrow-icon {
        width: 24px;
        height: 24px;
    }
}
