body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    text-align: center;
    background-color: #f4f4f4;
}

header {
    text-align: left;
    padding: 192px 48px 192px;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
}
        h1{    
           color: #ffffff;
           font-size: 72px;
           font-weight: 600;
           font-weight: bold;    
           margin: 0px 0px 24px 0px;
          justify-content: flex-start;

    font-family: 'Arial', sans-serif;
            }
        p3{ 
           font-size: 28px;
           font-weight: bold;    
        }


main{
    background-color: #f4f4f4;
    padding-bottom: 10px;
}

.background-image {
  position: fixed; /* 画像を固定表示 */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1; /* 他の要素よりも奥に表示 */
 filter: brightness(0.9) grayscale(0.2);
}

.sns-link {
    padding-top: 20px;
    margin-right: 20px;
    margin-bottom: 20px;
    margin-left: 20px;
}

.sns-link a {
    display: inline-block;
    margin: 10px;
    padding: 10px 20px;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
    background: #00c6ff;
}

.sns-link a:hover {
    background: #005bbf;
}

.sns-feed {
    margin: 30px;
    background: white;
    padding: 20px 20px 50px 20px;
    border-radius: 8px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.feed-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

iframe {
    max-width: 100%;
    border-radius: 8px;
}

.feed-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 60px; /* 隣の要素との間隔 */
}



/* ナビゲーションバーのデザインをテンプレートに似せる */
.fixed.sd {
    align-items: center;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(102, 102, 102, 0) 100%);
    border-radius: 0;
    box-shadow: none;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    height: auto;
    justify-content: space-between;
    left: 0;
    margin: 0;
    padding: 30px 20px;
    position: fixed;
    top: 0;
    transition: background 0.8s ease-in-out 1.4s;
    width: 100%;
    max-width: 100%;
    z-index: 1000;
}

.fixed.sd .link {
  color: white;
  text-decoration: none;
  margin: 0 30px;
}

.fixed.sd h1 {
  font-size: 24px;
  margin: 0;
}

.fixed.sd nav {
  display: flex;
  align-items: center;
}

.fixed.sd button {
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
}

.sd .link {
  /* ... (既存のスタイル) ... */
  transition: transform 0.3s ease;
}

.sd .link:hover {
  transform: scale(1.2); /* 1.2倍に拡大 */
}




/* X（旧Twitter）の埋め込みエリア */
.twitter-container {
    width: 320px;
    height: 400px;
    overflow: auto;
    border: 1px solid #ddd;
    padding: 10px;
    background: white;
}




/* Xの説明エリア */
.feed-container {
    display: flex;
    justify-content: center;
    align-items: flex-start; /* 上揃え */
    gap: 30px; /* Xのタイムラインと紹介文の間に余白をつける */
    max-width: 900px; /* 最大幅を設定 */
    margin: 0 auto; /* 中央寄せ */
    flex-wrap: wrap; /* 画面幅が狭い時は縦並び */
    flex-direction: row-reverse;
}

.twitter-container {
    width: 320px; /* Xのタイムラインの幅を固定 */
    height: 700px;
    overflow: hidden; /* はみ出し防止 */
}

.twitter-description {
    flex: 1; /* 残りの幅いっぱいに広げる */
    min-width: 300px; /* ある程度の幅を確保 */
    text-align: left; /* 左揃え */
}

.twitter-description h2 {
    margin-top: 30px;
    font-size: 24px;
    margin-bottom: 10px;
}

.twitter-description p {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
}

.follow-button {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background-color: #1da1f2;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s ease-in-out;
}

.follow-button:hover {
    background-color: #0d8ddb;
}





/* インスタのエリア */

.instagram-section {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.instagram-header {
    margin-top: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.insta-follow-btn {
    background-color: #E4405F;
    color: white;
    padding: 8px 16px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
}

.insta-follow-btn:hover {
    background-color: #C13584;
}

.instagram-gallery {
    margin-top: 30px;
    display: flex;
    gap: 40px;
    justify-content: center;
    flex-wrap: wrap;
}

.instagram-gallery img {
    width: 273px;
    height: 373px;
    object-fit: cover;
    border-radius: 5px;
    transition: transform 0.3s ease;
}

.instagram-gallery img:hover {
    transform: scale(1.1);
}




