
/* link btn */
.p-btn__link {
    position: relative;
    display: block;
    padding: 0.2em 1em;
    background-image: url(../n_img/top/arrow-small.png);
    background-position: center right 0.5em;
    background-repeat: no-repeat;
    color: #ffffff;
    text-decoration: none;
    font-size: 12px;
}

@media screen and (min-width: 768px) {
    .p-btn__link {
        display: inline-block;
        min-width: 220px;
        padding: 0.8em 2em;
        background-image: url(../n_img/top/arrow.png);
        background-position: center right 1em;
        font-size: 17px;
    }
}

.p-btn__link::before {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: -1;
    background: #333333;
    content: "";
    transition: -webkit-transform 0.3s;
    transition:         transform 0.3s;
    transition:         transform 0.3s, -webkit-transform 0.3s;
    -webkit-transform: scale(0, 1);
            transform: scale(0, 1);
    -webkit-transform-origin: right top;
            transform-origin: right top;
}

.p-btn__link:hover::before {
    -webkit-transform: scale(1, 1);
            transform: scale(1, 1);
    -webkit-transform-origin: left top;
            transform-origin: left top;
}

.p-btn__link::after {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: -2;
    background-color: #00479d;
    content: "";
}

.p-btn__link--line {
    position: relative;
    display: inline-block;
    padding-right: 3em;
    background-image: url(../n_img/top/arrow-menu.png);
    background-position: center right;
    color: #000000;
    text-decoration: none;
    font-size: 12px;
}

@media screen and (min-width: 768px) {
    .p-btn__link--line {
        padding-right: 2em;
        font-size: 17px;
    }
}

.p-btn__link--line::before {
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #00479d;
    content: "";
    transition: -webkit-transform 0.3s;
    transition:         transform 0.3s;
    transition:         transform 0.3s, -webkit-transform 0.3s;
    -webkit-transform: scale(0, 1);
            transform: scale(0, 1);
    -webkit-transform-origin: right top;
            transform-origin: right top;
}

.p-btn__link--line:hover::before {
    -webkit-transform: scale(1, 1);
            transform: scale(1, 1);
    -webkit-transform-origin: left top;
            transform-origin: left top;
}

.p-btn__link--linewhite {
    position: relative;
    display: inline-block;
    padding-right: 2em;
    background-image: url(../n_img/top/arrow-small.png);
    background-position: center right;
    color: #ffffff;
    text-decoration: none;
    font-size: 11px;
}

.p-btn__link--linewhite::before {
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 1px;
    background: #ffffff;
    content: "";
    transition: -webkit-transform 0.3s;
    transition:         transform 0.3s;
    transition:         transform 0.3s, -webkit-transform 0.3s;
    -webkit-transform: scale(0, 1);
            transform: scale(0, 1);
    -webkit-transform-origin: right top;
            transform-origin: right top;
}

.p-btn__link--linewhite:hover::before {
    -webkit-transform: scale(1, 1);
            transform: scale(1, 1);
    -webkit-transform-origin: left top;
            transform-origin: left top;
}

/* tag btn */
.p-btn__tag {
    padding: 0.1em 1em;
    border-radius: 15px;
    color: #ffffff;
    text-align: center;
    font-size: 11px;
}

@media screen and (min-width: 768px) {
    .p-btn__tag {
        font-size: 14px;
    }
}

.p-btn__tag--blue {
    background-color: #00479d;
}

.p-btn__tag--orange {
    background-color: #ffc000;
}

.p-btn__tag--green {
    background-color: #8fc31f;
}

.p-btn__tag--gray {
    background-color: #7f7f7f;
}

.p-btn__tag--red {
    background-color: #ed7d31;
}


.p-top__news {
    margin: 1em 1em 0 1em;
}

@media screen and (min-width: 768px) {
    .p-top__news {
        margin: 3em 1em 0 1em;
    }
}

@media screen and (min-width: 1200px) {
    .p-top__news {
        margin: 5em 1em 0 1em;
    }
}

.p-top__newsTitle {
    position: relative;
    padding-left: 2.5em;
    font-size: 15px;
}

@media screen and (min-width: 768px) {
    .p-top__newsTitle {
        font-weight: normal;
        font-size: 14px;
    }
}

.p-top__newsTitle strong {
    display: none;
}

@media screen and (min-width: 768px) {
    .p-top__newsTitle strong {
        display: inline-block;
        margin-left: 1em;
        color: #727171;
        font-weight: normal;
        font-size: 15px;
    }
}

.p-top__newsTitle::before {
    position: absolute;
    top: 50%;
    left: 0;
    width: 25px;
    height: 3px;
    background-color: #00479d;
    content: "";
    -webkit-transform: translateY(-50%);
            transform: translateY(-50%);
}

@media screen and (min-width: 768px) {
    .p-top__newsTitle::before {
        width: 38px;
    }
}

@media screen and (min-width: 768px) {
    .p-top__newsDetail {
        margin-top: 3em;
    }
}

.p-top__newsDetail dl {
    padding: 0.5em 0;
    border-bottom: 1px solid #efefef;
}

@media screen and (min-width: 768px) {
    .p-top__newsDetail dl {
        display: flex;
        margin: 0 1em;
        padding: 1em;
    }
}

@media screen and (min-width: 1200px) {
    .p-top__newsDetail dl {
        margin: 0 3em;
    }
}

.p-top__newsDetail dl dd {
    flex: 1 0 200px;
    margin-top: 0.5em;
    font-size: 12px;
}

@media screen and (min-width: 768px) {
    .p-top__newsDetail dl dd {
        margin-top: 0;
        font-size: 15px;
    }
}

.p-top__newsDetail a {
    display: block;
    color: #000000;
    text-decoration: none;
    transition: background 0.3s;
}

.p-top__newsDetail a:hover {
    background-color: #f0f0f0;
}

.p-top__newsDate {
    font-size: 12px;
}

@media screen and (min-width: 768px) {
    .p-top__newsDate {
        width: 35%;
        font-size: 15px;
    }
}

@media screen and (min-width: 1200px) {
    .p-top__newsDate {
        width: 32%;
    }
}

.p-top__newsDate span {
    display: inline-block;
    min-width: 90px;
    margin-right: 1em;
}

@media screen and (min-width: 768px) {
    .p-top__newsDate span {
        min-width: 100px;
        margin-right: 2em;
    }
}

@media screen and (min-width: 1200px) {
    .p-top__newsDate span {
        margin-right: 3em;
    }
}

.p-top__newsDate span.eng {
    min-width: 110px;
}

@media screen and (min-width: 768px) {
    .p-top__newsDate span.eng {
        min-width: 150px;
        margin-right: 2em;
    }
}

@media screen and (min-width: 1200px) {
    .p-top__newsDate span.eng {
        margin-right: 3em;
    }
}

.p-top__newsLink {
    margin-top: 1em;
    text-align: right;
}

@media screen and (min-width: 768px) {
    .p-top__newsLink {
        margin-top: 3em;
    }
}


    /* セレクトボックスを少し縦に大きくする */
    select {
      padding: 12px;        /* 内側余白を広げる */
      font-size: 18px;      /* 文字を大きくして見やすく */
      height: 50px;         /* 指で押しやすい高さ */
      min-width: 200px;     /* 横幅を確保（必要に応じて調整） */
    }

