@charset "utf-8";

/* 基本リセットとフォント設定 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Meiryo", sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff9f9;
}

a {
    color: #E889A1;
    text-decoration: none;
}

a:hover {
    /* text-decoration: underline;*/
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    font-size: 2.5em;
    font-weight: 700;
    text-align: center;
    color: #f26ba0;
    margin-bottom: 40px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 400px;
    height: 3px;
    background-color: #f26ba0;
    margin: 10px auto 0;
}

/* ヘッダー */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  background-color: #fff;
  box-shadow: 0 5px 10px -6px rgba(0,0,0,.1);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
}

.header-logo {
  line-height: 1.2;
  letter-spacing: .05em;
  flex-shrink: 0;
}

.header-logo {
  margin-bottom: 10px;
    }

.header-logo a {
  color: #554236;
}
.header-logo a:hover {
  color: #ddcd77;
}

.gnav-list {
  display: flex;
  justify-content: flex-end;
  list-style: none;
  gap: 40px;
  width: 100%;
}

.gnav-item a {
  position: relative;
  font-size: 15px;
  font-weight: bold;
  display: inline-block;
  padding: 5px 0;
  transition: .3s;
  letter-spacing: .05em;
  color: #ff6699;
  font-family: "expo-serif-pro" , serif; 
}
/* 新しい日本語用セレクタを追加 */
.jp-font a {
  font-family: "Meiryo", sans-serif;
}

.gnav-item a:after {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  content: "";
  transition: .3s;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  background-color: #ff98ba;
}

.gnav-item a:hover:after {
  width: 100%;
}

/* 固定ヘッダー用の調整（特定のページのみ） */
.page-with-fixed-header main {
    padding-top: 95px;
}

/* ★★★ メインビジュアル ★★★ */
.hero-section {
    padding: 150px 0 80px 0;
}

.hero-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start; /* 上端を揃える */
    gap: 40px;
}

/* 左側の単一テキストブロック */
.hero-text-block {
    /* 以前のテキストカードのスタイルを適用 */
    background-color: #fce8e8;
    margin-top: 40px; 
    padding: 40px; /* パディングを広くする */
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    /* 画像を大きくするため、テキストブロックの幅は狭く設定 */
    flex: 0 0 35%; 
    max-width: 35%;
}

.hero-text-block h2 {
    font-size: 1.8em;
    color: #E889A1;
    margin-bottom: 10px;
}

.hero-text-block h3 {
    font-size: 1.4em;
    color: #E889A1;
    margin-bottom: 5px;
}

.hero-text-block p {
    font-size: 1em;
    color: #555;
}

/* 右側のメイン画像 */
.hero-image-right {
    /* 画像側を大きくする */
    flex: 1; /* 残りのスペースすべてを使う */
    max-width: 65%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.hero-main-image {
    /* 画像の高さを固定（または十分な高さを確保）し、幅いっぱいに表示 */
    width: 100%;
    height: 400px; /* 画像の高さを大きめに設定 */
    object-fit: cover; /* 画像をボックスに合わせてトリミング */
    display: block;
}

/* レスポンシブ調整 */
@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
    }
    
    .hero-text-block, .hero-image-right {
        max-width: 100%;
        flex: 1 1 100%;
    }

    .hero-main-image {
        height: 250px; /* スマホでは高さを調整 */
    }
}

/* ★★★ サービスセクション ★★★ */
.service-section {
    background-color: #F8D6E4;
    padding: 30px 0;
    color: #fff;
    position: relative;
    text-align: center;
}

.service-grid {
    display: flex;
    justify-content: center;
    align-items: flex-end; 
    gap: 80px;
}

.service-item {
    text-align: center;
    position: relative;
}

.service-icon-wrapper {
    position: relative;
    width: 200px;
    height: 200px;
    margin-bottom: 20px;
    border-radius: 50%;
    border: 5px solid #f26ba0;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.service-icon-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-icon {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items:flex-end;
    background-color: rgba(255, 255, 255, 0.2);
}

.service-text-main {
    font-size: 1.3em;
    font-weight: bold;
    color: #ff6699;
}

/* SNSアイコンエリア */
.social-icons-area {
    display: flex;
    align-items: flex-end; 
    height: 200px; 
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 25px; 
    align-items: flex-end; 
}

.social-icon {
    width: 50px;
    height: 50px;
}


/* ===================================
   Googleカスタム検索用のスタイル
   =================================== */
.gsc-control-cse {
  padding: 2em;
  border: none !important;
  background-color: transparent !important;
}
.gcse-search {
  max-width: 500px;    /* 検索窓の最大幅（お好みで調整してください） */
  margin: 30px auto 0; /* 上に30pxの余白を取り、左右中央揃え */
  color: #fc8db9;
}
.gsc-search-button-v2 {
  padding: 10px 20px !important;
  border: 1px solid #f26ba0 !important;
  background-color: #f26ba0 !important;
}
.gsc-input-box {
  border: 1px solid #dfe1e5 !important;
  background: #fff !important;
}
.gsc-input-box:hover {
  border-color: #f4d4e1 !important;
  box-shadow: 0 1px 6px rgba(245, 164, 197, 0.5) !important;
}
.gsc-input {
    font-size: 16px;
   /* padding: 0px 700px;*/
}


/* ======================================== */
/* レスポンシブデザイン */
/* ======================================== */
@media (max-width: 768px) {
    .service-grid {
        flex-direction: column;
        gap: 40px;
    }
    
    .service-item {
        margin: 0 auto;
    }
    
    .social-icons-area {
        height: auto;
    }

    .social-icons {
        margin-top: 20px;
        align-items: center;
    }
    
    .google-search-box {
        margin-top: 40px;
    }
}

/* SNSアイコンと検索エリア */
.social-search-area {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.social-icon {
    width: 40px;
    height: 40px;
}
.social-icon2 {
    width: 60px;
    height: 40px;
}

.google-search-box {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.google-logo {
    width: 80px;
    margin-bottom: 5px;
}

.google-search-box input {
    border: 1px solid #ccc;
    padding: 5px 10px;
    border-radius: 20px;
    outline: none;
    width: 250px;
    text-align: center;
}

.search-text {
    font-size: 0.8em;
    color: #fff;
    margin-top: 5px;
}

/* ★★★ キャンペーンセクション ★★★ */
.campaign-section {
    padding-top: 150px; 
    padding-bottom: 80px;
    position: relative;
    overflow: hidden; 
    z-index: 1; 
}

.campaign-section::before {
content: '';
position: absolute;
top: 30px;/* 位置を調整 */
left: -10%;
width: 120%;
height: 1400px;
background-color: #F8D6E4;
border-radius: 45% 45% 0 0;
z-index: -1;
}

.campaign-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 2; 
    padding-bottom: 30px;
}

.campaign-wrapper {
    border: 1px solid #fff;
    border-radius: 15px;
    padding: 30px 30px 0px;     /* 枠とカードの間隔 */
    margin: 0 auto;
    max-width: 1100px; /* 横幅を整える */
}

.campaign-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    padding: 20px;
    display: flex; /* 画像とテキストを横並びに */
    align-items: flex-start; /* 上端を揃える */
    transition: transform 0.2s, box-shadow 0.2s;
}

.campaign-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.campaign-thumb {
    width: 120px; /* 画像の幅を小さく指定 */
    height: 160px; /* 画像の高さを指定 */
    border-radius: 10px; /* 角丸にする */
    object-fit: cover; /* 縦横比を保ちつつ指定サイズに合わせる */
    margin-right: 15px;
    border: 2px solid #E889A1;
}

.campaign-text-content {
    flex: 1; /* 残りのスペースをテキストが埋める */
}

.campaign-text-content h4 {
    font-size: 1.1em;
    color: #E889A1;
    margin-bottom: 5px;
}

.campaign-text-content p {
    font-size: 0.9em;
    color: #555;
}


/* ★★★ フッター上のCTAセクション ★★★ */
.cta-section {
    background-color: #fff9f9;
    padding: 80px 0;
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
    color: #414040;
}

.cta-content {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 20px;
}

.cta-col {
    text-align: center;
}

.cta-logo {
    height: 150px;
    margin-bottom: 15px;
}

.cta-btn {
    display: inline-block;
    background-color: #E889A1;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.2s;
}

.cta-btn:hover {
    background-color: #A25B8E;
}

.cta-banner {
    max-width: 250px;
}

/* ★★★ フッター ★★★ */
.footer {
    background-color: #f26ba0;
    padding: 20px 0;
    text-align: center;
    color: #fff;
    font-size: 0.8em;
}

/* トップへ戻るボタン */
#page-top {
    position: fixed;
    right: 5px;
    bottom: 20px;
    height: 50px;
    text-decoration: none;
    font-weight: bold;
    transform: rotate(90deg);
    font-size: 90%;
    line-height: 1.5rem;
    color: #f26ba0;
    padding: 0 0 0 35px;
    border-top: solid 1px;
    z-index: 1000;
}
#page-top::before {
    content: "";
    display: block;
    position: absolute;
    top: -1px;
    left: 0px;
    width: 15px;
    border-top: solid 1px;
    transform: rotate(35deg);
    transform-origin: left top;
}

/* ======================================== */
/* レスポンシブデザイン */
/* ======================================== */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        align-items: center;
        padding: 10px 20px;
    }

    .logo {
        margin-bottom: 15px;
    }

    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    
    .main-nav li {
        margin: 0;
    }

    .hero-content {
        flex-direction: column;
    }

    .hero-text-left {
        gap: 15px;
    }

    .hero-image-right {
        margin-top: 20px;
    }
.hero-text-block {
    margin-top: 200px;

}

    .service-grid {
        flex-direction: column;
        gap: 40px;
    }
    
    .service-item {
        margin: 0 auto;
    }

    .social-search-area {
        position: static;
        transform: none;
        margin-top: 40px;
    }
    
    .campaign-section {
        padding-top: 100px;
    }
    
    .campaign-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .campaign-thumb {
        margin-right: 0;
        margin-bottom: 15px;
    }

/* ★★★ キャンペーンセクション レスポンシブ調整★★★ */
    .campaign-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .campaign-thumb {
        margin-right: 0;
        margin-bottom: 15px;
    }

    .campaign-section::before {
        height: 230px; /* スマホでは高さを低くしてカーブをなだらかに */
        top: 10; /* スマホでの位置を調整 */
    }

    .cta-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .cta-banner, .cta-logo {
        max-width: 100%;
        height: auto;
    }

        .gnav-list {
        flex-direction: column; /* ナビゲーションを縦並びにする */
        gap: 15px; /* 項目間の間隔 */
        align-items: center; /* 中央揃え */
    }
    
    .gnav-item a {
        font-size: 14px;
    }
}