@import url('https://googleapis.com');
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined');
/* --------------------------------------
   ベース・共通スタイル
-------------------------------------- */
* {
  margin: 0px;
  box-sizing: border-box;
  padding-top: 0px;
}
span {
  white-space: nowrap;
}
html {
  scroll-behavior: smooth;
}
.container .footmap {}
.costtable {
  display: table;
  margin-left: auto;
  margin-right: auto;
  font-size: 0.8em;
  width: 1000px;
  margin-bottom: 50px;
  margin-top: 50px;
  padding-bottom: 50px;
  padding-top: 10px;
}
#headmenu {
  z-index: 100;
  background-color: hsla(0, 0%, 100%, 0.90);
  border-bottom: 100% solid #FF7700;
  position: fixed;
  width: 100%;
}
.container .content .block {
  width: 50%;
  margin-left: auto;
  margin-right: auto;
  margin-top: 50px;
  margin-bottom: 50px;
  height: 500px;
  color: hsla(28, 100%, 50%, 1.00);
}
.container img {
  width: 100%;
}
.hero {
  padding-top: 160px;
}
#logo {
  display: flex;
  background-image: url(../images/logo.png);
  width: 211px;
  height: 120px;
  background-repeat: no-repeat;
  background-size: 211px 120px;
  padding-bottom: 0px;
}
.link-box {
  display: block; /* aタグをブロック要素にして全体をクリック可能にする */
  text-decoration: none; /* 下線を消す */
  color: inherit; /* 文字色を親要素に合わせる */
}
#name {
  display: flex;
  justify-content: flex-end;
}
body {
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  background-color: #f9f9f9;
}
a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
}
/* 全体の最大幅を1200pxに設定 */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  height: auto;
}
.soloimage img {
  width: 100%;
  height: auto;
}
.soloimage {
  height: auto;
  margin-left: auto;
  margin-right: auto;
  margin-top: 50px;
  display: block;
}
.name {
  display: flex;
  font-family: Georgia, "Times New Roman", Times, serif;
  color: hsla(41, 100%, 50%, 1.00);
}
.worktable {
  margin-left: auto;
  margin-right: auto;
  margin-top: 50px;
  margin-bottom: 100px;
  width: 800px;
  max-width: 100%;
}
table tr .title {
  font-size: large;
}
.midashi {
  padding-top: 200px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  text-align: center;
  margin-bottom: 50px;
  font-size: medium;
}
.texttable {
    margin-left: auto;
    margin-right: auto;
    margin-top: 50px;
    margin-bottom: 50px;
    width: 800px;
}
/* --------------------------------------
   ヘッダー（PC用基本構造）
-------------------------------------- */
header {
  background-color: #f9f9f9;
  border-bottom: 1px solid #ddd;
  padding-right: 0;
  padding-left: 0;
  padding-bottom: 10px;
  position: relative;
  z-index: 100;
}
header .container {
  display: flex;
  justify-content: space-between;
  align-items: flex-end; /* 下揃え */
}
header h1 {
  font-size: 24px;
}
/* ハンバーガーボタン（PC時は非表示） */
.burger-btn {
  display: none;
}
/* メインナビゲーション */
.nav-links {
  display: flex;
  gap: 20px;
}
.nav-links > li {
  position: relative;
  padding: 10px 0;
  color: #FF7700;
}
.nav-links a:hover {
  color: #666;
}
/* ドロップダウン（PC時：ホバーで表示） */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background-color: hsla(0, 0%, 100%, 0.80);
  border: 1px solid #ddd;
  border-radius: 4px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  min-width: 160px;
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.has-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
}
.dropdown-menu a {
  display: block;
  padding: 8px 20px;
  font-size: 14px;
  white-space: nowrap;
}
.dropdown-menu a:hover {
  background-color: #f5f5f5;
  color: #3498db;
}
.material-symbols-outlined {
  display: inline-flex;
  vertical-align: -5px;
}
/* --------------------------------------
   メインビジュアル (ヒーローエリア)
-------------------------------------- */
.hero {
  text-align: center;
}
.hero h2 {
  font-size: 32px;
  margin-bottom: 10px;
}
#slogan {
  top: 25%;
  -webkit-transform: translate(0, -50%);
  transform: translate(0, -50%);
  color: #fff;
  line-height: 1.2;
  text-align: left;
  margin-left: 0px;
}
#slogan h1 {
  font-size: 50px;
  font-family: "Noto Serif JP", serif;
  text-shadow: 0px 0px 5px #000000;
  font-weight: 900;
  font-style: normal;
}
#slogan h2 {
  font-size: 24px;
  font-family: 'Sawarabi Mincho', cursive;
  font-weight: normal;
}
/* --------------------------------------
   メインコンテンツ
-------------------------------------- */
main {
  padding: 40px 0;
}
.content {
  background-color: #fff;
  padding: 30px;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  margin-left: auto;
  display: flex;
}
.content h3 {
  margin-bottom: 0px;
  border-left: 4px solid #3498db;
  padding-left: 10px;
}
/* --------------------------------------
   フッター
-------------------------------------- */
/* PROFILE
------------------------------------------------------------*/
#profile {
  padding-top: 50px;
  color: #FFFFFF;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  text-align: right;
}
#profile .inner {
  flex-wrap: wrap;
  width: 30%;
  margin-top: 20px;
  margin-right: 20px;
  margin-bottom: 20px;
  margin-left: 20px;
  display: flex;
}
#profile dl {
  line-height: 1.2;
  margin-top: 20px;
  width: 100%;
}
#profile dt {
  clear: left;
  text-align-last: justify;
  float: left;
  margin-top: 0px;
  color: #FF7700;
  width: 15%;
  font-size: small;
  display: inline-block;
}
#profile dd {
  text-align: left;
  margin-top: 0px;
  display: inline-block;
  float: left;
  color: #FFFFFF;
  width: 78%;
  margin-bottom: 10px;
  padding-left: 10px;
}
#profile .head {
  text-align: left;
}
footer {
  background-color: #333;
}
#copy {
  background-color: #FF7700;
  color: #fff;
  text-align: right;
  font-size: 14px;
  padding-right: 20px;
  height: 30px;
  margin-bottom: 10px;
  padding-bottom: 0px;
  padding-top: 0px;
}
.map-container iframe {
  width: 100%;
  height: 400px;
  border: 0;
}
.flexbox {
    display: flex;
    flex-direction: row;
    text-align: center;
    width: 1000px;
    margin-left: auto;
    margin-right: auto;
    font-size: small;
}
.flex-item {
  display: flex;
  width: 50%;
}
/* --------------------------------------
   レスポンシブ対応 (スマホ用: 768px以下)
-------------------------------------- */
@media (max-width: 768px) {
  #logo {
    display: flex;
    background-image: url(../images/logo.png);
    width: 150px;
    height: 85px;
    background-repeat: no-repeat;
    background-size: 150px 85px;
  }
  .name {
    font-size: 0.6em;
  }
  /* --- ハンバーガーボタンを表示 --- */
  .burger-btn {
    display: block;
    position: relative;
    width: 40px;
    height: 40px;
    background-image: none;
    border: none;
    cursor: pointer;
    z-index: 110;
    background-color: hsla(0, 0%, 100%, 0.80);
    border-radius: 5px;
    margin-right: 20px;
  }
  /* 三本線のスタイル */
  .burger-btn span {
    display: block;
    position: absolute;
    width: 90%;
    height: 5px;
    background-color: #FF7700;
    transition: all 0.3s ease;
    margin-left: auto;
    margin-right: auto;
    left: 2px;
    top: 2px;
    margin-top: 8px;
  }
  .burger-btn span:nth-child(1) {
    top: 0;
  }
  .burger-btn span:nth-child(2) {
    top: 10px;
  }
  .burger-btn span:nth-child(3) {
    top: 20px;
  }
  /* ×印アニメーション */
  .burger-btn.is-active span:nth-child(1) {
    transform: translateY(10px) rotate(-45deg);
  }
  .burger-btn.is-active span:nth-child(2) {
    opacity: 0;
  }
  .burger-btn.is-active span:nth-child(3) {
    transform: translateY(-10px) rotate(45deg);
  }
  /* --- スマホ用メニュー（右からスライドイン） --- */
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background-color: hsla(0, 0%, 100%, 0.90);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    padding: 80px 40px 40px 40px;
    transition: right 0.4s ease;
    z-index: 105;
    overflow-y: auto;
  }
  .nav-menu.is-active {
    right: 0;
  }
  .nav-links {
    flex-direction: column;
    gap: 10px;
  }
  .nav-links > li {
    padding: 0;
    border-bottom: 1px solid #eee;
  }
  .nav-links a {
    display: block;
    padding: 15px 0;
    font-size: 16px;
  }
  /* --- スマホ用ドロップダウン（タップ開閉用） --- */
  .dropdown-menu {
    position: static;
    transform: none;
    box-shadow: none;
    border: none;
    background-color: #f9f9f9;
    padding: 0;
    min-width: auto;
    display: none;
    opacity: 1;
    visibility: visible;
  }
  .dropdown-menu.is-open {
    display: block;
  }
  .dropdown-menu a {
    padding: 12px 20px;
  }
  .has-dropdown:hover .dropdown-menu {
    display: none;
  }
  .has-dropdown:hover .dropdown-menu.is-open {
    display: block;
  }
  #profile {
    display: block;
    width: 100%;
  }
  #profile .inner {
    margin-left: auto;
    margin-right: auto;
    width: 80%;
    font-size: 0.8em;
  }
  #profile dl {
    width: 400px;
    margin-left: auto;
    margin-right: auto;
  }
  #profile dt {
    width: 18%;
  }
  #profile dd {
    max-width: 75%;
  }
  #profile .head {
    width: 400px;
    margin-left: auto;
    margin-right: auto;
  }
  .content {
    display: block;
    width: 100%;
    margin-top: 10px;
    margin-bottom: 20px;
  }
  .container .content .block {
    width: 100%;
    margin-top: 20px;
    margin-bottom: 20px;
    height: auto;
  }
  .costtable {
    width: 100%;
    font-size: 0.6em;
  }
  .worktable {
    width: 95%;
    font-size: 0.8em;
  }
  .texttable {
    width: 90%;
  }
  .flexbox {
    flex-direction: column; /*flexアイテムを縦並びに変更*/
    width: 100%;
    font-size: 0.8em;
  }
  .flex-item {
    margin-left: auto;
    margin-right: auto;
    width: 96%;
  }
  .soloimage {
    width: 100%;
  }
}
