@charset "UTF-8";

/*-------------------------------------------
  Reset
-------------------------------------------*/

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

html {
  scroll-behavior: smooth;
  height: 100%;
  font-size: 100%;
  overflow-x: hidden;
  overflow-y: visible;
}

body {
  height: 100%;
  line-height: 1.5;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: #f9f9f9;
  color: #333;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  padding: 0;
}

ul, ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

img {
  display: block;
  max-width: 100%;
}

a {
  text-decoration: none;
  color: #999;
}

button,input,textarea,select,
pre,code,kbd,samp,
legend,table,caption,summary,
optgroup,option,output,
abbr,cite,dfn,var {
  font-family: inherit;
}

address {
  font-style: normal;
}

blockquote,
q {
  quotes: none;
}

table {
  border-spacing: 0;
  border-collapse: collapse;
}

fieldset {
  border: none;
}

summary {
  list-style: none;
  cursor: pointer;
}

video, audio {
  display: block;
}

mark {
  background: transparent;
}

hr {
  border: none;
}

/*-------------------------------------------
  Common
-------------------------------------------*/

.wrapper {
  width: 100%;
  max-width: 1032px;
  padding: 0 16px;
  margin: 0 auto;
}

.section-title {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 40px;
}

.site-title a {
  display: block;
}

.section-title .en {
  display: block;
  font-size: 2.5rem;
  letter-spacing: 0.5rem;
  color: #777;
}

.section-title .ja {
  font-weight: bold;
  font-size: 1rem;
}

/*-------------------------------------------
  Header
-------------------------------------------*/

.header-container {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: #fff;
  z-index: 1000;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 8px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-title {
  font-size: 1rem;
  border: 1px solid #333;
  padding: 8px;
  background-color: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.site-title a:hover {
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.header-menu {
  display: flex;
  align-items: center;
}

.header-menu ul {
  display: flex;
  padding: 0;
  margin: 0;
}

.header-menu-item {
  margin-right: 32px;
  color: #333;
  transition: color 0.3s ease, opacity 0.3s ease;
}

.header-menu-item:hover {
  color: #444;
  text-decoration: underline;
  cursor: pointer;
  opacity: 0.8;
}

/*-------------------------------------------
  Hero-Section
-------------------------------------------*/

.hero-section {
  margin-bottom: 8rem;
  overflow: hidden;
}
.hero-section img {
  width: 100%;
  height: calc(100vh - 80px);
  object-fit: cover;
  transition: opacity 0.5s ease-in-out;
}

.hero-section img:hover {
  opacity: 0.8;
}

/*-------------------------------------------
  News
-------------------------------------------*/

.news-container {
  max-width: 1200px;
  margin: 0 auto 8rem;
  padding: 64px 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}

.news-container article {
  flex: 1 1 calc(33.333% - 16px);
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 16px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-container article:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.date-area {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
  font-size: 1rem;
  color: #555;
}

.category {
  background: #333;
  color: #fff;
  font-size: 0.75rem;
  font-weight: bold;
  padding: 4px 8px;
  border-radius: 4px;
  margin-left: 8px;
  text-transform: uppercase;
}

.category.important {
  background: #d9534f;
}

.category.event {
  background: #5bc0de;
}

.news-title {
  font-size: 1rem;
  font-weight: bold;
  margin: 0;
}

.news-title a {
  text-decoration: none;
  color: #333;
  display: inline-block;
  transition: color 0.3s ease;
}

.news-title a:hover {
  color: #444;
  text-decoration: underline;
  cursor: pointer;
  opacity: 0.8;
}

/*-------------------------------------------
  Modal
-------------------------------------------*/

.modal-box {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 1000;
}

.modal-content {
  display: flex;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  width: 80%;
  max-width: 800px;
}

.modal-left {
  flex: 1;
}

.modal-right {
  flex: 1;
  padding-left: 24px;
}

.modal-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.close-btn {
  position: absolute;
  top: 8px;
  right: 9px;
  font-size: 2rem;
  color: #000;
  cursor: pointer;
}

.modal-title {
  font-size: 24px;
  margin-bottom: 24px;
}

.modal-body {
  font-size: 1rem;
  line-height: 1.6;
}

.news-content {
  display: none;
}

/*-------------------------------------------
  About
-------------------------------------------*/

.about-section {
  padding: 80px 5%;
  background-color: #f9f9f9;
}

.about-container {
  display: flex;
  align-items: center;
  gap: 5%;
  max-width: 1200px;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease-out, transform 1s ease-out;
  margin-bottom: 8rem;
}

.about-img,
.about-text {
  width: 50%;
}

.about-img img {
  width: 100%;
  height: auto;
  max-height: 352px;
  object-fit: cover;
  border-radius: 8px;
}

.about-text {
  padding: 24px;
}

.about-text .section-title {
  font-size: 2rem;
  margin-bottom: 16px;
}

.about-text .section-title .en {
  display: block;
  font-size: 2.5rem;
  font-weight: bold;
  text-transform: uppercase;
  color: #333;
}

.about-text .section-title .ja {
  display: block;
  font-size: 1rem;
  color: #777;
}

.about-text p {
  line-height: 1.6;
  color: #555;
  margin-bottom: 16px;
}

.about-container.fade-in {
  opacity: 1;
  transform: translateY(0);
}

/*-------------------------------------------
  Works
-------------------------------------------*/

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

.item {
  transition: all 0.3s ease;
  box-shadow: 0 0 8px 4px #ccc;
  display: flex;
  flex-direction: column;
}

.grid img {
  vertical-align: top;
  object-fit: cover;
  width: 100%;
  height: 240px;
}

.item-content {
  padding: 32px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.works-section .grid .item-cat {
  font-size: 0.75rem;
  margin-bottom: 24px;
}

.item-text {
  font-weight: bold;
  margin-bottom: 24px;
}

.item-date {
  font-size: 0.75rem;
  text-align: right;
}

.grid a:hover {
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

/*-------------------------------------------
  Company
-------------------------------------------*/

.company-section {
  max-width: 1240px;
  padding: 104px 16px 48px 16px;
  margin: 0 auto 8px auto;
}

.company-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px;
  position: relative;
  flex-wrap: wrap;
}

.company-info {
  flex: 1;
  min-width: 280px;
  background-color: #fff;
  padding: 80px 8% 80px 8%;
  z-index: 1;
  position: relative;
}

.company-details {
  border-top: 2px solid #333;
  padding-top: 8px;
}

.company-details dt {
  font-weight: bold;
  margin-top: 8px;
}

.company-details dd {
  margin: 4px 0 8px 16px;
  line-height: 1.6;
}

.company-image {
  flex: 0 0 48%;
  max-width: 584px;
  position: relative;
  z-index: 2;
  top: 80px;
  right: 80px;
}

.company-image img {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: cover;
}

.company-map {
  position: absolute;
  bottom: 0;
  right: 0;
  top: 480px;
  right: 16px;
  z-index: 2;
  width: 100%;
  max-width: 580px;
  margin-top: 24px;
  border: none;
}

.company-map iframe {
  width: 576px;
  height: 544px;
}

/*-------------------------------------------
  Contact
-------------------------------------------*/

.contact-wrapper {
  max-width: 1240px;
  padding: 104px 16px 48px;
  margin: 0 auto 8px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 0 8px 4px #ccc;
}

.form-group {
  display: flex;
  flex-direction: column;
  padding-top: 8px;
  padding-left: 24px;
}

.form-group:first-of-type {
  margin-top: 32px;
}

.form-label {
  font-weight: bold;
  margin-bottom: 16px;
}

.form-input {
  width: 280px;
  height: 24px;
}

.inquiry-options {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  padding-left: 24px;
  margin-top: 16px;
}

.inquiry-details-legend {
  font-weight: bold;
  margin-bottom: 16px;
}

.checkbox-option-label {
  margin-right: 16px;
  margin-bottom: 8px;
}

.form-textarea {
  width: 90%;
  height: 200px;
}

.privacy-content {
  margin-top: 16px;
  margin-left: 24px;
}

.privacy-policy-text {
  max-height: 200px;
  overflow-y: auto;
  padding: 8px;
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 4px;
  margin-top: 8px;
  margin-bottom: 32px;
  margin-right: 24px;
}

.privacy-policy-text p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.8;
}

.required {
  background-color: #d9534f;
  color: #fff;
  font-size: 0.6875rem;
  font-weight: bold;
  padding: 4px 8px;
  margin-left: 8px;
  border-radius: 24px;
}

.form-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 20px;
  flex-wrap: wrap;
}

button {
  display: inline-block;
  padding: 16px;
  font-size: 1rem;
  font-weight: bold;
  border: none;
  border-radius: 24px;
  width: 180px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease-in-out;
  margin-bottom: 32px;
}

button[type="submit"] {
  background-color: #1e88e5;
  color: #fff;
  margin: 0 auto 1rem;
  display: block;
}

button[type="submit"]:hover {
  background-color: #0056b3;
  transform: translateY(-2px);
}

button[type="submit"]:active {
  background-color: #004085;
  transform: translateY(0);
}

.toast-message {
  display: none;
  opacity: 0;
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #fff;
  color: #333;
  padding: 10px 20px;
  border-radius: 5px;
  transition: opacity 0.5s ease-in-out;
}

.toast-message.show {
  display: block;
  opacity: 1;
}

.toast {
  display: none;
  background-color: #fff;
  color: #333;
  padding: 16px;
  position: fixed;
  bottom: 16px;
  right: 16px;
  z-index: 999;
  border: 1px solid #333;
  font-size: 16px;
  text-align: center;
}

/*-------------------------------------------
  Footer
-------------------------------------------*/
.footer-flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 8px;
  background-color: #fff;
  padding: 0 16px;
}

.footer-flex > .logo {
  flex-shrink: 0;
}

.footer-flex > .info {
  text-align: right;
}

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

.info {
  font-size: 1rem;
  font-style: normal;
  line-height: 1.6;
  color: #333;
}

.copyright {
  width: 100%;
  text-align: center;
  font-size: 0.75rem;
  color: #777;
  margin-top: 1rem;
}

/*-------------------------------------------
  Responsive Hamburger-Menu
-------------------------------------------*/
.hamburger-menu {
  display: none;
}

@media screen and (max-width: 768px) {
  .hamburger-menu {
    display: block;
    position: relative;
    width: 40px;
    height: 32px;
    right: 16px;
    top: 16px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 100;
  }

  .hamburger-menu span {
    display: block;
    position: absolute;
    width: 100%;
    height: 4px;
    background: #333;
    transition: 0.3s;
  }

  .hamburger-menu span:nth-child(1) {
    top: 0;
  }

  .hamburger-menu span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
  }

  .hamburger-menu span:nth-child(3) {
    bottom: 0;
  }

  .hamburger-menu.open span:nth-child(1) {
    transform: translateY(13px) rotate(45deg);
  }

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

  .hamburger-menu.open span:nth-child(3) {
    transform: translateY(-13px) rotate(-45deg);
  }

  .header-menu {
    display: none;
    position: absolute;
    top: 64px;
    right: 0;
    width: 50%;
    background: white;
    text-align: left;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 999;
  }

  .header-menu.active {
    display: block;
  }

  .header-menu ul {
    display: flex;
    flex-direction: column;
    padding: 0;
    margin: 0;
  }

  .header-menu-item {
    padding: 16px;
    display: block;
    border-bottom: 1px solid #ddd;
  }

  .header-menu-item:hover {
    color: #444;
    text-decoration: underline;
    cursor: pointer;
    opacity: 0.8;
  }
}

/*-------------------------------------------
  Responsive News
-------------------------------------------*/
@media (max-width: 1024px) {
  article {
    flex: 1 1 calc(50% - 12px); /* 2カラム表示 */
  }
}

@media (max-width: 768px) {
  .news-container {
    flex-direction: column;
  }
  article {
    flex: 1 1 100%; /* 1カラム表示 */
  }
}

/*-------------------------------------------
  Responsive Modal
-------------------------------------------*/

@media screen and (max-width: 768px) {
  .modal-content {
    width: 88%;
    padding: 16px;
  }

  .modal-left {
    flex: 1;
    margin-right: 12px; /* 画像右に余白追加 */
  }

  .modal-right {
    flex: 1;
    padding-left: 0;
  }

  .modal-title {
    font-size: 0.875rem;
    margin-bottom: 16px;
  }

  .modal-body {
    font-size: 0.875em;
  }

  .modal-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
  }

  .close-btn {
    font-size: 1.25rem;
    top: 0;
    right: 4px;
  }
}

/*-------------------------------------------
  Responsive About
-------------------------------------------*/

@media screen and (max-width: 768px) {
  .about-container {
    flex-direction: column;
    text-align: center;
    gap: 2%;
  }

.about-img,
.about-text {
    width: 100%;
  }

  .about-text {
    padding-top: 32px;
  }

  .about-text .section-title {
    font-size: 2rem;
  }

  .about-text .section-title .ja {
    font-size: 1rem;
  }
}

/*-------------------------------------------
  Responsive Company
-------------------------------------------*/

@media screen and (max-width: 768px) {
  .company-section {
    padding: 64px 16px 32px 16px;
    max-width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
  }

  .company-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0;
    gap: 24px;
  }

  .company-info {
    padding: 32px 16px;
    width: 100%;
    max-width: 640px;
    background-color: #f9f9f9;
    box-sizing: border-box;
  }

  .company-image {
    width: 100%;
    max-width: 640px;
    top: 0;
    right: 0;
    position: relative;
  }

  .company-image img {
    width: 100%;
    height: auto;
    max-height: 320px;
    object-fit: cover;
  }

  .company-map {
    position: relative;
    top: auto;
    right: auto;
    width: 100%;
    max-width: 640px;
    margin: 24px auto 0 auto;
    border: 2px solid #333;
    box-sizing: border-box;
  }

  .company-map iframe {
    width: 100%;
    height: 280px;
    display: block;
  }
}

/*-------------------------------------------
  Responsive Contact
-------------------------------------------*/

@media screen and (max-width: 768px) {
  .contact-wrapper {
    padding: 64px 16px 32px;
    margin: 0 auto;
    box-sizing: border-box;
  }

  .contact-form {
    box-shadow: none;
    padding: 0;
    gap: 24px;
  }

  .form-group {
    padding: 0;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
  }

  .form-input {
    width: 100%;
    height: 40px;
    font-size: 0.875rem;
    padding: 8px;
    box-sizing: border-box;
  }

  .form-label {
    margin-bottom: 8px;
    font-size: 0.875rem;
  }

  .inquiry-options {
    flex-direction: column;
    padding-left: 0;
    margin-top: 8px;
  }

  .checkbox-option-label {
    margin-right: 0;
    margin-bottom: 12px;
    font-size: 0.95rem;
  }

  .form-textarea {
    width: 100%;
    height: 160px;
    font-size: 1rem;
    padding: 8px;
    box-sizing: border-box;
  }

  .privacy-content {
    margin: 16px 0 0 0;
    width: 100%;
    box-sizing: border-box;
  }

  .privacy-policy-text {
    margin: 16px 0 24px;
    padding: 12px;
    border-radius: 4px;
    font-size: 0.875rem;
  }

  .form-actions {
    flex-direction: column;
    gap: 16px;
    margin-top: 24px;
    align-items: center;
  }

  button {
    width: 100%;
    max-width: 280px;
    font-size: 1rem;
    padding: 12px;
    margin-bottom: 16px;
  }

  button[type="submit"] {
    margin: 0 auto 24px;
  }

  .toast-message {
    font-size: 0.9rem;
    padding: 10px 16px;
    bottom: 16px;
  }

  .toast {
    font-size: 0.9rem;
    padding: 12px;
    bottom: 16px;
    right: 16px;
  }
}

/*-------------------------------------------
  Responsive Footer
-------------------------------------------*/
@media (max-width: 768px) {
  .footer-flex {
    flex-direction: column;
    text-align: center;
  }
  .info {
    font-size: 1rem;
    text-align: center;
  }
}


