/*
Theme Name: GLP-1 Program Online LP Theme
Theme URI: https://chulabo.co.jp/
Author: chulabo
Description: GLP-1プログラムオンライン外来のランディングページテーマ
Version: 1.0
*/

@charset "utf-8";
/* CSS Document */

/* FV用背景&CTAボタンの固定配置 -- ここから -- */
#header {
 position: relative;
 margin-top: 0px; /* 必要であればheader上部の余白を調整 */
}

.cta01, .cta02, .section10, .section11 {
    position: relative;
}

.btn {
    position: absolute;
    bottom: 2%;
    left: 0%;
    right: 0%;
    cursor: pointer;
    width: 95%;
    margin: 0 auto;
    transition: 0.5s;
}

.btn:hover {
    opacity: 0.7;
    transform: scale(0.9, 0.9);
}

@media screen and (max-width:768px) {
    .btn {
        width: 100%;
        bottom: 2%;
    }
}

*{
	box-sizing: border-box;
	font-size: 16px;
}

/* FV用背景&CTAボタンの固定配置 -- ここまで -- */

/*大きさの計算*/
*, *:before, *:after {
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

/*iOSフォーム要素の初期化*/
input, button, textarea, select {
	-webkit-appearance: none;
	appearance: none;
}

body {
    margin: 0;
    padding: 0;
	box-sizing: border-box;
	-webkit-text-size-adjust: 100%; /*スマホ横向き時のフォントサイズ*/
	text-size-adjust: 100%; /*スマホ横向き時のフォントサイズ*/
	-webkit-font-feature-settings: 'palt';/*文字詰め*/
	font-feature-settings: 'palt';/*文字詰め*/
    background-size: cover;       /* 画像をコンテナに対してカバーさせる */
    background-position: center;  /* 中央に配置 */
    background-repeat: no-repeat;
    background-attachment: fixed; /* 固定スクロール */
    font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans",
    "Noto Sans JP", "Yu Gothic", "YuGothic", "Segoe UI", sans-serif;
}

body *{
  box-sizing: inherit; /* box-sizingの値は継承されないので明示的に設定 */
}

/*画像の調整*/
img {
    max-width: 100%;
    height: auto;
	vertical-align: bottom;
	width: 100%;
}

a:hover {
    opacity: 0.8;
}

/*****LPコーディングここから*****/
.lp-content{
	max-width: 768px;
	margin: 0 auto;
	background: white;
    box-shadow: 0px 0px 15px lightgray;
}

/* 追従ボタン */
.body-in {
    position: relative;
}

.float-button__wrap {
    display: none;
    width: 35%;
    margin: 0 auto;
    height: auto;
    position: fixed;
    bottom: -1%;
    left: 1.5%;
    right: 0;
    z-index: 100;
}

.float-button__wrap a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    transition: 0.5s;
}

.float-button__wrap a:hover {
    opacity: 0.9;
}

/*footerまでスクロールしたら消す*/
.is-hidden {
    visibility: hidden;
    opacity: 0;
  }

@media screen and (max-width:768px) {
.float-button__wrap {
    width: 70%;
    bottom: -1%;
  }
}
/* 追従ボタン -終わり- */

/* アコーディオン */
.faq--bg {
padding: 4rem 0 4rem;
background: #fff;
overflow: hidden;
}

.faq-item {
cursor: pointer;
position: relative;
width: 90%;
margin: 0 auto 1.9rem;
}

.faq-item-txt {
position: absolute;
top: -8%;
left: 15%;
color: #fff;
font-size: clamp(1rem, 0.088rem + 5.03vw, 2.5rem);
font-weight: 600;
letter-spacing: 0.06em;
line-height: 1.4;
}

.faq-item-answer {
display: none;
margin: 1rem 3.5rem 3.5rem 4rem;
color: #4d4d4d;
font-size: clamp(0.8rem, 0.084rem + 4.77vw, 2.375rem);
letter-spacing: 0.06em;
line-height: 1.4;
}

/* ＋（縦棒） */
.faq-item::before {
    content: "";
    position: absolute;
    top: 50%;
    right: 6.1%;
    width: 0.25rem;
    height: 1.25rem;
    background: #fff;
    transform: translateY(-50%);
    transition: 0.3s ease;
}

/* ＋（横棒） */
.faq-item::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 5%;
    width: 1.25rem;
    height: 0.25rem;
    background: #fff;
    transform: translateY(-50%);
    transition: 0.3s ease;
}

/* －（開いたとき）→縦棒を消す */
.faq-item.open::before {
    opacity: 0;
}

/* －（位置はそのまま） */
.faq-item.open::after {
    transform: translateY(-50%);
}

@media screen and (max-width:768px) {
.faq--bg {
    margin-top: -50px;
}

.faq-item {
margin: 0 auto 1.2rem;
}

.faq-item-answer {
margin: 1rem 1.2rem 1.2rem 2rem;
letter-spacing: 0.06em;
line-height: 1.4;
}

.faq-item::before {
    right: 3.7%;
    width: 0.25rem;
    height: 0.75rem;
}

.faq-item::after {
    right: 2.5%;
    width: 0.75rem;
    height: 0.25rem;
}

}
/* アコーディオン 終わり*/

/***注意事項***/
  .section11 {
    padding: 0;
    margin: 0;
    width: 100%;
}

.section11 .attention {
    max-width: 100%;
    width: 85%;
    position: absolute;
    top: 18%;
    left: 9%;
    color: #4d4d4d;
    font-size: clamp(0.7rem, 0.122rem + 3.65vw, 1.9rem);
    font-weight: normal;
    letter-spacing: 0.08em;
    line-height: 1.5;
    text-align: center;
    text-align: left;
}

.section11 .attention span {
    display: block;
    width: 100%;
    font-size: clamp(1rem, 0.176rem + 4vw, 2.094rem);
    font-weight: 600;
    margin-bottom: 20px;
}

@media screen and (max-width:768px) {
    .section11 .attention {
        max-width: 100%;
        width: 84%;
        top: 18%;
        left: 9%;
        line-height: 1.4;
        letter-spacing: 0.06em;
    }

    .section11 .attention span {
        margin-bottom: 10px;
    }
}
/***注意事項 終わり***/

/***フッター***/
.site-footer {
  background: #ededed;
  padding: 60px 16px 40px;
  text-align: center;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans",
    "Noto Sans JP", "Yu Gothic", "YuGothic", "Segoe UI", sans-serif;
  color: #4d4d4d;
  letter-spacing: 0.08em;
}

.footer-inner {
  max-width: 640px;
  margin: 0 auto;
}

.footer-block {
  margin: 0 0 28px;
}

.footer-clinic p {
  font-size: 1.4rem;
  font-weight: 600;
}

.footer-address h3 {
    margin: 0;
    margin-bottom: 10px;
    font-size: 1.4rem;
}

.footer-address p {
  margin: 0;
  line-height: 1.6;
  font-size: 1.2rem;
}

.footer-address {
  margin-top: 0px;
}

.footer-links-top {
  margin-top: 16px;
  margin-bottom: 10px;
}

.footer-links-top a,
.footer-links-bottom a {
  font-size: 1rem;
  color: #0074d9;           /* 青リンク色 */
  text-decoration: none;
  border-bottom: 1px solid #0074d9;  /* 下線 */
  padding-bottom: 2px;
}

.footer-links-bottom a + a {
  margin-left: 10px;        /* リンク間の余白 */
}

.footer-copy {
  margin-top: 20px;
  font-size: 0.9rem;
  color: #888;
}

/***固定ページ***/
/* 固定ページ用の背景（LP背景を上書き） */
body.page .lp-content {
  background: #f5f5f7;
  box-shadow: none;
}

.page-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 60px 16px;
  background: #fff;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.04);
}

.page-article {
  max-width: 100%;
}

.page-title {
  font-size: 26px;
  font-weight: 700;
  color: #222;
  text-align: center;
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid #ddd;
}

.page-body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", YuGothic, "Yu Gothic", sans-serif;
  font-size: 15px;
  line-height: 1.9;
  color: #222;
}

.page-body h2 {
  font-size: 18px;
  font-weight: bold;
  color: #222;
  margin: 50px 0 30px;
  padding-bottom: 10px;
  border-bottom: 2px solid #333;
}

.page-body h3 {
  font-size: 16px;
  font-weight: bold;
  color: #222;
  margin: 30px 0 15px;
  padding-top: 20px;
  border-top: 1px solid #ececf1;
}

.page-body p {
  margin-bottom: 15px;
  text-align: justify;
}

.page-body ul, .page-body ol {
  margin: 1em 0 20px;
  padding-left: 20px;
}

.page-body li {
  margin-bottom: 10px;
}

.page-body a {
  color: #1d72f3;
  text-decoration: underline;
}

.page-body a:hover {
  opacity: 0.7;
}

@media screen and (max-width:768px) {
  .page-content {
    padding: 40px 12px;
  }

  .page-title {
    font-size: 22px;
    margin-bottom: 30px;
    padding-bottom: 15px;
  }

  .page-body {
    font-size: 14px;
  }

  .page-body h2 {
    font-size: 16px;
    margin: 40px 0 20px;
  }

  .page-body h3 {
    font-size: 15px;
    margin: 25px 0 12px;
  }
}

/* 固定ページ追加スタイル */
.page-body .section {
  margin-bottom: 25px;
}

.page-body .note {
  color: #666;
  font-size: 14px;
}

.page-body .contact-info,
.page-body .contact-box {
  margin-top: 30px;
  padding: 20px;
  background-color: #f9f9f9;
  border-left: 4px solid #333;
}

.page-body .contact-info p,
.page-body .contact-box p {
  margin-bottom: 5px;
}

.page-body .date {
  margin-top: 40px;
  text-align: right;
}

.page-body .definition {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #ddd;
}

.page-body .intro {
  margin-bottom: 30px;
  color: #666;
}

.page-body .price-box {
  background-color: #f9f9f9;
  padding: 20px;
  margin: 15px 0;
}

.page-body .price-item {
  margin-bottom: 10px;
}

.page-body .price-item .price {
  font-weight: bold;
  color: #333;
}

.page-body .sub-title {
  font-weight: bold;
  margin-top: 15px;
  margin-bottom: 10px;
}

.page-body .guideline-info {
  margin-top: 40px;
  padding: 20px;
  background-color: #f5f5f5;
  border-left: 4px solid #666;
}
/***固定ページ 終わり***/

@media screen and (max-width:768px) {
.site-footer {
    padding-top: 40px;
}

.footer-clinic p, .footer-address h3 {
    font-size: 1.2rem;
}

.footer-address p {
    font-size: 1rem;
}

.footer-links-top a,
.footer-links-bottom a {
    font-size: 0.8rem;
}
}
