@charset "utf-8";

/* ===================================================
  Variables
====================================================== */
:root {
  --crimson: #8D0D27;
  --crimson-dark: #6B1222;
  --cream: #F5EFE6;
  --cream-dark: #EDE3D6;
  --sand: #B5937C;
  --charcoal: #1C1C1C;
  --charcoal-light: #2c2c2c;
  --warm-white: #FDFAF6;
  --text-main: #2A2018; /* 基本の文字色 */
  --text-sub: #6B5F52;  /* 補足・ラベル用 */
}


/* ===================================================
  Base CSS
====================================================== */
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
div { box-sizing: border-box; }

body {
  min-height: 100vh;
  background: var(--charcoal-light);
  color: var(--text-main);
  font-size: 16px;
  font-weight: normal;
  line-height: 1.8;
  font-family: "游ゴシック", YuGothic, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "Osaka", "Verdana", "Helvetica", "Arial", "ＭＳ Ｐゴシック", sans-serif;
  -webkit-text-size-adjust: 100%;
  position: relative;
  font-feature-settings: "palt";
  letter-spacing: 0.08em;
  overflow-x: hidden;
}

a { color: var(--text-main); text-decoration: none; transition: all .5s; }

.ofi { object-fit: cover; width: 100%; height: 100%; }


@media screen and (max-width: 768px) {
  body { min-width: 0;}
}

@media screen and (hover:hover) and (min-width: 601px) {
  a:hover { opacity: .8; }
}


/* ===================================================
  wrap
====================================================== */
#wrap{ margin: 0 auto; max-width: 1400px; position: relative; }


/* ===================================================
  Header
====================================================== */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  padding: 0 40px;
  height: 90px;
  background: var(--charcoal);
  z-index: 100;
  line-height: 1;
}

.header_inner{
  margin: 0 auto; max-width: 1400px; height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site_title{
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  padding: 10px 0;
  height: 100%;
  box-sizing: border-box;
}

.logo img{ display: block; height: 100%;}


/* --- gnav --- */
.gnav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.gnav a {
  display: inline-block;
  padding: 0 22px;
  color: #fff; 
  line-height: 90px;
  letter-spacing: 0.08em;
  background: var(--crimson);
  transition: all .5s;
}

@media screen and (hover:hover) and (min-width: 601px) {
  .gnav a:hover { background: var(--crimson-dark); opacity: 1; }
}


/* --- hamburger --- */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px; height: 36px;
  cursor: pointer;
  background: none; border: none;
  padding: 4px;
  z-index: 200;
}

.hamburger span {
  display: block;
  height: 2px;
  background: #fff; border-radius: 2px;
  transition: all .5s;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --- mobile nav --- */
.mobile_nav {
  display: none;
  position: fixed;
  top: 90px; left: 0; right: 0;
  background: var(--charcoal);
  padding: 20px 30px 30px;
  flex-direction: column;
  gap: 12px;
  z-index: 99;
  transform: translateY(-10px);
  opacity: 0;
  transition: all .5s;
  pointer-events: none;
}

.mobile_nav.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.mobile_nav a {
  display: block;
  padding: 12px 20px;
  color: #fff;
  text-decoration: none; text-align: center;
  background: var(--crimson);
}


@media screen and (max-width: 768px) {
  header { padding: 0 5vw; }
  .gnav { display: none; }
  .hamburger { display: flex; }
  .mobile_nav { display: flex; }
}


/* ===================================================
  main_img
====================================================== */
.main_img {
  position: relative;
  margin-top: 90px;
  width: 100%; height: 60vh; min-height: 555px;
  overflow: hidden;
}

.main_img img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center right;
}

.main_img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.05) 60%, rgba(0,0,0,0.3) 100%);
}

@media screen and (max-width: 600px) {
  .main_img { height: 60svh; }
}


/* ===================================================
  Section
====================================================== */
section h2{
  position: relative;
  padding: 28px 20px;
  color: #fff;
  font-size: 30px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.2em;
  text-align: center;
  background: var(--crimson); 
}

section h2:after {
  display: block;
  content: '';
  position: absolute;
  bottom: -25px; left: 50%;
  transform: translateX(-50%);
  width: 0; height: 0;
  border-left: 50px solid transparent;
  border-right: 50px solid transparent;
  border-top: 25px solid var(--crimson);
}

section h2 span{
  display: block;
  margin-top: 8px;
  font-size: 13px;
  font-family: "游明朝", YuMincho, "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "MS PMincho", serif;
  text-align: center;
}

section .flex_col {
  display: flex;
}

section .flex_col .txt_block{
  padding: 70px 60px;
  width: 55%;
  background: var(--warm-white);
  box-sizing: border-box;
}

section .flex_col .img_block{
  width: 45%;
  overflow: hidden;
}

section .flex_col .img_block img{
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}

@media screen and (max-width: 600px) {
  section h2 { padding: 20px 12px; font-size: 24px;}
  section .flex_col { flex-direction: column; }
  section .flex_col .txt_block,
  section .flex_col .img_block { width: 100%;}
  section .flex_col .txt_block{ padding: 10vw 5vw; }
}


/* ===================================================
  Mission
====================================================== */
#mission h3 {
  margin-bottom: 30px;
  color: var(--charcoal);
  font-size: 30px;
  font-weight: 400;
  line-height: 1.4;
}

#mission  p {
  margin-bottom: 1.25rem;
  color: var(--text-sub);
  letter-spacing: 0.05em;
}

@media screen and (max-width: 600px) {
  #mission h3 { margin-bottom: 7vw; font-size: 24px;}
}


/* ===================================================
  Company
====================================================== */
#company .txt_block dl{
  width: 100%;
  display: flex;
  border-bottom: 1px solid var(--cream-dark);
}
#company .txt_block dl:first-child { border-top: 1px solid var(--cream-dark); }

#company .txt_block dt,
#company .txt_block dd {
  padding: 25px 12px;
  text-align: left; 
  letter-spacing: 0.05em; vertical-align: top;
}

#company .txt_block dt {
  color: var(--text-sub); font-weight: 400;
  white-space: nowrap; width: 100px;
}

/* --- map --- */
#company .img_block iframe {
  width: 100%; height: 450px;
  border: none; display: block;
}

@media screen and (max-width: 600px) {
  #company .txt_block dl { flex-direction: column; }
  #company .txt_block dt{ padding: 5vw 5vw 0; }
  #company .txt_block dd{ padding: 5vw 5vw 5vw; }
  #company .img_block iframe { height: 40vh;} 
}


/* ===================================================
  Inquiry
====================================================== */
.inquiry_inner {
  padding: 70px 60px;
  background: var(--cream);
}


/* --- form --- */
.inquiry_inner form { max-width: 640px; margin: 0 auto; }

.inquiry_inner form > p {
  margin-bottom: 50px;
  color: var(--text-sub);
  letter-spacing: 0.08em;
}


.form_group { margin-bottom: 30px; }

.form_group dt {
  margin-bottom: 10px;
  letter-spacing: 0.08em;
  color: var(--text-sub);
}

.form_group dt span.required { color: var(--crimson); margin-right: 5px; }

.form_group dd ul{ display: flex; justify-content: space-between;}
.form_group dd ul li{ width: 48.5%; list-style: none;}
.form_group dd p:not(:last-child){ margin-bottom: 15px;}


.form_group input,
.form_group select,
.form_group textarea {
  width: 100%; padding: 12px 16px;
  border: 1px solid var(--sand); border-radius: 2px;
  background: var(--warm-white);
  outline: none; transition: all .5s;
  appearance: none;
  box-sizing: border-box;
}

.form_group input:focus,
.form_group select:focus,
.form_group textarea:focus { border-color: var(--crimson); }

.form_group textarea { height: 140px; resize: vertical; }

.form_group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B5F52' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
  padding-right: 40px;
}

/* --- privacy --- */
.privacy_check { margin-bottom: 30px; }

.privacy_check dt {
  margin-bottom: 10px;
  letter-spacing: 0.08em;
  color: var(--text-sub);
}

.privacy_check dt span.required { color: var(--crimson); margin-right: 5px; }


.privacy_check input[type="checkbox"] {
  width: 16px; height: 16px;
  accent-color: var(--crimson); flex-shrink: 0;
}

.privacy_check label { display: block; }
.privacy_check a { color: var(--crimson); text-decoration: underline; }


/* --- submit --- */
.btn_submit {
  display: block; margin: 0 auto;
  padding: 14px 60px;
  background: var(--sand); color: #fff;
  border: none; border-radius: 2px;
  letter-spacing: 0.15em;
  cursor: pointer; transition: all .5s;
}

@media screen and (hover:hover) and (min-width: 601px) {
  .btn_submit:hover { background: #b8a589; opacity: 1; }
}

@media screen and (max-width: 600px) {
  .inquiry_inner  { padding: 10vw 5vw; }
  .inquiry_inner form { width: 100%; }
}


/* ===================================================
  Footer
====================================================== */
footer {
  padding: 50px 40px 30px;
  background: var(--sand);
  border-top: 10px solid #D6CCC3;
  line-height: 1;
}

.footer_inner {
  margin: 0 auto 40px;
  max-width: 960px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer_logo {
  display: flex;
  align-items: center;
}

.fnav {
  display: flex;
  flex-wrap: wrap; 
}

.fnav a {
  display: inline-block;
  padding: 0 22px;
  color: #fff;
  letter-spacing: 0.08em;
  transition: all .5s;
}

.fnav a::before { content: '›  '; }
.fnav a:hover { text-decoration: underline; opacity: 1; }


/* --- copyright --- */
.footer_bottom { 
  padding: 20px 0; text-align: center;
  background: var(--charcoal); color: var(--warm-white);
}

.footer_bottom p {
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.08em;
}

@media screen and (max-width: 600px) {
  footer { padding: 10vw 5vw}
  .footer_inner { flex-direction: column;}
  .footer_logo { margin-bottom: 15vw; }
  .fnav { flex-direction: column;}
  .fnav a { padding: 10px 0 20px; }
}