/*
Theme Name: Lightning Child Sample
Theme URI:
Template: lightning
Description:
Author:
Tags:
Version: 0.6.1
*/

input[name="s"],
input#searchsubmit,
label[for="s"] {
  display: none;
}

/* headerへの記述ここから */
.ilumina-logo {
  position: relative;
  padding-top: 1vw;

  left: 0; 
  height: 8vw;
  max-height: 70px;
  width: auto;
  max-width: 300px;
  margin: 0 auto;
  float: left;
}

.site-header-container {
  max-width: 100%;
  padding: 0;
}
 #site-header-container {
  padding: 0;
  margin: 0;
  max-width: 100% important;
}
/* ヘッダーのメニューは右よせ */
@media (min-width: 992px) {
  body:not(.header_scrolled) .global-nav--layout--float-right {
      display: flex;
      justify-content: flex-end;
      align-items: center;
      margin-right: 10vw; /* この数字で右はじからの間隔調整 */
  }
}


/* メニューの文字大きさ調節 */
.global-nav-list>li .global-nav-name {
  font-size: 18px;
  
}



/* メインヴィジュアルのCSSここから */
@media (min-width: 1200px) {
  .container, .container-lg, .container-md, .container-sm, .container-xl {
      max-width: 100% !important;
      padding: 0 !important;
      margin: 0 !important;
  }
}
.site-body-container,container {
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

.main-visual-wrapper {
  position: relative;
  width: 100% !important;
  height: 30vw;
  overflow: hidden; /* 要素のボックスからはみ出したコンテンツ非表示 */
}

.main-content {
  position: relative;
  max-width: 100% !important; 
  height: 30vw;
  margin: 0 ;
  padding-bottom: 80px;
  z-index: 3;
}
/* 親テーマでヘッダーとの間に余白が大きくできるので調整 */
.site-body {
  max-width: 100% !important;
  padding-top: 0; 
}

/* メインコンテンツの幅調整(主にブロックエディタの範囲） */
  .main-content-block {
    max-width: 75% !important;
    margin: 0 auto;
  }
  body.page:not(.home) .siteContent .container {
    max-width: 80% !important;
    margin: 0 auto;
    padding-left: 15px;
    padding-right: 15px;
  } 
/* メインヴィジュアルのCSSここまで */

/* 固定ページ、投稿ページの表示幅 */
.entry-header, .entry-body {
  max-width: 70% !important;
  margin: 0 auto;
}

.site-footer {
  max-width: 85% !important;
  margin: 0 auto;
}


/* LINE登録ボタン
----------------------------*/
@media (min-width: 800px) {
    #line {
        position: fixed;
        right: 50px;
        bottom: 50px;
        line-height: 1rem;
        font-family: "BIZ UDPMincho", serif;
        background: #fff;
        color: #06c755;
        border: solid 3px #06c755;
        border-radius: 30px;
        box-shadow: 0 2px 10px -6px rgba(0,0,0,.5), 0 3px 10px -4px rgba(0,0,0,.2);
        z-index: 50;
        padding: 10px;
    }

    #line .touroku {
        display: flex;
        justify-content: space-around;
        align-items: center; /* ← ここで縦中央揃え */
        width: 200px;
    }

    #line .sumaho {
        width: 80px;
    }

    #line .text {
        font-size: 1.2rem;
        line-height: 2rem;
        margin: 0;
    }

    #sm-line {
        display: none;
    }
}


/* スマホ用ラインボタン */
@media (max-width: 799px) {
    #line {
        position: fixed;
        right: 10px;
        bottom: 10px;
        line-height: 1rem;
        font-family: "BIZ UDPMincho", serif;
        background: #fff;
        color: #06c755;
        border: solid 3px #06c755;
        border-radius: 30px;
        box-shadow: 0 2px 10px -6px rgba(0,0,0,.5), 0 3px 10px -4px rgba(0,0,0,.2);
        z-index: 50;
        padding: 5px;
    }

    #line .touroku {
    
        justify-content: space-around;
        align-items: center; /* ← ここで縦中央揃え */
        width: 78px;
    }

    #line .sumaho {
        width: 75px;
    }

    #line .text {
        font-size: 1rem;
        line-height: 2rem;
        margin: 0;
    }
}
