/*
Theme Name: My Original Theme
Theme URI:  http://example.com/
Author: Mito
Author URI: http://example.com/
Description: A minimal custom theme skeleton created for Mito (みとー). Start customizing!
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: my-original-theme
*/

/* Basic starter styles — customize freely */
html,body{height:100%;}
body{
  margin:0;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", Roboto, "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  color:#222;
  line-height:1.6;
  background:#fff;
}
header.site-header{padding:0px 70px;background:#deb887;border-bottom:3px solid #fff;}
.site-title{margin:0;font-size:1.4rem;}
main.site-main{max-width:100%;margin:0 auto;}
footer.site-footer{padding:20px;background:#deb887;text-align:center;font-size:0.9rem;color:#666;}
.post-title{font-size:1.6rem;margin:0 0 8px 0;}
.post-meta{font-size:0.9rem;color:#777;margin-bottom:12px;}


/* --- Responsive Styling --- */
img {
  max-width: 100%;
  height: auto;
}
@media (max-width: 768px) {
  body {
    font-size: 16px;
  }
  header.site-header, footer.site-footer {
    padding: 15px;
  }
  .post-title {
    font-size: 1.4rem;
  }
}

/* Hero section styling */
.hero {
  background: linear-gradient(120deg, #4facfe 0%, #00f2fe 100%);
  color: white;
  padding: 60px 20px;
  text-align: center;
}
.hero h1 {
  font-size: 2.4rem;
  margin: 0 0 10px 0;
}
.hero p {
  font-size: 1.2rem;
  margin: 0;
}


/*---------------追記-----------------------------------*/

.menu-toggle{
    display:none;
}
/*ヘッダー部*/
.site-header {
  display: flex;
  align-items: center; /* 縦中央揃え */
  padding: 10px 20px;
  justify-content:space-between;
}

.site-title img {
  height: 100px; /* ロゴの高さ調整 */
}

.nav-menu ul {
  list-style: none;
  display: flex; /* 横並び */
  margin: 0;
  padding: 0;
}

.nav-menu li {
  margin-right: 20px;
}

.nav-menu li:last-child {
  margin-right: 0;
}

.nav-menu a {
display: inline-block;   /* ホバー領域を広げるためブロックっぽく */
  padding: 8px 12px;      /* ホバー領域を広げる */
  text-decoration: none;
  color: #333;
  font-family: "ヒラギノ明朝 Pro", "游明朝", serif;  /* 明朝体フォント */
  font-style: normal;      /* 斜め（italic）解除 */
  font-weight: 400;
  transition: color 0.3s ease;
  white-space:nowrap;
}

.nav-menu a:hover {
  color: #006400;
}

/*メイン*/

#top_message{
    margin:100px 0px;
    text-align: center; /* 中央揃え */
  font-family: "ヒラギノ明朝 Pro", "游明朝", serif; /* 明朝体フォント */
  font-size: 20px; /* フォントサイズ20px */
  line-height:2.5;
}

.post-title{
    font-family: "ヒラギノ明朝 Pro", "游明朝", serif; /* 明朝体フォント */
  font-size: 20px; /* フォントサイズ20px */
  line-height:2.5;
}

#page-32{
    margin:50px;
}

#tanuimg{
    
    width: 300px;
    margin:100px auto 300px;
}
/*お問合せ*/

#page-9 h1{
      font-family: "ヒラギノ明朝 Pro", "游明朝", serif; /* 明朝体フォント */
  font-size: 30px; /* フォントサイズ20px */
  line-height:2.5;
  text-align:center;
  padding:100px 0;
  letter-spacing:4px;
    
}

.post-content{
    margin-bottom:200px;
}
/* フォーム全体を中央揃え */
form {
  max-width: 500px;
  margin: 0 auto;
  padding: 20px;
  background: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* 入力フィールド */
form input,
form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

/* 送信ボタンを中央＆濃い緑 */
form button {
  background-color: #006400; /* 濃い緑 */
  color: white;
  padding: 10px 20px;
  border: none;
  cursor: pointer;
  display: block;
  margin: 0 auto; /* 完全中央揃え */
  border-radius: 4px;
}

form button:hover {
  background-color: #004d00; /* ホバー時さらに濃い緑 */
}

/*めにゅー*/
#menu-title{
    text-align:center;
    font-family: "ヒラギノ明朝 Pro", "游明朝", serif; /* 明朝体フォント */
    margin:50px 0;
    font-size:30px;
    
}

.menu-container {
  width: 80%;
  margin: 100px auto;
  font-family: "ヒラギノ明朝 Pro", "游明朝", serif; /* 明朝体フォント */
}

.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
}

.menu-text {
  flex: 1;
}

.course {
  padding: 20px 0;
  border-bottom: 3px solid #d2b48c; /* ベージュのライン */
  font-size: 24px;
}

.menu-photo {
  flex: 1;
  display: flex;
  flex-direction: column; /* 上下に配置 */
  gap: 20px; /* 2枚の間に余白 */
  align-items: flex-end; /* 右寄せ */
}

.menu-photo img {
  max-width: 90%;
  height: auto;
  border-radius: 8px;
}



/*アクセス*/

#access-title{
    text-align:center;
    font-family: "ヒラギノ明朝 Pro", "游明朝", serif; /* 明朝体フォント */
    margin:50px 0;
    font-size:30px;
    
}
.access-container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 50px 0;
}

.access-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 40px;
}

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

.access-text {
  flex: 1;
}

.access-text img{
    width:150px;
}
.access-text h2 {
  font-size: 28px;
  margin-bottom: 20px;
}

.access-text ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.access-text li {
    font-family: "ヒラギノ明朝 Pro", "游明朝", serif; /* 明朝体フォント */
  font-size: 20px;
  line-height: 1.8;
  padding: 10px 0;
  border-bottom: 3px solid #006400; /* 濃い緑ライン */
}

.access-line {
  width: 100%;
  height: 4px;
  margin-top: 10px;
}

.access-map iframe {
  width: 100%;
  border: none;
  border-radius: 8px;
  margin-top:100px;
}

/*Q&A*/

#question-title{
    text-align:center;
    font-family: "ヒラギノ明朝 Pro", "游明朝", serif; /* 明朝体フォント */
    margin:50px 0;
    font-size:30px;
    
}
.qa-container {
  width: 80%;
  margin: 100px auto;
  font-family: "Helvetica", "Arial", sans-serif;
  line-height: 1.6;
}

.qa-item {
  margin-bottom: 20px;
  border-radius: 6px;
  overflow: hidden;
}

.question {
  background-color: #d2b48c; /* 濃いベージュ */
  padding: 12px 15px;
  font-weight: bold;
}

.answer {
  background-color: #faf0e6; /* 薄いベージュ */
  padding: 12px 15px;
}

/*フッター*/
#footer_link{
    width: 300px;
    margin: auto;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap; /* スマホで縦並び用 */
  max-width: 1000px;
  margin: 0 auto;
  gap: 20px;
}

.footer-logo img {
  max-width: 150px;
}

.footer-access {
  font-family: "ヒラギノ明朝 Pro", "游明朝", serif;
  font-size: 16px;
  line-height: 1.8;
  text-align: center;
}

.footer-map iframe {
  border: 0;
}




/* 共通スタイル */
.menu-toggle {
  display: none; /* PCでは非表示 */
  flex-direction: column;
  justify-content: space-between;
  width: 30%;
  height: 25px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 3px;
  background-color: #5a4634;
  border-radius: 2px;
}


  


/* ===== スマホ用デザイン ===== */
@media screen and (max-width: 768px) {
    
      .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  /* 全体の幅をほぼ100%に */
  .menu-container,
  .qa-container,
  .access-container {
    width: 95%;
  }
  

.menu-toggle {
    display: flex;
  }

  .nav-menu {
    display: none; /* デフォルト非表示 */
    flex-direction: column;
    position: absolute;
    top: 70%;
    width: 90%;
    background: #f8f4ec;
    border-radius: 8px;
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-menu ul{
    list-style: none;
    padding: 0;
    margin: 0;
    flex-direction:column;
  }

  .nav-menu li {
    border-bottom: 1px solid #ddd;
  }

  .nav-menu li a {
    display: block;
    padding: 15px;
    text-decoration: none;
    color: #333;
    font-size: 18px;
  }




  .site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    background: #fff;
    position: relative;
  }


  /* メニューは上下に並べる */
  .menu-item {
    flex-direction: column;
    align-items: center;
  }

  .menu-photo {
    width: 100%;
    align-items: center;
  }

  .menu-photo img {
    width: 100%;  /* 画面いっぱいに広げる */
    max-width: 400px; /* でも大きすぎないように制限 */
  }

  /* Q&Aは文字サイズ調整 */
  .qa-item {
    font-size: 16px;
  }

  /* アクセスは1列縦並びに */
  .access-info {
    font-size: 16px;
    line-height: 1.6;
  }
  
  
.site-title img{
    width:40%;
    height:auto;
}

#top_message{
    font-size:13px;
}
}