Commit 5a1039d6 by Orine Matsui

体験公園にボタン追加→削除

parent 7693d55e
...@@ -1131,6 +1131,21 @@ body { ...@@ -1131,6 +1131,21 @@ body {
right: 15px; right: 15px;
margin-top: -6px; margin-top: -6px;
} }
.linkBtn small {
display: block;
margin-top: 6px;
font-size: 1.8rem;
line-height: 1;
}
.linkBtn-BLU {
margin-bottom: 40px;
background-color: #263f6c;
color: #fff;
}
.linkBtn-BLU::before {
border-top: solid 2px #fff;
border-right: solid 2px #fff;
}
.annotation { .annotation {
margin-top: 20px; margin-top: 20px;
font-size: 1.2rem; font-size: 1.2rem;
...@@ -1244,6 +1259,10 @@ body { ...@@ -1244,6 +1259,10 @@ body {
width: 100%; width: 100%;
font-size: 1.4rem; font-size: 1.4rem;
} }
.linkBtn small {
font-size: 1.3rem;
}
} }
/* ========================================================== /* ==========================================================
......
...@@ -3,20 +3,20 @@ ...@@ -3,20 +3,20 @@
<?php include($_SERVER['DOCUMENT_ROOT'] . '/assets/include/header.php'); ?> <?php include($_SERVER['DOCUMENT_ROOT'] . '/assets/include/header.php'); ?>
<style> <style>
@media screen and (max-width: 768px) { @media screen and (max-width: 768px) {
.only-sp { .only-sp {
display: block!important; display: block !important;
} }
.only-pc { .only-pc {
display: none!important; display: none !important;
} }
} }
</style> </style>
<script> <script>
$(window).load(function(){ $(window).load(function() {
var scrollSchedule = function() { var scrollSchedule = function() {
var speed = 300; var speed = 300;
var anchor = $(location).attr('hash'); var anchor = $(location).attr('hash');
...@@ -24,11 +24,14 @@ ...@@ -24,11 +24,14 @@
var target = $('#schedule'); var target = $('#schedule');
var position = target.offset().top; var position = target.offset().top;
$('body,html').animate({scrollTop:position}, speed, 'swing'); $('body,html').animate({
scrollTop: position
}, speed, 'swing');
} }
}; };
setTimeout(scrollSchedule, 100); setTimeout(scrollSchedule, 100);
}); });
</script> </script>
<main class="strategy"> <main class="strategy">
...@@ -632,6 +635,7 @@ ...@@ -632,6 +635,7 @@
<span class="c-title1__inner">『頂点への道』講座<br class="sp-only"> <span class="c-title1__inner">『頂点への道』講座<br class="sp-only">
体験説明会</span> 体験説明会</span>
</h2> </h2>
<table class="schedule-table only-pc"> <table class="schedule-table only-pc">
<thead> <thead>
<tr> <tr>
...@@ -644,8 +648,7 @@ ...@@ -644,8 +648,7 @@
<tbody> <tbody>
@foreach ($membersSchedule[$categoryId]['prefs'] as $prefName => $schedule) @foreach ($membersSchedule[$categoryId]['prefs'] as $prefName => $schedule)
@if ($schedule['display']) @if ($schedule['display'])
@for ($row = 1; $row <= $schedule['rows']; $row++) @for ($row = 1; $row <= $schedule['rows']; $row++) <tr>
<tr>
@if ($row == 1) @if ($row == 1)
<td rowspan="{{ $schedule['rows'] }}" class="area">{{ $prefName }}</td> <td rowspan="{{ $schedule['rows'] }}" class="area">{{ $prefName }}</td>
@endif @endif
......
...@@ -611,6 +611,8 @@ ...@@ -611,6 +611,8 @@
</h2> </h2>
<a href="/trainer/" class="linkBtn linkBtn-BLU">『特別オンライン回』のお申し込みはこちらより<br><small>5月2日(土)18:30~20:30 講師:大高弘之</small></a>
<table class="schedule-table only-pc"> <table class="schedule-table only-pc">
<thead> <thead>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment