/*
 Theme Name: SANGO Child
 Theme URI: https://saruwakakun.design
 Author: SARUWAKA
 Author URI: https://saruwakakun.com
 Template: sango-theme
 Version: 3.0
*/
/*こちらはSANGOの子テーマ用CSSです。以下にCSSを記入していきましょう。*/

.header-area img,
.site-header img,
#logo img {
  max-width: 100% !important;
  width: 260px !important;
  height: auto !important;
}
header { background-color: #ffffff !important; }
[class*="nav"] {
  background-color: #ffffff !important;
}
[class*="nav"] a {
  color: #6DB7AE !important;
}
.my-accordion {
  border: none;
  border-radius: 10px;
  margin: 16px 0;       /* ← centerに */
  width: 100%;             /* ← 追加（すでに100%なら変化なし） */
  /*max-width: 720px;        /* ← 追加：広げたい幅に調整 */
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.my-accordion-title {
  padding: 16px 20px;
  background: linear-gradient(135deg, #a8d8d2, #7bbfb9);  /* ← 薄く */
  cursor: pointer;
  font-weight: bold;
  list-style: none;
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 10px;
  align-items: center;
  user-select: none;
  color: #ffffff;
  font-size: 15px;
}

.my-accordion-title:hover {
  background: linear-gradient(135deg, #96cdc7, #6ab0aa);  /* ← こちらも薄く */
}
.my-accordion-icon {
  font-size: 18px;
  transition: transform 0.3s;
  display: inline-block;
  color: #ffffff;
}
.my-accordion[open] .my-accordion-icon {
  transform: rotate(180deg);
}
.my-accordion-body {
  padding: 0px;
  line-height: 1.8;
  background: #ffffff;
  border: 1px solid #e0f0ee;
  border-top: none;
  border-radius: 0 0 10px 10px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}
.my-accordion[open] .my-accordion-body {
  max-height: none;
  overflow: visible;
  padding: 16px 6px 16px 6px;  /* 上 右 下 左 */
}

html, body {
  overflow-x: hidden;
  max-width: 100%;
}