@charset "utf-8";

html{
scroll-behavior:smooth;
}

*,
::before,
::after {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

ul,
ol {
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

/* 基本設定 */
body {
    margin: 0;
    font-family: 'M PLUS Rounded 1c', sans-serif;
    font-weight: 500; /* 通常の太さ */
    font-size: 16px;
    color: #333;
    line-height: 1.6;
    background: #41d0f0
}
/* ロゴや見出し、フッターの大きな文字だけ超太字にする */
.footer-logo, 
.logo-main, 
.section-title, 
h1,h2,h3,p,a{
    font-family: 'M PLUS Rounded 1c', sans-serif;
    font-weight: 800; 
    letter-spacing: 0.07em; 
}


/* ヘッダー全体 */
.sky-header {
    background: linear-gradient(to bottom, #41d0f0 0%, #d1fafb 100%);
    border-bottom: 5px solid #000; 
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 15px;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ロゴ */

.logo img {
    width: 140px;
}


/* ナビゲーション */
.main-nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 30px;
    margin: 0;
    padding: 20px;
}

.main-nav a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    transition: color 0.2s;
    display: block;
    padding: 10px 15px;
}

.main-nav a:hover {
    color: #2563eb;
}

/* お問い合わせボタン（ナビ内） */
.nav-btn {
    background: #ff5a5f;
    color: #f0f9ff !important;
    padding: 10px 25px;
    border-radius: 50px;
    border: 3px solid #000;
    box-shadow: 4px 4px 0px #000;
    transition: 0.2s;
}

.nav-btn:hover {
    color: #f0f9ff;
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0px #000;
}

/* --- ドロップダウンの核心部分 --- */
.dropdown {
    position: relative;
    display: inline-block;
}

/* 初期状態：物理的に消す */
.dropdown-content {
    /* --- 1. 横並びの設定 --- */
    display: flex;
    flex-direction: row;      
    white-space: nowrap;      
    gap: 10px;                

    /* --- 2. 幅の調整 --- */
    min-width: auto;          
    width: max-content;       
    padding: 10px 20px;       

    /* --- 以下、既存のスタイル --- */
    opacity: 0;                
    visibility: hidden;        
    pointer-events: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background-color: #ffffff;
    border: 3px solid #000;
    border-radius: 15px;
    box-shadow: 6px 6px 0px #000;
    margin-top: 10px;
    z-index: 9999;
    transition: all 0.3s ease;
}

/* ホバーした時だけ出す */
.dropdown:hover .dropdown-content {
    opacity: 1;               
    visibility: visible;      
    pointer-events: auto;     
    transform: translateX(-50%) translateY(0); 
}

.dropdown-content li {
    display: block;
    width: 100%;
}

.dropdown-content li a {
    padding: 12px 20px;
    display: block;
    font-size: 0.9rem;
    color: #333;
    border-radius: 10px;
}

.dropdown-content li a:hover {
    background-color: #e0f2fe;
    color: #2563eb;
}

/* ふわっと出るアニメーション */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}


.nav-btn-line{
    background: #06c755;
    color: #f0f9ff !important;
    padding: 10px 25px;
    border-radius: 50px;
    border: 3px solid #000;
    box-shadow: 4px 4px 0px #000;
    transition: 0.2s;
}

.nav-btn-line img{
  width: 20px;
}

.nav-btn-line:hover {
    color: #f0f9ff;
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0px #000;
}

.nav-btn-tel{
    background: #fed503;
    color: #000 !important;
    padding: 10px 25px;
    border-radius: 50px;
    border: 3px solid #000;
    box-shadow: 4px 4px 0px #000;
    transition: 0.2s;
}

.nav-btn-tel:hover {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0px #000;
}
/* ハンバーガー */
.hamburger {
  width: 30px;
  height: 22px;
  position: relative;
  cursor: pointer;
  display: none;
  z-index: 1100;
}

.hamburger span {
  position: absolute;
  width: 100%;
  height: 3px;
  background: #000;
  left: 0;
  transition: 0.3s;
}

/* 3本線 */
.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 9px; }
.hamburger span:nth-child(3) { bottom: 0; }

/* 開いた時（×になる） */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg);
  top: 9px;
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg);
  bottom: 9px;
}

.contact-page {
  padding: 80px 5%;
  /* background: #faa7ef; */
  text-align: center;
}

.section-title{
    font-size: 46px;
}

.contact-intro {
  margin: 20px 0 40px;
  font-size: 20px;
}

/* CTA２つ */
.contact-methods {
  max-width: 600px;
  margin: 0 auto;
  display: grid;
  /* grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); */
  gap: 60px;
  margin-bottom: 60px;
}

.contact-card {
  display: block;
  background: #fff;
  border: 3px solid #000;
  border-radius: 50px;
  padding: 25px;
  font-weight: bold;
  transition: 0.2s;
}

.contact-card span {
  display: block;
  font-size: 1.2rem;
  margin-top: 10px;
}

/* 種類別カラー */
.contact-card.tel { background: #fed503; }
.contact-card.line { background: #06c755; }


.contact-card:hover {
  transform: translateY(-5px);
}

/* フォーム */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
  text-align: left;
  background: #f8a3ec;
  padding: 40px;
  border-radius: 20px;
  border: 3px solid #000;
  box-shadow: 6px 6px 0 #000;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  border: 2px solid #ccc;
}

textarea {
  min-height: 120px;
}

.submit-btn {
  width: 100%;
  background: #ff5a5f;
  color: #fff;
  padding: 15px;
  border-radius: 50px;
  border: 3px solid #000;
  font-size: 1.4rem;
}



.sky-footer {
    background: linear-gradient(to bottom, #93c5fd 0%, #bae6fd 100%); 
    border-top: 5px solid #000;
    padding: 40px 20px 10px;
    font-family: 'M PLUS Rounded 1c', sans-serif;
    font-weight: 800;
    position: relative;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-end; 
    gap: 20px;
}

/* 共通：アイコンリストのスタイル */
.icon-list {
    list-style: none;
    padding: 0;
    color: #444;
}
.icon-list li {
    margin-bottom: 8px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
}
.icon-list i {
    color: #ff5a5f; /* ロボットのアクセントカラー */
}

/* ロゴエリアの装飾 */
.footer-center {
    text-align: center;
    position: relative;
}
.footer-logo {
    font-size: 2rem;
    font-weight: 900;
    color: #333;
    text-shadow: 2px 2px 0px #fff, 4px 4px 0px rgba(0,0,0,0.1);
}
.logo-sub {
    display: block;
    font-size: 1rem;
    margin-top: -5px;
}
.mini-robo {
    width: 30px;
    vertical-align: middle;
}
.logo-main{
    width: 80px;
}

/* リンクエリア */
.link-grid {
    display: flex;
    gap: 40px;
}
.link-grid ul {
    list-style: none;
    padding: 0;
}
.link-grid li {
    margin-bottom: 5px;
}
.link-grid a {
    text-decoration: none;
    color: #444;
    font-size: 0.95rem;
    position: relative;
}
.link-grid a::before {
    content: '●'; 
    font-size: 0.6rem;
    color: #ff5a5f;
    margin-right: 8px;
    vertical-align: middle;
}

/* コピーライトエリア */
.footer-bottom {
    margin-top: 30px;
    border-top: 2px solid rgba(0,0,0,0.1);
    padding-top: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}
.copyright {
    font-size: 0.75rem;
    color: #666;
}

/* 装飾パーツ（ネジと×印） */
.screw-deco, .cross-deco {
    color: #555;
    font-size: 1.2rem;
    filter: drop-shadow(1px 1px 0px #000);
}
.s1 { position: absolute; left: -40px; bottom: 10px; transform: rotate(-15deg); }
.s2 { position: absolute; right: -40px; bottom: 10px; transform: rotate(15deg); }


/* レスポンシブ */
@media (max-width: 768px) {

  .hamburger {
    display: block;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background: #fff;
    border-left: 4px solid #000;
    padding-top: 100px;
    transition: 0.3s;
    z-index: 1000;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  /* 開いた状態 */
  .main-nav.active {
    right: 0;
  }

  .nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
}

.nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

.footer-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
.footer-container {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .contact-list li {
        justify-content: center;
    }

    .footer-nav {
        justify-content: center;
        gap: 30px;
    }

    .nav-group h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
}
