@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/

/* スマホフッターの影を削除 */
#fix_bottom_menu, #fix_bottom_menu::before {
background:none;
box-shadow: none;
}
/* 画面最上部でスマホフッターが下に少し隠れる */
 * [data-scrolled=true] #fix_bottom_menu{
bottom: 0px !important;
}


/* コピー対策 */
#main_content {
user-select:none;
-moz-user-select:none;
-webkit-user-select:none;
-khtml-user-select:none;
}

/* 記事本文内のマージンを調整 */
.post_content > p {
margin-bottom:2.5em;
font-size:18px;
}

/* icomoonを遅延読み込み */
@font-face {
font-family: 'icomoon';
src:url('/wp-content/themes/swell/assets/fonts/icomoon.ttf?7ojy2d') format('embedded-truetype'),
url('/wp-content/themes/swell/assets/fonts/icomoon.ttf') format('truetype'),
url('/wp-content/themes/swell/assets/fonts/icomoon.woff') format('woff'),
url('/wp-content/themes/swell/assets/fonts/icomoon.svg') format('svg');
font-weight: normal;
font-style: normal;
font-display: swap;
}

/* ーーーサイドバー関連ーーー */
.side-prf-text{
padding:1.2em;
}
.side-prf-text p{
margin-bottom:1.2em;
}

/* ------- メルマガcss -------*/
/* カラー変数の定義 */
:root {
    --primary-color: #fd8008;
    --primary-hover: #ffab58;
    --text-color: #333;
    --text-light: #666;
    --white: #ffffff;
    --shadow-color: rgba(0,0,0,0.1);
    --modal-overlay: rgba(0,0,0,0.5);
}

/* メインフォームのスタイル */
.side-hustle-subscription-form {
    max-width: 450px;
    margin: 40px auto;
    padding: 30px;
    background-color: var(--white);
    border: 2px solid var(--primary-color);
    border-radius: 12px;
    box-shadow: 0 8px 32px var(--shadow-color);
    text-align: center;
    color: var(--text-color);
}

/* タイトルと見出し */
.side-hustle-subscription-form .form-title {
    font-size: 24px;
    margin-bottom: 15px;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.3;
}

.side-hustle-subscription-form p {
    font-size: 16px;
    margin-bottom: 20px;
}

.side-hustle-subscription-form .exclusive-offer {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 18px;
    margin-bottom: 15px;
}

/* ボタンスタイル */
.side-hustle-subscription-form button {
    width: 100%;
    padding: 15px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 6px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.side-hustle-subscription-form button:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px var(--shadow-color);
}

/* リストスタイル */
.side-hustle-benefits {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    text-align: left;
}

.side-hustle-benefits li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.side-hustle-benefits li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* 補足テキスト */
.micro-copy {
    font-size: 14px;
    color: var(--text-light);
    margin-top: 15px;
    font-style: italic;
}

/* モーダル関連 */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--modal-overlay);
    z-index: 99999999;
    display: none;
}

.modal-content {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: var(--white);
    padding: 20px;
    width: 80%;
    max-width: 500px;
    border-radius: 5px;
    box-shadow: 0 4px 6px var(--shadow-color);
}

.close-button {
    position: absolute;
    right: 10px;
    top: 5px;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-light);
}

/* z-index調整 */
.p-postListTabBody .c-tabBody__item[aria-hidden=false],
.p-fixBtnWrap,
.c-fixBtn {
    z-index: auto !important;
}

/* レスポンシブ対応 */
@media (max-width: 480px) {
    .side-hustle-subscription-form {
        padding: 20px;
    }
    .side-hustle-subscription-form .form-title {
        font-size: 22px;
    }
}
/* ------- メルマガcss -------*/


/* プロフィールアイコンのスタイル */
#profile-icon {
    position: fixed;
    bottom: 15%; /* ボトムから18%の位置に配置 */
    right: 20px;
    width: auto;
    height: auto;
    cursor: pointer;
    z-index: 1000;
    text-decoration: none; /* リンクの下線を削除 */
}

.icon-content {
    display: flex;
    align-items: center;
    background-color: #ffffff; /* 背景を白に変更 */
    border: 2px solid #fc902a; /* 赤い枠線を追加 */
    border-radius: 8px; /* 角丸を少し小さく */
    padding: 8px 12px; /* パディングを小さく */
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.icon-content .profile-image {
    width: 20px; /* 画像サイズを20pxに設定 */
    height: 20px;
    margin-right: 6px; /* マージンを少し小さく */
    object-fit: cover; /* 画像のアスペクト比を保持 */
    border-radius: 50%; /* 画像を円形に */
}

.icon-content .icon-text {
    color: #fc902a; /* テキストの色を赤に設定 */
    font-size: 12px; /* フォントサイズを小さく */
    font-weight: bold;
    white-space: nowrap;
}
.plink .c-balloon__iconImg{
	border: 2px solid #ececec;
    border-radius: 50%;
}

/* 新着コメント全体タイトル */
.styled-comments-title {
  font-size: 1.3em;
  font-weight: 700;
  border-left: 5px solid #ff8800; /* オレンジ */
  padding-left: 1em;
  margin-bottom: 1.8em;
  color: #333;
  background: #fafafa;
}

/* コメントボックス全体 */
.styled-comment-box {
  background: #ffffff; /* 白ベース */
  padding: 1em 1.2em;
  margin-bottom: 1.8em;
  border-left: 5px solid #cccccc; /* 淡グレー縁 */
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.3s ease;
}
.styled-comment-box:hover {
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

/* タイトルリンク（オレンジ基調） */
.styled-comment-title a {
  font-size: 1em;
  font-weight: 600;
  color: #ff6f00; /* オレンジ */
  text-decoration: none;
}
.styled-comment-title a:hover {
  color: #cc5600; /* 濃いオレンジ */
  text-decoration: underline;
}

/* 投稿日者・日付情報 */
.styled-comment-meta {
  font-size: 0.85em;
  color: #777;
  margin: 0.4em 0;
}

/* コメント本文 */
.styled-comment-content {
  font-size: 0.95em;
  color: #444;
  line-height: 1.7;
}

/* 続きを読むリンク（オレンジで統一） */
.styled-comment-link {
  color: #ff6f00;
  font-weight: bold;
  text-decoration: none;
}
.styled-comment-link:hover {
  color: #cc5600;
  text-decoration: underline;
}


/* 著者ボックス全体 */
.author-balanced-box {
  display: flex;
  align-items: flex-start;
  max-width: 720px;
  margin: 0 auto 32px auto;
  background: #f7faff;
  border: 1px solid #d0e8ff;
  border-radius: 12px;
  padding: 20px 24px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
  gap: 16px;
  flex-direction: row; /* 常に横並び */
  flex-wrap: nowrap;
}

.author-balanced-img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.author-balanced-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.author-balanced-name {
  font-size: 15px;
  font-weight: bold;
  color: #222;
  margin-bottom: 4px;
}

.author-balanced-role {
  font-size: 13px;
  color: #777;
  margin-bottom: 10px;
}

.author-balanced-message {
  font-size: 14px;
  color: #444;
  line-height: 1.6;
  margin-bottom: 12px;
}

.author-balanced-link a {
  font-size: 13px;
  color: #0073aa;
  text-decoration: none;
}
.author-balanced-link a:hover {
  text-decoration: underline;
}

/* スマホ向け微調整（行間や余白だけ） */
@media (max-width: 480px) {
  .author-balanced-box {
    padding: 16px;
    gap: 12px;
  }

  .author-balanced-img {
    width: 48px;
    height: 48px;
  }

  .author-balanced-name {
    font-size: 14px;
  }

  .author-balanced-message {
    font-size: 13.5px;
    line-height: 1.5;
  }
}

/* 記事上ブロック：背景を薄オレンジ系に */
.author-box-thin {
  display: flex;
  align-items: flex-start;
  border: 1px solid #f3d9c6;        /* やさしいオレンジの枠線 */
  border-radius: 6px;
  padding: 12px 16px;
  background-color: #fffaf5;        /* ほんのりオレンジの背景 */
  font-family: sans-serif;
  font-size: 0.88em;
  line-height: 1.5;
  margin: 20px 0;
}

.author-box-thin-left {
  position: relative;
  padding-right: 12px;
  margin-right: 12px;
  border-right: 3px solid #f0b27a;  /* オレンジ系の縦線 */
}

.author-box-thin-img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
}

.author-box-thin-right {
  flex: 1;
}

.author-box-thin-label {
  font-weight: bold;
  margin: 0 0 4px;
  font-size: 0.95em;
}

.author-box-thin-link {
  font-size: 0.85em;
  color: #cc6600; /* 濃いめのオレンジ（リンク用） */
  text-decoration: none;
  display: inline-block;
  margin-bottom: 6px;
}

.author-box-thin-link:hover {
  text-decoration: underline;
}

.author-box-thin-message {
  margin: 0;
  color: #333;
}

/* ▼ スマホ対応 */
@media screen and (max-width: 600px) {
  .author-box-thin {
    flex-direction: column;
    align-items: flex-start;
  }

  .author-box-thin-left {
    border-right: none;
    padding-right: 0;
    margin-bottom: 8px;
  }

  .author-box-thin-img {
    width: 60px;
    height: 60px;
  }
}


/* 記事上ボタンの色・サイズ調整 */
.line-btn-wrap {
  text-align: center;
  margin: 24px 0;
}

.line-btn-link {
  background-color: #06C755;
  color: #fff;
  font-weight: bold;
  font-size: 0.85em;           /* ← ここで文字サイズを少し小さく */
  padding: 12px 20px;          /* ← 高さと横幅もややコンパクトに */
  border-radius: 28px;         /* ← 丸みを少しだけ調整 */
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.1);
  transition: 0.2s ease;
}

.line-btn-link:hover {
  background-color: #00a300;
  transform: translateY(-1px);
}
