@import url("/css/1.0.0/base.css");

@media screen and (min-width: 834px) {
  section.ptn19-magazine .container {
    padding-bottom: 13.5rem;
  }
  section.ptn19-magazine .magazine-block {
    max-width: 120.0rem;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: start;
    padding-top: 3.2rem;
  }
  section.ptn19-magazine .magazine-block .image {
    background: #f3f3f3;
    border-radius: 1.5rem 1.5rem 0 1.5rem;
    width: 60.0rem;
    padding: 3.0rem 0;
  }
  section.ptn19-magazine .magazine-block .image img {
    display: block;
    width: 39.0rem;
    height: auto;
    margin: 0 auto;
  }
  section.ptn19-magazine .magazine-block .content {
    width: 50.9rem;
  }
  section.ptn19-magazine .magazine-block .content .title {
    font-size: 3.5rem;
    font-weight: bold;
    font-family: TsukuGoPro-B-HelveticaNowTextMedium, 'Noto Sans JP';
    line-height: 1.4;
    margin-top: -1.0rem;
    margin-bottom: 1.5rem;
  }
  section.ptn19-magazine .magazine-block .content .subtitle {
    font-size: 2.0rem;
    margin-bottom: 3.5rem;
    -moz-font-feature-settings: "palt";
    -webkit-font-feature-settings: "palt";
    font-feature-settings: "palt";
  }
  section.ptn19-magazine .magazine-block .content dl.detail {
    display: flex;
    flex-wrap: wrap;
    justify-content: left;
  }
  section.ptn19-magazine .magazine-block .content dl.detail dt {
    font-size: 1.6rem;
    width: 10.0rem;
    font-weight: bold;
    font-family: TsukuGoPro-B-HelveticaNowTextMedium, 'Noto Sans JP';
    margin-bottom: 0.5rem;
  }
  section.ptn19-magazine .magazine-block .content dl.detail dd {
    width: calc(100% - 10.0rem);
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
  }
  section.ptn19-magazine .magazine-block .content .buttons {
    margin-top: 2.3rem;
  }
  section.ptn19-magazine .magazine-block .content .buttons .c-button {
    width: 100%;
    min-width: inherit;
    margin: 0 0 2.3rem 0;
    transition: opacity 200ms 0s ease;
  }
  section.ptn19-magazine .magazine-block .content .buttons .c-button:hover {
    opacity: 0.6;
  }
  section.ptn19-magazine .magazine-block .content .link {
    display: flex;
    justify-content: left;
    margin-top: 4.5rem;
    margin-right: -1.0rem;
  }
  section.ptn19-magazine .magazine-block .content .link li {
    display: block;
    margin-bottom: 1.0rem;
    margin-right: 1.0rem;
    width: calc(100% / 5 - 1.0rem);
  }
  section.ptn19-magazine .magazine-block .content .link li a {
    display: block;
    border: solid 1px #222;
    color: #222;
    background: #fff;
    padding: 0.2rem 0.5rem;
    text-decoration: none;
    font-size: 1.5rem;
    line-height: 1.4;
    text-align: center;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 200ms 0s ease;
  }
  section.ptn19-magazine .magazine-block .content .link li a:hover {
    opacity: 0.6;
  }
  section.ptn19-magazine .magazine-block .content .link li a.black {
    color: #fff;
    background: #222;
  }
  section.ptn19-magazine .magazine-block .content .c-sns {
    margin-top: 4.4rem;
  }
}
@media screen and (max-width: 833px) {
  section.ptn19-magazine .container {
    padding-bottom: 16.0rem;
  }
  section.ptn19-magazine .magazine-block {
    padding-top: 3.0rem;
  }
  section.ptn19-magazine .magazine-block .image {
    background: #f3f3f3;
    margin: 0 -3.0rem;
    padding: 3.0rem 0;
    margin-bottom: 5.0rem;
  }
  section.ptn19-magazine .magazine-block .image img {
    display: block;
    width: 39.0rem;
    height: auto;
    margin: 0 auto;
  }
  section.ptn19-magazine .magazine-block .content {
  }
  section.ptn19-magazine .magazine-block .content .title {
    font-size: 3.8rem;
    font-weight: bold;
    font-family: TsukuGoPro-B-HelveticaNowTextMedium, 'Noto Sans JP';
    line-height: 1.5;
    margin-bottom: 2.5rem;
  }
  section.ptn19-magazine .magazine-block .content .subtitle {
    font-size: 3.1rem;
  }
  section.ptn19-magazine .magazine-block .content dl.detail {
    display: flex;
    flex-wrap: wrap;
    justify-content: left;
    margin-top: 5.1rem;
    border-top: solid 1px #999;
    padding-top: 4.0rem;
    margin-bottom: 5.3rem;
  }
  section.ptn19-magazine .magazine-block .content dl.detail dt {
    width: 19.0rem;
    font-weight: bold;
    font-family: TsukuGoPro-B-HelveticaNowTextMedium, 'Noto Sans JP';
    margin-bottom: 2.0rem;
  }
  section.ptn19-magazine .magazine-block .content dl.detail dd {
    width: calc(100% - 19.0rem);
    margin-bottom: 2.0rem;
  }
  section.ptn19-magazine .magazine-block .content .buttons {
    max-width: 55.0rem;
    margin: 0 auto;
    margin-top: 2.7rem;
  }
  section.ptn19-magazine .magazine-block .content .buttons .c-button {
    width: 100%;
    min-width: inherit;
    margin: 0 0 4.8rem 0;
  }
  section.ptn19-magazine .magazine-block .content .link {
    display: flex;
    justify-content: left;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 10.4rem;
    padding: 0 1.0rem 0 0.7rem;
    margin-right: -1.0rem;
  }
  section.ptn19-magazine .magazine-block .content .link li {
    display: block;
    margin-bottom: 1.0rem;
    margin-right: 1.0rem;
    width: calc(100% / 3 - 1.0rem);
  }
  section.ptn19-magazine .magazine-block .content .link li a {
    display: block;
    border: solid 1px #222;
    color: #222;
    background: #fff;
    padding: 0.3rem 1.0rem;
    text-decoration: none;
    text-align: center;
    line-height: 1.4;
    text-align: center;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  section.ptn19-magazine .magazine-block .content .link li a.black {
    color: #fff;
    background: #222;
  }
  section.ptn19-magazine .magazine-block .content .c-sns {
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 8.1rem;
    padding: 0 1.0rem 0 0.7rem;
  }
}

@media screen and (min-width: 834px) {
  section.ptn19-highlights .container {
    padding-bottom: 10.0rem;
  }
}
@media screen and (max-width: 833px) {
  section.ptn19-highlights .container {
    padding-bottom: 5.0rem;
  }
}

@media screen and (min-width: 834px) {
  section.ptn19-index .container {
    padding-top: 10.0rem;
  }
  section.ptn19-index .index-block {
    max-width: 120.0rem;
    margin: 0 auto;
    margin-top: 6.5rem;
  }
  section.ptn19-index .index-block h3 {
    font-size: 2.8rem;
    font-weight: bold;
    font-family: TsukuGoPro-B-HelveticaNowTextMedium, 'Noto Sans JP';
    border-bottom: solid 1px #707070;
    padding-bottom: 1.5rem;
    margin-bottom: 4.5rem;
  }
  section.ptn19-index .index-block ul.list {
    margin-left: 13.3rem;
    margin-bottom: 4.7rem;
  }
  section.ptn19-index .index-block ul.list li {
    border-bottom: dashed 1px #707070;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding-bottom: 1.8rem;
    margin-bottom: 2.0rem;
  }
  section.ptn19-index .index-block ul.list li .caption {
    width: 100%;
  }
  section.ptn19-index .index-block ul.list li .title {
    width: 63.0rem;
    line-height: 1.6;
  }
  section.ptn19-index .index-block ul.list li .author {
    width: 27.0rem;
  }
}
@media screen and (max-width: 833px) {
  section.ptn19-index .container {
    padding-top: 13.0rem;
    padding-bottom: 11.0rem;
  }
  section.ptn19-index .index-block {
    max-width: 120.0rem;
    margin: 0 auto;
    margin-top: 6.5rem;
  }
  section.ptn19-index .index-block h3 {
    font-size: 3.5rem;
    font-weight: bold;
    font-family: TsukuGoPro-B-HelveticaNowTextMedium, 'Noto Sans JP';
    border-bottom: solid 1px #707070;
    padding-bottom: 1.5rem;
    margin-bottom: 4.0rem;
  }
  section.ptn19-index .index-block ul.list {
    margin-bottom: 5.4rem;
  }
  section.ptn19-index .index-block ul.list li {
    border-bottom: dashed 1px #707070;
    padding-bottom: 2.3rem;
    padding-left: 0.5rem;
    padding-right: 1.5rem;
    margin-bottom: 2.0rem;
  }
  section.ptn19-index .index-block ul.list li .title {
    display: block;
    line-height: 1.6;
    margin-bottom: 1.7rem;
  }
  section.ptn19-index .index-block ul.list li .author {
    display: block;
    text-align: right;
    font-size: 2.6rem;
  }
}

@media screen and (min-width: 834px) {
  section.ptn19-backissues .container {
    padding-top: 9.1rem;
    padding-bottom: 9.0rem;
  }
  section.ptn19-backissues .c-button-more {
    max-width: 120.0rem;
    margin-top: -4.5rem;
    padding-right: 0rem;
  }
  section.ptn19-backissues .list {
    max-width: 120.0rem;
    margin: 0 auto;
    margin-top: 6.5rem;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding-right: 0.5rem;
  }
  section.ptn19-backissues .list>li {
    position: relative;
    width: 33.0rem;
    min-height: 33.0rem;
    margin-bottom: 6.1rem;
    border: solid 1px #707070;
    border-radius: 2.0rem 2.0rem 0rem 2.0rem;
    overflow: hidden;
    transition: box-shadow 200ms 0s ease,
                border 200ms 0s ease;
  }
  section.ptn19-backissues .list::after {
    content: "";
    display: block;
    width: calc(100% / 3 - 6.8rem);
  }
  section.ptn19-backissues .list>li a {
    display: block;
    text-decoration: none;
    padding-bottom: 2.5rem;
  }
  section.ptn19-backissues .list>li:hover {
    box-shadow: -0.4rem -0.3rem 0 0 #ccc;
  }
  section.ptn19-backissues .list>li::before {
    content: "";
    display: block;
    width: 100%;
    height: 2.2rem;
    background: #008000;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    width: 100%;
  }
  section.ptn19-backissues .list>li::after {
    content: "";
    display: block;
    border-right: solid 0.2rem #666;
    border-bottom: solid 0.2rem #666;
    width: 0.9rem;
    height: 0.9rem;
    position: absolute;
    bottom: 1.0rem;
    right: 1.0rem;
  }
  section.ptn19-backissues .list .thumb {
    position: absolute;
    top: 1.5rem;
    left: 4.4rem;
    width: 10.5rem;
    height: auto;
    z-index: 1;
  }
  section.ptn19-backissues .list .head {
    position: relative;
    z-index: 0;
    background: #f3f3f3;
    min-height: 15.9rem;
    margin-top: 2.2rem;
  }
  section.ptn19-backissues .list .head .date {
    width: 11.0rem;
    text-align: center;
    position: absolute;
    top: 4.0rem;
    right: 2.5rem;
    line-height: 1.7;
    color: #008000;
    display: flex;
    justify-content: center;
    align-items: baseline;
    flex-wrap: wrap;
  }
  section.ptn19-backissues .list .head .date .year {
    width: 100%;
    line-height: 1.3;
  }
  section.ptn19-backissues .list .head .date .month {
    font-size: 4.0rem;
    font-weight: bold;
    font-family: TsukuGoPro-B-HelveticaNowTextMedium, 'Noto Sans JP';
    line-height: 1.5;
  }
  section.ptn19-backissues .list .head .date .suffix {
  }
  section.ptn19-backissues .list .lead {
    padding: 2.0rem 1.5rem;
    -moz-font-feature-settings: "palt";
    -webkit-font-feature-settings: "palt";
    font-feature-settings: "palt";
    font-weight: bold;
    font-family: TsukuGoPro-B-HelveticaNowTextMedium, 'Noto Sans JP';
  }
  section.ptn19-backissues .list .index {
    text-align: right;
    font-size: 1.3rem;
    padding-right: 3.0rem;
    padding-bottom: 2.0rem;
    position: absolute;
    bottom: 0;
    width: 100%;
  }
}
@media screen and (max-width: 833px) {
  section.ptn19-backissues .container {
    padding-bottom: 10.0rem;
  }
  section.ptn19-backissues .c-button-more {
    margin: 3.0rem 0rem;
  }
  section.ptn19-backissues .list {
    margin-top: 5.5rem;
    padding: 0 4.5rem 0 3.7rem;
  }
  section.ptn19-backissues .list>li {
    position: relative;
    margin-bottom: 6.1rem;
    border: solid 1px #707070;
    border-radius: 1.5rem 1.5rem 0rem 1.5rem;
    overflow: hidden;
    width: 61.0rem;
  }
  section.ptn19-backissues .list>li a {
    display: block;
    text-decoration: none;
    padding-bottom: 6.5rem;
  }
  section.ptn19-backissues .list>li::before {
    content: "";
    display: block;
    width: 100%;
    height: 4.2rem;
    background: #008000;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    width: 100%;
  }
  section.ptn19-backissues .list>li::after {
    content: "";
    display: block;
    border-right: solid 0.2rem #666;
    border-bottom: solid 0.2rem #666;
    width: 2.0rem;
    height: 2.0rem;
    position: absolute;
    bottom: 2.0rem;
    right: 2.0rem;
  }
  section.ptn19-backissues .list .thumb {
    position: absolute;
    top: 2.6rem;
    left: 7.2rem;
    width: 23.9rem;
    height: auto;
    z-index: 1;
  }
  section.ptn19-backissues .list .head {
    position: relative;
    z-index: 0;
    background: #f3f3f3;
    height: 35.4rem;
    margin-top: 4.2rem;
  }
  section.ptn19-backissues .list .head .date {
    width: 19.0rem;
    text-align: center;
    position: absolute;
    top: 8.5rem;
    right: 6.0rem;
    line-height: 1.7;
    color: #008000;
    display: flex;
    justify-content: center;
    align-items: baseline;
    flex-wrap: wrap;
  }
  section.ptn19-backissues .list .head .date .year {
    width: 100%;
    line-height: 1.3;
  }
  section.ptn19-backissues .list .head .date .month {
    font-size: 7.0rem;
    font-weight: bold;
    font-family: TsukuGoPro-B-HelveticaNowTextMedium, 'Noto Sans JP';
    line-height: 1.5;
  }
  section.ptn19-backissues .list .head .date .suffix {
  }
  section.ptn19-backissues .list .lead {
    padding: 3.0rem 3.0rem 0rem 3.0rem;
    font-size: 3.1rem;
    margin-bottom: 0.0rem;
    line-height: 1.5;
    -moz-font-feature-settings: "palt";
    -webkit-font-feature-settings: "palt";
    font-feature-settings: "palt";
  }
  section.ptn19-backissues .list .index {
    text-align: right;
    padding-right: 8.5rem;
    padding-bottom: 2.5rem;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    font-size: 2.4rem;
  }
}

@media screen and (min-width: 834px) {
  section.ptn19-webmedia .container {
    padding-bottom: 3.5rem;
  }
}
@media screen and (max-width: 833px) {
  section.ptn19-webmedia .container {
    padding-bottom: 7.0rem;
  }
}

@media screen and (min-width: 834px) {
  section.ptn19-sns-banner .inner {
    max-width: 120.0rem;
    margin: 0 auto;
    text-align: center;
  }
  section.ptn19-sns-banner .inner ul.c-sns {
    justify-content: center;
  }
  section.ptn19-sns-banner .inner ul.c-sns li {
  }
  section.ptn19-sns-banner .inner ul.c-sns li a {
    width: 10.0rem;
    height: 5.1rem;
  }
  section.ptn19-sns-banner .inner ul.banner {
    display: flex;
    justify-content: space-between;
    justify-content: center;
    margin: 0 -2.0rem;
    margin-top: 9.0rem;
  }
  section.ptn19-sns-banner .inner ul.banner li {
    width: 37.0rem;
    margin: 0 2.0rem;
  }
  section.ptn19-sns-banner .inner ul.banner a {
    display: block;
    overflow: hidden;
    border-radius: 1.5rem 1.5rem 0rem 1.5rem;
    transition: opacity 200ms 0s ease;
  }
  section.ptn19-sns-banner .inner ul.banner a:hover {
    opacity: 0.6;
  }
}
@media screen and (max-width: 833px) {
  section.ptn19-sns-banner .inner {
    text-align: center;
  }
  section.ptn19-sns-banner .inner ul.c-sns {
    justify-content: center;
    margin: 0rem -2.1rem 5.0rem 0;
    padding-right: 1.0rem;
    flex-wrap: wrap;
  }
  section.ptn19-sns-banner .inner ul.c-sns li {
    margin: 0 2.5rem;
    margin-bottom: 4.0rem;
  }
  section.ptn19-sns-banner .inner ul.c-sns li a {
    width: 12.2rem;
    height: 7.1rem;
  }
  section.ptn19-sns-banner .inner ul.banner {
    padding: 0 0.5rem;
  }
  section.ptn19-sns-banner .inner ul.banner li {
    margin-bottom: 4.5rem;
  }
  section.ptn19-sns-banner .inner ul.banner a {
    display: block;
    overflow: hidden;
    border-radius: 1.5rem 1.5rem 0rem 1.5rem;
  }
}

/* 追記: ボタン(ul.link)がPCで6つ以上のとき、折り返さず横に潰れるため折り返しを有効化。
   同一コンポーネントの書籍 ptn31.css には PC/SP とも flex-wrap:wrap があり、ptn19 は PC のみ原本で欠落していた。
   SP(833px以下)は原本にも指定があるため、ここでの指定は同値の重ね掛けになる */
section.ptn19-magazine .magazine-block .content .link {
  flex-wrap: wrap;
}

/* 追記: SPのみ原本に align-items:center があるため、ラベルの長さが違うと行内でボタンの高さと上下位置が揃わない。
   PCは未指定(=stretch)で自動的に揃うので、SPもそれに合わせる。
   ラベルが全て1行なら見た目は変わらず、長いラベルが混ざった行だけ高さが揃う */
@media screen and (max-width: 833px) {
  section.ptn19-magazine .magazine-block .content .link {
    align-items: stretch;
  }
}

/* 追記: 原本がボタンの高さを決めていないため、ラベルの文字数で厚みが変わってしまう（1行=27px / 2行=48px）。
   デザイン上の不具合として高さの下限を固定する。
   SPは rem の基準が5px（PCは10px）で 4.8rem が24pxにしかならず効かないうえ、
   原本の26pxはタップターゲットの最低推奨44pxを下回るため、SPは別途指定する */
section.ptn19-magazine .magazine-block .content .link li a {
  min-height: 4.8rem;
}
@media screen and (max-width: 833px) {
  section.ptn19-magazine .magazine-block .content .link li a {
    min-height: 8.8rem;
  }
}

/* 号詳細から本誌の最新号へ戻る導線（先方指示 2026-08-27）。
   ptn20 の「最新号に戻る」と同じデザインにする（先方指示）＝左下を角ばらせ、矢印も左向きにする。
   a.c-button は contents.css:242 が display:block / width:fit-content / margin-left:auto（＝右寄せ）なので、
   左右 margin を auto にしないと中央に来ない。値は ptn20.css:35-53 に合わせてある。 */
@media screen and (min-width: 834px) {
  section.ptn19-magazine .back-button {
    max-width: 120.0rem;
    margin: 0 auto;
  }
  /* 🔴 このボタンだけのセクションでは、号情報用の padding-bottom:13.5rem が広すぎる。
     デザイナー原本の .container 側は号情報にも効くので変えず、ここでだけ打ち消す。 */
  section.ptn19-magazine.ptn19-back-to-latest .container {
    padding-top: 0;
    padding-bottom: 4.0rem;
  }
  section.ptn19-magazine .back-button .c-button {
    margin: 0 auto;
    border-radius: 1.5rem 1.5rem 1.5rem 0;
  }
  section.ptn19-magazine .back-button .c-button::before {
    border-right: none;
    border-left: solid 0.2rem #666;
    border-bottom: solid 0.2rem #666;
    bottom: 0.7rem;
    right: unset;
    left: 0.6rem;
  }
}
@media screen and (max-width: 833px) {
  section.ptn19-magazine .back-button {
    padding: 0 5.0rem;
  }
  /* PC 側と同じ理由（SP は原本 16.0rem） */
  section.ptn19-magazine.ptn19-back-to-latest .container {
    padding-top: 0;
    padding-bottom: 5.0rem;
  }
  section.ptn19-magazine .back-button .c-button {
    margin-left: auto;
    margin-right: auto;
    border-radius: 1.5rem 1.5rem 1.5rem 0;
  }
  section.ptn19-magazine .back-button .c-button::before {
    border-right: none;
    border-left: solid 0.3rem #666;
    border-bottom: solid 0.3rem #666;
    bottom: 0.8rem;
    right: unset;
    left: 0.9rem;
  }
}
