@charset "utf8-";

:root {
  --main-color: #c2edec;
  --main-color2: #388087;
  --accent-color: #ff8551;
  --text-color: #2d3047;
  --big-text-color: white;
  --bg-light: var(--main-color);
  --bg--footer: #6fb3b8;
}

html {
  scroll-behavior: smooth;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body,
ul,
li,
ol,
dl,
dt,
dd,
h1,
h2,
h3,
h4,
h5,
h6 {
  padding: 0;
  margin: 0;
  font-size: 100%;
  font-weight: normal;
}

body {
  font-family: a-otf-ryumin-pr6n, "游明朝", "YuMincho", serif;
}

ul,
a {
  list-style-type: none;
  color: var(--text-color);
}

.w-container {
  padding-top: 60px;
}

.width-set {
  max-width: 1200px;
  margin: auto;
}

header {
  background-color: var(--main-color);
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-left: 40px;
  position: relative;
  z-index: 1000;
}

header h1 a {
  color: var(--text-color);
  font-size: 1.6em;
  font-weight: bold;
  text-decoration: none;
}

nav ul {
  display: flex;
  flex-direction: row;
  gap: 110px;
  list-style: none;
  margin: 0;
  padding: 0;
}

nav a {
  color: var(--text-color);
  text-decoration: none;
}

nav ul .contact-link a {
  background-color: var(--main-color2);
  color: white;
  padding: 30px 60px;
}

.hamburger {
  display: none;
  font-size: 30px;
  position: absolute;
  right: 20px;
  cursor: pointer;
}

/*------------------------------------------------------------------------------------------------------*/

#hero {
  position: relative;
  width: 100%;
  height: 90vh;
  background-image: url(../images/hero.png);
  background-size: cover;
  background-position: center;
  color: white;
  text-align: center;
}

#hero img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.hero-text {
  font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  font-size: 35px;
  font-weight: 500;
  text-shadow: 1px 3px 2px var(--text-color);
}

/*------------------------------------------news-----------------------------------------------*/
.latest-news-title {
  font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
  font-weight: 500;
  font-size: 25px;
  margin: auto;
  max-width: 1000px;
  width: 80%;
  /*	border-left: 10px solid #ccc;*/
  padding-left: 10px;
  padding-bottom: 5px;
  border-bottom: 1px solid #ccc;
}

.news-section-1 {
  width: 80%;
  max-width: 1000px;
  margin: auto;
  padding: 20px 0;
  text-align: left;
  font-family: "M PLUS Rounded 1c";
}

.section-title {
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 10px;
  font-weight: bold;
  padding-bottom: 10px;
  margin-bottom: 20px;
  flex-direction: column;
  text-align: right;
  height: auto;
  width: auto;
  line-height: 25px;
}

.section-title span {
  font-size: 200px;
  padding: 0;
  margin: 0;
}

.section-title div {
  display: flex;
  align-items: center;
  margin: 0;
  gap: 10px;
}

.strip {
  height: 2px;
  width: 40px;
  background-color: #8a8a8a;
}

.section-title div p {
  font-size: 23px;
}

.section-title span:first-child {
  font-size: 18px;
  color: #333;
}

.section-title span:last-child {
  font-size: 52px;
  color: #000;
}

.news-list-1 {
  list-style: none;
  padding: 0;
  margin: 0;
}

.news-list-1 li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 10px;
  border-bottom: 1px solid #eee;
}

.news-list-1 li a {
  text-decoration: none;
  color: var(--text-color);
}

.news-list-1 .text {
  font-size: 16px;
}

.text:hover {
  color: #8e8e8e;
  transition: 0.2s;
}

.date {
  width: 100px;
  font-size: 14px;
  color: var(--text-color);
  padding-right: 30px;
}

.next-page-button {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  font-size: 13px;
  padding: 5px 20px;
}

.next-page-button:hover {
  /* Lighter gray on hover */
  color: #a7a7a7;
  transition: 0.3s;
}

.next-page-button:hover .arrow {
  /* Move arrow 5px to the right */
  color: #ffffff;
  /* White arrow on hover */
}

.news-next {
  display: flex;
  justify-content: flex-end;
  padding-right: 130px;
}

.news-arrow {
  display: flex;
  justify-content: space-between;
  padding-right: 130px;
  padding-left: 130px;
}

/*---------------------------------profile----------------------------------------*/
.intro {
  background-color: var(--bg-light);
  padding: 60px 0 15px 0;
}

.intro-container {
  margin-top: 60px;
  display: flex;
  flex-direction: row;
  max-width: 1200px;
  margin: auto;
  justify-content: space-between;
  padding-left: 120px;
  padding-right: 120px;
}

.pf {
  max-width: 200px;
  width: 100%;
  text-align: center;
}

.pf img {
  max-width: 160px;
  width: 100%;
  height: auto;
}

.pf p {
  font-size: 13px;
  margin-top: 8px;
  font-weight: 900;
}

.pf-text {
  margin-top: 20px;
  max-width: 750px;
  width: 100%;
  padding-left: 20px;
}

.pf-text h3 {
  font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
  /* font-family: "Kokoro"; */
  font-weight: 600;
  font-size: 18px;
}

/*---------------------------------------------------blog card----------------------------------------------------*/

.carousel-wrapper {
  max-width: 1100px;
  margin: auto;
  font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
  text-align: center;
}

.carousel-wrapper h2 {
  font-weight: 500;
  font-size: 25px;
}

.carousel-wrapper h3 {
  font-weight: 500;
  font-size: 20px;
  margin-bottom: 30px;
  font-family: Auto;
}

.carousel-container {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
}

.carousel-viewport {
  overflow: hidden;
  width: 100%;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  gap: 10px;
}

.card {
  flex: 0 0 calc((100% - 20px) / 3);
  /* 3 cards with 2 gaps */
  border: 1px solid #ccc;
  box-sizing: border-box;
  background: #fff;
  padding: 0px 0px 10px 0px;
  box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.105);
  text-align: center;
}

.card h2 {
  font-weight: 500;
  font-size: 25px;
}

.card h3 {
  font-weight: 500;
  font-size: 20px;
  margin-bottom: 30px;
  font-family: Auto;
}

.card img {
  width: 100%;
  height: auto;
}

.card h3 {
  margin: 10px 0 5px;
}

.card p {
  padding-left: 25px;
  padding-right: 25px;
  text-align: center;
  font-family: a-otf-ryumin-pr6n, "游明朝", "YuMincho", serif;
}

.card a {
  font-family: a-otf-ryumin-pr6n, "游明朝", "YuMincho", serif;
  display: block;
  margin-top: 10px;
  color: #333;
  text-decoration: none;
  font-size: 14px;
  text-decoration: underline;
  text-decoration-color: #707070;
  text-underline-offset: 5px;
  padding-bottom: 10px;
}

.card a:hover {
  color: #9e9e9e;
  text-decoration: none;
  transition: 0.3s;
}

.nav {
  font-size: 2rem;
  background: #fff;
  border: 1px solid #ccc;
  padding: 5px 12px;
  cursor: pointer;
  border-radius: 5px;
}


.dots {
  margin-top: 15px;
}

.dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin: 0 4px;
  background: #ccc;
  border-radius: 50%;
  cursor: pointer;
}

.dot.active {
  background: #333;
}

/*-------------------------------------------------hint-------------------------------------------------*/
.hint-preview {
  max-width: 1000px;
  margin: auto;
  width: 90%;
}

.hint-preview h2 {
  font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
  font-weight: 500;
  font-size: 23px;
}

.hint-preview h3 {
  font-weight: 500;
  font-size: 18px;
  font-family: auto;
  margin-bottom: 20px;
}

.hint-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.hint-section a {
  text-decoration: none;
  display: block;
}

.hint-box {
  width: 100%;
  padding: 20px;
  background-color: rgba(194, 237, 236, 0.5);
  border: 1px solid var(--main-color2);
  color: var(--text-color);
  transition: background-color 0.3s ease;
}

/* Hover works fully now */
.hint-box:hover {
  background-color: var(--main-color2);
  color: white;
}

.hint-more {
  display: block;
  margin: auto;
  font-family: a-otf-ryumin-pr6n, "游明朝", "YuMincho", serif;
  border: none;
  border-radius: 8px;
  background-color: var(--accent-color);
  padding: 10px 35px;
  color: var(--big-text-color);
  font-size: 16px;
  margin-top: 20px;
  margin-bottom: 50px;
}

.hint-more a {
  text-decoration: none;
  color: white;
}

.hint-more:hover {
  background-color: var(--big-text-color);
  cursor: pointer;
  transition: 0.3s;
  color: var(--accent-color);
  border: 1px solid var(--accent-color);
  font-weight: bold;
}

.hint-more a:hover {
  color: var(--accent-color);
}

/*--------------------------------------------------footer--------------------------------------------------*/
.site-footer {
  background-color: var(--bg--footer);
  color: var(--text-color);
  padding: 60px 20px 20px;
  font-family: "Helvetica Neue", sans-serif;
}

/* Main container */
.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  /* Padding on left & right */
  box-sizing: border-box;
}

/* Left brand */
.footer-column.brand {
  flex: 1 1 300px;
}

.footer-column.brand h2 {
  font-size: 25px;
  font-weight: 500;
  margin-bottom: 10px;
}

.footer-column.brand p {
  font-size: 14px;
  line-height: 1.6;
}

/* Right group */
.footer-right-group {
  display: flex;
  gap: 60px;
  margin-left: auto;
  flex-wrap: wrap;
}

/* Shared column styling */
.footer-column {
  min-width: 160px;
  flex: 0 0 auto;
}

.footer-column h3 {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 10px;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: 8px;
  font-size: 14px;
}

.footer-column a {
  text-decoration: none;
  color: var(--text-color);
  transition: opacity 0.3s;
}

.footer-column a:hover {
  opacity: 0.6;
}

.footer-bottom {
  text-align: center;
  margin-top: 40px;
  font-size: 12px;
  color: var(--text-color);
}

/*------------------------------------------------blog page---------------------------------------------------*/

#hero1 {
  position: relative;
  width: 100%;
  height: 65vh;
  background-image: url(../images/odawara.png);
  background-size: cover;
  background-position: center;
  text-align: center;
  background-repeat: no-repeat;
}

#hero1 img {
  width: auto;
  height: auto;
  display: block;
  object-fit: cover;
}

.title-overlay {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  position: relative;
  width: 100%;
  height: 416px;
}

.title-overlay-contain {
  color: white;
  width: 400px;
  padding: 20px 30px 20px 30px;
  background-color: rgba(46, 46, 46, 0.4);
  position: relative;
  text-align: left;
  padding-left: 110px;
}

.title-overlay-contain h2,
h3 {
  font-family: Auto;
}

.title-overlay-contain h2 {
  font-size: 25px;
  font-weight: 500;
}

.filters {
  text-align: center;
  margin-bottom: 40px;
}

.filters button {
  background-color: #e0f7f7;
  border: none;
  border-radius: 20px;
  padding: 10px 20px;
  margin: 5px;
  cursor: pointer;
  font-size: 14px;
}

.filters button:hover {
  background-color: #b8ecec;
}

.card-grid-1 {
  max-width: 1100px;
  margin: auto;
  /* display: flex;
  flex-wrap: wrap; */
  /* gap: 15px; */
  /* Adjust according to your design */
  justify-content: center;
  padding-left: 20px;
  padding-right: 20px;
}

.card-grid-1 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.pagination {
  text-align: center;
  margin-top: 30px;
  margin-bottom: 30px;
}

.pagination a {
  margin: 0 5px;
  color: var(--text-color);
  text-decoration: none;
  font-size: 15px;
}

.pagination a:hover {
  text-decoration: underline;
}

.to-hint-container {
  margin: auto;
  text-align: center;
  background-color: rgba(194, 237, 236, 0.5);
  padding-top: 50px;
  padding-bottom: 10px;
  margin-top: 60px;
  margin-bottom: 50px;
}

/*-------------------------------------------------article style----------------------------------------------*/

.article-title {
  margin: auto;
  max-width: 800px;
  width: 100%;
  padding: 50px 20px 30px 20px;
}

.article-title h2 {
  text-align: left;
  font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
  font-size: 1.4em;
  font-weight: 500;
}

.article-title h3 {
  text-align: left;
  font-family: auto;
  font-weight: 500;
}

.blog-main-img {
  max-width: 100%;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* Blog Post Styles */
.blog-post {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}

.blog-post h2 {
  text-align: center;
  margin-bottom: 5px;
  font-size: 25px;
  font-weight: 500;
  font-family: auto;
  margin-top: 30px;
}

.post-meta {
  text-align: center;
  color: var(--text-color);
  font-size: 0.9em;
  margin-bottom: 30px;
}

.featured-image {
  width: 100%;
  border-radius: 5px;
  margin-bottom: 20px;
}

.blog-post section {
  margin-bottom: 30px;
}

.blog-post h3 {
  border-left: 5px solid var(--accent-color);
  padding-left: 10px;
  margin-bottom: 15px;
  font-weight: 500;
  font-family: auto;
  font-size: 18px;
}

.quick-facts table,
.cost table {
  width: 100%;
  border-collapse: collapse;
}

.quick-facts th,
.cost th {
  background-color: rgba(194, 237, 236, 0.5);
  text-align: left;
  padding: 8px;
  font-family: auto;
  font-weight: 500;
}

.cost td {
  border-bottom: 1px solid #ddd;
  padding: 8px 8px 8px 8px;
}

.quick-facts td {
  border-bottom: 1px solid #ddd;
  padding: 8px 8px 8px 15px;
}

.flow-img {
  display: flex;
  max-width: 800px;
  width: auto;
  margin: auto;
  justify-content: space-between;
  padding-left: 0;
  padding-right: 0;
}

.post-image {
  max-width: 245px;
  height: auto;
}

.tips ul {
  list-style: disc;
  margin-left: 20px;
}

.conclusion p {
  font-weight: bold;
  text-align: center;
}

.post-cta {
  text-align: center;
  margin: 40px 0;
}

/* Existing CTA Button */
.cta-button {
  display: inline-block;
  background-color: var(--accent-color);
  color: white;
  padding: 10px 25px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: var(--big-text-color);
  cursor: pointer;
  transition: 0.3s;
  color: var(--accent-color);
  border: 1px solid var(--accent-color);
  font-weight: bold;
}

/*----------------------------------------------------tip section-------------------------------------------------------------------*/

#hero2 {
  position: relative;
  width: 100%;
  height: 65vh;
  background-image: url(../images/tip.png);
  background-size: cover;
  background-position: center;
  text-align: center;
  background-repeat: no-repeat;
}

#hero2 img {
  width: auto;
  height: auto;
  display: block;
  object-fit: cover;
}

#hero2 .title-overlay .title-overlay-contain {
  color: white;
  width: 400px;
  padding: 20px 30px 20px 30px;
  background-color: transparent;
  position: relative;
  text-align: left;
  padding-left: 110px;
}

.tips-cards {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 20px;
  text-align: center;
}

.tips-cards h2 {
  font-size: 28px;
  margin-bottom: 10px;
}

.tips-cards p {
  margin-bottom: 40px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
}

.tip-card {
  background: rgba(194, 237, 236, 0.5);
  padding: 40px 20px 20px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: left;
  transition: transform 0.2s ease;
  margin-bottom: 10px;
}

.tip-card:hover {
  transform: translateY(-5px);
}

.tip-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
  border-left: 6px solid var(--accent-color);
  padding-left: 10px;
  font-family: auto;
  font-weight: 500;
}

.tip-card p {
  margin-bottom: 15px;
  flex-grow: 1;
}

.tip-card a {
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 500;
  font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
  align-self: flex-start;
  padding-bottom: 20px;
}

.tip-card a:hover {
  /* text-decoration: underline; */
  color: #000;
  font-weight: bold;
}

.tip-card .card-footer {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-top: auto;
}

/*----------------------------------------------contact-----------------------------------------------------*/

/* .contact {
  margin: auto;
  width: 650px;
} */

.contact-padding {
  background-color: rgba(194, 237, 236, 0.5);
  padding: 40px 0;
  margin: 0;
  box-sizing: border-box;
}

.contact-padding .contact-outer-padding {
  background-color: white;
  margin: auto;
  padding: 20px 20px 30px 20px;
  max-width: 650px;
  width: auto;
}

/*table*/
table {
  height: 100%;
  width: 100%;
}

#form1 table {
  width: 100%;
  border: 1px solid #ccc;
  border-collapse: collapse;
  margin-bottom: 30px;
  align-items: center;
}

#form1 table th {
  font-size: 18px;
  border: 1px solid #ccc;
  padding: 15px;
  text-align: left;
  background-color: #e5e5e5;
  padding-right: 40px;
}

#form1 table td {
  border: 1px solid #ccc;
  padding: 15px;
}

tr td #textfield {
  width: 300px;
}

tr td #email {
  width: 300px;
  height: 40px;
}

tr td #text {
  width: 300px;
  height: 20px;
}

tr td #textarea {
  width: 300px;
  height: 100px;
}

.button {
  text-align: center;
}

#form1 .button #submit {
  width: 100px;
  height: 30px;
}

#form1 .button #reset {
  width: 100px;
  height: 30px;
}

/* .contact-padding {
  padding-top: 40px;
  padding-bottom: 40px;
  margin: auto;
  background-color: #F2F8FC;
  width: 100%;
} */

/*end of form*/
.comment div h4 {
  font-size: 23px;
  padding-top: 50px;
  margin: auto;
  text-align: center;
  font-weight: 200;
  padding-left: 40px;
  padding-right: 40px;
}

.comment div h5 {
  font-size: 23px;
  margin: auto;
  text-align: center;
  font-weight: 200;
  padding: 10px 20px 15px 20px;
}

.contact-hori-line {
  height: 2px;
  width: 150px;
  margin: auto;
  background-color: #ccc;
  margin-top: 5px;
}

.category {
  position: relative;
  float: left;
  padding-left: 30px;
  display: flex;
}

.contact-logo {
  margin: auto;
  display: flex;
  justify-content: center;
  padding: 30px 80px 100px 30px;
}

/*------------------------------------------media query-------------------------------------------------------*/
@media (max-width: 1200px) {}

@media (max-width: 900px) {
  .card {
    flex: 0 0 calc((100% - 10px) / 2);
  }
}

@media (max-width: 900px) {
  header {
    flex-wrap: wrap;
    height: auto;
    padding: 20px;
  }

  header nav ul {
    flex-direction: column;
    width: 100%;
    gap: 10px;
    background-color: var(--bg-light);
    padding: 10px 0 0 0;
    align-items: center;
    text-align: center;
    gap: 30px;
  }

  .block {
    width: 100%;
    height: 50px;
  }

  .hamburger {
    display: block;
  }

  nav {
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: var(--main-color);
    display: none;
    flex-direction: column;
  }

  nav.active {
    display: flex;
  }

  nav ul {
    flex-direction: column;
    gap: 20px;
    padding: 20px;
    align-items: flex-start;
  }

  .hamburger {
    display: block;
  }

  nav ul .contact-link {
    width: 100%;
  }

  nav ul .contact-link a {
    display: block;
    width: 100%;
    text-align: center;
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .flow-img {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
}

@media screen and (max-width: 600px) {
  .intro-container {
    flex-direction: column;
    padding-left: 40px;
    padding-right: 40px;
    text-align: center;
  }

  .pf {
    max-width: none;
  }

  .comment div h5 {
    font-size: 20px;
  }

  .card {
    flex: 0 0 100%;
  }

  .carousel-container {
    padding-left: 10px;
    padding-right: 10px;
  }

  .hint-box {
    padding: 16px;
    font-size: 14px;
  }

  .hint-preview h2 {
    font-size: 20px;
  }

  .hint-preview h3 {
    font-size: 16px;
  }

  #form1 table,
  #form1 tbody,
  #form1 tr {
    display: block;
    width: 100%;
  }

  #form1 table th,
  #form1 table td {
    display: block;
    width: 100%;
    box-sizing: border-box;
    /* padding: 10px 0; */
    border: none;
    border-bottom: 1px solid #ccc;
  }

  #form1 table th {
    padding-right: 0;
    background-color: transparent;
    font-weight: bold;
    background-color: #e5e5e5;
  }

  #form1 input[type="text"],
  #form1 input[type="email"],
  #form1 textarea {
    width: 100% !important;
    box-sizing: border-box;
  }
}