/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Zen Maru Gothic', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', Meiryo, sans-serif;
  line-height: 1.6;
  color: #333;
  position: relative;
  padding-top: 88px;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

header .container {
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
}

section .container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 30px;
}

.container p {
  line-height: 2;
}

/* Header Styles */
header {
  background-color: #fff;
  border-bottom: 1px solid #eee;
  width: 100%;
  z-index: 100;
  position: fixed; top: 0; left: 0;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
}

.logo {
  flex: 0 0 auto;
}

.logo img {
  height: auto;
  max-width: 200px;
}

.main-nav {
  flex: 1;
  padding: 0 50px;
}

.contact-info {
  flex: 0 0 auto;
  text-align: right;
}

.phone {
  font-size: 1.5rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 5px;
}
.phone span{
  background: url("../img/icon_tel.svg") no-repeat left center;
  background-size: 28px;
  padding-left: 40px;
}

.address {
  font-size: 0.85rem;
  color: #333;
}

/* Navigation Styles */
.main-nav ul {
  display: flex;
  list-style: none;
  justify-content: space-between;
}

.main-nav li {
  flex: 1;
  text-align: center;
  position: relative;
}

.main-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px;
  font-weight: bold;
  position: relative;
  color: #333;
  transition: color 0.3s ease;
}

.main-nav a:hover {
  color: #F5CE29;
}

.en-text {
  font-size: 0.7rem;
  color: #999;
  margin-bottom: 5px;
  text-transform: uppercase;
}

/* Hero Section Styles */
.hero {
  background-color: #F5CE29;
  padding: 0;
  position: relative;
}

.hero-content {
  display: flex;
  align-items: stretch;
}

.hero-text {
  flex: 1;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: #F5CE29;
}

.company-logo {
  margin-bottom: 20px;
  width: 100%;
}

.company-logo img {
  width: 100%;
  max-width: 100%;
}

.slogan-box {
  background-color: #fff;
  border-radius: 30px;
  padding: 10px 20px;
  display: inline-block;
  margin-bottom: 20px;
  text-align: center;
  width: 100%;
  max-width: 100%;
}

.slogan-box p {
  margin: 0;
  font-weight: bold;
}

.hero-text p {
  font-size: 1.5rem;
  font-weight: bold;
  line-height: 1.8;
  margin: 0;
  width: 100%;
}

.hero-image {
  flex: 2;
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* News Section Styles */
.news {
  padding-top: 0;
  padding-bottom: 20px;
}

.news-section {
  background: #000;
  color: #fff;
  padding: 50px;
}

.news-section .news-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 50px;
  justify-content: space-between;
}

.news-content {
  border: 1px solid #000;
  padding: 20px;
  background-color: #fff;
}

.news-item {
  display: flex;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px dotted #ccc;
}

.news-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.news-date {
  flex: 0 0 100px;
  font-weight: bold;
}

.news-text {
  flex: 1;
}

/* Section Styles */
.section {
  padding: 50px 0;
}

.section-title {
  position: relative;
  font-size: 1.5rem;
  margin-bottom: 25px;
  padding-bottom: 10px;
  display: block;
  width: 100%;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(to right, #000 50px, #F5CE29 50px, #F5CE29 100%);
}

/* Message Section */
.message-wrapper {
  display: flex;
  gap: 30px;
  margin-bottom: 30px;
  align-items: center;
}

.company-image {
  flex: 0 0 300px;
}

.message-content {
  flex: 1;
}

.section-title {
  position: relative;
  font-size: 1.5rem;
  margin-bottom: 45px;
  padding-bottom: 20px;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 8px;
  background: linear-gradient(to right, #000 100px, #F5CE29 50px, #F5CE29 100%);
}

/* Features Section */
.features {
  background-color: #f9f9f9;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.feature-item {
  display: flex;
  background-color: #fff;
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.feature-image {
  flex: 0 0 30%;
  overflow: hidden;
}

.feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-content {
  flex: 1;
  padding: 20px;
}

.feature-title {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  font-weight: bold;
}

.feature-icon {
  margin-right: 20px;
}

.feature-icon::before {
  display: inline-block;
  content: "";
  width: 18px;
  height: 18px;
  margin-right: 10px;
  background: url("../img/h3.svg") no-repeat center center;
}

/* YouTube Section */
.youtube-section {
  background-color: #000;
  padding: 30px 0;
}

.news-list{
  width: 60%;
}
.youtube-bnr {
  width: 40%;
  margin: 0 auto;
}

.youtube-container img {
  width: 100%;
}

/* Map Section */
.map {
  height: 400px;
  margin-bottom: 50px;
  border: 1px solid #ccc;
}

/* Footer Styles */
footer {
  background-color: #F5CE29;
  color: #333;
  padding: 50px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1280px;
  margin: 0 auto;
  align-items: center;
}

.footer-info {
  flex: 1;
  min-width: 300px;
  margin-bottom: 30px;
}

.footer-logo {
  margin-bottom: 20px;
  width: 320px;
}

.footer-contact {
  margin-bottom: 20px;
}

.footer-contact p {
  margin-bottom: 10px;
}

.footer-image {
  flex: 1;
  width: 40%;
  text-align: right;
}

.footer-image img {
  max-width: 80%;
  border-radius: 5px;
}

.copyright {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  margin-top: 30px;
  font-size: 0.9rem;
}

/* Hamburger Menu - Initially hidden for desktop */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
  z-index: 200;
}

.hamburger span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: #333;
  border-radius: 3px;
  transition: all 0.3s ease;
}

/* Media Queries */
@media (max-width: 992px) {

  body {
  padding-top: 58px;
}

  /* Tablet Styles */
  .header-inner {
    flex-wrap: wrap;
  }

  .logo {
    flex: 0 0 50%;
    order: 1;
  }

  .contact-info {
    /* flex: 0 0 50%; */
    order: 2;
    display: flex;
    justify-content: flex-end;
    align-items: center;
  }

  .hamburger {
    display: flex;
    margin-left: 20px;
  }

  .phone,
  .address {
    display: none;
  }

  .main-nav {
    display: none;
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    background-color: #fff;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    padding: 40px 30px 30px;
    z-index: 150;
    order: 3;
    flex: 0 0 100%;
  }

  .main-nav.active {
    display: block;
    right: 0;
  }

  .main-nav ul {
    flex-direction: column;
  }

  .main-nav.active ul::after {
    margin-top: 1em;
    content: "TEL : 022-288-1551";
  }

  .main-nav.active::after {
    content: "宮城県仙台市若林区六丁の目中町1番45号";
    font-size: 12px;
  }

  .main-nav li {
    margin: 0;
    border-bottom: 1px solid #eee;
    text-align: left;
  }

  .main-nav a {
    flex-direction: row;
    justify-content: flex-start;
    padding: 15px 0;
    display: block;
  }

  .en-text {
    margin-bottom: 0;
    margin-right: 10px;
    min-width: 100px;
    display: block;
  }

  .hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }

  .overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 50;
  }

  .overlay.active {
    display: block;
  }

  .hero-content {
    flex-direction: column;
    text-align: center;
  }

  .hero-text,
  .hero-image {
    flex: auto;

  }

  .hero-image {
    height: 200px;
  }

  .company-logo {
    max-width: 250px;
    margin: 0 auto 1em auto;
  }

  .slogan-box {
    max-width: 200px;
    margin: 0 auto 1em auto;
  }

  .hero-text p {
    font-size: 1.3rem;
  }

  .hero-text p br {
    display: none;
  }

  .message-wrapper {
    flex-direction: column;
  }

  .company-image {
    flex: auto;
    margin-bottom: 20px;
    display: none;
  }

  .feature-item {
    flex-direction: column;
  }

  .feature-image {
    flex: auto;
    height: 200px;
  }

  .news-image {
    margin: 20px auto;
  }

  .news-section .news-container {
    display: block;
  }

  .news-section .news-container img {
    margin: 20px 0;
  }

  .footer-info, .footer-image {
    margin: 0;
    width: 100%;
  }

  .news-list{
  width: 100%;
}
.youtube-bnr {
  width: 100%;
  margin: 0 auto;
}

}

@media (max-width: 768px) {

  /* Mobile Styles */
  .contact-info {
    flex-direction: column;
    align-items: flex-end;
  }

  .phone {
    font-size: 1.2rem;
  }

  .address {
    font-size: 0.7rem;
  }

  .hero-text {
    padding: 30px 20px;
  }

  .hero-text h1 {
    font-size: 1.5rem;
  }

  .hero-text p {
    font-size: 1rem;
  }

  .section {
    padding: 30px 0;
  }

  .section-title {
    font-size: 1.3rem;
  }

  .footer-inner {
    flex-direction: column;
  }

  .footer-image {
    text-align: left;
    margin-top: 30px;
  }

  .footer-image img {
    max-width: 100%;
  }
}

/******************************
下層ページのスタイル
******************************/

.page-titles {
  background-color: #F5CE29;
  padding: 0;
  position: relative;
  display: flex;
  width: 100%;
  align-items: center;
}

.page-titles h1 {
  width: 25%;
  padding: 50px;
  font-size: 28px;
}

.page-titles h1 span {
  color: #fff;
  font-size: 16px;
}

.page-titles::after {
  content: "";
  width: 75%;
  height: 250px;
  background: url("../img/top/main.jpg") no-repeat 50% 50%;
  background-size: cover;
}

.inner {
  padding: 0 20px;
}

.inner li {
  margin-left: 1.5em;
}

.common-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
  text-align: left;
}

.common-table th,
.common-table td {
  padding: 12px;
}

.common-table th {
  max-width: 210px;
}

@media (max-width: 992px) {
  .page-titles {
    display: block;
  }

  .page-titles h1 {
    width: 100%;
    padding: 10px 20px 20px 20px;
    margin: 0;
    line-height: 1.2;
  }

  .page-titles::after {
    display: none;
  }

  .inner {
    padding: 0 10px;
  }

  .common-table th,
  .common-table td {
    display: block;
    padding: 0;
  }

  .common-table td {
    margin-bottom: 1em;
    border-bottom: 1px dotted #ccc;
    padding-bottom: 10px
  }

}

.downloads{
  margin: 30px 0 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.download-col{
  padding: 30px;
  border-top: 1px dashed #ccc;
}
.download-col:nth-child(1),
.download-col:nth-child(2){
  border-top: none;
}
.download-col:nth-child(2n){
  border-left: 1px dashed #ccc;
}

.download-col h2 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  padding-left: 35px;
  background: url("../img/h3.svg") no-repeat left center;
  background-size: 18px;
}
.download-col p{
  font-size: 12px;
}
.download-col p.pdf{
  margin: 30px auto 20px auto;
  text-align: center;
  font-weight: bold;
  color: #000;
}
.download-col p.pdf a{
  display: inline-block;
  border: 2px solid #DF2929;
  border-radius: 60px;
  padding: 10px 30px 10px 70px;
  background: url("../img/pdf.svg") no-repeat;
  background-size: 24px;
  background-position: 30px 50%;
}
.download-col p.pdf a:hover{
  background-color: #d41717;
  color: #fff;
}


@media (max-width: 992px) {
  .downloads {
    display: block;
  }
  .download-col{
    border-top: none;
    border-bottom:  1px dashed #ccc;
    padding: 30px 10px;
  }
  .download-col:last-child{
    border: none;
  }
  .download-col:nth-child(2n){
    border-left: none;
  } 
  .spn{
    display: none;
  }
}

.contactform table {
  width: 100%;
  margin: 2em 0;
  border-collapse: collapse;
  margin-bottom: 20px;
}
.contactform table th,
.contactform table td{
  padding: 5px 0;
}

@media (max-width: 992px) {
  
  .contactform table th,
  .contactform table td{
    display: block;
    padding: 0;
    width: 100%;
    margin: 0;
  }
  .contactform table td input{
    margin-bottom: 2em;
  }
  .contactform table th{
    margin-bottom: 0 !important;
  }
  .contactform table td{
    padding: 5px 0 !important;
  }

  .submit br{
    display: none;
  }
}


.contactform table th{
  width: 230px;
  margin-bottom: 20px;
  padding-left: 35px;
  background: url("../img/h3.svg") no-repeat left center;
  background-size: 18px;
  text-align: left;
  vertical-align: middle;
}
.contactform table th span{
  font-size: 8px;
  color: #fff;
  background: #d41717;
  border-radius: 5px;
  padding: 3px 5px;
  margin-left: 10px;
  position: relative;
  top: -3px;
}
.contactform table td{
  padding: 5px 10px;
}
.contactform table td input,
.contactform table td select{
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}


.contactform table td select{
  width: auto;
}
.submit{
  text-align: center;
}
.submit input{
  display: inline-block;
  padding: 10px 30px;
  background-color:#0D89FD;
  color: #fff;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  text-align: center;
  border: none;
  margin: 0 auto;
}

.news-container{
    margin: 0 auto;
}
.news-item{
    display: flex;
    width: 100%;
    margin-bottom: 15px;
}
.news-date{
    margin-right: 20px;
}
.news-title a{
    color:#3c9a9a;
    text-decoration: underline;
}

.back{
    margin: 60px auto 0 auto;
    text-align: center;
}
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background-color: #F5CE29;
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
    cursor: pointer;
    font-size: 16px;
    width: 160px;
  }

  .button:hover {
    background-color: #F5CE29;
  }

  .button:active {
    background-color: #F5CE29;
  }
  
  .arrow-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    min-width: 18px;
    border-radius: 50%;
    background-color: white;
    color: #F5CE29;
    transition: transform 0.3s ease;
  }
  
  .button-forward {
    flex-direction: row-reverse;
  }
  
  .button-back .arrow-circle {
    margin-right: 4px;
  }
  
  .button-forward .arrow-circle {
    margin-left: 4px;
  }
  
  .button-back:hover .arrow-circle {
    transform: translateX(-3px);
  }
  
  .button-forward:hover .arrow-circle {
    transform: translateX(3px);
  }
  
  .button-text {
    text-align: center;
    flex-grow: 1;
  }
  
  .arrow-svg {
    width: 10px;
    height: 10px;
  }
  
  .news-container-detail{
    margin: 0 auto;
  }
  .detail-head{
    margin-bottom: 30px;
  }
  .detail-head h2{
    color: #000;
  }
    .detail-head p{
        text-align: right;
    }

  .detail-body{
    margin-bottom: 100px;
  }

  .reservation_btn{
    position: fixed;
    top: 40%;
    right: 0px;
    width: 120px;
    z-index: 999999999;
  }
  .reservation_btn:hover{
    opacity: 0.9;
}