/*
Theme Name: Hygarage Original
Author: Yuri
Version: 1.0
Description: Original theme for Hygarage.
*/
/*
Theme Name: Hygarage Original
Author: Yuri
Version: 1.0
Description: Original theme for Hygarage.
*/

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

html {
  margin-top: 0 !important;
}

body {
  margin: 0;
  font-family: Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  background: #efefef;
  color: #111;
  line-height: 1.7;
}

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

.site-header,
.site-footer {
  display: none;
}

.top-page {
  padding: 0 16px 40px;
}

.top-hero {
  max-width: 1200px;
  margin: 0 auto;
  background: #efefef;
  padding: 28px 18px 34px;
}

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

.top-hero__branding {
  flex: 1 1 auto;
}

.top-hero__title {
    margin: 0 0 10px;
    font-size: clamp(42px, 5.4vw, 78px);
    line-height: 1.05;
    font-weight: 300;
    letter-spacing: 0.04em;
    color: #d8844d;
  }

.top-hero__subtitle {
    margin: 0;
    font-size: clamp(18px, 2.2vw, 32px);
    line-height: 1.4;
    color: #111;
  }

.top-hero__info {
    display: flex;
    align-items: flex-start;
    gap: 26px;
    flex-shrink: 0;
  }
  
  .top-hero__contact-group {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 330px;
  }
  
  .top-hero__contact-row {
    display: grid;
    grid-template-columns: 42px auto;
    align-items: center;
    column-gap: 4px;
  }
  
  .top-hero__icon {
    width: 34px;
    height: 34px;
    object-fit: contain;
    flex-shrink: 0;
    justify-self: start;
  }
  
  .top-hero__icon--phone {
    width: clamp(28px, 2.7vw, 38px);
    height: clamp(28px, 2.7vw, 38px);
  }
  
  .top-hero__icon--location {
    width: clamp(24px, 2.2vw, 30px);
    height: clamp(34px, 3vw, 42px);
  }
  
  .top-hero__contact-text {
    display: inline-flex;
    flex-direction: column;
    align-items: stretch;
    line-height: 1.2;
    width: max-content;
  }
  
  .top-hero__phone-number {
    display: block;
    font-size: clamp(22px, 2.4vw, 34px);
    font-weight: 400;
    color: #111;
    text-decoration: none;
    text-align: left;
    line-height: 1.1;
  }
  
  .top-hero__contact-note {
    margin: 4px 0 0;
    font-size: clamp(12px, 1.1vw, 16px);
    color: #111;
    text-align: center;
    width: 100%;
  }
  
  .top-hero__address {
    margin: 0;
    font-size: clamp(13px, 1.3vw, 18px);
    color: #111;
    line-height: 1.4;
    text-align: left;
    white-space: nowrap;
  }
  
  .top-hero__menu-text {
    font-size: clamp(16px, 1.6vw, 22px);
    letter-spacing: 0.04em;
  }

.top-hero__menu-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #111;
}

.top-hero__menu-icon {
    width: clamp(64px, 6.4vw, 92px);
    height: auto;
    margin-bottom: 6px;
  }

.top-hero__menu-text {
  font-size: 22px;
  letter-spacing: 0.04em;
}

.top-hero__image-wrap {
  width: 100%;
}

.top-hero__image {
  width: 100%;
  aspect-ratio: 16 / 5;
  object-fit: cover;
}

.top-content {
  max-width: 1200px;
  margin: 28px auto 0;
  background: #fff;
  padding: 24px;
}



/* ===== 上のビジュアル部分だけ縮小する設定 ===== */

body {
    overflow-x: hidden;
  }
  
  .top-page {
    width: 100%;
    max-width: none;
    margin: 0 auto;
    padding: 0 16px 40px;
    transform: none !important;
  }
  
  .top-hero-scale {
    width: calc(100vw - 32px);
    max-width: 1200px;
    margin: 0 auto 28px;
    overflow: visible;
  }
  
  .top-hero {
    width: 1200px;
    max-width: none;
    margin: 0;
    background: #efefef;
    padding: 28px 18px 34px;
  
    transform: scale(var(--hero-scale, 1));
    transform-origin: top left;
  }
  
  .top-content {
    width: auto;
    max-width: 1200px;
    margin: 28px auto 0;
    background: #fff;
    padding: 24px;
    overflow-wrap: break-word;
    word-break: normal;
  }
  
  .top-content img,
  .top-content iframe {
    max-width: 100%;
    height: auto;
  }

  /* ===== ハンバーガーメニュー ===== */

.top-hero__menu-link {
    border: none;
    background: transparent;
    padding: 0;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #111;
  }
  
  .site-menu {
    max-width: 1200px;
    margin: 0 auto 28px;
    background: #fff;
    border: 2px solid #111;
    display: none;
  }
  
  .site-menu.is-open {
    display: block;
  }
  
  .site-menu__list {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  
  .site-menu__list li {
    border-bottom: 1px solid #ddd;
  }
  
  .site-menu__list li:last-child {
    border-bottom: none;
  }
  
  .site-menu__list a {
    display: block;
    padding: 18px 24px;
    color: #111;
    text-decoration: none;
    font-size: 20px;
    font-weight: 700;
  }
  
  .site-menu__list a:hover {
    background: #efefef;
  }

  /* ===== 投稿ページ ===== */

.single-post__title {
    margin: 0 0 16px;
    font-size: 36px;
    line-height: 1.4;
  }
  
  .single-post__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
    margin-bottom: 28px;
    font-size: 14px;
    color: #555;
  }
  
  .single-post__category a {
    color: #111;
    text-decoration: underline;
  }
  
  .single-post__content {
    font-size: 18px;
    line-height: 1.9;
  }
  
  .single-post__content img {
    max-width: 100%;
    height: auto;
  }
  
  .single-post__comments-area {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid #ddd;
  }

  /* ===== front-page 投稿表示 ===== */

.post-list {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 2px solid #ddd;
  }
  
  .post-list__heading {
    margin: 0 0 32px;
    font-size: 30px;
    line-height: 1.4;
  }
  
  .post-list__item {
    padding: 40px 0;
    border-bottom: 2px solid #ddd;
  }
  
  .post-list__title {
    display: block;
    margin: 0 0 12px;
    font-size: 28px;
    line-height: 1.4;
    font-weight: 700;
  }
  
  .post-list__title a {
    color: #111;
    text-decoration: underline;
  }
  
  .post-list__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin: 0 0 24px;
    padding: 8px 0;
    font-size: 14px;
    color: #555;
  }
  
  .post-list__meta a {
    color: #555;
    text-decoration: underline;
  }
  
  .post-list__content {
    font-size: 18px;
    line-height: 1.9;
  }
  
  .post-list__content p {
    margin: 0 0 1.4em;
  }
  
  .post-list__content img {
    max-width: 100%;
    height: auto;
    margin: 20px 0;
  }

  /* ===== スマホ表示：上部の文字・アイコンを少し大きくする ===== */

@media (max-width: 767px) {
    .top-hero__title {
      font-size: 90px;
    }
  
    .top-hero__subtitle {
      font-size: 34px;
    }
  
    .top-hero__phone-number {
      font-size: 38px;
    }
  
    .top-hero__contact-note {
      font-size: 18px;
    }
  
    .top-hero__address {
      font-size: 20px;
    }
  
    .top-hero__icon--phone {
      width: 46px;
      height: 46px;
    }
  
    .top-hero__icon--location {
      width: 38px;
      height: 50px;
    }
  
    .top-hero__menu-icon {
      width: 110px;
    }
  
    .top-hero__menu-text {
      font-size: 26px;
    }
  }

  /* ===== Android右側余白対策 ===== */

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

.top-page {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

.top-hero-scale {
  width: calc(100vw - 32px);
  max-width: 1200px;
  overflow: hidden;
}

.top-hero {
  width: 1200px;
  max-width: none;
}

.top-content {
  width: calc(100vw - 32px);
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}