﻿@charset "UTF-8";

body {
    align-items: center;
    min-height: 100vh;
    background-color: #f5f5f5;
    margin: 0; /* 追加: デフォルトのマージンをリセット */
    padding: 0; /* 追加: デフォルトのパディングをリセット */
}

/*
.main-contents h2 {
    text-align: center;
    color: #333;
}
*/

   #container {
     line-height: 1.5; /* ここで全体の行間を設定 */
     margin-top:20px;
     background-color:; 
     }
   #container h2{
     font-size:20px;
     text-align:center;
     padding:20px;
   }
    #content a p {
     display: block; /* ブロック要素化 */
     line-height: 1.5; /* 各リンクの行間を設定 */
     text-decoration: underline;
     text-align: left;
     font-size:min(3.50vw, 25px);
     max-width: 600px; 
     width:100%;
     white-space: normal; /* 改行を有効にする */
     margin-bottom:15px ; /* 各リンクの間隔を設定 */
     
    }
  
@media screen and (min-width: 768px),print {
     #container {
     line-height: 1.5; /* ここで全体の行間を設定 */  
     margin:auto;     
     background-color:;  
    }
     #container h2{
     font-size:30px;
     text-align:center;
     padding:20px;
   }
    #content a p {
    font-size:min(8.33vw, 25px);
     max-width: 900px; /* 適宜調整 */
     margin-bottom: 20px; /* 各リンクの間隔を設定 */
    }
  #whatsnewtext{
    padding-left:25vw;
    }
}

.section {
    margin:auto;
    padding:20px;
    width:80vw;    
}
.grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}
.grid_item {
    flex: 1 1 calc(33.333% - 40px);
    box-sizing: border-box;
    max-width: calc(33.333% - 40px);
    height:auto;
}
.main-contents {
  margin-top:30px;
  width:90vw;
  margin:auto;
  margin-top:;
}

.section_title{
 text-align:center;
 margin-bottom:20px;
 font-size:3em;
}

.section_title2{
 text-align:center;
 margin-bottom:20px;
 font-size:2.0vw;
 line-height:1.7;
}

.section_title3{
 text-align:center;
 margin-bottom:20px;
 font-size:1.35vw;
 font-weight:bold;
 line-height:1.7;
}

.heading_top{
 font-size:1.8vw;
}

@media (max-width: 768px) {
    .main-contents {
     width:100%
     margin:auto;
     padding: px; /* モバイルでのパディングを調整 */
    }
    .grid_item {
        flex: 1 1 100%;
        max-width: 100%;
    }
   .section {
    width:95vw;
    margin: ;
    padding:20px;
    margin:auto;
}

  .section_title{
    text-align:center;
    margin-bottom:-10px;
    font-size:1.2em;
}
  .section_title2{
   text-align:center;
   margin-bottom:10px;
   font-size:1.1em;
   line-height:1.7;
}

.section_title3{
 text-align:center;
 margin-bottom:20px;
 font-size:1.5vw;
 line-height:1.7;
}

  .heading_top{
   font-size:5vw;
}
}

.card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    background: #fafafa;
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    transition: box-shadow 0.3s;
}

.card:hover {
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}

.card_body {
    padding: 20px;
}

.card_title {
    font-size: 1.4em;
    margin: 0 0 10px;
}

.card_text {
    margin: 0 0 10px;
    font-size:1.2em;
    line-height:1.5;
}

.card_btn {
    margin-top: auto;
    padding: 10px;
    background: #2f4f4f;
    color: #fff;
    text-align: center;
    border-radius: 5px;
    cursor: pointer;
}

.card_btn:hover {
    background: #3cb371;
}

.card_image img {
    width: 100%;
    height: auto;
    display: block;
}

.button-center {
    text-align: center;
}

.button {
    display: inline-block;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
}

.button--outline {
    border: 1px solid #007bff;
    color: #007bff;
}

.button--lg {
    font-size: 1.2em;
}

.button--outline:hover {
    background: #007bff;
    color: #fff;
}

@media (max-width: 768px) {
.card_title {
    font-size: 1.0em;
    margin: 0 0 10px;
}
.card_text {
    margin: 0 0 10px;
    font-size:0.8em;
}

}

   