body {
    background-color: #fff;
}

.detail-v2__header {
    /*border: 1px solid;*/
    padding: 15px 0 0;
}

.detail-v2-header__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.header-top__title {
    font-size: 24px;
    font-weight: bold;
}

.header-top__buttons {
    display: flex;
    height: 100%;
    margin-right: 5px;
}

.btns__my-spot-btn {
    width: 80px;
    display: block;
    margin-right: 5px;
}
.btns__more-info-btn {
    display: block;
    width: 83px;
    height: 16px;
    border: 1px solid #66645D;
    color: black!important;
    padding: 5px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 10px;
    text-align: center;
    font-weight: bold;
}

.detail-v2-header__location {
    display: flex;
    align-items: center;
}
.header-location__address {
    margin-right: 5px;
}
.header-location__map-icon {
    border-radius: 13px;
    color: #000 !important;
    background-color: #E9E4D4;
    padding: 1px 7px;
    font-size: 11px;
    font-weight: bold;
    width: 34px;
    text-align: center;
}

.detail-v2-header__tag {
    margin-top: 10px;
}

.detail-v2-header__tag a {
    font-size: 11px;
    border: 1px #E3E3E3 solid;
    border-radius: 5px;
    padding: 1px 5px;
    color: #000;
}

.detail-v2-header__warning {
    margin-top: 10px;
    font-size: 12px;
}

.detail-v2-header__warning span {
    padding: 3px 0;
}

.detail-v2-header__warning-text {
    width: 64px;
    height: 17px;
    display: inline-block;
    text-align: center;
}

.detail-v2-header__warning-text.special_alert {
    background-color: #DD0E1A;
}
.detail-v2-header__warning-text.alert {
    background-color: #F5E56B;
}

.detail-v2-header__warning-text.warning {
    background-color: #F6AD49;
}

.detail-v2-header__update-time {
    text-align: end;
    color: #535353;
}

.detail-v2__roughly-weathers {
    display: flex;
    column-gap: 1rem;
    margin: 10px 0;
    font-weight: bold;
    justify-content: space-between;
}

.detail-v2__roughly-weather div {
    background-color: #E3E3E3;
}

@media screen and (max-width: 1080px) {
    .detail-v2__roughly-weathers {
        overflow: auto;
    }
}

.roughly-weather {
    cursor: pointer;
    background-color: #F0F0F0;
    padding: 10px 15px;
    border-radius: 10px;
    width: 33%;
    display: flex;
    align-content: center;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: space-between; /* 最初と最後の子要素が上下端に配置される */
}

.roughly-weather__date {
    font-weight: bold;
    line-height: 1;
}

.roughly-weather__date-sturday {
    color: #3976F5;
}

.roughly-weather__date-sunday {
    color: #FF0000;
}

.roughly-weather__center.roughly-weather-center {
    display: flex;
    align-items: center;
    margin: 1.5px 0;
    column-gap: 1rem;
}

.roughly-weather-center__icon {
    width: 44px;
    height: 44px;
    vertical-align: top;
}

p.roughly-weather-center__icon-text {
    margin: 0;
    font-size: 12px;
    text-align: center;
}

.roughly-weather__center.roughly-weather-img {
    width: 113px;
    text-align: center;
    display: flex;
    align-items: center;
    column-gap: 5px;
    flex-wrap: nowrap;
    justify-content: center;
}

.roughly-weather-center__arrow {
    color: #A3A3A3;
    width: 15px;
    height: 13px;
    display: inline-block;
    font-weight: bold;
}

.title_roughly-weather {
    margin-bottom: 5px;
}

.temps__high-temp {
    color: #FF0000;
    margin: 0;
    white-space: nowrap;
}
.temps__low-temp {
    color: #0052ED;
    margin: 0;
    white-space: nowrap;
}


.d-w__large-tabs {
    display: flex;
    justify-content: space-between;
    border: 1px solid #ccc;
    border-radius: 25px;
    padding: 3px;
    margin: 20px 0;
}

.l-t__tab {
    flex: 1;
    text-align: center;
    padding: 5px 0;
    cursor: pointer;
    position: relative;
    transition: color 0.3s, background 0.3s;
}

.l-t__tab.active {
    color: white;
    background: #999;
    border-radius: 20px;
}

.l-t__tab.active::after {
    content: '';
    position: absolute;
    top: 30px; /* Adjust as needed */
    left: 50%;
    transform: translateX(-50%);
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #999;
}

.d-w__small-tabs{
    display: flex;
    height: 22px;
}

.s-t__tab {
    flex: 1;
    text-align: center;
    cursor: pointer;
}
.s-t__tab.active {
    text-decoration:underline;
    text-underline-offset: 7px;
    text-decoration-thickness: 2px;
    font-weight: bold;
}

.s-t__tab.Sat {
    color: #3976F5;
    text-decoration-color: #3976F5;
}

.s-t__tab.Sun {
    color: #FC0301;
    text-decoration-color: #FC0301;
}

.d-w__table-lap {
    --border-color: #e0e0e5;
    --stripe-bg-color: #e5f6ff;
    --header-bg-color: #fff;

    overflow-x: scroll;
    border: 1px solid var(--border-color);
    border-right: none;
    margin-top: 15px;
}

.d-w__table-lap table {
    border-collapse: collapse;
    width: 100%;
}

.d-w__table-lap tr:nth-of-type(2n+4) {
    background: #dcdddd;
}

.d-w__table-lap th,
.d-w__table-lap td {
    padding: 4px 8px;
    text-align: center;
}

.d-w__table-lap th {
    position: sticky;
    left: 0;
    background: var(--header-bg-color);
    border-right: 1px solid var(--border-color);
}

/*.d-w-t__day,*/
/*.d-w-t__time,*/
/*.d-w-t__weather,*/
/*.d-w-t__temp,*/
/*.d-w-t__rainy,*/
/*.d-w-t__precipitation,*/
/*.d-w-t__humidity th{*/
/*    height: 2px;*/
/*}*/

.d-w__table-lap td {
    white-space: nowrap; /* 任意 */
}
.d-w-t th {
    font-weight: normal;
    white-space: nowrap;
}
.d-w-t__day td {
    font-weight: bold;
    text-align: start;
}
.d-w-t__day td.Sat {
    color: #3976F5;
}
.d-w-t__day td.Sun {
    color: #FC0301;
}


.d-w-t__time th,
.d-w-t__time td {
    padding-top: 0;
    padding-bottom: 0
}
.d-w-t__weather td {
    padding-top: 0;
}

.d-w-t__weather p {
    margin: 0;
}

.detail-v2__link-list-wrapper {
    margin: 15px 0;
    background-color: #dcdddd;
}
.detail-v2__link-list {
    padding: 5px 75px;
    display: flex;
    justify-content: center;
    column-gap: 1rem;
}

.detail-v2__link-list a {
    cursor: pointer;
    padding: 3px 15px;
    border-radius: 15px;
    color: #393939;
    width: 100px;
    text-align: center;
    font-size: 11px;
}

.detail-v2__link-list-box {
    display: flex;
    background-color: #ffffff;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
    align-items: center;
    padding: 18px 5px 8px 5px;
    width: 120px;
    height: 32px;
    border-radius: 8px;
    cursor: pointer;
}

.detail-v2__link-list-box img {
    width: 27px;
    height: 25px;
    cursor: pointer;
}

.detail-v2__link-list .active {
    background-color: #fd7e39;
}

.detail-v2__link-list .active a {
    color: #ffffff;
}

.detail-v2__link-list .active img {
    filter: brightness(1000%);
}

.detail-v2__hours_link-list-wrapper {
    margin-bottom: 15px;
}

.detail-v2__hours_link-list {
    display: flex;
    justify-content: center;
    column-gap: 1rem;
}

.detail-v2__hours_link-list-box {
    cursor: pointer;
    border: 1px solid #66645D;
    border-radius: 25px;
    text-align: center;
    height: 20px;
    width: 268px;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
    align-items: center;
}

.detail-v2__hours_link-list-box a {
    color: #393939;
}

.detail-v2__trending-spots.trending-spots-v2 {
    margin-top: 15px;
}
.trending-spots-v2__header {
    display: flex;
    justify-content: space-between;
    align-items: end;
}
.trending-spots-v2__header p {
    font-size: 18px;
    font-weight: bold;
    margin: 0;
}
.trending-spots-v2__header a {
    color: #1C5190;
}
.trending-spots-v2__courses {
    display: flex;
    justify-content: space-between;
    font-size: 0;
    gap: 13px;
}
.trending-spots-v2__courses a {
    display: inline-block;
}
.trending-spots-v2__courses img {
    border-radius: 5px 5px 0 0;
    max-width: 100%;
}
.trending-spots-v2__courses div {
    border-radius: 0 0 5px 5px;
    background-color: #F0F0F0;
    font-size: 12px;
    height: 40px;
    padding: 5px;
    color: #000000;
}

.detail-v2__search input::placeholder {
    font-size: 14px;
    color: #9D9D9D;
}





.detail-v2__search {
    display: flex;
    align-items: center;
    border: 1px solid #ccc;
    border-radius: 22px;
    padding: 5px 10px;
    margin: 15px 70px;
    height: 31px;
    width: 554px;
}

.detail-v2__search input {
    border: none;
    outline: none;
    flex: 1;
    padding-left: 10px;
    font-size: 16px;
}

.detail-v2__search .icon {
    width: 15px;
    height: 15px;
    background: url('/img/search_icon.svg') no-repeat center center;
    background-size: contain;
}

.accordion__text {
    margin: 0;
}

.triangle3 {
    width: 0;
    height: 0;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-top: 7px solid #535353;
}

.accordion {
    background-color: #E9E4D4;
    color: #535353;
    cursor: pointer;
    padding: 10px 17px 10px 10px;
    width: 100%;
    border: none;
    outline: none;
    font-size: 16px;
    transition: 0.4s;
    line-height: 1;
    height: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.active, .accordion:hover {

}

.panel {
    padding: 7px 18px;
    display: none;
    background-color: #e9e4d473;
    overflow: hidden;
}

.panel a {
    color: #666;
    margin: 1px 5px;
    /*border-bottom: 1px #666 solid;*/
    display: inline-block;
    text-decoration: underline #666;
    text-underline-offset:4px;
}

#all__area__weather {
    border: 1px solid #ccc;
}

#all__area__weather a {
    color: #000;
}

#all__area__weather {
.all__area__weather-map {
    background: url('/img/japan_map.svg') no-repeat;
    height: 650px;
    background-size: 85%;
    margin-top: 2rem;
    background-position: 65% 20%;
}

.all__area__weather-choice {
    border-bottom: 3px solid #E5F6FF;
}

.all__area__weather-choice p {
    margin: 0;
}

.all__area__weather-choice {
.all__area__weather-treasure-spot {
    font-size: 14px;
}
}

.all__area__weather-main-box {
    font-size: 20px;
    width: 30%;
    text-align: center;
    display: inline-block;
    justify-content: center;
}

.all__area__weather-main-box {
& p {
      font-size: 16px;
  }
}

.all__area__weather-tresure-spot-box{
    font-size: 18px;
    justify-content: flex-start;
    width: 70%;
}

.all__area__weather-choice {
    display: flex;
    justify-content: flex-start;
}

.all__area__weather-choice {
.choosing {
    background-color: #4991F5;
    color: #FFFFFF;
}

& div {
      font-weight: bold;
      padding: 8px;
      display: flex;
      align-items: center;
      background-color: #fff;
      color: #000;
      cursor: pointer;
  }
}

.all__area__weather__date {
.choosing {
    border-bottom: 4px solid #9DDDFF;
    font-weight: bold;
}
}

.all__area__weather__date p {
    margin: 0;
    font-size: 14px;
}

.all__area__weather-area {
    width: 76px;
    background: #F0F0F0;
    padding: 6px;
    display: flex;
    justify-content: center;
    align-items: center;
    align-content: center;
    flex-wrap: wrap;
    border-radius: 6px;
    box-shadow: 1px 1px 2px 1px #DFDFDF;
}

.all__area__weather__date {
    display: flex;
    justify-content: space-around;
}

.all__area__weather__date div {
    font-size: 18px;
    width: 33%;
    text-align: center;
    margin: 0;
    padding: 10px;
    cursor: pointer;
}

.all__area__weather-title {
    margin: 0;
    font-weight: bold;
    font-size: 15px;
    width: 100%;
    text-align: center;
    color: #000;
}

.all__area__weather-info-parts-temperature-max {
    color: #FA3638;
    font-weight: bold;
    font-size: 16px;
}

.all__area__weather-info-parts-temperature-min {
    color: #3A76F5;
    font-weight: bold;
    font-size: 16px;
}

.all__area__weather-info-parts-temperature-middle {
    font-weight: bold;
}

.all__area__weather-east-group,
.all__area__weather-west-group {
    position: relative;
}

.all__area__weather-area {
    position: absolute;
}

.all__area__weather-box {
    text-align: center;
}

.hokkaido1 {
    top: 5px;
    right: 211px;
}

.hokkaido2 {
    top: 180px;
    right: 35px;
}

.tohoku {
    top: 305px;
    right: 132px;
}

.hokuriku1 {
    top: 180px;
    right: 305px;
}

.kanto {
    top: 421px;
    right: 201px;
}

.hokuriku2 {
    top: 216px;
    right: 413px;
}

.tokai {
    top: 439px;
    left: 360px;
}

.kansai {
    top: 450px;
    left: 256px;
}

.tyugoku {
    top: 227px;
    left: 135px;
}

.shikoku {
    top: 450px;
    left: 154px;
}

.kyusyu1 {
    top: 269px;
    left: 27px;
}

.kyusyu2 {
    top: 490px;
    left: 50px;
}

.okinawa {
    top: 65px;
    left: 56px;
}
}

.weather__in__your__favorite__place {
    display: flex;
    justify-content: center;
    font-weight: bold;
}

.weather__in__your__favorite__place-text {
    color: #707070 !important;
    border-radius: 5px;
    padding: 8.5px 10px;
    margin: 5px 10px;
    font-size: 16px;
    min-height: 20px;
    width: 60%;
    align-items: center;
    background-color: #E9E4D4;
    display: grid;
    place-items: center;
}

.weather__in__choice__place {
    display: flex;
    justify-content: center;
}

.weather__in__choice__place-text {
    color: #393939 !important;
    padding: 8.5px 0;
    display: inline-block;
    text-decoration: underline !important;
    text-decoration-color: #66645D !important;
    text-decoration-thickness: 2px !important;
}

.modal {
    display: none;
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 200px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0,0,0,0); /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
    font-family: ヒラギノ角ゴシック, W5;
    font-size: 16px;
    background-color: #0000009A;
    margin: auto;
    padding: 17px;
    border: 1.5px solid #000;
    width: 30%;
    border-radius: 10px;
    color: #fff;
    text-align: center;
}

@media screen and (max-width:480px){
    /* スマホサイズはこちらを読み込み */
    .modal-content{
        width: 80%;
    }
}

.modal-body p {
    margin: 0;
}
.my_spot_point {
    width: 10px;
    height: 10px;
    border-radius: 100%;
    background-color: #000;
    position: relative;
    top: 4px;
    left: 6px;
    z-index: 1;
}

.detail-v2__near-info {
    margin-top: 5px;
}

.amagumo_tab_contents,
.kaminari_tab_contents,
.amedas_tab_contents,
.wavesimulator_tab_contents,
.wavesimulator_map {
    background-color: #dcdddd;
}

.jslider .jslider-scale ins {
    color: #393939 !important;
}

.detail-v2 .how_to_use a, .amagumo_table , .amagumo_radio label, .wavesimulator_tab_contents div a {
    color: #393939;
}

.amagumo_map, .amagumo_map .contents {
    margin-bottom: 19px;
}

.wind_map_simu {
    padding: 25px 0 5px 0;
}

.amedas_kazamuki_hanrei,
.amedas_kion_hanrei,
.amedas_kousui_hanrei,
.amedas_nisshou_hanrei {
    padding: 0;
}

.imglayer .realcontents {
    margin-bottom: 11px;
}

.imglayer .weeklycontents {
    margin-bottom: 11px;
}

.imglayer .typhoon_figure .typhoon_image {
    margin-bottom: 19px;
}

ul.upperTabs {
    padding-top: 0 !important;
}

.amedas_tabs .amedas_tab {
    margin-top: 0 !important;
}

.imglayer .typhoonandweather_update_time
, #img-box p {
    padding: 0 0 2px 0 !important;
    height: 15px !important;
}

.amagumo_btns, .kaminari_btns {
    margin-top: 0 !important;
}

.kaminari_map#map_area {
    height: 300px !important;
    margin-bottom: 25px;
}

.weather__choice__place {
    display: flex;
    justify-content: center;
}

.weather__choice__place-text {
    color: #393939 !important;
    padding: 8.5px 0;
    display: inline-block;
    text-decoration: underline !important;
    text-decoration-color: #66645D !important;
    text-decoration-thickness: 2px !important;
}

.tide_graph, .tide_header, .tide_header_left, .tide_header_right {
    padding-top: 0 !important;
}

div.page {
    margin-top: 15px !important;
}

a[name="tab_top"] .wavesimulator_tab_contents center {
    height: 837px;
}