@charset "utf-8";
/* CSS Document */
@media only screen and (max-width: 980px) {
  img {
    max-width: 100%;
    height: auto;
  }
  /* 2026香初め
------------------------------------------------------------------------------------------------- */
  .newyear_main img {
    height: 410px;
  }
  #newyear_wrap {
    font-size: 0.9375rem;
    padding: 1px 4% 16.059%;
  }
  /* 清々しい新春を */
  section.newyear_mainttl {
    margin: 50px 0 130px 0;
    flex-direction: column;
  }
  h1.newyear_h1 {
    font-size: 1.25rem;
    margin-bottom: 40px;
    text-align: center;
  }
  h1.newyear_h1 span {
    font-size: 2.5rem;
  }
  .newyear_mainttl_text_block {
    width: 100%;
    display: contents; /* 重要ポイント！ */
  }
  .newyear_mainttl_image_block {
    width: 92%;
    margin: auto;
    overflow: hidden;
    margin-bottom: 20px;
  }
  .newyear_mainttl_image_block img {
    height: auto;
    aspect-ratio: 5 / 3;
    border-radius: 0;
    transform: scale(1.1);
    object-position: right 10px bottom 10px;
  }
  .newyear_mainttl_text_block h1 {
    order: 1;
  }
  .newyear_mainttl_image_block {
    order: 2;
  }
  .newyear_mainttl_text_block p {
    order: 3;
  }
  /* 干支のお香 */
  h1.newyear_h1_center {
    font-size: 1.25rem;
    margin-bottom: 40px;
  }
  h1.newyear_h1_center strong {
    padding: 0 20px;
  }
  h1.newyear_h1_center span {
    font-size: 2.5rem;
  }
  h1.newyear_h1_center span:after {
    height: 1px;
  }
  /* flex 左 */
  dl.newyear_flexleft {
    flex-direction: column;
    width: 100%;
    margin-bottom: 80px;
  }
  dl.newyear_flexleft dt {
    width: 92%;
    margin-bottom: 20px;
  }
  dl.newyear_flexleft dt img {
    object-position: 50% 65%;
    height: auto;
    aspect-ratio: 5 / 3;
    border-radius: 0;
  }
  dl.newyear_flexleft dd {
    width: 100%;
  }
  h2.newyear_h2 {
    font-size: 1.5625rem;
    margin-bottom: 20px;
    text-align: center;
  }
  .newyear_btn a {
    padding: 8px 30px;
    font-size: 0.9375rem;
    border-radius: 5px;
    color: #000;
    text-decoration: none;
    margin: 25px auto 0;
    max-width: 260px;
    box-sizing: border-box;
  }
  .newyear_btn a:after {
    border-width: 4px 5px;
    right: 15px;
  }
  ul.newyear_outline {
    padding: 0;
    margin: auto;
    flex-direction: column;
  }
  ul.newyear_outline li:last-child {
    margin-top: 80px;
  }
  ul.newyear_outline li img {
    width: 92%;
    margin: 0 4% 20px;
  }
  h3.newyear_h3 {
    font-size: 1.0625rem;
    margin-bottom: 10px;
    text-align: center;
  }
  /* flex 右 */
  .newyear_flexright {
    flex-direction: column;
    margin: 80px 0 80px 0;
    align-items: inherit;
  }
  .newyear_flexright_text_block {
    display: contents; /* 重要ポイント！ */
    width: 100%;
  }
  .newyear_flexright_image_block {
    width: 92%;
    margin: auto;
    overflow: hidden;
    margin-bottom: 20px;
  }
  .newyear_flexright_image_block img {
    height: auto;
    border-radius: 0;
  }
  .newyear_flexright_text_block {
    display: contents; /* 重要ポイント！ */
  }
  .newyear_flexright_text_block h1 {
    order: 1;
  }
  .newyear_flexright_image_block {
    order: 2;
  }
  .newyear_flexright_text_block p {
    order: 3;
  }
  /* lineup */
  .newyear_lineup_wrap {
    margin: auto;
    padding: 0;
  }
  h2.newyear_lineup_h2 {
    font-size: 1.5625rem;
    margin-bottom: 20px;
    text-align: right;
  }
  h2.newyear_lineup_h2 span {
    padding-right: 0;
    padding-left: 20px;
  }
  
  
  h2.newyear_lineup_h2:after {
  display: block;
  height: 1px;
  left: inherit;
  right: 0;
}




  ul.newyear_lineup {
    justify-content: space-between;
    gap: 0;
    margin-bottom: 80px;
  }
  ul.newyear_lineup li {
    width: 42%;
    margin: 0 4% 40px;
  }
  ul.newyear_lineup li .newyear_btn a {
    padding: 5px 20px;
    margin: 15px auto 0;
  }
  ul.newyear_lineup li .newyear_btn a:after {
    border-width: 4px 5px;
  }
  /* 干支香炉セット */
  .newyear_set {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    margin-bottom: 80px;
  }
  .newyear_set_text_block {
    display: contents; /* 重要ポイント！ */
    width: 100%;
  }
  .newyear_set_image_block {
    width: 92%;
    margin: 0 auto 20px;
    overflow: hidden;
  }
  .newyear_set_image_block img {
    height: auto;
    aspect-ratio: 5 / 3;
    border-radius: 0;
    transform: scale(1.4);
  }
  .newyear_set_text_block {
    display: contents; /* 重要ポイント！ */
  }
  .newyear_set_image_block {
    order: 2;
  }
  .newyear_set_text_block p {
    order: 3;
  }
  /* 干支香炉 */
  .newyear_kouro {
    flex-direction: column;
    align-items: stretch;
    margin: 0 auto 100px;
    padding: 0;
  }
  .newyear_kouro_text_block {
    width: 100%;
    display: contents; /* 重要ポイント！ */
  }
  .newyear_kouro_image_block {
    width: 92%;
    margin: 0 auto 20px;
    overflow: hidden;
  }
  .newyear_kouro_image_block {
    order: 2;
  }
  .newyear_kouro_text_block p {
    order: 3;
  }
  /* ラッピング */
  aside.newyear_wrapping {
    margin: 0 auto 100px;
    padding: 0;
  }
  .newyear_wrapping_flex {
    flex-direction: column;
    padding: 30px 0;
    border-top: solid 2px #e0e0e0;
    border-bottom: solid 2px #e0e0e0;
    align-items: stretch;
  }
  .newyear_wrapping_flex_text_block {
    width: 100%;
    display: contents; /* 重要ポイント！ */
  }
  .newyear_wrapping_flex_image_block {
    width: 92%;
    order: 2;
  }
  .newyear_wrapping_flex_image_block img {
    width: 100%;
    height: auto;
  }
  h3.newyear_wrapping_h3 {
    font-size: 1.1875rem;
    margin-bottom: 10px;
    text-align: center;
  }
  .newyear_wrapping_flex_image_block {
    order: 2;
  }
  .newyear_wrapping_flex_text_block p {
    order: 3;
  }
  /* 背景パララックス */
  ul.newyear_bg li {
    top: 0px;
  }
  ul.newyear_bg li img {
    object-fit: cover;
    width: 100%;
    height: auto;
  }
  ul.newyear_bg li.para2 {
    top: 10%;
  }
  ul.newyear_bg li.para3 {
    display: block;
    top: 40%;
    left: 0;
  }
  ul.newyear_bg li.para4 {
    display: block;
    top: 60%;
    left: 0;
  }
  /* 伝統 */
  section.newyear_tradition {
    padding: 0 4% 130px;
    font-size: 0.9375rem;
  }
  section.newyear_tradition article {
    text-align: left;
  }
  section.newyear_tradition article h1 {
    font-size: 1.25rem;
    margin-bottom: 20px;
    padding-bottom: 5px;
    text-align: center;
  }
  section.newyear_tradition article h1 span {
    font-size: 2.5rem;
  }
  section.newyear_tradition article h1:after {
    height: 1px;
  }
  section.newyear_tradition article h2 {
    font-size: 1.25rem;
    margin-bottom: 20px;
    text-align: center;
  }
  ul.newyear_charm {
    flex-wrap: wrap;
    justify-content: center;
    gap: 4%;
    margin-top: 50px;
  }
  ul.newyear_charm li {
    width: 48%;
    margin: 0 0 50px;
  }
  ul.newyear_charm li img {
    margin-bottom: 10px;
  }
  ul.newyear_charm li h3 {
    font-size: 1rem;
    text-align: center;
  }
  ul.newyear_charm li h3 span {
    padding: 0 50px;
  }
  ul.newyear_charm li h3 span:before {
    width: 35px;
    height: 1px;
  }
  ul.newyear_charm li h3 span:after {
    width: 35px;
    height: 1px;
  }
  ul.newyear_more {
    margin: 30px auto 0;
    flex-direction: column;
  }
  ul.newyear_more li {
    text-align: center;
    flex: 1;
    margin: 0 auto 15px;
    width: 260px;
  }
  ul.newyear_more li a {
    padding: 5px 30px;
    font-size: 0.9375rem;
  }
  ul.newyear_more li a:after {
    border-width: 4px 5px;
    right: 10px;
  }
}