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

@media screen and (min-width: 834px) {
  section.ptn20-magazines .container {
    padding-top: 11.5rem;
    padding-bottom: 3.5rem;
  }
  section.ptn20-magazines .container::after {
    content: '';
    display: block;
    max-width: 120.0rem;
    margin: 0 auto;
    padding-top: 16.6rem;
    border-bottom: solid 1px #707070;
  }
  section.ptn20-magazines .logo {
    text-align: center;
    width: 50.0rem;
    height: 17.2rem;
    padding: 1.0rem 0;
    margin: 0 auto;
    margin-top: 5.8rem;
    margin-bottom: 3.9rem;
    border-top: solid 1px #b5b5b5;
    border-bottom: solid 1px #b5b5b5;
  }
  section.ptn20-magazines .logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
  section.ptn20-magazines .c-section-lead {
    margin-top: 0rem;
  }
  section.ptn20-magazines .back-button {
    max-width: 120.0rem;
    margin: 0 auto;
  }
  section.ptn20-magazines .back-button .c-button {
    /* a.c-button は contents.css:242 で display:block / width:fit-content / margin-left:auto
       （＝右寄せ）が基本形。左右 margin を 0 にすると左端に寄る。block 要素なので
       親の text-align では中央にならず、左右 margin を auto にする必要がある。 */
    margin: 8.0rem auto;
    border-radius: 1.5rem 1.5rem 1.5rem 0;
  }
  section.ptn20-magazines .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;
  }
  section.ptn20-magazines .list {
    max-width: 120.0rem;
    margin: 0 auto;
    margin-top: 5.0rem;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding-right: 0.5rem;
    margin-bottom: 8.0rem;
  }
  section.ptn20-magazines .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.ptn20-magazines .list::after {
    content: "";
    display: block;
    width: calc(100% / 3 - 6.8rem);
  }
  section.ptn20-magazines .list>li a {
    display: block;
    text-decoration: none;
    padding-bottom: 2.5rem;
  }
  section.ptn20-magazines .list>li:hover {
    box-shadow: -0.4rem -0.3rem 0 0 #ccc;
  }
  section.ptn20-magazines .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.ptn20-magazines .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.ptn20-magazines .list .thumb {
    position: absolute;
    top: 1.5rem;
    left: 4.4rem;
    width: 10.5rem;
    height: auto;
    z-index: 1;
  }
  section.ptn20-magazines .list .head {
    position: relative;
    z-index: 0;
    background: #f3f3f3;
    min-height: 15.9rem;
    margin-top: 2.2rem;
  }
  section.ptn20-magazines .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.ptn20-magazines .list .head .date .year {
    width: 100%;
    line-height: 1.3;
  }
  section.ptn20-magazines .list .head .date .month {
    font-size: 4.0rem;
    font-weight: bold;
    font-family: TsukuGoPro-B-HelveticaNowTextMedium, 'Noto Sans JP';
    line-height: 1.5;
  }
  section.ptn20-magazines .list .head .date .suffix {
  }
  section.ptn20-magazines .list .text {
    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';
  }
}
@media screen and (max-width: 833px) {
  section.ptn20-magazines .container {
    padding-top: 12.0rem;
    padding-bottom: 17.5rem;
  }
  section.ptn20-magazines .logo {
    text-align: center;
    width: 67.3rem;
    height: 21.5rem;
    padding: 1.0rem 0;
    margin-top: 4.4rem;
    margin-bottom: 7.4rem;
    border-top: solid 1px #b5b5b5;
    border-bottom: solid 1px #b5b5b5;
  }
  section.ptn20-magazines .logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
  section.ptn20-magazines .c-section-lead {
    margin-top: 0rem;
  }
  section.ptn20-magazines .back-button {
    text-align: center;
    padding: 0 5.0rem;
  }
  section.ptn20-magazines .back-button .c-button {
    /* 上の .back-button の text-align:center は a.c-button が display:block のため効かない。
       contents.css:242 の基本形 margin-left:auto がそのまま効いて右寄せになる（PC 側と同じ）。 */
    margin-left: auto;
    margin-right: auto;
    border-radius: 1.5rem 1.5rem 1.5rem 0;
  }
  section.ptn20-magazines .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;
  }
  section.ptn20-magazines .list {
    margin-top: 6.4rem;
    padding: 0 4.0rem;
    margin-bottom: 8.0rem;
  }
  section.ptn20-magazines .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.ptn20-magazines .list>li a {
    display: block;
    text-decoration: none;
    padding-bottom: 6.5rem;
  }
  section.ptn20-magazines .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.ptn20-magazines .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.ptn20-magazines .list .thumb {
    position: absolute;
    top: 2.6rem;
    left: 7.2rem;
    width: 23.9rem;
    height: auto;
    z-index: 1;
  }
  section.ptn20-magazines .list .head {
    position: relative;
    z-index: 0;
    background: #f3f3f3;
    height: 35.4rem;
    margin-top: 4.2rem;
  }
  section.ptn20-magazines .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.ptn20-magazines .list .head .date .year {
    width: 100%;
    line-height: 1.3;
  }
  section.ptn20-magazines .list .head .date .month {
    font-size: 7.0rem;
    font-weight: bold;
    font-family: TsukuGoPro-B-HelveticaNowTextMedium, 'Noto Sans JP';
    line-height: 1.5;
  }
  section.ptn20-magazines .list .head .date .suffix {
  }
  section.ptn20-magazines .list .text {
    padding: 3.0rem 3.0rem 1.0rem 3.0rem;
    font-size: 3.1rem;
    line-height: 1.5;
    margin-bottom: 2.0rem;
    -moz-font-feature-settings: "palt";
    -webkit-font-feature-settings: "palt";
    font-feature-settings: "palt";
  }
}

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