@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
*/

/* ファイル: swell-child/style.css */

/* ============================
   Service 4カードグリッド
   ============================ */
.ah-service-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  max-width: 100%;
}

.ah-service-card {
  padding: 80px 40px;
  text-align: center;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.ah-service-card h5 {
  font-size: 18px;
  margin: 0;
}

.ah-service-card p {
  margin: 0;
}

/* アイコン円 */
.ah-service-icon {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background-color: #666;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.ah-service-icon i {
  font-size: 40px;
  color: #fff;
}

/* ============================
   Vision アイコン
   ============================ */
.ah-vision-icon {
  width: 100px;
  height: 100px;
  background-color: #666;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.ah-vision-icon i {
  font-size: 40px;
  color: #fff;
}

/* ============================
   Contact 2カラム
   ============================ */
.ah-contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
}

.ah-contact-left {
  background-color: #F2F2F5;
  padding: 80px 40px;
}

.ah-contact-right {
  background-color: #28282E;
  padding: 80px 40px;
  color: #fff;
}

.ah-contact-right label {
  color: #fff !important;
}

.ah-contact-right input[type="text"],
.ah-contact-right input[type="email"],
.ah-contact-right textarea {
  width: 100%;
  background: transparent;
  border: 1px solid #fff;
  color: #fff;
  padding: 8px;
  margin-top: 4px;
}

.ah-contact-right input[type="submit"] {
  background-color: #00A9E0;
  color: #fff;
  border: none;
  padding: 10px 30px;
  cursor: pointer;
}

/* ============================
   Font Awesome 読み込み
   （SWELLに含まれない場合）
   ============================ */
/* functions.phpで読み込む方が確実 */

/* ============================
   SP対応
   ============================ */
@media (max-width: 768px) {
  .ah-service-grid {
    grid-template-columns: 1fr;
  }
  
  .ah-contact-wrap {
    grid-template-columns: 1fr;
  }
  
  .ah-contact-right {
    padding: 40px 20px;
  }
}

/* ============================
   右側の∧ページナビ非表示
   ============================ */
.swell-page-navi,
.page-navi-wrap,
#page-top {
  display: none !important;
}

/* ============================
   セクション間余白を詰める
   ============================ */
.ah-service-grid,
.ah-contact-wrap {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* ============================
   About Usボタンの下線消す
   ============================ */
.wp-block-button__link {
  text-decoration: none !important;
  border-bottom: none !important;
}

/* ============================
   Consultingセクション 下線を消す
   ============================ */
#Consulting h1,
#Consulting h3,
.wp-block-heading {
  border-bottom: none !important;
  text-decoration: none !important;
}

/* SWELLの見出し装飾を消す */
.swell-block-heading::after,
.wp-block-heading::after {
  display: none !important;
}

/* ============================
   テキストの左右マージン
   ============================ */
#Consulting .wp-block-group__inner-container,
#Consulting .is-layout-constrained {
  max-width: 800px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 40px !important;
  padding-right: 40px !important;
}

/* 子テーマstyle.cssに追加 */
.wp-block-heading.is-style-section_ttl:empty {
  display: none !important;
}

/* Consultingセクションのh3下線を消す */
#Consulting h3 {
  border-bottom: none !important;
  padding-bottom: 0 !important;
}

/* SWELLのh3デフォルト装飾を全消し（サイト全体） */
.post_content h3::after,
.post_content h3::before {
  display: none !important;
}

.post_content h3 {
  border-bottom: none !important;
  border-left: none !important;
  padding: 0 !important;
  background: none !important;
}

/* Consultingセクションのテキスト余白 */
#Consulting h1,
#Consulting h3 {
  padding-left: 20px !important;
  padding-right: 20px !important;
  border-bottom: none !important;
}

/* 子テーマstyle.cssに追加 */
.ah-service-card {
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.ah-service-card:hover {
  transform: scale(1.03);
  opacity: 0.9;
}

.ah-service-icon {
  transition: transform 0.3s ease;
}

.ah-service-card:hover .ah-service-icon {
  transform: rotate(360deg);
}