/*
Theme Name: Summerhill Theme
Description: Summerhill Theme
Author: Custom Media
Author URI: https://custom-media.com/
Version: 1.0.15
*/


.register-btn{
    background-color: #E04F39;
    color: #fff;
    padding: 16px;
    width: 100%;
    max-width: 270px;
    margin: 40px auto 0 auto;
    display: block;
    text-align: center;
    border-radius: 40px;
    font-weight: bold;
	}
	
	
.ct-btn {
	display: flex;
	justify-content: center;
  margin: 40px 0 0 0;
}

.ct-btn a{
	background-color: #4a90e2;
    color: #fff;
    border-radius: 30px;
    padding: 15px 56px 15px 30px;
    min-width: 280px;
    text-align: center;
    position: relative;
    font-weight: bold;
}

.ct-btn a:after{
	content: "";
	position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    right: 10px;
	background-image: url(/wp-content/uploads/2025/04/btn-arrow.png);
	background-size: 100% auto;
	background-position: center;
	background-repeat: no-repeat;
	width: 40px;
	height: 40px;
	display: inline-block;
	vertical-align: middle;
}

.ct-btn a:hover{
	opacity: .85;
	color: #fff;
}

.fullw .text-container{
	max-width: 100%;
}

.text-subtitle{
	color: #000!important;
}


.textlink{
	margin-top: 50px;
    display: inline-block;
    color: #4a90e2;
    border-bottom: 1px dashed #4a90e2;
    font-weight: 800;
}

.textlink.text-primary{
  border-color: #ed5959!important;
}


.textlink:hover{
	color: #4a90e2;
}

#newsroom .article-list{
	max-width: 100%;
	width: 100%;
	padding-right: 0;
	margin-left: calc((100vw - 1120px)/2);
	position: relative;
	margin-top: 40px;
}

#newsroom.cards-article-intro .article-list>.row{
	width: 100%;

}

#newsroom .card .stripe {
    display: block;
    padding-top: 8px;
    padding-bottom: 8px;
    font-weight: 800;
    font-size: .545rem;
    color: #fff;
    letter-spacing: 2px;
    text-align: center;
    text-transform: uppercase;
}

#newsroom .card>a{
  border-radius: 20px;
  overflow: hidden;
}


.dtltab-list{
  display: flex;
  background-color: #f4a119;
  padding: 20px 20px 0 20px;
  font-family: Nunito, sans-serif;
}

.dtltab-list ul{
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  width: 100%;
  gap: 20px;
}

.dtltab-list ul li{
  background-color: #f4a119;
  border-top: solid 2px #fff;
  border-right: solid 2px #fff;
  border-left: solid 2px #fff;
  padding: 10px;
  border-top-left-radius: 40px;
  border-top-right-radius: 40px;
  color: #fff;
  font-size: 17px;
  flex-basis: 20%;
  font-weight: 500;
  line-height: 1;
  text-align: center;
  position: relative;
  cursor: pointer;
  flex: 1;
}

.dtltab-list ul li.tabactive:before,
.dtltab-list ul li.tabactive:after{
  position: absolute;
  content: "";
  width: 20px;
  height: 20px;
  bottom: -1px;
  display: block;
  background-image: url(/wp-content/themes/cm-smh/public/images/tab-edge.png);
  background-size: 100% auto;
  background-position: bottom center;
  background-repeat: no-repeat;
}

.dtltab-list ul li.tabactive:before{
  left: -19px;
  background-image: url(/wp-content/themes/cm-smh/public/images/tab-edge-left.png);
}

.dtltab-list ul li.tabactive:after{
  right: -19px;
}

.dtltab-list ul li.tabactive{
  background-color: #fff;
  border-color: #f4a119;
  color: #f4a119;
}

.dtltab-list ul li img{
  width: 40px;
  height: auto;
   margin: 0 auto 10px auto;
  display: block;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.dtltab-list ul li.tabactive img{
  transform: scale(1.1);
}

.dtltab-content{
  display: none;
  padding: 40px;
  font-size: 16px;
  line-height: 1.5;
}

.dtltab-content img{
  width: 100%;
  height: auto;
  display: block;
}

.dtltab-inner{
  display: flex;
  gap: 50px;
}

.dtltab-inner>div{
  width: calc((100% - 50px)/2);
}

.dtltab-left img{
  border-radius: 30px;
  overflow: hidden;
}

.dtltab-right p a{
  color: #4a90e2;
  text-decoration: underline;
}

.dtltab-right h5{
  color: #f4a119;
  font-family: Nunito, sans-serif;
  margin: 0 0 10px 0;
  font-size: 19px;
  font-weight: bold;
}

.dtltab-btn{
  font-family: Nunito, sans-serif;
  background-color: #f4a119;
  color: #fff;
  padding: 10px;
  border-bottom: dotted 2px;
  margin-bottom: 3px;
  display: flex;
  gap:10px 40px 10px 10px;
  align-items: center;
  position: relative;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
}

.dtltab-arw{
  position: absolute;
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  transition: all 0.5s ease;
  display: block;
  transform: rotate(0deg);
  width: 13px;
  height: 9px;
  right: 15px;
  top: 0;
  bottom: 0;
  margin: auto;
}

.dtltab-arw:before{
  content: "";
  background-image: url(/wp-content/themes/cm-smh/public/images/tab-arrow.png);
  background-repeat: no-repeat;
  background-size: 100% auto;
  background-position: center;
  width: 100%;
  height: 100%;
  display: block;
}

.tabactive .dtltab-arw{
transform: rotate(180deg);
}

.dtltab-btn img{
  width: 40px;
}

.tabs-text-ttl{
  margin: 0 0 20px 0;
  color: #f4a119;
  font-weight: bold;
  font-size: 20px;
}

.scl-info{
  display: flex;
  font-size: 14px;
  flex-wrap: wrap;
  padding: 80px 0 50px 0;
  justify-content: space-between;
}

.scl-info>div{
  width: calc((100% - 50px)/2);
}

.scl-info>div .scl-info-row:not(.scl-info>div .scl-info-row:last-child){
  margin-bottom: 30px;
}

.scl-info-logo{
  width: 200px;
  height: auto;
  margin: 0 0 40px 0;
}

.imgfull img,
.scl-info-logo img{
  width: 100%;
  height: auto;
  display: block;
}

.scl-info-grp {
  margin: ;
  display: flex;
  gap: 30px;
}

.scl-info-grp img{
  width: auto;
  height: 40px;
}

.scl-info-ttl{
  color: #000;
  font-family: Nunito, sans-serif;
  font-weight: bold;
  font-size: 15px;
  margin-bottom: 7px;
}

.scl-info-sns{
  display: flex;
  gap: 10px;
}

.scl-info-sns a{
  background-color: #f4a119;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  text-align: center;
  display: block;
  padding: 10px;
}

.scl-info-sns a:hover{
  background-color: #71c126;
}

.scl-info-sns a img{
  margin: auto;
  padding: 0;
  display: block;
  width: auto;
  height: 100%;
}

.ifrm-map {
  width: 100%;
  position: relative;
  padding-bottom: 80%;
  overflow: hidden;
  margin: 0 auto;
}

.ifrm-map iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
}

#newsroom .card{
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
}

#newsroom .card .image{
  object-fit: cover;
  aspect-ratio: 16 / 10;
}

#newsroom .card .title{
  font-size: .9rem;
  line-height: 1.4;
  margin-bottom: 20px;
}

#newsroom .card .content{
  text-align: left;
}

#newsroom .card .nr-card-date{
  font-size: 12px;
  margin-bottom: 5px;
}

#newsroom.cards-article-intro .article-list>.row>*{
  padding-right: 0;
}

.textlink-bl{
  color: #4a90e2;
  margin-top: 10px;
  text-decoration: underline;
  font-weight: bold;
  font-size: 16px;
}


.stcta-wrap{
  background-color: #f4a119;
  border-radius: 40px;
  overflow: hidden;
}

.stcta-wrap a{
  display: block;
  color: #fff;
  padding: 30px;
  text-align: center;
  font-family: Nunito, sans-serif;  
}

.stcta-wrap a:hover{
  opacity: .7;
  color: #fff;
}

.stcta-ttl{
  font-size: 32px;
  margin: 0 0 20px 0;
  font-weight: 900;
}

.stcta-link{
  font-size: 22px;
  font-weight: bold;
  text-decoration: underline;
  margin: 40px 0 0 0;
  font-weight: bold;
  font-weight: 900;
}

.stcta-link img{
  width: 32px;
  margin-left: 10px;
  height: auto;
  display: inline-block;
  vertical-align: middle;
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  transition: all 0.5s ease;
}

:hover .stcta-link img {
    margin-left: 15px;
}

.tl-btn a{
  margin-top: 50px;
  display: inline-block;
  border-bottom: 1px dashed;
  font-weight: 800;
}

.tl-btn a:hover{
  opacity: .7;
}

.tl-btn.text-info a {
    color: #4a90e2 !important;
    border-color: #4a90e2;
}


.tl-btn.text-success a {
    color: #71c126!important;
    border-color: #71c126;
}


.text-link.text-primary,
.tl-btn.text-primary a {
    color: #ed5959!important;
    border-color: #ed5959;
}

.tl-btn.text-secondary a {
    color: #f4a119!important;
    border-color: #f4a119;
}

.tl-btn.text-secondary a {
    color: #f4a119!important;
    border-color: #f4a119;
}

.tl-btn.text-subtitle a {
    color: #000!important;
    border-color: #000;
}

.navbar .cta .text-en {
    line-height: 1.1!important;
}

/* Styling for the container holding the viewer and splash screen */
.viewer-container {
    position: relative;
    width: 100%;
    max-width: 64rem;
    height: 500px;
    margin-bottom: 2rem;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border: 1px solid #d1d5db;
	margin-bottom: 60px!important;
}

/* Splash screen styling */
.splash {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    text-align: center;
    z-index: 10;
    border-radius: 0.5rem;
}

.splash h2 {
    margin-bottom: 1rem;
    font-size: 14px;
    font-weight: bold;
    line-height: 1.3;
    font-family: 'Open Sans', sans-serif;
}

.splash p {
    margin-bottom: 1.5rem;
    font-size: 14px;
    opacity: 0.9;
    font-family: 'Open Sans', sans-serif;
}

.splash button {
    /* Updated button styles */
    border: none;
    padding: 0.625rem 1.25rem;
    font-size: 14px;
    color: white;
    border-radius: 0.625rem;
    background: linear-gradient(90deg, rgba(107, 182, 71, 0.80) 9%, rgba(37, 163, 75, 0.90) 66%);
    cursor: pointer;
    transition: opacity 0.2s ease-in-out;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    font-family: 'Open Sans', sans-serif;
}

.splash button:hover {
    opacity: 0.9; /* Slightly dim on hover */
}

/* Make Pannellum hotspot text visible and styled */
/* Applying these styles directly to the span within the pannellum viewer */
.pnlm-hotspot span {
    visibility: visible !important;
    font-size: 0.7em; /* Smaller font for better fit */
    color: white; /* White text for better contrast on images */
    background-color: rgba(0, 0, 0, 0.6); /* Semi-transparent background for readability */
    padding: 4px 8px; /* Padding for the text */
    border-radius: 6px; /* Rounded corners for the text background */
    text-shadow: 0 0 3px rgba(0,0,0,0.8); /* Add text shadow for better readability */
    font-family: 'Open Sans', sans-serif; /* Ensure hotspot text also uses Open Sans */
}

/* Dropdown container & styling */
.scene-selector {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 12; /* Ensure it's above everything else */
}

.scene-selector select {
    background: rgba(0,0,0,0.6);
    color: white;
    border: none;
    padding: 6px 10px;
    font-size: 14px; /* Changed to 14px */
    border-radius: 6px;
    cursor: pointer;
    font-family: 'Open Sans', sans-serif; /* Consistent font */
    min-width: 180px;
    -webkit-appearance: none; /* Remove default dropdown arrow for custom styling */
    -moz-appearance: none;
    appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg fill="white" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/><path d="M0 0h24v24H0z" fill="none"/></svg>'); /* Custom dropdown arrow */
    background-repeat: no-repeat;
    background-position: right 8px top 50%;
    background-size: 16px;
}

.scene-selector select:hover,
.scene-selector select:focus {
    background: rgba(0,0,0,0.8);
    outline: none;
}

.viewer-container-ttl{
  color: #fff;
  font-weight: 700;
  font-size: 25px;
  margin-bottom: 10px;
}

@media (min-width: 768px) {
.container {
    max-width: 95%;
}

.dtltab-wrap{
   border: solid 2px #f4a119;
   border-radius: 40px;
   overflow: hidden;
 } 

.dtltab .dtltab-btn{
  display: none;
}

.poster-full:before {
    top: 38%!important;
}
}


@media screen and (min-width: 768px) and (max-width: 990px) {
.poster-full:before{
  top: 43%!important;
}

.poster-full .description {
    bottom: -40px!important;
}

}

@media (min-width: 991px) {
#newsroom.cards .row{
    padding-left: 10px;

}

#newsroom .cards .row>*{
  padding-left: 0;
}

.navbar .cta .text-en{
  font-size: 20px!important;
}

.navbar .cta .text-ja {
    font-size: 10px!important;
}
}

@media (min-width: 1200px) {

.poster-full .description {
    bottom: -65px!important;
}

.poster-full .caption {
    max-width: 50%;
    padding-left: 60px;
    padding-bottom: 30px;
}

#newsroom .container  {
  padding-left: 40px;
  padding-right: 40px;
}

#newsroom.cards-article-intro .article-list .more{
  right: 50px;
}
}

@media (min-width: 1440px) {
#newsroom .article-list{
  margin-left: calc((100vw - 1380px) / 2);
}

#newsroom .container {
  padding-left: 60px;
  padding-right: 60px;
}

#newsroom.cards-article-intro .article-list .more{
  right: 65px;
}

.poster-full .description {
    bottom: -75px!important;
}
}




@media (max-width: 1200px) {
#newsroom .article-list {
    padding-left: 40px;
    padding-right: 40px;
    margin-left: 0;
}

#newsroom.cards-article-intro .article-list .more{
  display: none;
}

#newsroom.cards-article-intro .article-list>.row>*:nth-child(even){
  padding-left: 20px;
}
}


@media (max-width: 767px) {
.poster-full .caption .title .image{
  width: 80%;
}

#newsroom.cards-article-intro .article-list .more{
	display: none;
}

#newsroom .article-list{
	margin-left: 0;
	padding: 0 20px 0 10px;
}

#newsroom.cards .row{
	margin-left: 0;
	margin-right: 0;
}

#newsroom.cards .row>.container{
  padding-left: 20px;
  padding-right: 20px;
}

#newsroom.cards .row>.article-list.container{
	padding-left: 20px;
	padding-right: 20px;
}

#newsroom.cards-article-intro .article-list>.row{
  gap: 20px;
}

#newsroom.cards-article-intro .article-list>.row>div{
  width: calc((100% -  20px)/2);
  flex: auto;
  padding-left: 0;
  padding-right: 0;
}

#newsroom.cards-article-intro .article-list>.row>*:nth-child(even){
  padding-left: 0;
}


.dtltab-list{
  display: none;
}

.scl-info>div{
  width: 100%;
}

.ifrm-map-wrap{
  margin: 30px 0 0 0;
}

.scl-info-dtl{
  text-align: center;
}

.scl-info-logo{
  margin: 0 auto 30px auto;
}

.scl-info-sns,
.scl-info-grp{
  justify-content: center;
}

.scl-info-grp{
  flex-wrap: wrap;
}

.dtltab-inner {
    gap: 20px;
    flex-wrap: wrap;
}
.dtltab-inner>div{
  width: 100%;
}

.stcta-wrap a{
  padding: 20px;
}


.dtltab-content {
    padding: 30px 10px;
}

.scl-info-grp img{
  height: 30px;
  width: auto;
}
}


