@charset "UTF-8";

/************************************
** トップページ専用スタイル
************************************/

/* style.cssを踏襲 */
/* 見出しやpタグは親テーマとstyle.cssのスタイルを継承 */

.top-sns-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  padding: 20px 0;
  background-color: #fff;
}

.top-sns-icon {
  display: inline-block;
  transition: opacity 0.3s ease;
}

.top-sns-icon:hover {
  opacity: 0.7;
}

.top-sns-icon img,
.top-sns-icon svg {
  width: 60px;
  height: 60px;
  display: block;
  box-shadow: none;
}

/* モバイル表示 */
@media screen and (max-width: 767px) {
  .content .main {
    padding: 20px 10px;
  }
}
.top-sns-icons {
  gap: 30px;
  padding: 0;
}

.top-sns-icon img,
.top-sns-icon svg {
  width: 48px;
  height: 48px;
}

/* 新着情報・新着コラムセクション */
/* PC版：2カラムレイアウト */
.top-news-columns {
  display: flex;
  gap: 60px;
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}

.top-news-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.top-news-column h5 {
  font-size: 22px;
  padding-left: 0;
  border-bottom: solid 3px #006630;
  position: relative;
  margin-bottom: 20px;
}

/* リストのスタイル */
.top-news-column .lcp_catlist {
  padding: 0;
  margin: 0;
  flex: 1;
}

.top-news-column .lcp_catlist li {
  margin-bottom: 15px;
  line-height: 1.6;
}

.top-news-column .lcp_catlist a {
  color: #0066cc;
  text-decoration: none;
}

.top-news-column .lcp_catlist a:hover {
  text-decoration: underline;
}

/* モバイル版：縦並び */
.top-news-section {
  margin-bottom: 40px;
  padding: 0 20px;
}

.top-news-section h5 {
  font-size: 22px;
  padding-left: 0;
  border-bottom: solid 3px #006630;
  position: relative;
  margin-bottom: 20px;
}

.top-news-section .lcp_catlist {
  padding: 0;
  margin: 0 0 20px 0;
}

.top-news-section .lcp_catlist li {
  margin-bottom: 15px;
  line-height: 1.6;
}

.top-news-section .lcp_catlist a {
  color: #0066cc;
  text-decoration: none;
}

.top-news-section .lcp_catlist a:hover {
  text-decoration: underline;
}

/* ボタンスタイル */
.top-news-button {
  text-align: center;
  margin-top: 20px;
}

/* PC版：ボタンを下に固定 */
.top-news-column .top-news-button {
  margin-top: auto;
}

.top-news-button .button {
  display: inline-block;
  padding: 12px 30px;
  background-color: #ecf0fb;
  color: #333;
  text-decoration: none;
  border: 1px solid #ccc;
  border-radius: 3px;
  font-size: 15px;
  transition: all 0.3s ease-in-out;
}

.top-news-button .button:hover {
  background-color: #006630;
  color: #fff;
}

/* ご挨拶セクション */
.greeting-section {
  max-width: 1200px;
  margin: 60px auto 40px;
  padding: 0 20px;
}

.greeting-section h5 {
  font-size: 22px;
  padding-left: 0;
  border-bottom: solid 3px #006630;
  position: relative;
  margin-bottom: 30px;
}
.only-pc .greeting-section h5 {
  margin-bottom: 50px;
}

/* PC版：2カラムレイアウト */
.only-pc .greeting-content {
  display: flex;
  gap: 40px;
  align-items: center;
}

.only-pc .greeting-image {
  flex: 0 0 45%;
  max-width: 550px;
}

.only-pc .greeting-image img {
  width: 100%;
  height: auto;
  display: block;
}

.only-pc .greeting-text {
  flex: 1;
}

.greeting-text p {
  margin: 0;
}

/* モバイル版：縦並び */
.only-sp .greeting-image {
  margin-bottom: 20px;
}

.only-sp .greeting-image img {
  width: 100%;
  height: auto;
  display: block;
}
