.p-detail-inr:not(:last-child) {
  border-bottom: 1px solid #ebebeb; }
  @media only screen and (max-width: 899px) {
    .p-detail-inr:not(:last-child) {
      padding-bottom: 40px;
      margin-bottom: 30px; } }
  @media print, screen and (min-width: 900px) {
    .p-detail-inr:not(:last-child) {
      padding-bottom: 60px;
      margin-bottom: 50px; } }

.p-major-list {
  display: flex;
  justify-content: space-between; }
  @media only screen and (max-width: 899px) {
    .p-major-list {
      flex-wrap: wrap;
      margin-top: 25px; } }
  @media print, screen and (min-width: 900px) {
    .p-major-list {
      margin-top: 40px; } }

@media only screen and (max-width: 899px) {
  .p-major-item {
    flex: 0 0 49%;
    margin-bottom: 15px; } }
@media print, screen and (min-width: 900px) {
  .p-major-item {
    flex: 0 0 24%; } }

.p-major-item-link {
  position: relative;
  display: block; }
  @media print, screen and (min-width: 900px) {
    .p-major-item-link:hover .p-major-item-hl {
      background: #ff7e00;
      color: #fff; }
      .p-major-item-link:hover .p-major-item-hl:after {
        border-color: #fff; }
    .p-major-item-link:hover .p-major-item-img img {
      -webkit-transform: scale(1.1);
      transform: scale(1.1); } }

.p-major-item-hl {
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
  background: #fff;
  font-weight: 400;
  letter-spacing: .1em;
  position: absolute;
  top: 0;
  padding: 1em .8em;
  z-index: 1; }
  @media only screen and (max-width: 899px) {
    .p-major-item-hl {
      font-size: 12px;
      font-size: 1.2rem;
      right: 10px;
      height: 90%; } }
  @media print, screen and (min-width: 900px) {
    .p-major-item-hl {
      font-size: 12px;
      font-size: 1.2rem;
      right: 20px;
      height: 90%;
      transition: background .4s, color .4s; } }
  .p-major-item-hl:after {
    content: "";
    display: block;
    width: 8px;
    height: 8px;
    border-top: 2px solid #ff7e00;
    border-right: 2px solid #ff7e00;
    position: absolute;
    bottom: 1em;
    left: 50%; }
    @media only screen and (max-width: 899px) {
      .p-major-item-hl:after {
        -webkit-transform: translate(-60%, 0) rotate(45deg);
        transform: translate(-60%, 0) rotate(45deg); } }
    @media print, screen and (min-width: 900px) {
      .p-major-item-hl:after {
        -webkit-transform: translate(-60%, 0) rotate(45deg);
        transform: translate(-60%, 0) rotate(45deg);
        transition: border .4s; } }

@media all and (-ms-high-contrast: none) {
  .p-major-item-hl {
    height: 320px; } }
.p-major-item-img {
  overflow: hidden; }
  @media only screen and (max-width: 899px) {
    .p-major-item-img {
      height: 240px; } }
  @media print, screen and (min-width: 900px) {
    .p-major-item-img {
      height: 230px; } }
  .p-major-item-img img {
    width: 100%;
    height: 100%;
    transition: transform .4s; }

.p-major-subList {
  margin: 10px; }

@media print, screen and (min-width: 900px) {
  .p-msg-box {
    display: flex; } }

@media only screen and (max-width: 899px) {
  .p-msg-img {
    margin-bottom: 20px; } }
@media print, screen and (min-width: 900px) {
  .p-msg-img {
    flex: 0 0 320px;
    margin-right: 30px; } }
.p-msg-img figcaption {
  text-align: center; }
  @media only screen and (max-width: 899px) {
    .p-msg-img figcaption {
      font-size: 12px;
      font-size: 1.2rem;
      margin-top: 10px; } }
  @media print, screen and (min-width: 900px) {
    .p-msg-img figcaption {
      font-size: 12px;
      font-size: 1.2rem; } }
.p-msg-img figcaption span {
  display: inline-block; }
  @media only screen and (max-width: 899px) {
    .p-msg-img figcaption span {
      margin: 0 6px;
      font-size: 18px;
      font-size: 1.8rem; } }
  @media print, screen and (min-width: 900px) {
    .p-msg-img figcaption span {
      margin: 0 6px;
      font-size: 18px;
      font-size: 1.8rem; } }

/*# sourceMappingURL=index.css.map */
