/*
Theme Name: Twenty Twenty-Five Child
Theme URI: https://example.com/
Description: Twenty Twenty-Five の子テーマ
Author: Scent of rose
Author URI: 
Template: twentytwentyfive
Version: 1.0.0
Text Domain: twentytwentyfive-child
*/

/* Googleフォント */
/* 全体に日本語フォントを優先適用 */
body {
  font-family: 'Noto Sans JP', sans-serif;
}

/* 日本語フォント（Noto Sans JP） */
.japanese-text {
  font-family: 'Noto Sans JP', sans-serif;
}

/* 英字フォント（Cormorant Light） */
.english-text {
  font-family: 'Cormorant', serif;
  font-weight: 300;
}

body {
  padding-top: 80px; /* 固定ヘッダーの高さ分だけ */
}

/* ページ全体の最大幅を制御 */
.wp-site-blocks {
  max-width: 1200px;   /* コンテンツ幅の上限 */
  margin: 0 auto;      /* 中央寄せ */
  padding: 0 20px;     /* 画面端にくっつかないよう余白 */
}


/* ヘッダーを画面上部に固定 */
header.wp-block-template-part {
  position: fixed;   /* 常に画面上に固定 */
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;    /* コンテンツより前面に表示 */
  background-color: rgba(248, 248, 248, 0.8);
}


.nav-contact a::before {
  font-family: "Font Awesome 6 Brands"; /* Font Awesome Brandsを指定 */
  content: "\f16d"; /* InstagramのUnicode */
  display: inline-block;
  margin-right: 6px;
  font-size: 1.1em;
  color: #E1306C; /* Instagramカラー */
  vertical-align: middle;
}

.center-html {
  display: flex;
  justify-content: center; /* 横方向の中央寄せ */
  text-align: center;      /* テキスト要素も中央揃え */
  font-size: 32px;
}

  /* カラム内の円形ブロックのスタイル */
  .circle-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
  }
  
  .circle {
    background-color: #EBEFEA; /* 円の背景色 */
    border-radius: 50%;         /* 円形にする */
    width: 180px;               /* 円の直径 */
    height: 180px;              /* 円の直径 */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-direction: column;     /* タイトルと内容を縦に並べる */
    padding: 15px;
  }
  
  .circle-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;                /* タイトルのテキストカラー */
    margin-bottom: 10px;        /* タイトルと内容の間隔 */
  }
  
  .circle-content {
    font-size: 14px;
    color: #666;                /* 内容のテキストカラー */
  }


/* カラム幅を均等にする */
.wp-block-columns.alignfull > .wp-block-column {
  flex: 1 1 0;   /* 均等に伸縮させる */
}

/* カラム全体を中央に配置 */
.wp-block-columns.alignfull {
  max-width: 1200px;   /* コンテンツ幅を制限 */
  margin-left: auto;
  margin-right: auto;  /* 中央寄せ */
  display: flex;
  justify-content: center; 
  gap: 40px;           /* カラム間余白 */
}

/* あしらい */
.decorated-heading {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 2rem 0;
}

.decorated-heading::before,
.decorated-heading::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid #ccc;
}

.decorated-heading::before {
  margin-right: 1rem;
}

.decorated-heading::after {
  margin-left: 1rem;
}

/* スマホ用調整 */
@media screen and (max-width: 767px) {
  .decorated-heading {
    display: flex;
    align-items: center;
    justify-content: center; /* 中央寄せ */
    text-align: center;
    margin: 2rem 0;
    white-space: nowrap;      /* ← 改行させない */
  }
  
  .decorated-heading::before,
  .decorated-heading::after {
    content: "";
    flex: 1;
    border-bottom: 1px solid #ccc;
  }
  
  .decorated-heading::before {
    margin-right: 1rem;
  }
  
  .decorated-heading::after {
    margin-left: 1rem;
  }
}

/* インスタ */
/* フィード本体に最大幅を持たせて中央寄せ */
#sb_instagram {
  max-width: 1200px;
  margin: 0 auto;
}

/* モバイルで1列にするならこれも */
@media (max-width: 768px) {
  #sb_instagram .sbi_item {
    width: 100% !important;
  }
}

/* PC (1200px以上) */
@media screen and (min-width: 1200px) {
  body {
    font-size: 16px;
    line-height: 1.8;
  }

  h1 { font-size: 2.4rem; }
  h2 { font-size: 2rem; }
  p  { font-size: 1rem; }
}

/* タブレット (768px〜1199px) */
@media screen and (max-width: 1199px) and (min-width: 768px) {
  body {
    font-size: 15px;
    line-height: 1.7;
  }

  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  h3 { font-size: 1.6rem; }
  p  { font-size: 0.95rem; }


}

/* スマホ (〜767px) */
@media screen and (max-width: 767px) {
  body {
    font-size: 14px;
    line-height: 1.6;
  }

  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.3rem; }
  h3 { font-size: 1.3rem; }
  p  { font-size: 0.9rem; }

  /* 画像を画面幅に合わせる */
  img {
    max-width: 100%;
    height: auto;
  }

  /* ナビゲーションの縦並び化など */
  nav ul {
    display: block;
    text-align: center;
  }
}
