@charset "utf-8";

/* ==================== 全体設定 ==================== */

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

* {
  margin: 0;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    interpolate-size: allow-keywords;
  }
}

body {
  line-height: 1.5;
  text-rendering: optimizeSpeed;
  -webkit-font-smoothing: antialiased;
        content: "";
        display: block;
        position: fixed;
        top:0;
        left:0;
        width:100vw;
        height:100vh;
        background:url(../img/79642439_Watercolour\ Light\ Blue\ Background.svg);
        background-size: cover;
        background-position: center;
        opacity: 0.99;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

input,
button,
textarea,
select {
  font: inherit;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

p {
  text-wrap: pretty;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  text-wrap: balance;
}

:root {
  --color-black: #000;
  --color-white: #fff;
  --color-green: #00aecc;
  --color-gray: #f0f0f0;
  --color-red: #d8374e;
  --font-lato: 'Lato', sans-serif;
  --font-noto-san-jp: 'Noto Sans JP', sans-serif;
  --font-oswald: 'Oswald', sans-serif;
  --font-roboto: 'Roboto', sans-serif;
  --sm: 575.98px;
  --md: 767.98px;
  --lg: 991.98px;
  --xl: 1199.98px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

html,
body {
  color: var(--color-black);
  font-family: 'Noto Sans JP', sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-size: 16px;
  background-color: #fff;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex-grow: 1;
}

ul {
  list-style-type: none;
  padding-left: 0;
}

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

.container {
  max-width: 1440px;
  margin: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.section-title {
  font-weight: 700;
  /* margin-left: 160px; */
  background-color: var(--color-gray);
  padding-top: 90px;
  padding-bottom: 90px;
  padding-right: 0;
  padding-right: 0;
}
  @media (max-width: 991.98px) {
    .section-title {
    margin-left: 80px;
  }}
  @media (max-width: 767.98px) {
    .section-title {
    padding-top: 50px;
    padding-bottom: 50px;
  }}
 
.section-title .en {
  font-family: var(--font-oswald);
  font-size: 60px;
  color: #02aecc;
  opacity: 0.2;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
@media (max-width: 575.98px) {
    .section-title .en {
    font-size: 40px;
  }
} 

.section-title .ja {
  font-size: 22px;
  font-weight: 700;
  display: block;
  margin-top: -30px;
  letter-spacing: 0.06em;
}
  @media (max-width: 575.98px) {
    .section-title .ja {
    margin-top: -20px;

    font-size: 18px;
  }
} 

/* ==================== HEADER ==================== */

.header {
  padding-left: 40px;
  padding-right: 48px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background-color: var(--color-white);
  transition: box-shadow 0.3s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
  @media (max-width: 575.98px) {
    .header {
    flex-direction: column;
    gap: 24px;
    padding-bottom: 30px;
    padding-left: 0;
    padding-right: 0;
  }
}

.header.scrolled {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}


/* ==================== LOGO ==================== */

.logo {
  display: block;
  width: 200px;
  height: auto;
}
  @media (max-width: 575.98px) {
    .logo {
    width: 113px;
    height: auto;
  }
}

/* ==================== MENU ==================== */

.menu-list {
  display: flex;
  justify-content: center;
  /* gap: 38px; */
}

.menu-item {
  line-height: 1.2;
}

.menu-item:nth-of-type(2) {
  margin-right: 38px;
  margin-left: 53px;
}

.menu-link {
  font-family: var(--font-lato);
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ==================== NEWS ==================== */


/* .news-page {
  padding-top: 120px;
} */
/* 
.news-page .section-title {
  
  margin-left: 0;
} */

 .section-title  {
  margin-left: 0;
  background-color: var(--color-gray);
  text-align: center;
 }
  @media (max-width: 575.98px) {
    .section-title  {
    margin-bottom: 15px;
  }
}

.news-category-content{
  padding-top: 200px;
  text-align: center;
  padding-bottom: 90px; 
}
  @media (max-width: 575.98px) {
    .news-category-content  {
    padding-bottom: 0px; 
  }
}

.news-page-list {
  max-width: 1040px;
  min-height: 400px;
  margin: auto;
  padding: 10px 20px 48px 20px;
}

.news-page-list-item {
  display: flex;
  align-items:center;
  gap: 70px;
  border-bottom: 1px solid #d8d8d8;
  font-weight: 500;
  padding: 29px 19px 26px 19px;
}

 @media (min-width: 768px) {
  .news-page-list-item {
     font-size: 16px;
}} 

.news-page-list-item a {
  color: #000;
  transition: color 0.2s ease-in-out;
}

.news-page-list-item a:hover {
  color: var(--color-green);
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  margin-bottom: 92px;
}
 @media (max-width: 575.98px) {
  .pagination {
    gap: 10px;
    width: 100%;
}} 


.pagination-nav {
  background: none;
  border: 1px solid var(--color-green);
  color: var(--color-green);
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  transition: all 0.2s ease-in-out;
  height: 40px;
  width: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pagination-nav span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.pagination-nav:hover:not(:disabled) {
  background-color: var(--color-green);
  color: white;
}

.pagination-nav:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.pagination-numbers {
  display: flex;
  gap: 20px;
}

.pagination-number {
  background: none;
  border: 1px solid var(--color-green);
  color: #5cbccb;
  width: 40px;
  height: 40px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  transition: all 0.2s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pagination-number:hover {
  background-color: rgba(92, 188, 203, 0.1);
}

.pagination-number.active {
  background-color: var(--color-green);
  color: white;
}

.pagination-dots {
  color: var(--color-green);
  font-weight: 500;
  padding: 0 8px;
}

.news-page-post {
  padding-top: 50px;
  max-width: 1070px;
  margin: auto;
  padding-left: 20px;
  padding-right: 20px;
  padding-bottom: 70px;
  display: inline-block;
  border-bottom: 1px solid #d8d8d8;
}


