@charset "UTF-8";
/* パスワード保護　（あとで消す） */
.post-password-form {
  margin-top: 200px;
}

.header-anniversary .gnav {
  padding-top: 20px;
}

@media screen and (max-width: 749px) {
  .anniversary_contents {
    margin-top: 50px;
  }
}
.anniversary_contents_mv {
  background: url(../images/anniversary/anniversary_contents_mv_bg@2x.jpg) no-repeat;
  background-size: cover;
  padding: 100px 0;
  text-align: center;
  color: #fff;
}
@media screen and (min-width: 750px) {
  .anniversary_contents_mv {
    padding: min(13.021vw, 250px) 0 min(15.625vw, 300px);
  }
}
.anniversary_contents_mv h2 {
  font-size: clamp(30px, 4.5vw, 54px);
  margin-bottom: min(4.167vw, 50px);
  color: #fff;
  font-weight: 600;
}
.anniversary_contents_mv p {
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 500;
  line-height: 2;
}
@media screen and (max-width: 749px) {
  .anniversary_contents_mv p {
    font-size: 16px;
  }
}
.anniversary_contents_president {
  padding: 50px 0;
  color: #333333;
}
@media screen and (min-width: 750px) {
  .anniversary_contents_president {
    padding: 100px 0 120px;
  }
}
.anniversary_contents_president .president_inner {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 20px;
}
@media screen and (min-width: 750px) {
  .anniversary_contents_president .president_inner {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
    gap: 8%;
  }
}
.anniversary_contents_president {
  /* 左側：画像エリア */
}
.anniversary_contents_president .president_image {
  width: 100%;
  max-width: 450px;
  margin: 0 auto;
}
@media screen and (min-width: 750px) {
  .anniversary_contents_president .president_image {
    width: 40%;
    margin: 0;
  }
}
.anniversary_contents_president .president_image img {
  width: 100%;
  height: auto;
  display: block;
}
.anniversary_contents_president {
  /* 右側：テキストエリア */
}
@media screen and (min-width: 750px) {
  .anniversary_contents_president .president_text {
    width: 52%;
  }
}
.anniversary_contents_president .sub_title {
  font-size: 14px;
  margin: 0 0 10px 0;
  letter-spacing: 1px;
  font-weight: 600;
}
@media screen and (min-width: 750px) {
  .anniversary_contents_president .sub_title {
    font-size: 20px;
    margin-bottom: 15px;
  }
}
.anniversary_contents_president .main_title {
  font-size: 32px;
  font-weight: 600;
  color: #4a3a33;
  margin: 0 0 30px 0;
  letter-spacing: 2px;
}
@media screen and (min-width: 750px) {
  .anniversary_contents_president .main_title {
    font-size: 36px;
    margin-bottom: 45px;
  }
}
.anniversary_contents_president .body_text {
  font-size: 14px;
  margin-bottom: 40px;
}
@media screen and (min-width: 750px) {
  .anniversary_contents_president .body_text {
    font-size: 16px;
    margin-bottom: 50px;
  }
}
.anniversary_contents_president .body_text p {
  margin: 0 0 20px 0;
}
@media screen and (min-width: 750px) {
  .anniversary_contents_president .body_text p {
    margin-bottom: 25px;
  }
}
.anniversary_contents_president .body_text p:last-child {
  margin-bottom: 0;
}
.anniversary_contents_president {
  /* 署名エリア */
}
.anniversary_contents_president .signature {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: flex-end;
  gap: 5px;
}
@media screen and (min-width: 750px) {
  .anniversary_contents_president .signature {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: end;
        -ms-flex-pack: end;
            justify-content: flex-end;
    gap: 20px;
  }
}
.anniversary_contents_president .signature .position {
  font-size: 13px;
  font-weight: 600;
}
@media screen and (min-width: 750px) {
  .anniversary_contents_president .signature .position {
    font-size: 16px;
  }
}
@media screen and (max-width: 749px) {
  .anniversary_contents_president .signature .name {
    margin-top: 10px;
  }
}
.anniversary_contents_movie01 {
  background: url(../images/anniversary/anniversary_contents_movie_bg@2x.jpg) no-repeat;
  background-size: cover;
  padding: 50px 0;
}
@media screen and (min-width: 750px) {
  .anniversary_contents_movie01 {
    padding: 120px 0;
  }
}
.anniversary_contents_movie01 .btn {
  max-width: 500px;
  margin: 0 auto;
}
@media screen and (min-width: 750px) {
  .anniversary_contents_movie01 .btn {
    height: 80px;
  }
}
.anniversary_contents_movie01 .btn span {
  position: relative;
  padding-right: 40px;
}
.anniversary_contents_movie01 .btn span::after {
  content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
  position: absolute;
  right: 0;
  top: 50%;
  border-right: 1px solid #d9788b;
  border-bottom: 1px solid #d9788b;
  -webkit-transform: rotate(45deg) translateY(-12px);
          transform: rotate(45deg) translateY(-12px);
  -webkit-transition: border-color 0.3s ease;
  transition: border-color 0.3s ease;
}
.anniversary_contents_movie01 .btn:hover span::after {
  border-right: 1px solid #fff;
  border-bottom: 1px solid #fff;
}
.anniversary_contents_history {
  padding: 50px 0;
}
@media screen and (min-width: 750px) {
  .anniversary_contents_history {
    padding: 120px 0;
  }
}
.anniversary_contents_history * {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}
.anniversary_contents_history {
  /* --- ヘッダー --- */
}
.anniversary_contents_history .history-header {
  text-align: center;
  margin-bottom: 40px;
}
@media screen and (min-width: 750px) {
  .anniversary_contents_history .history-header {
    margin-bottom: 100px;
  }
}
.anniversary_contents_history .history-header .sub-title {
  font-size: 14px;
  margin: 0 0 5px 0;
  letter-spacing: 2px;
}
@media screen and (min-width: 750px) {
  .anniversary_contents_history .history-header .sub-title {
    font-size: 20px;
  }
}
.anniversary_contents_history .history-header .main-title {
  font-size: 24px;
  font-weight: 600;
  margin: 0 0 20px 0;
  letter-spacing: 3px;
}
@media screen and (min-width: 750px) {
  .anniversary_contents_history .history-header .main-title {
    font-size: 36px;
    margin: 0 0 20px 0;
  }
}
.anniversary_contents_history .history-header .company-logo {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.anniversary_contents_history .history-header .company-logo img {
  height: 35px;
}
@media screen and (min-width: 750px) {
  .anniversary_contents_history .history-header .company-logo img {
    height: 68px;
  }
}
.anniversary_contents_history {
  /* --- タブ / 凡例 --- */
}
.anniversary_contents_history .timeline-tabs {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}
@media screen and (min-width: 750px) {
  .anniversary_contents_history .timeline-tabs {
    gap: 200px;
    margin-bottom: 30px;
  }
}
.anniversary_contents_history .tab-button {
  width: 50%;
  padding: 10px 0;
  text-align: center;
  color: #fff;
  border-radius: 25px;
  font-size: 14px;
  letter-spacing: 2px;
  border: none;
  font-weight: 400;
  cursor: pointer;
  opacity: 0.3;
  -webkit-transition: opacity 0.3s ease;
  transition: opacity 0.3s ease;
  font-family: "Noto Serif JP", serif;
}
@media screen and (min-width: 750px) {
  .anniversary_contents_history .tab-button {
    width: 100%;
    max-width: 500px;
    padding: 12px 0;
    font-size: 22px;
    pointer-events: none;
    opacity: 1;
  }
}
.anniversary_contents_history .tab-button.active {
  opacity: 1;
  -webkit-box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
          box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
@media screen and (min-width: 750px) {
  .anniversary_contents_history .tab-button.active {
    -webkit-box-shadow: none;
            box-shadow: none;
  }
}
.anniversary_contents_history .tab-button.company {
  background-color: #d46981;
}
.anniversary_contents_history .tab-button.product {
  background-color: #6e9452;
}
.anniversary_contents_history {
  /* --- タイムライン本体 --- */
}
.anniversary_contents_history .timeline {
  position: relative;
  /* JS連動: タブによる表示の切り替え */
}
.anniversary_contents_history .timeline[data-active-tab=company] .timeline-item.no-company {
  display: none;
}
@media screen and (min-width: 750px) {
  .anniversary_contents_history .timeline[data-active-tab=company] .timeline-item.no-company {
    display: -ms-grid;
    display: grid;
  }
}
.anniversary_contents_history .timeline[data-active-tab=company] .product-side {
  display: none;
}
@media screen and (min-width: 750px) {
  .anniversary_contents_history .timeline[data-active-tab=company] .product-side {
    display: block;
  }
}
.anniversary_contents_history .timeline[data-active-tab=product] .timeline-item.no-product {
  display: none;
}
@media screen and (min-width: 750px) {
  .anniversary_contents_history .timeline[data-active-tab=product] .timeline-item.no-product {
    display: -ms-grid;
    display: grid;
  }
}
.anniversary_contents_history .timeline[data-active-tab=product] .company-side {
  display: none;
}
@media screen and (min-width: 750px) {
  .anniversary_contents_history .timeline[data-active-tab=product] .company-side {
    display: block;
  }
}
.anniversary_contents_history .timeline[data-active-tab=product] {
  /* SP時、商品タブ選択時は枝線を緑色に */
}
@media screen and (max-width: 749px) {
  .anniversary_contents_history .timeline[data-active-tab=product] .timeline-item::after {
    background-color: #719b6a;
  }
}
.anniversary_contents_history {
  /* --- タイムラインの各行 --- */
}
.anniversary_contents_history .timeline-item {
  display: block;
  position: relative;
  padding-left: 80px;
  margin-bottom: 30px;
  min-height: 60px;
  z-index: 1;
}
@media screen and (min-width: 750px) {
  .anniversary_contents_history .timeline-item {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 30px 140px 30px 1fr;
    grid-template-columns: 1fr 140px 1fr;
    gap: 30px;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    padding-left: 0;
    min-height: auto;
  }
}
.anniversary_contents_history .timeline-item:last-of-type {
  margin-bottom: 0;
}
.anniversary_contents_history .timeline-item {
  /* -------------------------------------------
   【重要】絶対に途切れない縦線のロジック
   ------------------------------------------- */
}
.anniversary_contents_history .timeline-item::before {
  content: "";
  position: absolute;
  width: 2px;
  background-color: #d9788b;
  z-index: -3;
}
@media screen and (max-width: 749px) {
  .anniversary_contents_history .timeline-item::before {
    top: 0;
    bottom: -30px;
    left: 33px;
  }
}
@media screen and (min-width: 750px) {
  .anniversary_contents_history .timeline-item::before {
    top: 0;
    bottom: -50px;
    left: 50%;
    -webkit-transform: translateX(-50%);
            transform: translateX(-50%);
  }
}
@media screen and (max-width: 749px) {
  .anniversary_contents_history .timeline-item:first-of-type::before {
    top: 30px;
  }
}
@media screen and (min-width: 750px) {
  .anniversary_contents_history .timeline-item:first-of-type::before {
    top: 50%;
  }
}
@media screen and (max-width: 749px) {
  .anniversary_contents_history .timeline-item:last-of-type::before {
    bottom: auto;
    height: 30px;
  }
}
@media screen and (min-width: 750px) {
  .anniversary_contents_history .timeline-item:last-of-type::before {
    bottom: 50%;
  }
}
.anniversary_contents_history .timeline-item {
  /* SP用：縦軸からコンテンツへ右に伸びる枝線 (1px) */
}
@media screen and (max-width: 749px) {
  .anniversary_contents_history .timeline-item::after {
    content: "";
    position: absolute;
    top: 30px;
    left: 33px;
    width: 47px;
    height: 2px;
    background-color: #d9788b;
    z-index: -3;
  }
}
.anniversary_contents_history .timeline-item {
  /* 特別処理：1958年 (左に2箱あり、V字に2本線が伸びる) */
}
.anniversary_contents_history .timeline-item.split-year .company-side {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 20px;
}
@media screen and (min-width: 750px) {
  .anniversary_contents_history .timeline-item.split-year .company-box:nth-child(1)::after {
    width: 140px;
    -webkit-transform: translateY(-50%) rotate(30deg);
            transform: translateY(-50%) rotate(30deg);
    -webkit-transform-origin: left center;
            transform-origin: left center;
  }
  .anniversary_contents_history .timeline-item.split-year .company-box:nth-child(2)::after {
    width: 140px;
    -webkit-transform: translateY(-50%) rotate(-30deg);
            transform: translateY(-50%) rotate(-30deg);
    -webkit-transform-origin: left center;
            transform-origin: left center;
  }
}
.anniversary_contents_history {
  /* -------------------------------------------
   年号バッジ（円）
   ------------------------------------------- */
}
.anniversary_contents_history .timeline-year {
  position: absolute;
  top: 0;
  left: 0;
  width: 70px;
  height: 70px;
  /* background-color: #fff; */
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  z-index: 2;
}
@media screen and (min-width: 750px) {
  .anniversary_contents_history .timeline-year {
    position: relative;
    top: auto;
    left: auto;
    width: 140px;
    height: 140px;
    margin: 0 auto;
  }
}
.anniversary_contents_history .timeline-year {
  /* 白い内円 */
}
.anniversary_contents_history .timeline-year::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  right: 2px;
  bottom: 2px;
  background-color: #fff;
  border-radius: 50%;
  z-index: -1;
}
.anniversary_contents_history .timeline-year {
  /* 色付きの外円 (1pxの枠線に見せる) */
}
.anniversary_contents_history .timeline-year::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 50%;
  z-index: -2;
}
.anniversary_contents_history .timeline-year .year-ad {
  font-weight: 500;
  color: #333;
  line-height: 1.2;
  font-family: serif;
  font-size: 18px;
}
@media screen and (min-width: 750px) {
  .anniversary_contents_history .timeline-year .year-ad {
    font-size: 37px;
    margin-bottom: 5px;
  }
}
.anniversary_contents_history .timeline-year .year-jp {
  color: #333;
  font-size: 13px;
  font-weight: 500;
  font-family: serif;
}
@media screen and (min-width: 750px) {
  .anniversary_contents_history .timeline-year .year-jp {
    font-size: 20px;
  }
}
.anniversary_contents_history {
  /* 枠線の色の切り替え（1px） */
}
.anniversary_contents_history .has-company.no-product .timeline-year::before {
  background-color: #c33131;
}
.anniversary_contents_history .no-company.has-product .timeline-year::before {
  background-color: #6e9452;
}
.anniversary_contents_history .has-company.has-product .timeline-year::before {
  background: -webkit-gradient(linear, left top, right top, color-stop(50%, #c33131), color-stop(50%, #6e9452));
  background: linear-gradient(to right, #c33131 50%, #6e9452 50%);
}
.anniversary_contents_history {
  /* コンテンツを入れる箱のラッパー */
}
.anniversary_contents_history .timeline-content {
  width: 100%;
}
.anniversary_contents_history .timeline-content.empty {
  display: none;
}
@media screen and (min-width: 750px) {
  .anniversary_contents_history .timeline-content.empty {
    display: block;
    visibility: hidden;
  }
}
.anniversary_contents_history {
  /* --- ボックス内部のスタイル --- */
}
.anniversary_contents_history .box {
  padding: 20px;
  position: relative;
}
@media screen and (min-width: 750px) {
  .anniversary_contents_history .box {
    padding: 30px;
  }
}
.anniversary_contents_history .box-text {
  font-size: 14px;
  text-align: center;
  margin: 0;
  line-height: 1.8;
}
@media screen and (min-width: 750px) {
  .anniversary_contents_history .box-text {
    font-size: 16px;
  }
}
.anniversary_contents_history {
  /* 左側：会社の歴史 */
}
.anniversary_contents_history .company-box {
  background-color: #ffebf0;
}
.anniversary_contents_history .company-box.slim {
  padding: 20px;
}
@media screen and (min-width: 750px) {
  .anniversary_contents_history .company-box.slim {
    padding: 30px;
  }
}
.anniversary_contents_history .company-box {
  /* PC用：確実に繋がる横線 (1px) */
}
@media screen and (min-width: 750px) {
  .anniversary_contents_history .company-box::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 100%;
    width: 110px;
    height: 2px;
    background-color: #d9788b;
    -webkit-transform: translateY(-50%);
            transform: translateY(-50%);
    z-index: -3;
  }
}
.anniversary_contents_history .company-images {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 20px;
  margin-top: 15px;
}
.anniversary_contents_history .company-images img {
  width: calc(50% - 7.5px);
  max-height: 140px;
  -o-object-fit: cover;
     object-fit: cover;
}
.anniversary_contents_history {
  /* 右側：商品の歴史 */
}
.anniversary_contents_history .product-box {
  background-color: #e8f3e5;
}
.anniversary_contents_history .product-box.slim {
  padding: 12px 20px;
}
.anniversary_contents_history .product-box {
  /* PC用：確実に繋がる横線 (1px) */
}
@media screen and (min-width: 750px) {
  .anniversary_contents_history .product-box::before {
    content: "";
    position: absolute;
    top: 50%;
    right: 100%;
    width: 110px;
    height: 2px;
    background-color: #719b6a;
    -webkit-transform: translateY(-50%);
            transform: translateY(-50%);
    z-index: -3;
  }
}
.anniversary_contents_history .product-grid {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 20px;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}
.anniversary_contents_history .product-grid.cols-3 .product-item, .anniversary_contents_history .product-grid.cols-4 .product-item {
  width: calc(50% - 7.5px);
}
@media screen and (min-width: 750px) {
  .anniversary_contents_history .product-grid.cols-3 .product-item {
    width: calc(33.333% - 10px);
  }
  .anniversary_contents_history .product-grid.cols-4 .product-item {
    width: calc(25% - 11.25px);
  }
}
.anniversary_contents_history .product-item {
  text-align: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  width: calc(50% - 10px);
}
.anniversary_contents_history .product-item.twochild {
  width: 100%;
}
.anniversary_contents_history .product-item.twochild div {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 20px;
}
.anniversary_contents_history .product-item.twochild div img {
  width: calc(50% - 10px);
  height: auto;
}
.anniversary_contents_history .product-item img {
  width: 100%;
  height: auto;
  margin-bottom: 8px;
}
.anniversary_contents_history .product-item p {
  font-size: 14px;
  color: #333;
  margin: 0;
  text-align: center;
  letter-spacing: -0.05em;
}
@media screen and (min-width: 750px) {
  .anniversary_contents_history .product-item p {
    font-size: 16px;
  }
}
.anniversary_contents_movie02 {
  background: #ffebf0;
  padding: 50px 0;
  text-align: center;
}
@media screen and (min-width: 750px) {
  .anniversary_contents_movie02 {
    padding: 120px 0;
  }
}
.anniversary_contents_movie02 .sub_title {
  font-size: 16px;
  margin-bottom: 10px;
}
@media screen and (min-width: 750px) {
  .anniversary_contents_movie02 .sub_title {
    font-size: 20px;
  }
}
.anniversary_contents_movie02 .main_title {
  font-size: 24px;
  margin-bottom: 30px;
}
@media screen and (min-width: 750px) {
  .anniversary_contents_movie02 .main_title {
    font-size: 36px;
    margin-bottom: 60px;
  }
}
.anniversary_contents_movie02 .youtube_box {
  position: relative;
  width: 100%;
}
.anniversary_contents_movie02 .youtube_box::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-35%, -50%);
          transform: translate(-35%, -50%);
  border-style: solid;
  border-width: 18px 0 18px 30px;
  border-color: transparent transparent transparent #c33131;
}
@media screen and (min-width: 750px) {
  .anniversary_contents_movie02 .youtube_box::before {
    border-width: 30px 0 30px 60px;
  }
}
.anniversary_contents_movie02 .youtube_box::before {
  z-index: 1;
}
.anniversary_contents_movie02 .youtube_box::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100px;
  height: 100px;
  background: #fff;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  border-radius: 100%;
  border: 2px solid #c33131;
}
@media screen and (min-width: 750px) {
  .anniversary_contents_movie02 .youtube_box::after {
    width: 143px;
    height: 143px;
  }
}
.anniversary_contents_bottom {
  background: url(../images/anniversary/anniversary_contents_bottom_bg@2x.jpg) no-repeat;
  background-size: cover;
  padding: 50px 0;
  text-align: center;
}
@media screen and (min-width: 750px) {
  .anniversary_contents_bottom {
    padding: 120px 0;
  }
}
.anniversary_contents_bottom .main_title {
  font-size: clamp(30px, 4.5vw, 54px);
  font-weight: 600;
  margin-bottom: 30px;
}
@media screen and (min-width: 750px) {
  .anniversary_contents_bottom .main_title {
    margin-bottom: 40px;
  }
}
.anniversary_contents_bottom .bottom_logo {
  width: clamp(200px, 60%, 378px);
  margin: 0 auto;
}