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

html {
    width: 100%;
}

body {
    font-family: "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "游明朝", YuMincho, "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
    line-height: 1.8;
    color: #333;
    background-color: #fefefe;
  overflow-x: hidden;
  width: 100%;
}

/* Header */
header {
    background-color: #474747;
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 2rem;
    position: relative;
}

.logo img {
    height: 40px;
}

.main-nav {
    position: absolute;
    right: 2rem;
}

.nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    width: 40px;
    height: 40px;
}

.hamburger {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 3px 0;
    transition: 0.3s;
    display: block;
    border-radius: 2px;
}

.nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background-color: #474747;
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    padding: 2rem 0;
    gap: 2rem;
    z-index: 999;
    list-style: none;
    margin: 0;
}

.nav-menu.active {
    left: 0;
}

.nav-menu li {
    margin: 0;
    list-style: none;
}

.main-nav a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s ease;
    font-size: 1.1rem;
    white-space: nowrap;
    display: block;
    padding: 0.5rem;
}

.main-nav a:hover {
    opacity: 0.8;
}

.instagram-link {
     display: flex !important;
    flex-direction: column;
    align-items: center;
    text-decoration: none !important;
    color: #333 !important;
    font-size: 16px;
}

.instagram-link img {
    width: 40px;
    height: 40px;
    margin-bottom: 8px;
}

.instagram-link:hover {
    opacity: 0.7;
}


/* Container */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 0 80px 0;
    background-color: #fefefe;
}


.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0;
    background-color: #fefefe; /* コンテンツ部分は白背景のまま */
}

.hero-section .container {
    padding: 0;
    max-width: none;
}

.hero-section {
    text-align: center;
    padding: 0;
    background-color: #f8f8f8;
    position: relative;
    width: 100%;          /* 100vw → 100% に変更 */
    margin-left: 0;       /* calc(-50vw + 50%) → 削除または0 */
}

.hero-container {
    position: relative;
    display: block;
    width: 100%;
    height: 0;
    padding-bottom: 50.52%; 
    min-height: 500px;
}

.hero-image {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%; /* 追加 */
        object-fit: cover; /* containからcoverに変更 */
        border-radius: 0;
        z-index: 1; /* 背景層 */    }


.hero-brand {
    text-align: left;
  margin:0 220px;
}
.hero-brand h1,
.hero-brand h2 {  /* h1とh2の両方に同じスタイルを適用 */
    font-size: 22px;
    padding: 60px 0 30px 0;
    text-align: left;
    color: #000;
    font-weight: normal;
    white-space: nowrap;
    display: inline-block;
}

.hero-brand + .desktop-text,
.hero-brand + .mobile-text {
    margin: 0 220px;
    text-align: left;
}

.hero-brand + .desktop-text p,
.hero-brand + .mobile-text p {
    display: block;
    text-align: left;
    margin-bottom: 30px;
}

.hero-brand .desktop-text,
.hero-brand .mobile-text {
    text-align: left;
}

.hero-brand .desktop-text h1,
.hero-brand .desktop-text h2,
.hero-brand .mobile-text h1,
.hero-brand .mobile-text h2 {
    text-align: left;
}

.hero-title {
    font-size: 2vw; /* レスポンシブなフォントサイズ */
    font-weight: normal;
    margin-top: 10px; /* ロゴとの間隔 */
    line-height: 1;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    min-font-size: 18px;
    max-font-size: 42px;
    white-space: nowrap; /* テキストの改行を防ぐ */
}

.hero-vision {
    position: relative; /* absoluteからrelativeに変更 */
    margin-bottom: 0; /* margin調整 */
    text-align: left; /* centerからleftに変更 */
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-vision img {
    width: 600px;
    height: auto;
    max-width: 600px; /* 最大幅を設定 */
}

.hero-vision h3 {
    font-size: 30px;
    font-weight: normal;
    margin-bottom: 10px;
    letter-spacing: 2px;
    text-decoration: underline;
    white-space: nowrap;
}

.hero-vision p {
    font-size: 24px;
    font-weight: normal;
    white-space: nowrap;
}

.section {
    padding: 0;
    text-align: center;
    background-color: #AAA09E; /* ロゴの背景色を追加 */
}

.section-content {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 0px;
}

.section-content:nth-child(even) {
    flex-direction: row-reverse;
}

.section-image {
    width: 100%;
    margin: 0; /* 余白が背景とのずれを生む場合は削除 */
    padding: 0;
}

.section-image img {
    width: 100%;
    height: auto;          /* 高さを固定せず、画像比率を維持 */
    object-fit: contain;   /* 元画像を切らずに全体表示 */
    background-color: #fff; /* 白背景に明示的に */
    display: block;
}

.owner-image {
    width: 100%;
    margin: 30px 0;
}

.owner-image img {
    width: 400px;
    height: 300px; /* 必要であればheightも自動調整 */
    object-fit: cover; /* 高さを固定するなら併用可能 */
    display: block;
}

 

.section-text p {
    font-size: 17.6px;
    color: #000;
    line-height: 2;
    margin: 0 0 15px 60px;
    max-width: 100%; 
    text-align: left;
}

/* プロフィールセクション */
.profile-section {
    background-color: #fff;
    padding: 80px 0px 0;
}

.profile-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 0px;
    display: flex;
  flex-direction: row;
    gap: 60px; /* 80pxから60pxに縮小 */
    align-items: flex-start;
}

.profile-content {
    flex: 2;
  order: 2;
}



h2.profile-name {
    font-size: 20px;
    margin-bottom: 30px;
  margin-left: 20px;
    color: #333;
    text-align: left;
}


.profile-company {
    margin-bottom: 30px;
}

.company-name {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 5px;
    color: #333;
}

.company-role {
    font-size: 14px;
    color: #666;
}

.profile-description {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 30px;
  margin-left: 30px;
    color: #333;
  text-align:left;
}

.media-coverage {
    margin-bottom: 40px;
}

.media-title {
   font-size: 16px;
    font-weight: bold;
    margin-bottom: 5px; /* 15pxから5pxに変更 */
    color: #333;
    text-decoration: underline; /* 下線を追加 */
}

.media-list {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
}

.profile-image {
    flex-shrink: 0;
    width: 400px;
  order: 1;
}

.profile-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.profile-note {
    margin: 0px;
  text-align:left;
  margin-left: 30px;
}

.note-icon {
    width: auto;
    height: 50px;
    transition: opacity 0.3s ease;
}

.profile-note a:hover .note-icon {
    opacity: 0.8;
}

.profile-yuka-full-width {
    max-width: 1200px;
    margin: 0px auto 40px 0;
    padding: 0 0px;
}

.profile-yuka-text {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 40px;
    flex-wrap: nowrap; /* 折り返しを防ぐ */
  margin-left: 40px;
}

.profile-yuka-text p {
    margin: 0;
    white-space: nowrap; /* テキストの折り返しを防ぐ */
    font-size: 20px;
    color: #333;
}

.section-image {
    width: 100%;
    margin: 100px 0 0 0;
    padding: 0;
    padding-top: 20px; /* h2の下余白として追加 */
    display: flex;
    gap: 0;
    position: relative;
}

.section-image img {
    width: 100%; /* 100%から50%に変更 */
    height: auto;
    object-fit: contain;
    background-color: #fff;
    display: block;
}

.section-image h2 {
    position: absolute; /* 追加 */
    top: -40px; /* 追加：画像の上に配置 */
    left: 0; /* 追加 */
    margin: 0;
  margin-left: 20px;
    font-size: 20px; /* 追加 */
    color: #333; /* 追加：黒文字 */
    white-space: nowrap; /* 追加 */
}



.profile-media-button {
  margin: 0 0 50px 30px;
  text-align: left;
}

.profile-media-btn {
    display: inline-flex;
    align-items: center;
    padding: 10px 100px;
    border: 2px solid #333;
    background-color: transparent;
    color: #333;
    text-decoration: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: normal;
    transition: all 0.3s ease;
  white-space: nowrap;
}

.profile-media-btn:after {
    margin-left: 10px;
    font-size: 18px;
    transition: transform 0.3s ease;
}

.profile-media-btn:hover {
    background-color: #333;
    color: #fff;
}

.profile-media-btn:hover:after {
    transform: translateX(5px);
}


.profile-description.desktop-text {
    text-align: left;
}

.profile-description.mobile-text {
    text-align: left;
}


.gallery-item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.contact-section {
    background-color: #f8f8f8;
    padding: 60px 40px;
    text-align: center;
    border-radius: 8px;
}

.contact-title {
    font-size: 24px;
    margin-bottom: 10px;
    color: #333;
}

.contact-subtitle {
    font-size: 18px;
    color: #333;
    margin-bottom: 30px;
}

.contact-address {
    font-size: 16px;
    margin-bottom: 10px;
    color: #666;
}

.contact-hours {
    font-size: 16px;
    margin-bottom: 30px;
    color: #666;
}

.contact-btn {
    display: inline-block;
    padding: 12px 40px;
    border: 2px solid #333;
    background-color: transparent;
    color: #333;
    text-decoration: none;
    border-radius: 30px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.contact-btn:hover {
    background-color: #333;
    color: #fff;
}

/* デスクトップ・モバイル用テキスト表示切り替え */
.desktop-text {
    display: block;
    text-align: center;  /* 中央配置 */
}

.desktop-text p {
    display: inline-block;  /* インラインブロック化 */
    text-align: left;       /* テキストは左揃え */
  margin-bottom: 60px;
}

.mobile-text {
    display: none;  /* デスクトップでは非表示 */
}


.contact-info-section {
    background-color: #fefefe;
    padding: 80px 40px 0px 40px;
    text-align: center; /* セクション全体を中央配置 */
}

.contact-info-section:last-child {
    padding: 80px 40px;
}

.contact-info-section h3{
   font-size:20px;
}

.contact-info-section p{
   font-size:17.6px;
  margin-left:0px;
}

.contact-info-container {
    max-width: 800px; /* 幅を狭めて中央配置を明確にする */
    margin: 0 auto;
    display: block; /* flexから変更してシンプルな縦配置 */
    text-align: center; /* 中央配置を明示 */
}

.cta-section {
    margin: 0 auto 60px auto; /* 上下マージンと中央配置 */
    text-align: center;
    width: 100%;
    max-width: none; /* 最大幅制限を削除 */
}

.cta-section:last-child {
    margin-bottom: 0; /* 最後の要素の下マージンを削除 */
}

.cta-section h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #333;
    text-align: center; /* 中央揃えを明示 */
}

.cta-section p {
    font-size: 16px;
    margin-bottom: 20px;
    color: #333;
    text-align: center; /* 中央揃えを追加 */
}

.contact-info-content {
    flex: 1;
}

.contact-info-title {
    font-size: 24px;
    font-weight: normal;
    margin-bottom: 20px;
    margin-left: 20px;
    color: #333;
    letter-spacing: 1px;
}

.contact-info-address {
    font-size: 16px;
    margin-bottom: 8px;
    margin-left: 20px;
    color: #333;
    line-height: 1.6;
}

.contact-info-hours {
    font-size: 16px;
    color: #333;
    line-height: 1.6;
    margin-left: 20px;
}

.contact-info-button {
    margin: 0;
}

.contact-info-btn {
     display: inline-flex;
    align-items: center;
    padding: 16px 100px;
    border: 2px solid #333;
    background-color: transparent;
    color: #333;
    text-decoration: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: normal;
    transition: all 0.3s ease;
    position: relative;
}

.contact-info-btn:after {
    content: '>';
    margin-left: 10px;
    font-size: 18px;
    transition: transform 0.3s ease;
}

.contact-info-btn:hover {
    background-color: #333;
    color: #fff;
}

.contact-info-btn:hover:after {
    transform: translateX(5px);
}


/* Footer */
footer {
    background-color: #474747;
    color: white;
    padding: 2rem;
    margin-top: 0;
}

footer img {
    height: 60px;
    flex-shrink: 0;
}

footer > div {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center; 
}

footer .inner {
    border: 2px solid white;
    padding: 1.2rem 2rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    position: relative;
}

footer .inner::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 0%;
    bottom: 0%;
    width: 1px;
    background-color: white;
    transform: translateX(-50%);
}

footer .inner > div:first-child {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

footer address {
    flex: 1;
    font-style: normal;
    line-height: 1.5;
    font-size: 0.9rem;
    font-family: 'Yu Mincho', 'YuMincho', 'Hiragino Mincho Pro', 'Hiragino Mincho ProN', 'MS PMincho', serif;
    text-align: left; 
}

footer address p {
    margin-bottom: 0.3rem;
}

footer nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 1rem;
}

footer nav a {
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    transition: opacity 0.3s ease;
    white-space: nowrap;
}

footer nav a:hover {
    opacity: 0.8;
}

footer small {
    font-size: 0.85rem;
    opacity: 0.9;
    margin: 0;
}

/* モバイル・タブレット対応 */
@media (max-width: 768px) {
  
   /* 全要素の最大幅制限 */
    * {
        max-width: 100%;
        box-sizing: border-box;
    }
  
    .header-inner {
        padding: 0 1rem;
    }

    .main-nav {
        right: 1rem;
    }

   .instagram-link img {
        width: 24px;  /* モバイルでは24px */
        height: 24px; /* モバイルでは24px */
        margin-bottom: 8px;
    }

    .hero-container {
        height: 0;
        padding-bottom: 65%;
        min-height: 380px;
    }
 .hero-brand {
        text-align: left;
        margin: 0 20px;
    }
 

    .hero-brand h1,
    .hero-brand h2 {
        font-size: 17.6px;
        padding: 30px 0;
        text-align: left;
        color: #000;
        font-weight: bold;
        white-space: nowrap;
        display: inline-block;
    }

   .hero-brand + .desktop-text,
    .hero-brand + .mobile-text {
        margin: 0 20px;
        text-align: left;
    }
  
    .hero-title {
        font-size: 2.5vw; /* モバイルでより大きく */
        min-font-size: 20px;
        max-font-size: 28px;
        white-space: normal; /* モバイルでは改行を許可 */
        line-height: 1.3;
        margin-top: 0px; /* モバイルでは間隔を少し狭く */
    }

    .hero-vision img {
        max-width: 200px; /* モバイルではロゴをさらに小さく */
    }

    .hero-vision h3 {
        font-size: 17.6px;
    }

    .hero-vision p {
        font-size: 16px;
    }


    .section-content {
        flex-direction: column !important;
        gap: 30px;
    }


    .section-image {
        width: 100%;
        margin: 50px 0;
      padding: 0;
    }

    .section-image img {
        height: auto;
    width: 100vw; /* 画面幅いっぱいに */
    margin-left: calc(-50vw + 50%); /* 中央揃えで画面幅いっぱいに */
    object-fit: cover; /* 画像を切り抜いて表示 */
    }

    .section-text {
        padding: 0 0px 15px 0px; /* 左右の余白を対称にする */
        flex: none; 
    }

    .section {
        padding: 0;
        width: 100%; /* 追加 */
        max-width: 100%; 
    }

    .container {
        padding-left: 0 !important;
        padding-right: 0 !important;
        max-width: 100%; /* 追加 */
        width: 100%;
    }

    .section-text h2 {
        font-size: 17.6px;
        margin-top: 40px; /* ← ここで余白を追加 */
        background-color: #fefefe; /* ← 背景色を白に上書き */
        padding-top: 20px; /* 必要に応じて追加の余白 */
        margin-left: 20px;
    }

    .section-text p {
        font-size: 16px;
        margin: 0 0 15px 20px;
        max-width: 100%;
        text-align: left;
    }
  
      .section-image {
        margin: 60px 0 0 0;
    }
    
    .section-image img {
        width: 100%; /* 追加 */
    }
  
    
.section-image h2 {
    font-size: 20px;
    top: -80px; /* -35pxから-60pxに変更 */
    white-space: normal;
    position: absolute;
    left: 0;
    margin: 0;
    margin-left: 20px;
    color: #333;
}
  
    /* プロフィールセクション モバイル対応 */
    .profile-section {
        padding: 40px 0;
    }

    .profile-container {
        flex-direction: column;
        gap: 40px;
        padding: 0 20px;
    }

    .profile-image {
        width: 100%;
        order: -1;
    }

    .profile-header {
        font-size: 20px;
        margin-bottom: 30px;
    }

    .profile-name {
        font-size: 18px;
    }
  
    h2.profile-name {
    margin-left: 20px;  /* 30pxから20pxに変更 */
  }
  
  .profile-description {
    margin-left: 10px;  /* 30pxから20pxに変更 */
  }
  
  .profile-note {
    margin-left: 20px;  /* 30pxから20pxに変更 */
  }
  
  .profile-yuka-full-width {
        margin: 20px auto 0;
        padding: 0 20px;
    }
    
    .profile-yuka-text {
        flex-direction: column;
        gap: 20px;
        text-align: center;
         justify-content: center; /* モバイルでは中央配置に戻す */
        margin-left: 0; /* モバイルでは左余白をリセット */
    }
    
    .profile-yuka-text p {
        white-space: normal; /* モバイルでは改行を許可 */
        text-align: center;
      font-size: 17.6px;
    }
  
  .media-title{
    text-decoration: underline;
  }
  
 .contact-info-section {
        padding: 40px 20px;
        text-align: center;
    }
    
 .contact-info-container {
        max-width: 100%;
        text-align: center;
    }

.contact-info-content {
    text-align: center; /* 追加 */
}

.contact-info-title {
    font-size: 20px;
    margin-bottom: 15px;
    margin-left: 0; /* 左余白をリセットして中央揃え */
}

.contact-info-address,
.contact-info-hours {
    font-size: 14px;
    margin-left: 0; /* 左余白をリセットして中央揃え */
}

 .cta-section {
        text-align: center;
        margin: 0 auto 30px auto;
    }

.cta-section h3 {
        margin-left: 0;
        text-align: center;
  font-size: 18px;
    }
  .cta-section p {
        margin-left: 0;
        text-align: center;
    }

.contact-info-btn {
    padding: 14px 35px;
    font-size: 15px;
}
  
 

    footer {
        padding: 1rem;
    }

    footer .inner {
        border: 1px solid white;
        flex-direction: column;
        gap: 1rem;
        padding: 1rem 1.5rem;
        margin-bottom: 1.5rem;
    }

    footer .inner::after {
        display: none;
    }

    footer .inner > div:first-child {
        flex: none;
        justify-content: center;
    }

    footer address {
        flex: none;
    }

    footer nav ul {
        justify-content: center;
        gap: 1rem;
        font-size: 0.85rem;
    }

    footer nav a {
        font-size: 0.85rem;
    }

    /* モバイル表示：mobile-text表示、desktop-text非表示 */
   .desktop-text {
        display: none;  /* モバイルでは非表示 */
    }

    .mobile-text {
        display: block;         /* モバイルでは表示 */
        text-align: center;     /* 中央配置 */
    }
    
.mobile-text p {
    display: block;
    text-align: left;  
    margin: 10px 20px 30px 20px;  /* 下余白30pxも含む */
    width: auto;
    max-width: calc(100% - 40px);
    word-wrap: break-word;
    overflow-wrap: break-word;
}
  
      .mobile-text h2,
   .mobile-text h1{
        margin-left: 10px;      /* 左余白を追加 */
    }

}