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: 18px;
  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: 1023px) {
  .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 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  min-height: 40px;
  color: #000000;
  font-size: 16px;
  line-height: 1;

  background-color: #f0f0f0;
  cursor: pointer;
  padding: 10px 17px 10px 10px;
  border: none;
  outline: none;
  transition: 0.4s;
}

.accordion h3 {
  font-weight: normal;
  font-size: 14px;
  line-height: 1.4;
}

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

.panel a {
  color: #666 !important;
  margin: 1px 5px;
  display: inline-block;
  text-decoration: underline #666;
  text-underline-offset: 4px;
}

.weather__in__your__favorite__place {
  display: flex;
  justify-content: center;
  font-weight: bold;
  margin: 15px auto;
}

.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;
  margin-bottom: 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;
}

/* Mobile styles merged from detail_v2_sp.css */
@media screen and (max-width: 768px) {
  .detail-v2 {
    a:link,
    a:visited {
      color: #000;
    }
  }

  .detail-v2__header {
    padding: 0 10px;
  }

  .btns__my-spot-btn {
    margin: auto;
  }

  .btns__myspot-btn-box {
    display: flex;
    justify-content: end;
    margin-top: 5px;
  }

  .btns__more-info-btn {
    width: 80px;
    height: 12px;
    margin-top: 10px;
  }

  .detail-v2-header__tag {
    margin-top: 0;
  }

  .detail-v2-header__warning {
    margin-top: 5px;
  }

  .detail-v2-header__warning span {
    border-radius: 2px;
  }

  .detail-v2-header__update-time {
    position: relative;
    z-index: 2;
  }

  .detail-v2-header__update-time span {
    padding-top: 5px;
  }

  .detail-v2__roughly-weathers {
    margin: 0;
    justify-content: space-between;
    align-items: center;

    .roughly-weather {
      min-width: 190px;
      width: auto;
      flex: 1;
    }
  }

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

  .roughly-weather:first-child {
    margin-left: 10px;
  }

  .roughly-weather:last-child {
    margin-right: 10px;
  }

  .roughly-weather__center {
    max-width: 230px;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .d-w__large-tabs {
    margin: 10px 20px;
  }

  .l-t__tab {
    padding: 1px 0;
    -webkit-tap-highlight-color: transparent;
  }

  .l-t__tab.active::after {
    top: 23px;
  }

  .d-w__small-tabs {
    height: 21px;
  }

  .d-w__table-lap {
    -webkit-overflow-scrolling: touch;
  }

  .d-w-t__day td {
    text-align: left;
  }

  .d-w-t__weather {
    position: relative;
    margin-top: -5px;
  }

  .detail-v2__link-list-wrapper {
    margin: 10px 0;
  }

  .detail-v2__link-list {
    padding: 5px 10px;
    column-gap: 5px;
    font-size: 10px;
  }

  .detail-v2__link-list-box {
    flex-direction: column;
    padding: 10px 5px 5px;
    flex: 1;
    flex-basis: 0;
    max-width: 25%;
  }

  .detail-v2__link-list-box * {
    font-size: 10px;
  }

  .detail-v2__link-list-box p {
    display: block;
    width: 100%;
    text-align: center;
    padding: 0;
  }

  .detail-v2__trending-spots.trending-spots-v2 {
    padding: 0 5px;
  }

  .trending-spots-v2__header {
    margin: 3px 0;
  }

  .trending-spots-v2__courses {
    overflow-x: auto;
    white-space: nowrap;
  }

  .trending-spots-v2__courses a {
    flex: 0 0 auto;
    width: 125px;
  }

  .trending-spots-v2__courses div {
    white-space: normal;
  }

  .detail-v2__search {
    margin: 15px 10px;
    width: auto;
  }

  .detail-v2__search .icon {
    width: 18px;
    height: 15px;
  }

  .detail-v2__search input::placeholder {
    font-size: 12px;
  }

  .panel {
    padding: 0 18px;
  }

  .detail-v2__hours_link-list-wrapper {
    margin: 0 10px 10px;
  }

  .weather__in__your__favorite__place-text {
    color: #535353 !important;
    text-align: center;
    padding: 3px 10px;
    margin: 6px 10px;
    min-height: 34px;
    width: 65%;
  }

  .weather__in__your__favorite__place-text__top-text {
    margin: 0;
    font-size: 11px;
  }

  .weather__in__your__favorite__place-text__btm-text {
    margin: 0;
    font-size: 13px;
  }

  .top__link-text {
    color: #535353;
    font-size: 16px;
    text-align: center;
    font-weight: bold;
  }

  .detail-v2 ul.upperTabs a,
  .detail-v2 .amagumo_btn a,
  .detail-v2 .kaminari_btn a,
  .detail-v2 .how_to_use a {
    color: #ffffff;
  }

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

  .wind_map_simu {
    background-color: #dcdddd;
  }

  .amedas_kazamuki_hanrei_wrapper {
    background-color: #dcdddd;
    padding: 5px 0 30px;
  }

  .about_kousuiryo {
    padding: 12px 0;
  }

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

    .detail-v2__roughly-weathers::-webkit-scrollbar {
      display: none;
    }
  }
}
